Hey all,
I went through the Transitions Between External SWFs by the wonderful Voetsjoeba, and I have ran into a small problem. Whenever I test my movie, it will only play the same external swf in a row… I have currently have 2 of the 5 buttons working, but if I press button1 it will load section1.swf and then if I hit button2 after that It will unload section1.swf and play it again. I debugged it and it actually changes the _root.currMovie to the correct value.
Here are links to my files: (News & Shows are the 2 coded buttons)
and
here is my 2 buttons AS:
Button 1
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "news";
container.loadMovie("news.swf");
} else if (_root.currMovie != "news") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "news";
container.play();
}
}
}
Button 2
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "shows";
container.loadMovie("shows.swf");
} else if (_root.currMovie != "shows") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "shows";
container.play();
}
}
}
Thanks for looking,
Casey
P.s. I also noticed that I have done something to the mp3 player, if you try and drag the current play spot over it will automatically skip songs???