peter4th
07-30-2007, 05:01 PM
I'm trying to have a MC slide out to reveal some text.
I get the error: The class or interface 'MouseEvent' could not be loaded.
Also the 'buttonMode = true' doesn't work...
What am I doing wrong?
navibar.addEventListener(MouseEvent.ROLL_OVER, naviOver);
navibar.addEventListener(MouseEvent.ROLL_OUT, naviOut);
function naviOver(event:MouseEvent):void
{
navibar.gotoAndPlay("NavBarOut");
}
function naviOut(event:MouseEvent):void
{
navibar.gotoAndPlay("NavBarIn");
}
navibar.buttonMode = true;
I get the error: The class or interface 'MouseEvent' could not be loaded.
Also the 'buttonMode = true' doesn't work...
What am I doing wrong?
navibar.addEventListener(MouseEvent.ROLL_OVER, naviOver);
navibar.addEventListener(MouseEvent.ROLL_OUT, naviOut);
function naviOver(event:MouseEvent):void
{
navibar.gotoAndPlay("NavBarOut");
}
function naviOut(event:MouseEvent):void
{
navibar.gotoAndPlay("NavBarIn");
}
navibar.buttonMode = true;