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

Call Scene with Javascript

Status
Not open for further replies.

yandso

Programmer
Jul 20, 2001
278
0
0
US
I have a html page with and embedded swf, with several scenes. I have buttons on the html that when moused over I would like to have call the correct scene. For scene 1 I can just use the GotoFrame(1), but how do I call the other scene's?
 
Change the frame number corresponding to the targeted scene's frame number...

If Scene 1 holds 50 frames, then you would target frame 50+1 = 51, to target the first frame of Scene 2... Etc...

Otherwise you can label the first frame of each scene with an unique label and use TGotoLabel to target and play the appropriate scene...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top