
547
ADOBE GOLIVE CS2
User Guide
4
With the Main behavior box selected, assign an image to the keyframe for the sprite by selecting an image from
the Image menu. After you select the image, its thumbnail appears in the Main behavior box. QuickTime displays
the image assigned to the Main behavior box when the movie with the sprite begins running.
5
To assign other images to other behaviors, select one of the following behavior boxes, and then select an image
from the Image menu:
Over
Reveals the image assigned to it when a viewer passes the pointer over the image assigned to Main. In other
words, the Main image rolls over into the Over image.
Click Inside
Reveals the image assigned to it when a viewer holds down the mouse button.
Click Outside
Reveals the image assigned to it after a viewer clicks inside the sprite, and then drags outside the
sprite.
6
To change the mouse cursor when the viewer passes over the sprite, select a behavior box, and then select an
option from the Cursor menu.
7
In the Status box, enter any information about the sprite that you want to display in the web browser window’s
status bar when the movie runs.
See also
“To set the basic track and sample properties” on page 534
“Samples” on page 529
To wire a sprite with action
You can add wired actions to a sprite by attaching actions to keyframes. For example, by attaching the Go To URL
action to the Mouse Click Event for a sprite’s keyframe, you can have a web page open when the viewer clicks the
sprite.
1
Select the sprite, and then select the keyframe that you want to attach an action to. If you need to create a new
keyframe, use the Create Sample tool to place the new keyframe in the desired location on the sprite track. (See
“Samples” on page 529.)
2
Display the Actions tab of the Sprite Sample Inspector. From the Events list, select one of the following mouse
events that you want to trigger a sprite action:
Mouse Down
Triggers an action when the viewer presses the mouse button down (without releasing it) while the
pointer is on top of the sprite.
Mouse Up
Triggers an action when the viewer releases the mouse button while the pointer is on top of the sprite.
Mouse Click
Triggers an action when the viewer clicks the sprite.
Mouse Enter
Triggers an action when the viewer moves the mouse pointer over the sprite.
Mouse Exit
Triggers an action when the viewer moves the mouse pointer away from the sprite.
3
Click the New Item button
to attach an action to the event. A dot symbol (“•”) appears to the right of each
event that is active.
4
From the pop-up menu below the Events and Actions lists, choose an action, such as GoToURL, and then set its
properties, as necessary, below the pop-up menu. For more information on the actions in the pop-up menu, see
“Actions for setting movie properties” on page 566.
5
Click Apply.
Содержание GOLIVE CS2
Страница 1: ...Chapter 1 Copyright User Guide...
Страница 251: ...ADOBE GOLIVE CS2 242 User Guide...