AS3 dispacth Event STILL

Why can’t I do this?


package classes{
    import flash.display.DisplayObject;
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    import flash.events.*;

    public class MyClass extends MovieClip {

        public static  const MY_BOATS:String = "MY_BOATS";


        public function MyClass() {


            myButton.addEventListener(MouseEvent.CLICK,boatClick);

        }

        private function boatClick(event:MouseEvent):void {
            dispatchEvent(new Event(MyClass.MY_BOATS, false, false));




        }
    }
}

Of course I’m importing MyClass later on and my eventListener looks like this:



myMC.addEventListener(MyClass.MY_BOATS, doSomething);


this is driving me…
thanks for any help…