Transistions question: Easy. Please Help

Hey guys,

I don’t expect to get any help, cos so far my luck in here hasn’t been that great, but here goes anyway.

I’ve set up Transitions using external SWF’s using the tutorial on this site…and I’ve managed to get them working fine.

However, my “home” intro sequence is very long, therefore I would like to break it up into seperate scenes to make it more manageable. At the start of each scene, previous scene will fade out. This is so that graphics/text on previous scene are still 100% Alpha at midframe point or alternatively, a frame labeled “outro”. From this point I will have a fading “mask”, which will fade out current scene in SWF and play next movie if another menu button on main interface is pressed.

Please note that in external “home” movie (all Scenes) I also have a frame with a gotoandPlay nextScene action attached prior to the frame labeled “outro” where fading mask will play from.

Basically, my theory is, that if I set my midframe at the point where graphics/text immediately reach 100%, then set my play from target (“outro”) to play outro Mask this will give users a small window of opportunity to click another menu button in the stage prior to gotoandPlay nextScene action. (Because new movie won’t load unless current movie has reached “midframe”)

So basically, how do I go about altering the following code for each button to play from frame labeled “outro” if current movie playing is home and has passed “midframe” point?:

on (release) {
    if (_root.currMovie == undefined) {
        _root.currMovie = "example_section";
        container.loadMovie("example_section.swf");
    } else if (_root.currMovie != "example_section") {
        if (container._currentframe>=container.midframe) {
            _root.currMovie = "example_section";
            container.play();
        }
    }
}

Any suggestions? I’m really bad with Actionscript, sorry! I can upload the file if it helps? :expressionless:

Dallas.