Actionscript 3.0 allow us to detect easily when the mouse leave the Flash Player, making it possible to avoid strange behavior of our clip. For example during “drag and drop” it can be useful to know when the mouse leave the stage. To do this you just have to use the Mouse Event : mouse_out 😉
Were outHandler is the function called by the listener.
To have the movie work you will need the New Flash Player.