Hello,
I started creating a site using the Smooth Transition tutorial and came upon a problem and would like to ask for some advice. I was able to go through the tutorial without any problems. I than moved my button(s) to an external swf file that gets called. No problem here as well, i just added a _root. to a few places.
Now in this swf, I have a mc and in this mc i placed the button but it stopped working. I didn’t think the path would be any different but I was wrong. Here is the current AS I have with the button in the external swf’s main timeline:
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "cat_about";
_root.container.loadMovie("cat_about.swf");
} else if (_root.currMovie != "cat_about") {
if (_root.container._currentframe>= _root.container.midframe) {
_root.currMovie = "cat_about";
_root.container.play();
}
}
}
If anyone can give me some help on what needs to be done to get this button to work when putting it into an mc on this external swf, I would appreciate it very much. Thanks.
Kei