The following table describes the available triggers.
Name
Description
Mouse Left
Triggers action when the user presses, holds down, or releases the left mouse
button (Windows) or the mouse button (Macintosh).
Mouse Right
Triggers action when user presses, holds down, or releases the right mouse
button. To use on the Macintosh, you must set the emulateMultibuttonMouse
property to true; then Control-click is interpreted as a right-click. To use this
with Shockwave, you must disable the Shockwave context menu and pass
right-clicks through to the player.
Mouse Within
Triggers an action when the pointer is inside a sprite.
Mouse Enter
Triggers an action when the pointer enters a sprite.
Mouse Leave
Triggers an action when the pointer leaves a sprite.
Keyboard Input
Lets the author specify a given key as a trigger.
You can add modifier keys to any trigger, so that a given trigger can launch two actions,
depending on whether the modifier key is pressed. You can, for example, use Mouse Left and
Mouse Left+Shift as separate triggers.
To view 3D action behaviors:
Click the Library Palette button on the Director toolbar.
1
Click the Library List button and select 3D.
2
Select Actions from the 3D submenu.
3
The action behaviors appear, as shown in the following figure.
Using 3D behaviors
329
Need help?
Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?
Questions and answers