stefbuet
Messages postés576Date d'inscriptionmercredi 5 janvier 2005StatutMembreDernière intervention12 mai 2009
-
2 mai 2006 à 17:50
stefbuet
Messages postés576Date d'inscriptionmercredi 5 janvier 2005StatutMembreDernière intervention12 mai 2009
-
2 mai 2006 à 23:14
j'ai trois image avec 3 stop,
je veux que quand l'on apuis sur la touche gauche, l'image 2 apparai, et sur la touche droite , l'image 3 apparais, et que quand toutes les touche (droite et gauche) son lachés, l'image 1 apparais.
mon code :
stop ()
onEnterFrame=function() {
if (Key.isDown(Key.RIGHT)) {
gotoAndStop (2)
}
else {
if (Key.isDown(Key.LEFT)) {
gotoAndStop (3)
}
}
}
comment faire pour qu'il y ai un goto and stop si aucune touche (droite gauche) n'est appuiyé ??