if (_root.bille.hitTest(_root.square)) { if (rectangle != 0) { rectangle--; if (rectangle == 2) { // pour le gotoAndStop je ne suis pas sur d'avoir bien compris ce que tu voulais faire en fait gotoAndStop(2); } } else { _root.square._visible =false; }
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionif (_root.bille.hitTest(_root.square)) { if (rectangle != 0) { rectangle--; vitx = -vitx; vity = -vity; } else { _root.square._visible =false; }
if (_root.bille.hitTest(_root.square)) { if ((_root.square.rectangle != 0) { (_root.square.rectangle--; vitx = -vitx; vity = -vity; } else { _root.square.unloadMovie(); }
if ((_root.bille.hitTest(_root.square)) && (_root.square._visible == true)) { vitx = -vitx; vity = -vity; _root.square._visible =false; }