I have a button that is a few levels down in movie clips. When It is pressed, it is supposed to load diamonds.swf. It does this, but not on the first press. On the first press the _root time line goes to and plays “fade,” but doesn’t execute the rest of the script.
Am I missing some code that should be here?
on (press) {
trace (_root._currentframe);
if (_root._currentframe == 26) {
_root.gotoAndPlay(“fade”);
_root.menu.gotoAndPlay(“close”);
}
unloadMovieNum(12);
loadMovieNum(“diamonds.swf”, 12);
}