Adobe Flash Professional CS3 Bedienungsanleitung Seite 228

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 527
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 227
FLASH CS3
User Guide
222
Flash inserts a keyframe that duplicates the contents of the Up frame.
6 Change or edit the button image for the Over state.
7 Repeat steps 5 and 6 for the Down frame and the Hit frames.
TheHitframeisnotvisibleontheStage,butitdefinestheareaofthebuttonthatrespondswhenclicked.Thegraphic
for the Hit frame must be a solid area large enough to encompass all the graphic elements of the Up, Down, and Over
frames. It can also be larger than the visible button. If you do not specify a Hit frame, the image for the Up state is
used as the Hit frame.
To create a disjoint rollover, in which moving the pointer over a button causes another graphic on the Stage to change,
place the Hit frame in a different location than the other button frames.
8 To assign a sound to a state of the button, select that states frame in the Timeline, select Window > Properties >
Properties, and then select a sound from the Sound menu in the Property inspector.
9 When you finish, select Edit > Edit Document. To create an instance of the button in the document, drag the
button symbol from the Library panel.
See also
“Using sounds in Flash” on page 292
Enable, edit, and test buttons
By default, Flash keeps buttons disabled as you create them, to make it easier to select and work with them. When a
button is disabled, clicking the button selects it. When a button is enabled, it responds to the mouse events that you’ve
specifiedasiftheSWFfilewereplaying.Youcanstillselectenabledbuttons.Disablebuttonsasyouwork,andenable
buttons to quickly test their behavior.
For a text tutorial about buttons, see Add Button Navigation and Animation on the Flash Tutorials page at
www.adobe.com/go/learn_fl_tutorials.
Enable and disable buttons
Select Control > Enable Simple Buttons. A check mark appears next to the command to indicate buttons are
enabled. Select the command again to disable buttons.
Any buttons on the Stage now respond. As you move the pointer over a button, Flash displays the Over frame; when
you click within the buttons active area, Flash displays the Down frame.
Select, move, or edit an enabled button
Do one of the following:
Use the Selection tool to drag a selection rectangle around the button.
Use the arrow keys to move the button.
IfthePropertyinspectorisnotvisible,selectWindow>Properties>PropertiestoeditthebuttonintheProperty
inspector, or Alt+double-click (Windows) or Option+double-click the button (Macintosh).
Test a button
Do one of the following:
Select Control > Enable Simple Buttons. Move the pointer over the enabled button to test it.
Select the button in the Library panel, and click the Play button in the Library preview window.
Seitenansicht 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 526 527

Kommentare zu diesen Handbüchern

Keine Kommentare