creez un jeu en flash grâce aux sprites ^^ allez sur mon blog, pour voir la partie 1 : tuto-video.over-blog.com Code à mettre sur le clip mouvement, qui contient tous les autres : onClipEvent(load){ fight = false; } onClipEvent(enterFrame){ if(fight == false){ if(Key.isDown(Key.LEFT)&&fight != true){ this._x -= 4; this._xscale = -100; this.gotoAndStop(2); }else if(Key.isDown(Key.RIGHT)&&fight != true){ this._x += 4; this._xscale = 100; this.gotoAndStop(2); }else{ this.gotoAndStop(1); } } if(Key.isDown(Key.SPACE)){ this.gotoAndStop(3); fight = true; } if(this._currentframe == 1){ fight = false; } } et code a placer dans une nouvelle image clée du clip ou le personnage tape : _root.mperso.gotoAndStop(1);