Help with telltarget

I could really do with some help on a telltarget command subject!

I have this main move which is index.htm and in the flash movie I have an MC called (stage) when I press a button it loads a swf file into stage.

However what I want to do is have a fade out sequence i.e. frame “finish” when this movie stops I will set a var as say play=1;

So I need my main nav to detect var play has reached 1 then play finish and load the next movie into stage!

Here is my code so far, but i think ive got it all wrong!!!

on (release)
{
if (play==1) {

stage.gotoAndPlay (“main/finish”);

// I want it to fade out the current movie and then load the next .swf file below!!

loadMovie(“flash/cont.swf”, _root.stage);

}else{

// if no movie has been loaded into stage yet play will not = 1 so just play this swf anyway.

loadMovie(“flash/cont.swf”, _root.stage);
}
}

“main” is the scene of the current movie and finish is my fade out sequence.

On the current movie I set play like this

play=1; //is this right?

I hope I have made some sense.

Many thanks for your guys help in advance!!

Anthony

check out the transitions tutorial, it shows how to do exactly what you are asking for.

Excellent, that’s just what I’m looking for.

Many thanks dude.

:slight_smile: