PDA

View Full Version : Second MC to play only if first MC is complete.


ian27
03-12-2003, 01:57 PM
Hi all,

I've created a page where I can click on one of the buttons and it plays a separate movie clip, then when I click on the second button it plays the second movie clip etc. But I want to be able to play the second movie clip only if the first movie clip is fully loaded, otherwise without this first clip loaded I want nothing to happen when I click on the second button.

Is there any way I can detect if the the first movie clip has played or not?

Please help,

Ian

linckx
03-12-2003, 02:02 PM
put a simple variable in the first, wich you change on the last frame.

on the button to go to the next one you put something like
if(myVar==done){
_root.MySecondMc.gotoAndPlay(1);
}


friendly greetings

robin