I’m assuming this is pretty straight forward but I’m not all that great with as3 yet.
I’d like to check if my mouse is currently over a movieclip.
Here’s what I have so far:
box_mc.addEventListener(MouseEvent.MOUSE_OVER, checkBoundaries);
function checkBoundaries(evt:MouseEvent)
{
if(this.MOUSE_OVER != false){
trace("true");
}else {trace("false");}
};
This actually does give me a reading of true but not a reading of false if the mouse leaves the movieclip area.
Is there a better/simpler way to do this that works?