
Using 3D behaviors
329
The following table describes the available triggers.
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:
1
Click the Library Palette button on the Director toolbar.
2
Click the Library List button and select 3D.
3
Select Actions from the 3D submenu.
The action behaviors appear, as shown in the following figure.
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.
Содержание DIRECTOR MX 2004-USING DIRECTOR
Страница 1: ...DIRECTOR MX 2004 Using Director...
Страница 16: ...16 Chapter 1 Introduction...
Страница 82: ...82 Chapter 3 Sprites...
Страница 98: ...98 Chapter 4 Animation...
Страница 134: ...134 Chapter 5 Bitmaps...
Страница 242: ...242 Chapter 10 Sound and Synchronization...
Страница 274: ...274 Chapter 11 Using Digital Video...
Страница 290: ...290 Chapter 12 Behaviors...
Страница 302: ...302 Chapter 13 Navigation and User Interaction...
Страница 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Страница 392: ...392 Chapter 16 Working with Models and Model Resources...
Страница 418: ...418 Chapter 18 Movies in a Window...
Страница 446: ...446 Chapter 22 Managing and Testing Director Projects...