User Guide

262
ADOBE GOLIVE CS2
User Guide
Most browsers can handle the default 15 FPS setting, even if running on systems with average video hardware. If you
want to work with higher speeds, be sure to test your animation with a wide selection of system configurations to
make sure that playback is smooth.
To create multiple scenes in an animation
1 Create an animation. GoLive names the first animation you create “Scene 1” by default.
2 In the upper left corner of the DHTML Timeline Editor, choose Rename Scene from the pop-up menu.
3 Enter a name for the scene, and click OK.
4 Choose New Scene from the pop-up menu.
5 Enter a name for the new scene, and click OK.
6 Add keyframes and animate the layers for the new scene, and then preview the animation for the new scene by
clicking the Play button in the DHTML Timeline Editor.
To control the playback of scenes
1
Go to the second scene, and click the Autoplay button to deselect it and disable automatic playback.
2 Return to the first scene, and Ctrl-click (Windows) or Command-click (Mac OS) in the Action Track anywhere
before thelastkeyframepositiontoinsertanactionmarker, indicatedbyaquestionmarkicon
. (The Action Track
is the horizontal gray bar between the timeline and the time tracks.)
3 In the Action Inspector, click Show Action Palette, click the Actions tab, and choose Action > Multimedia > Play
Scene. Choose the name of the second scene from the pop-up menu.
scene. On the Action Track, the Play Scene Action icon
The Play Scene action instructs the browser to switch to the specified scene after finishing playback of the current
replaces the marker.
4 If the first scene is a looped animation or a palindrome, you need to insert a Stop Scene action: Ctrl-click
(Windows) or Command-click (Mac OS) in the Action Track at the very last keyframe to insert an action marker. In
choose the first scene from the pop-up menu. The Stop Scene Action icon
theActionInspector,click Show Action Palette, clickthe Actionstab,chooseAction > Multimedia >StopScene and
appears in the Action Track.
TheStopScene action stopsthe playback of ascene,evenifitisanendless loop.Besuretoinsertthisactionafter the
Play Scene action in the Action Track; otherwise, the animation stops before scenes can be switched.
5 Move the Time Cursor to the beginning of the first scene and preview the animation in the browser.
Note: To give viewers more control over your animation, you can also attach the Play Scene action to a rollover button
or hypertext link in your page. For instructions on using actions with rollover buttons and text, see “About actions” on
page 608.
Applying timeline-triggered actions to layers
You use the DHTML Timeline Editor to insert actions for layers in a timeline. Actions are ready-to-use scripts that
you can use with the DHTML Timeline Editor, rollover buttons, links, and form elements. You can add actions to the
timeline of a layer by inserting markers in the Action Track of the Timeline Editor, and defining the actions in the
Actions Inspector.
Actions allow you to add sound, trigger the playback of animation scenes, dynamically change the content of images,
and control other processes in the browser window. For information on actions you can use with layers, see “About
actions” on page 608.