Actionscript 3.0 - paremeter loading
In Actioscript 2.0 it was relatively easy to read the parameters passed from the URL since there variables could be added to the global stage and in flash we could access it using a simple code like
_root.audio_URL or something similar.
However this is quiet different now in AS 3.0. The same can be done using the loaderInfo. Something like
loaderInfo.parameters
Go to this link and you shall get a good explanation on this.
http://theolagendijk.wordpress.com/2007/07/06/parameters-for-a-flash-9-actionscript-3-swf/
_root.audio_URL or something similar.
However this is quiet different now in AS 3.0. The same can be done using the loaderInfo. Something like
loaderInfo.parameters
Go to this link and you shall get a good explanation on this.
http://theolagendijk.wordpress.com/2007/07/06/parameters-for-a-flash-9-actionscript-3-swf/
Comments