Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ecouteurDeClickSurLesBoutons (event:MouseEvent):void {
- boutonActif = event.currentTarget as MovieClip;
- for each (var bouton:MovieClip in listeBoutons) {
- if (bouton == boutonActif) bouton.gotoAndStop("rollOut");
- else bouton.gotoAndStop("inactif");
- if (boutonActif == b_couleurs_mc) {
- listeActive = listeCouleur;
- }
- else if (boutonActif == b_NB_mc) {
- listeActive = listeNoirBlanc;
- }
- indexImage = 0;
- afficherImage ();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement