I have been using the tutorial on transitions between external .swf files. I am now having some problems with rewriting some of the paths in the code found in that tutorial.
I have loaded an external swf (work.swf) into my main movie inside an empty movie clip. I then want to load another external swf (florida.swf) inside of the work movie. I am having trouble making the florida movie work inside of the work movie and the main movie. I believe that this is a path problem, but I cannot figure it out.
Here is the code from the tutorial that I am trying to adapt:
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();}}}
Here is my attempt at rewriting the code:
on (release) { if (_root.currMovie == undefined) { _root.container.work.container2.currMovie = “florida”;
_root.container.work.container2loadMovie(“main.swf”);
} else if (_root.currMovie != “main”) { if (container2._currentframe >= container2.midframe) { _root.currMovie = “main”; container.play();}}} I know there are problems here but am not sure what I need to do. Also, the buttons that are to load the 2nd external swf file DO show up on the main movie. Any help would be greatly appreciated.