9 Replies Latest reply on Aug 23, 2007 1:06 PM by Damon Edwards

    'MouseEvent' could not be loaded.

      I'm trying to get a flash movie to redirect on a click. I used the sample code below:

      inv_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler);
      function buttonClickHandler(event:MouseEvent):void {
      navigateToURL(new URLRequest(" http://www.deseloper.com/gnome"));
      trace("You clicked me.");

      and get this error - 'MouseEvent' could not be loaded.

      Any help would be appreciated