MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH Spezifikationen Seite 109

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 152
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 108
Add labels to frames 109
16. Select frame 60 of Layer 2.
17. In the Actions panel, type the stop(); ActionScript.
18. In the Timeline, select frame 80 of Layer 2.
19. In the Actions panel, type the stop(); ActionScript.
Add labels to frames
Now you will add labels to specific frames. By labeling a frame, you make it
possible to refer to that frame in ActionScript. This allows you to write
ActionScript code that performs actions on those frames. Later, you
will add ActionScript code that makes the playhead jump to these
labeled frames.
To add the frame labels:
1. In the Timeline, select Frame 2 of Layer 2.
2. In the Property inspector, enter slide0 in the Frame Label text box.
A small flag icon and the frame label appear in Frame 2 of Layer 2 in
the Timeline.
3. In the Timeline, select Frame 21 of Layer 2.
4. In the Property inspector, enter slide1 in the Frame Label text box.
5. In the Timeline, select Frame 41 of Layer 2.
6. In the Property inspector, enter slide2 in the Frame Label text box.
7. In the Timeline, select Frame 61 of Layer 2.
8. In the Property inspector, enter slide3 in the Frame Label text box.
The Timeline with the completed frame labels
000_Getting_Started.book Page 109 Friday, September 2, 2005 12:22 PM
Seitenansicht 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 151 152

Kommentare zu diesen Handbüchern

Keine Kommentare