-
1. Re: Best way to pass vars from html into flash?
Ned Murphy Jun 23, 2009 4:55 PM (in response to sneakyimp)The link below displays how to include FlashVars in the object and embed tags:
http://blogs.adobe.com/pdehaan/2006/07/using_flashvars_with_actionscr.html
-
2. Re: Best way to pass vars from html into flash?
sneakyimp Jun 23, 2009 5:10 PM (in response to Ned Murphy)Thanks for the link, but it adds little or nothing to the other posts. It fails entirely to mention any javascript changes. I'm not at all sure, but I believe that my flash movie is embedded using Javascript as <object> and <embed> tags are only referenced inside a <noscript> area. I was really hoping for a concise and through list of the steps required.
-
3. Re: Best way to pass vars from html into flash?
Ned Murphy Jun 23, 2009 6:23 PM (in response to sneakyimp)You'll have to search for that concise and thorough list of steps or figure it out using the information you now have, which is sufficient to get it done. It's not that hard--add the FlashVars in the embedding code in the three places and use the various examples you have links to to add the code in the Flash file to access and use the FlashVars.
Your Flash will be embedded in a web page depending on the visitors settings... if they allow javascript then the javascript portion will be used. If they don't, then either the object or embed sections will be used depending on their browser.
As far as javascript changes go, don't sweat 'em until you have a problem... use whatever code your Flash-created html page creates to embed the file in the page.



