I’m working on a project with a lot more advanced features than simple gotoAndStop functions, but this one has me thinking…
I’ve created clickable menu items. When clicking one of them, they call a movieclip with 11 frames, and tells the playhead to jump to one of those frames. Simple as can be, right.
However, nothing happens visually when I click the menu items - but when tracing out “currentframe”, I get the frame I expect to be at.
_root.main.menuItem.onRelease = function () {
_root.main.mapview.gotoAndStop(2);
// trace returns correct framenumber (2) but nothing happens visually
trace(_root.main.mapview._currentframe);
}
When debugging, I notice that the mapview movieclip has some mysterious clips called “instance1”, “instance2”, “instance3” up to 6 that have been generated by flash (or something else).
Also, when debugging, the console reports the correct value for “_currentframe” - but the flash movie shows frame 1 no matter what
Is this making any sense? I can’t seem to solve it…