Hi,
I am a Flex developer and I am trying to load an AS2 swf in my AS3 code.
The load itself works, but the parameters are not transported for some reason.
This is my code.
var urlrequest:URLRequest = new URLRequest();
urlrequest.url = "Pres.swf?test=test1";
var loader:Loader = new Loader();
loader.load(urlRequest);
In the handler f...
I have inherited a website which is build entirely in Flash and the main swf is 4.5MB large (ouch!). As you might guess this has caused a large hosting bill for my client. To solve the issue somewhat I want to move this monolithic swf to Amazon S3, however, this is causing security issues.
This is how the larget swf is currently being ...
Someone else wrote and gave me an ActionScript source file that defines a subclass of Sprite. I am told that I need to, from this, generate a .swf file whose behavior is entirely defined by that one sprite. In other words, when the "movie" starts, one instance of that Sprite subclass should be created and set running, and it should kee...
I'm making this small app in Flash CS5 using AS3. Sounds are being reproduced using flash.media.Sound and flash.media.SoundChannel. Locally , everything sound perfect, but when I run the game from a server it just goes mute.
Any help is apreciated.
Thanks.
...
I'm using Google analytics in my flash app. It works perfectly, but the time to publich the app came and I'm using an external swf. as preloader, which only consists in an small progress bar and summons my Flash app once it's completely loaded.
Now i'm getting this error:
Error #1009: Error #1009: Cannot access a property or method of ...
I am trying to load an AS2 swf from an AS3 swf. The AS2 swf which was written long back, expects parameters from the timeline(_root). These were passed to it before from HTML using flashvars.
Now I am trying to get rid of the HTML pages, by directly loading the AS2 swf from the AS3 swf. However, when I try to load the AS2 swf using the...
I know this stream works because of two reasons:
1) It works OUTSIDE of OSMF
2) It works in the akamai support player: http://support.akamai.com/flash/ I don't believe the current akamai support player is using OSMF (which is suprising since they built the predecessor to osmf..)
My question is: How in the world do I play a live str...
Hi,
I am a newbie at Flash/Flex and Actionscript 3.
I would like to know how can I create a dress up game in Flash/Actionscript where users can click on (not drag and drop) the available accessories/clothing and the avatar will display with the new selection immediately, and I can save the settings and take snapshot of the avatar in t...
Hi, I am developing an AIR app. In the main app I have a module loader 'mainModuleLoader'. I am creating modules as separate mxml files using the <mx:Module> tag. And I am loading such a module in mainModuleLoader dynamically using actionscript. Everything works fine.
For the module which I am creating as mxml files, I would like to kno...
The only library I found is "shineMP3_alchemy.swc" that encodes to MP3 but I would like to encode in the Speex , Vorbis or some other voice optimized codec.
...
Hi,
Im new to AS3 and was wondering if there is anyone out there that can help me with this...
Im creating a drag and drop Flash activity where there is 1 target and multiple draggable items. In my case I have 4 apples and I want to be able to put all apples into the same basket. I can get the draggable item into one target but i canno...
I have a mxml component MatchedDataTab where i have a datagrid and few buttons.
Now i am trying to hide/unhide these buttons in a action script file.
The problem is i always get a compiler error saying
Id 1120: Access of undefined property unmatchButton.
I am not able to post my complete mxml file due to xml tags i guess!!. but the s...
Hello!
I have a MC in an AS3 animation and I want to increase its height from bottom to top which would mean that the registration point should be bottom of the MC and center of width (horizontal center).
How can I do this please?
Thank you.
...
Hello everybody!
AdvancedDataGrid uses a Halo Scroller as default. How can I change it to Spark Scroller simply?
Thanks for your attention!
...
I am looking to build a set of components for Flash that our developers can use throughout future projects.
The components are not covered by the standard set of Flash UI components and I don;t think I need to really extend the UI Interface. Instead I would like to be able to distribute a library of FLA (non-compiled) components so that...
Has anybody use TLFX yet?
The repository is here: http://code.google.com/p/tlfx/ but I'm not sure it's completed. I tried to compile it but look like some classes are missing.
...
I'm using mx.rpc.http.HTTPService to retrieve data from a web service. On the initial call to "loadWsData", HTTPservice accurately retrieves all the data.
However, on any and all subsequent calls HTTPService does not accurately retrieve the data; rather it always retrieves the first data set. I've confirmed that the web service is prov...
As an alternative to binding an array collection to a data grid's data provider, could I assign the array collection as the data provider to the data grid on it's creation and everytime the array collection is updated execute invalidateProperties(); invalidateList(); to re-render the data grid?
Does my described approach make sense?
...
Do uints take different amounts of memory depending on their value? Or does each uint take the same amount of memory regardless of it's value?
...
Hi All,
I was wondering if there is good implementation of Random.Next in AS-3.
Basically want to generate a series of Random numbers given a seed,and at times
minumum and maximum limits..
Similar to C# System.Random class.
Random random = new Random();
return random.Next(min, max);
Thanks All.
...