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

getting a variable

Status
Not open for further replies.

link9

Programmer
Nov 28, 2000
3,387
US
into flash --

Yes, it's posted in that, forum, too... and has been for a little while now, so I'm hoping that someone in here knows how to do it...

I have a variable declared and assigned in javascript on a page where a flash movie is embedded --

Basically, I need to get that variable into flash so that I can use it to redirect a user to the appropriate page after they watch the little movie...

Any input is greatly appreciated -- :)

Paul Prewett
 
If anyone is interested, I found the solution at another site...

function loadIt(input){
document.movieID.SetVariable("number1", input);
}

call this function at body onLoad--

makes the value in the flash movie, 'number1' = whatever you pass as 'input'

enjoy!
Paul Prewett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top