Tuesday, January 27, 2009

FlashVars for EVERYONE!

flashvarscat
.....

this article From

JADBOX.COM

The custom class FlashVars is used in this fashion:

  1. var myFlashvar:String = FlashVars.parameters["myFlashvar"];

or

  1. 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

post signature