
cree un cuadrado que se mueve:
Código ActionScript :
onEnterFrame = function() { if (Key.isDown(Key.DOWN)){ this.navex._y = this.navex._y + 10 } if (Key.isDown(Key.UP)){ this.navex._y = this.navex._y - 10 } }
y quiero que al tocar otro clip de pelicula, ocurra cierta accion...
Claro independientemente de la forma que tengan los clips.
hice esto pero no funciona...
Código ActionScript :
onEnterFrame = function () { if (abc.hitTest(this.nave._x, this.nave._y, 1)) { trace("hola"); } };
(curiosamente fue de un tutorial de por aqui... : D)
el echo es que no funciona...
¿que puedo hacer?