AS3 Event Troubleshooting
Alright to kick this off I will warn you; I’m a terrible writer. That being said let me get down to what this post is really about, the AS3 MOUSE_LEAVE event. Generally the syntax to add and use an event would be as follows:
stage.addEventListener(MouseEvent.MOUSE_LEAVE, someFunction);
function(event:MouseEvent):void
{
trace(“Your mom goes to college”);
}
Because MOUSE_LEAVE is an event using the mouse it would then belong to the flash.events.MouseEvent. That is also stated in the AS3 …
