MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Manuel d'utilisateur Page 6

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 16
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 5
6
Scripts
Scripts
Behavior script
Behavior script
functions associated with a
functions associated with a
specific sprite.
specific sprite.
Frame script
Frame script
functions associated with a
functions associated with a
specific frame.
specific frame.
Cast script
Cast script
functions associated with a specific
functions associated with a specific
cast member. These are executed by all sprites
cast member. These are executed by all sprites
created from that member.
created from that member.
Movie script
Movie script
global functions.
global functions.
Parent script
Parent script
used for
used for
’’
’’
object oriented
object oriented
’’
’’
programming.
programming.
Navigation and frame scripts
Navigation and frame scripts
All Director scripts use an event-listener programming model.
In frame scripts, the exitFrame event is called when the frame
is finished and Director is about to move to the next frame.
We can ’’freeze’’ at a particular frame by jumping back to itself.
Right-click in the script channel and choose Frame Script... to create
a new frame script for that frame.
Note that the script also appears as a cast member.
Re-compile all scripts by clicking the compile ( ) button.
Vue de la page 5
1 2 3 4 5 6 7 8 9 10 11 ... 15 16

Commentaires sur ces manuels

Pas de commentaire