Ok I have used this tutorial for creating a preloader and trasitions for my external swfs:
http://www.kirupa.com/developer/mx/preloader_transition.htm
It worked great but I want to add multiple transitions. I added another transition to the timeline inside the transition mc. The closing transition works great but the opening referes back to the opening of the first transition(Frame Label-“opening”). I need it to refer to its own opening transition(Frame Label-“opening2”).
I know why this is happening but I have know idea how to fix it.
On the empty mc that bring in the tranisiton on the main timeline there is this actionscript:
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
if (this.getBytesLoaded() == this.getBytesTotal()) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
That is where it keeps refereing it back to the original “opening” transition. Is it possible to create some sort of if/else statement that will say if its on “closing2” transition then gotoAndplay “opening2”?
Please help???