Salut,
Toujours la même question, AS2 ou AS3 ?
En AS2 ça donne quelque-chose comme ça:
monAnimation.stop();
var position = false;
monBouton.onPress = function() {
position = !position;
if (position) {
monAnimation.play();
} else {
monAnimation.stop();
}
};
@+.
www.monblog.ch/telovtutoriels Flash pour débutants