[color=#0066cc][size=2]After doing the [/size][/color][size=2][color=#0066cc] [color=#003366]Transitions between External SWFs [/color]tutorial I’m having some issues. Now I followed the tutorial exactly and had no problem if the buttons were located on the main timeline but ran into problems once I moved them into a movieclip.
I have them inside a movieclip with the instance name of “menu” which is located on the main timeline. I’ve placed the following code on the buttons and have had no success.
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "gallery";
_root.container.loadMovie("gallery.swf");
} else if (_root.currMovie != "gallery") {
if (_root.container._currentframe >= _root.container.midframe) {
_root.currMovie = "gallery";
_root.container.play();
}
}
}
And also tried
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "gallery";
_root.menu.container.loadMovie("gallery.swf");
} else if (_root.currMovie != "gallery") {
if (_root.menu.container._currentframe >= _root.menu.container.midframe) {
_root.currMovie = "gallery";
_root.menu.container.play();
}
}
}
I know it’s a simple error. any help would be greatful
[/color][/size][size=2][color=#0066cc][/color][/size]