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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing a flash variable from a flash.swf?var=this to itself. 1

Status
Not open for further replies.

ColonelBlue

Technical User
Jun 24, 2004
110
US
Hello,

I am trying to pass variables as shown below to the same swf file.

Here is the pertinent part of the parameters in the html code that points to the flash file, where in this instance would be the same as the one referenced below.

Code:
<embed src="NS7.swf?colorsheme=green" loop="false" quality="high" bgcolor="#ffffff" width="676" height="144" name="NS7" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer"[/URL] />


What I haven't figured out is how to bring those variables in so I can do an

if (colorscheme==green) {
GotoandPlay(this)
}

How do I call upon those varaibles?

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top