MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH Spécifications Page 106

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 152
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 105
106 Tutorial: Building Your First Flash Application
4. With the symbol instance still selected, in the Property inspector, enter
0 in the X and Y text boxes.
5. Still in the Property inspector, enter slides_mc in the instanceName
text box.
Edit a symbol Timeline
Now that you have created the three symbols, you will edit the slideShow
symbol by adding animation to its Timeline. This animation causes the
images of food in the completed document to slide upward when the user
clicks a button that you will add later.
To edit the slideShow symbol:
1. Without leaving symbol-editing mode, click Insert Layer in the
Timeline.
The Insert Layer button in the slideShow symbol’s Timeline
This adds a layer to the slideShow symbol’s Timeline.
ABOUT...
About movie clips and nested Timelines Each movie clip symbol can have its own timeline that allows
the movie clip to contain animation or ActionScript of its own. This is why you see the name of the symbol
you are editing at the top of the Timeline when you are in symbol-editing mode.
Using symbols and nested timelines gives you great flexibility in how you build your Flash document and
organize its functionality. A typical example of this is a car moving across the Stage with spinning wheels.
The animation of the car moving across the Stage could be in the main Timeline of the Flash document.
Each of the spinning wheels could be an instance of a movie clip symbol with its own timeline. The
spinning animation of the wheels would be implemented in the movie clip timeline. This approach is much
simpler to implement than creating an animation in the main timeline of the wheels, which are both
spinning and moving across the Stage.
000_Getting_Started.book Page 106 Friday, September 2, 2005 12:22 PM
Vue de la page 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 151 152

Commentaires sur ces manuels

Pas de commentaire