I am trying to make it so my externally loaded SWF’s transition when loaded/unloaded. Here is the script I am using on my buttons:
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “work”;
container.loadMovie(“work.swf”);
} else if (_root.currMovie != “work”) {
if (container._currentframe >= container.midframe) {
_root.currMovie = “work”;
container.play();
}
}
The problem is my button is not on the main timeline. Instead it is embedded in a movie clip and so I have to denote it’s path to the container movie clip. Here is the layout of my movie clips starting from the root.
root > navigation > port roll > port sub-in this movie is where my buttons are located and my container clip is on the main timeline. Also do I have to denote its path wherever the word container appears? Thanks for any help.