Have you tried setting your individual Flash Vars to null?
root.loaderInfo.parameters.someValue = null;
If you tried that and it didn't work, don't use FlashVars if you need
that kind of security. There are many other options to FlashVars.
Ketan Anjaria wrote:
I am using FlashVars in an
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
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,
- Original Message -
From: Ketan Anjaria [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, April 21, 2008 5:59 PM
Subject: [Flashcoders] Deleting Flash Vars
// delete the flash vars to prevent other swfs from accessing
delete (root.loaderInfo
- From: Ketan Anjaria [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, April 21, 2008 5:59 PM
Subject: [Flashcoders] Deleting Flash Vars
// delete the flash vars to prevent other swfs from accessing
delete (root.loaderInfo as LoaderInfo).parameters
5 matches
Mail list logo