MACROMEDIA FLASH 8-FLASH Spécifications Page 216

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 290
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 215
216 ActionScript: Use Script Assist mode
7. Click Add again and then select the goto() function from the Global
Functions > Timeline Control option.
Adding the function that is triggered when the event occurs
The
goto() function is added as the action of the on event handler. In
other words, when the Home button is pressed (the
on handler) and
released (the
release event), the goto() action is executed.
When the Home button is clicked, the movie clip should move to and
stop at the Home frame of the Timeline. To do this, you use Script
Assist mode to modify the default parameters of the
goto() function.
8. In the Script Assist panel, select the Go To and Stop option.
9. Set the Type to Frame Label by selecting it from the Type pop-up
menu.
Vue de la page 215
1 2 ... 211 212 213 214 215 216 217 218 219 220 221 ... 289 290

Commentaires sur ces manuels

Pas de commentaire