Mouse Events

Mouse Events occur when the mouse interacts with an object in a Scene.

More than one Event can trigger the same Action, as shown in the example below.

You can insert a Mouse Event either by going to the Action Panel, selecting an object, and pressing 'Add Event'.

When you select a Mouse Event for an object, the Mouse Event Properties are shown adjacent to the 'Event/Action' tree in the Actions Panel.

panels-action-onxxx.png  

This contains a list of check boxes showing the Mouse Events. You can select a combination of Events, such as Roll Over and Roll Out, so that the same list of Actions can be performed for different Events. The Events and their triggers are described below:
·Press: press the left mouse button while the cursor is over the object  
·Release: release the left mouse button while the cursor is over the object  
·Roll Over: move the mouse cursor from outside the object to over it with no mouse button pressed  
·Roll Out: move the mouse cursor from over the object to outside it with no mouse button pressed  
·Drag Over: move the mouse cursor from outside the object to over it with the left mouse button pressed  
·Drag Out: move the mouse cursor from over the object to outside it with the left mouse button pressed  
·Release Outside: release the left mouse button after moving the cursor outside the object.  

Note: Due to limitations of the Flash Player, the Play Sound and Stop Sound Action cannot be triggered by Drag Over, Drag Out or Release Outside Events

In the example below, both Press and Roll Over Actions will send the Movie to Frame zero.

panels-action-onxxx-example.png  

[Previous] [Main] [Next]