Comunidad de diseño web y desarrollo en internet online

hitTest que abre otro swf ?

Citar            
MensajeEscrito el 03 Jun 2009 12:50 am
que codigo uso para eso?
se que el codigo para un boton normal es:

Código :

on (release) {
_root.loadMovie("nombre.swf")
}



un hitest normal para pasar a otro frame es:

Código :

clip.onEnterFrame=function()
{ if(clip.hitTest(clip)){  
gotoAndPlay ("nombreframe"); }  }


pero como hacer para que al tocar el otro objeto abra otro swf? :cry:

Por knucleschan

20 de clabLevel



 

msie8
Citar            
MensajeEscrito el 03 Jun 2009 04:01 am

Código ActionScript :

clip.onEnterFrame=function()
{
if(clip.hitTest(clip)){
_root.loadMovie("nombre.swf")
delete this.onEnterFrame;
}
}


en teoria seria algo asi

Por tribak

Claber

2448 de clabLevel

6 tutoriales

Genero:Masculino   Héroes

Fotógrafo o algo

firefox
Citar            
MensajeEscrito el 03 Jun 2009 06:13 pm
ok probando

Por knucleschan

20 de clabLevel



 

msie8
Citar            
MensajeEscrito el 03 Jun 2009 06:43 pm
muchas gracias por la ayuda tribak
si funciona

Por knucleschan

20 de clabLevel



 

msie8

 

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