beautypg.com

Adding transitions to screens using behaviors, Add a transition behavior – Adobe Flash Professional CS3 User Manual

Page 384

background image

FLASH CS3

User Guide

378

Note: Some behaviors select a target screen by default; for example, the Go to First Slide screen automatically targets the
first screen. These behaviors do not show the Select Screen dialog box.

5

In the Event column, click in the row for the new behavior and select an event from the list. This specifies the event

that triggers the behavior—for example, a user clicking a button, a movie clip loading, or a screen receiving focus.
The list of available events depends on the type of object you use to trigger the behavior.

See also

“Document structure and hierarchy” on page 368

“Using absolute and relative target paths” on page 73

Adding transitions to screens using behaviors

Screen transition behaviors let you add animated transitions between screens. To add a transition using a behavior,
you attach the behavior directly to a screen.

You can select the direction of a transition: In plays the animation as the screen first appears in the document; Out
plays the animation as the screen disappears from the document. You can also specify the duration in seconds.

Easing options let you modify the transition to achieve different effects.

Some transitions have additional parameters that you can modify. Parameters appear in the Transitions dialog box
when you select the transition.

Follow these guidelines when adding transitions:

For most situations, the In option is recommended.

Use the In option when applying a transition that uses the

on(reveal)

event.

Use the Out option when applying a transition that uses the

on(hide)

event.

Do not add an Out transition immediately before an In transition in a presentation.

To attach the same transition to all children of a given slide, attach the single transition to the

on(revealChild)

or

on(hideChild)

event of the parent, rather than duplicating the transition on all child slides.

Add a transition behavior

1

Select the screen to apply the behavior to.

2

In the Behaviors panel, click the Add (+) button.

3

Select Screen > Transition from the submenu.

4

Select a transition from the scroll list. An animated preview of the transition plays in the preview window, and a

brief description of the transition appears in the description field. The animation changes to reflect options that you
select for the transition in the following steps.

5

For Direction, select In to play the transition as the screen appears in the document, and Out to play the transition

as the screen disappears from the document.

6

For Duration, enter a time in seconds.

7

For Easing, select an option to define the transition style.

8

If the transition has additional parameters, select options or enter values for those parameters in the fields

provided.