RE: [Flashcoders] swfObject, flashVars, loaded swf
Yes, Karim, thanks, that was my problem. I wasn't accessing it from Flash correctly. Regards, - MM how you pass the flash vars to flash depends on the version of SWFObject you are using - however - from flash - you can access the variable like so (as3): stage.loaderInfo.parameters.myflashparam However - you might need to make sure the swf has been 'AddedToStage' ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] swfObject, flashVars, loaded swf
how you pass the flash vars to flash depends on the version of SWFObject you are using - however - from flash - you can access the variable like so (as3): stage.loaderInfo.parameters.myflashparam However - you might need to make sure the swf has been 'AddedToStage' - k On 24 May 2010, at 18:22, Mendelsohn, Michael wrote: > Hi list... > > I'm having difficulty getting flashvars to work in a swfObject on a web page. > I have a swf that loads another swf. I am trying to send some flashvars to > the loaded swf but I can't seem to get that wired up. > > How does a loaded swf access flash vars on the root of the swf that loaded it? > > Thanks, > - Michael M. > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] swfObject, flashVars, loaded swf
Hi list... I'm having difficulty getting flashvars to work in a swfObject on a web page. I have a swf that loads another swf. I am trying to send some flashvars to the loaded swf but I can't seem to get that wired up. How does a loaded swf access flash vars on the root of the swf that loaded it? Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders