Dis moi, le onEnterFrame, il est sur le _root, met le plutot en clipEvent sur ton clip . ..
Un truc du genre : tu clic sur ton clip b2 ( ton perso, si j´ai bien compris) et dans l´actionscript, tu met qquechose du genre
onClipEvent(EnterFrame) {
if ( _root.b2.hitTest(_root.droite)) {
_root.b2._x -= 20;
}
if ( _root.b2.hitTest(_root.gauche)) {
_root.b2._x += 20;
}
if ( _root.b2.hitTest(_root.haut)) {
_root.b2._y += 20;
}
if ( _root.b2.hitTest(_root.droite)) {
_root.b2._y -= 20;
}
}
Je te dis ça comme ça , a vu d´oeil, si ca continue à pas marcher, je te conseille yazo.net, t´as un super forum, ils pourront t´aider.
Topheee