Apr 25, 2003 #1 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...
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...
Apr 25, 2003 #2 billwatson Instructor Dec 18, 2002 2,312 CA you need to look at flashvars http://www.macromedia.com/support/flash/ts/documents/flashvars.htm Upvote 0 Downvote
Apr 25, 2003 #3 apatterno Programmer Nov 26, 2002 368 US I had a similar problem. The answer lies in the <OBEJCT> and <EMBED> tags... <OBJECT blah blah blah... > <PARAM name="width" value="640"> <PARAM name="height" value="480"> <EMBED src="movie.swf?myVariableName=Charlie"...> etc... This will assign a value "Charlie" to _root.myVariableName Also change the variable in the OBJECT tag Upvote 0 Downvote
I had a similar problem. The answer lies in the <OBEJCT> and <EMBED> tags... <OBJECT blah blah blah... > <PARAM name="width" value="640"> <PARAM name="height" value="480"> <EMBED src="movie.swf?myVariableName=Charlie"...> etc... This will assign a value "Charlie" to _root.myVariableName Also change the variable in the OBJECT tag