Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting a global variable from html upon load

Status
Not open for further replies.

adamr1001

MIS
Jul 25, 2001
166
CA

in my html code, when i call the flash object, how do i set a global variable?

is there a specific place i have to define to variable in flash, or is anywhere okay?

is there a specific method to run to bring in the variable from the html?

thanks...
 
I had a similar problem. The answer lies in the <OBEJCT> and <EMBED> tags...

<OBJECT blah blah blah... >
<PARAM name=&quot;width&quot; value=&quot;640&quot;>
<PARAM name=&quot;height&quot; value=&quot;480&quot;>
<EMBED src=&quot;movie.swf?myVariableName=Charlie&quot;...>
etc...

This will assign a value &quot;Charlie&quot; to _root.myVariableName

Also change the variable in the OBJECT tag
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top