Action Script - how to go to another scene from movieClip?
问题 I'm trying to go to another scene by clicking a button witch is placed in a mc and I got an error. This is my code below Play_btn.addEventListener(MouseEvent.CLICK,gotoScene2); function gotoScene2(evt:MouseEvent){ movClip.gotoAndPlay(1,"Scene 2"); } (this code is placed inside a movieClip witch is instantiated like "movClip", at frame 260 - may be this help to understand better). And this is the erorr i get: Symbol 'preloader26',Layer'Layer9',Frame 260,Line 4 1120:Access of undefined property