I’m having trouble jumping to another frame (15) in the main stage named “main” when closing a movie clip on frame 10…
ArgumentError: Error #2108: Scene main was not found.
at flash.display::MovieClip/gotoAndPlay()
at welldone_mc/nextlevel_function()
the actions are as follows:
stop();
nextlevel_btn.addEventListener(MouseEvent.CLICK,nextlevel_function);
function nextlevel_function(evt:MouseEvent):void {
gotoAndPlay(15, “main”);
}
i’ve tried labelling the frame, but the problem seems to be locating the scene “main”?
Any help much appreciated! B