Problems with transitions

FIXED. DON"T WORRY, THE FIRE’S OUT. YOU CAN RETURN TO YOUR HOMES.

CHRIST THAT WAS HARD. THE PROBLEM WAS IN THE A.S. OF THE EXTERNAL MOVIES. I DIDN’T REALISE THAT VARIABLES ACT LIKE OBJECTS.
THANKS TO ALL THAT TOOK A LOOK, AND IF ANYONE HAS THE SAME PROBLEM GET IN TOUCH.

This has been killing me for about 2 weeks and I can figure it out. I thought I’d post this while I still have hair.

I saw a cool tut on this site regarding Smooth Transitions Between swf. Looked great, I thought I’d try to integrate it into my site but I can’t get it to work. I think the problem lies in the paths, but I don’t understand where.

http://www.kirupa.com/developer/mx2004/transitions.htm

Here’s the problem, I’d like the buttons inside a mc, on the timeline of a swf that loads into a mc on the _root. Does that make sense? I basically want to load the tutorial file (with a slight tweek - the buttons inside a mc) into a movie clip on the main timeline. All I’m getting is the same movie repeated again and again, just like my head banging on my desk.

This is the a.s. from the tut, but what should this be?

n (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()
}
}
}

There’s also a piece of code on the external swf files;
_root.container.loadMovie(_root.currMovie+".swf")

Thanks,

Ross.