07.12.2012 Views

Adobe Director Basics

Adobe Director Basics

Adobe Director Basics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ADOBE DIRECTOR BASICS<br />

3D basics<br />

In previous versions of <strong>Director</strong>, the trigger instruction had to be included as a handler, such as on mouseDown, inside<br />

the behavior. The trigger behavior type makes it easier to reuse action behaviors in different ways with different<br />

triggers. These behaviors can be used with any 3D cast member.<br />

Using the 3D behavior library<br />

All 3D behaviors are listed in the Behavior Library. The Behavior Library is divided into two sub libraries: actions and<br />

triggers.<br />

1 Click the Library Palette button on the <strong>Director</strong> toolbar.<br />

2 Click the Library List button and select 3D.<br />

3 Select Triggers from the 3D submenu.<br />

The trigger behaviors appear.<br />

3D trigger behaviors<br />

The following table describes the available triggers:<br />

Name Description<br />

Mouse Left Triggers action when the user presses, holds down, or releases the left<br />

mouse button (Windows®) or the mouse button (Mac®).<br />

Mouse Right Triggers action when user presses, holds down, or releases the right<br />

mouse button. To use on the Mac, you must set the<br />

emulateMultibuttonMouse property to true; then Control-click is<br />

interpreted as a right-click. To use this with Shockwave® Player, you<br />

must disable the context menu and pass right-clicks through to the<br />

player.<br />

Mouse Within Triggers an action when the pointer is inside a sprite.<br />

Mouse Enter Triggers an action when the pointer enters a sprite.<br />

Mouse Leave Triggers an action when the pointer leaves a sprite.<br />

Keyboard Input Lets the author specify a given key as a trigger.<br />

Last updated 8/26/2011<br />

76

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!