No this is more for the case of a shell swf loading external content. I want to prevent the external content from accessing any FlashVars. The shell is the only thing that will need the FlashVars.
On Mon, Apr 21, 2008 at 11:24 AM, Paul Andrews <[EMAIL PROTECTED]> wrote: > ----- Original Message ----- From: "Ketan Anjaria" <[EMAIL PROTECTED]> > To: "Flash Coders List" <[email protected]> > 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; > > > > but parameters is read only. Any ideas? > > > > It seems to me that you have a dangerous strategy. > > If there are other swfs that will try and load the parameters, you are > trying to make the behaviour of the application dependent on the load order > of the swfs. Not good. > > Paul > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Ketan Anjaria 415.260.8742 f. 415-358-4278 [EMAIL PROTECTED] www.kidbombay.com _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

