this article From
JADBOX.COM
The custom class FlashVars is used in this fashion:
- var myFlashvar:String = FlashVars.parameters["myFlashvar"];
or
- var myFlashvar:String = FlashVars.parameters.myFlashvar;
This usage is exactly the same from Flash and Flex! No more having to switch from loaderInfo.parameters to Application.application.parameters when porting utilities between Flash and Flex.
Download (includes StageReference): flashvars.zip
click here for more