Tag: event

  • Event.MOUSE_LEAVE Implementation

    The Event.MOUSE_LEAVE event is a little confusing as it is not a MouseEvent.But something important about it, is that it is the way to create a “mouseUp” event when the mouse is outside of the stage. It is done with controlling a simple Boolean variable you may set called “dragging” or “mouseDown”, something of that…

  • CountDownTimer AS3 Class

    Custom class dependencies: CountdownTimerEvent Everyone always wants to make a count down to something. This is a class that attempts to enclose all the functionality that is usually needed to achieve this task. There a so many examples and tutorials out there for creating a count down, that I won’t bother explaining much here. I…