|
-
Scene not being found AS3
hi i have a button with a function of a gotoAndStop but when it is clicked this output error appears:
ArgumentError: Error #2108: Scene 1 was not found.
at flash.display::MovieClip/gotoAndStop()
at fixing_fla::iconInterface_mc_4/home()
Here is the code i am using:
phoneIcon_mc.addEventListener(MouseEvent.CLICK, home);
function home (event:MouseEvent):void{
gotoAndStop("1", "1");
}
when i use scene 1 instead of 1 in the gotoAndStop function the error is the same but chanes to "..Scene Scene 1 was not found...)
Please urgent help is required thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|