Dans Flash CS3, un clip, souvent appelé MC, peut être piloté depuis ActionScript grâce à un nom d’instance. Sélectionnez le clip sur la scène, ouvrez le panneau Propriétés et renseignez le champ Nom d’instance, par exemple mcinstance. Utilisez ensuite cet identifiant dans le code, comme mcinstance.play() ou mcinstance.stop(), afin de contrôler précisément l’animation.
Logiciels d’animation
Attribuer un nom d’instance à un clip dans Flash CS3
Articles recommandés