Don't pass your variables in with FlashVars???

Maybe load your data from a server-side script or similar.

Ketan Anjaria wrote:
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to