AS3 Using FlashVars with JadBox Class
I’m sure some of you might be looking for a class that can allow you to do reading in flashvars. You can still do it using the my previous way but, is much neater using classes. Well fortunately, there is such thing. It’s called JadBox Flashvar class.
You can get the util class here.
Here an example how this class is used (remember to import the jadbox class into your main first before using it)
var myFlashvar:String = FlashVars.parameters["myFlashvar"];
or you can access the flashvar values this way.
var myFlashvar:String = FlashVars.parameters.myFlashvar;




