Comunidad de diseño web y desarrollo en internet online

Instancia que se arrastra e interactua

Citar            
MensajeEscrito el 19 May 2005 03:03 pm
Una consulta nueva.
quiero aprovechar el siguiente codigo:

hitter = function () { this.onPress = function() {this.startDrag("");};this.onRelease = function() {this.stopDrag();};this.onReleaseOutside = function() {this.stopDrag();};this.onEnterFrame = function() {this.coll = "";if (this.hitTest("_root.hitarea")) {this.coll = "hit";}};};
hitter.apply(circle01);

pero de forma que cuando "hitter" haga contacto con "hitarea", en vez de visualizar el txt "HIT", haga un GOTOANDPLAY (25).
es factible?
^^
cenkiu.

Por bobjoP

83 de clabLevel



 

msie
Citar            
MensajeEscrito el 19 May 2005 09:33 pm
pos reemplaza esto {this.coll = "hit";} por {gotoAndPlay(25);}

Por Acidbjazz

716 de clabLevel



Genero:Masculino  

Lima - Perú

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.