Mes "stops" sont placés au niveau de la première et de la dernière frame de mon clip "cible"
normal quoi !!!
mon code bouton :on (rollOver) {
}
on (rollOut) {
}
on (press) {
startDrag (this, false, 205, 245, 205, 306);
}
on (release) {
stopDrag ();
if (this.hitTest(_root.place)) {
_x = _root.place._x;
_y = _root.place._y;
}
if (this.hitTest(_root.place0)) {
_x = _root.place0._x;
_y = _root.place0._y;
}
}
son mc : onClipEvent (enterFrame) {
if (this.hitTest(_root.place)) {
_root.cible.gotoAndPlay (2);
} else {
_root.cible.gotoAndPlay (1);
}
}
Claviskass