# Class Help AS3

**URL:** <https://forum.kirupa.com/t/class-help-as3/332464>\
**Category:** flash\
**Created:** [June 18, 2014, 1:03am UTC](https://forum.kirupa.com/t/class-help-as3/332464 "2014-06-18T01:03:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jackinder88](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@jackinder88](https://forum.kirupa.com/u/jackinder88)\
**Post date:** [June 18, 2014, 1:03am UTC](https://forum.kirupa.com/t/class-help-as3/332464/1 "2014-06-18T01:03:23Z")

</div>

Getting this error

> 

ArgumentError: Error #2109: Frame label menus not found in scene menus.  
at flash.display::MovieClip/gotoAndStop()  
at mainM/clicked()

my frame 2 is names menus and below is my class, I assigned a class to a symbol, and when you click the symbol i want it to change to the frame menus. The trace is working, but gives the error above.

```auto

package {
    
    import flash.display.MovieClip;
    import flash.events.MouseEvent
    
    public class mainM extends MovieClip {
        
        
        public function mainM() {
            addEventListener(MouseEvent.CLICK,clicked)
             
        }
        public function clicked(e:MouseEvent)
            {
                trace("worked");
                gotoAndStop("menus");
                
            }
    }
    
}

```
