PDA

View Full Version : Moving To Different Scene



micky007
March 20th, 2010, 04:09 PM
Hi,

I have a problem i can not fix and can not work out why it is doing this. I have created 2 basic scenes, one called Instructions1 and another called Level1. When i click on the Dynamic Text called "StartText1" on the Instructions1 scene i get this error:



ArgumentError: Error #2109: Frame label Question1 not found in scene Level1.
at flash.display::MovieClip/gotoAndPlay()
at V2_fla::MainTimeline/StartText()


ActionScrpt For Instructions1:


stop();

StartText1.addEventListener(MouseEvent.CLICK,Start Text);

function StartText(evt:MouseEvent):void
{
gotoAndPlay("Question1","Level1");
}


ActionScrpt For Level1:



stop();


FLASH CS4 SCREENSHOT OF - Instructions1 (http://i43.tinypic.com/359n4te.jpg)

FLASH CS4 SCREENSHOT OF - Level1 (http://i44.tinypic.com/fdy8p0.jpg)

FRAME PROPERTIES (http://i41.tinypic.com/214tqnn.jpg)