I am using FlashVars in an AS3 application.Is there a way to delete flash
vars once they are passed in?

What I would like to do is

// get the flash vars and set in application
var flashVars:Object = (root.loaderInfo as LoaderInfo).parameters;
for (var i:String in flashVars) {
     setValue(i, flashVars[i]);
}
// delete the flash vars to prevent other swfs from accessing
delete (root.loaderInfo as LoaderInfo).parameters;

but parameters is read only. Any ideas?
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to