Event.MOUSE_LEAVE not working in AS3

Posted by TheDarkIn1978 on Stack Overflow See other posts from Stack Overflow or by TheDarkIn1978
Published on 2010-04-07T21:15:05Z Indexed on 2010/04/07 21:23 UTC
Read the original article Hit count: 168

Filed under:
|
|

right, so i just tossed this super simple code example into a Flash CS4 IDE frame script, but it doesn't output anything in the console. i'm simply rolling over my mouse over the window, not clicking anything, and nothing is happening. wtf?!

stage.addEventListener(Event.MOUSE_LEAVE, traceMouse);

function traceMouse(Evt:Event):void
    {
    trace("Mouse Left Stage");
    }

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about mouseevent