This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > May 2006 > Two flash movies management





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Two flash movies management
Shoudibola

2006-05-24, 6:46 pm

Hi! I have two movies and I want to play only one, and when the user select to
play the second, the first one stops and the second starts to play.

How do I do it through Javascript???

See ya!

Augusto

hamishniven

2006-05-25, 6:34 pm

I assume both instances of the movies are labelled,
ie movie1 and movie2
are you clicking a button away from the movies. if so
1st movie is running,
click button
movie1.gotoAndStop(1); // this will stop the movie and place
movie2.gotoAndPlay(1); // this will start the 2nd movie

Hope that helps

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews