You could set your flashvars object variable in a <head> script block, and it should be available anywhere else in the page. You then pass the object as a param in embedSWF() call etc, and this way you don't need to try to reach into the swf, it is just available to any js function.
Cheers, Aran On Thu, Aug 20, 2009 at 1:15 AM, Larry <[email protected]> wrote: > > Can you access the flashvars you set for a swf from the swfobject api. > > I'm using the callback function on embedding a swf, and when it fires > I want to pick up some of the flashvars that were set for that swf. > > something like > document.getElementById(swf).flashVars.someVar ? > > Cheers. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
