Hi.
i have a function that receives a function as a parameter.
example:
function foo(bar:Function):void() {};
how can i set a default value for the function to be an empty function so the user will not have to paste a function as a parameter ?
...
Hi there! First post here.
I have a xml video background and need to add a preloader before the video is buffering. The problem is that I am loading the video from xml file and from what I've tried the preloader works for the swf file but not for f4v video loaded externally.
Any thoughts? You can check the preview here: http://www.free...
I have this scenery:
1 ScrollPane
1 UILoader.
And i do that:
myScrollPane.source = myUILoader;
Everything is ok here! (The contens apear correctly).
Im using UILoader as source because i need 'loadBytes' method to show my pre-loads ByteArrayData.
The problem is the SCROLLBAR of ScrollPane doesn't show the scroll handler when the...
Hi, I'm using the following code to get something through XML
var myLoader:URLLoader;
var myXML:XML;
var myXMLURL:URLRequest = new URLRequest("http://testapp.varheroes.com/yofacebook/canvas/calcammo/");
myXMLURL.method = URLRequestMethod.POST;
myLoader= new URLLoader(myXMLURL);
myLoader.dataFormat=URLLoaderDataFormat.TEXT;
myLoader.add...
Is there a way to set a combobox component to multiline in Flash CS4 using actionscript 3 ?
...
Hi
I have a scenario where i am successfully loading a flash file in to a window using:
AxShockwaveFlashObjects.AxShockwaveFlash axShockwaveFlash1 = new AxShockwaveFlashObjects.AxShockwaveFlash();
But if there is a passwd set on flash file i am wondering if we can programatically set the password rather than in the ui to open the file.
...
Hi.
I try to load an swf in my flex 4 project using the following line of code:
<mx:SWFLoader id="game_swf" source="demo.swf" complete="init()" />
the demo.swf file is another project i created using flex 4. the problem is that when i run the application i see only the loading bar of the demo.swf flash file and nothing else.
if i t...
Hi, I was looking around but couldn't find it where can I add the cross domain policy of Adobe in Apache server. Because without it, its not letting me access my XML on another server.
Thanks
...
I've got a bit of an issue...
We have an application that needs to load a varying amount of row graphics depending on user input. Currently, each row SWF is being loaded repeatedly using Flash.Display.Loader. The swf is rather large (17k) and loading 10 or so of them takes some time. Is there a way to only load this file one time and us...
Hi
Can anyone tell me what is and isn't recommended when it comes to mixing in classes from the mx package in an Actionscript only project?
Specifically I want to use AsyncToken, IResponder and HTTPService classes in the mx package in an Actionscript project.
...
Is there a library or cli program which is capable of dropping/extracting frames from a SWF movie? Let's say I have a SWF movieclip with 451 frames, of which I will like to make a new movie clip out of with only the first 450 frames. No wrappers or containers though.
...
I have an SWF that loads other SWF files within it. For clarity, the parent SWF I will call Parent, and the child SWF I will call Child. (The child SWF is from an Adobe Captivate export)
The Parent SWF exists within a directory, /webroot/swf/parent.swf
The Child SWF exists within another directory, /webroot/children/child.swf
The Child...
the nav drops down over flash elements that listen for mouse events. (ROLL_OVER)
When the nav is in the down position over the flash, I would like to prevent the flash elements under the nav from receiving rollover.
This is not the same issue as the common, js/css nav dropping behind the flash.
and Im using swfobject 2, & wmode:"transp...
Could you tell how the actionscript code would look like for such a job?
...
var sound:Sound = new Sound();
var req:URLRequest = new URLRequest(url);
sound.load(url)
I want to modify the sound data (an mp3) as it comes in. Specifically, the mp3 will be encrypted using a stream cipher and I want to decrypt the data as it comes in. Is this possible using some type of event?
...
Hi all,
I was trying to retrieve binary data over HTTP for my Flex application, and was running into some stumbling blocks. HTTPService did not seem to deal with binary data well, people said to use URLLoader. But URLLoader does not have the nice AsyncToken/IResponder interface that HTTPService provides.
So, I did some searching and ...
Using AS2 or AS3, is there a way print HTML formatted text inside a Flash textbox? Researching printing in flash seems like one can only print what is on the screen. My textbox has a lot of content in it and is scrollable.
...
Hi,
I have a set of dots displayed on the canvas (key bits of code pulled out):
// Drop points based on x y coords
for (var i = 0; i < 50; i++) {
itemPoint[i] = new mcDot();
itemPoint[i].x = 500*Math.random();
itemPoint[i].y = 500*Math.random();
// Set up drag & drop
initDragger(itemPoint[i]);
itemPoint[i].butt...
I mean,, that would be the only issue to worry about when using silverlight compared to flash... do you think this issue could be solved in 2-3 years?
...