Cache Issues

Yep, it’s another question about cache issues.

Let me get down to it.

How would I incorporate this: Cache tut., with this one: [URL=http://www.kirupa.com/developer/mx2004/transitions.htm]Transitions Between External Files?

The script on the transitions tutorial is:[AS]
on (release) {

if (_root.currMovie == undefined) {

_root.currMovie = “main”;
container.loadMovie(“main.swf”);
} else if (_root.currMovie != “main”) {
if (container._currentframe >= container.midframe) {

_root.currMovie = “main”;
container.play();

}

}

}
[/AS]I think I may have an idea, but would like to hear it from someone else.

How would I add the script from the cache tutorial into this script?