Comunidad de diseño web y desarrollo en internet online

Problema RollOut

Citar            
MensajeEscrito el 21 Jul 2009 01:46 pm
Que tal. Tengo un problema con un botón que actua como MC. Lo que quiero lograr es que mi botón se quede en mi último fotograma(15) al momento de presionar y cuando me posicione fuera de este botón no actue mi RollOut.
Envio mi codigo para que me puedan entender.

Código :

bt_inicio.onRollOver = over;
bt_inicio.onRollOut = out;
bt_inicio.onPress = pres;
function over() {
   this.gotoAndPlay(2);
}
function out() {
   this.gotoAndPlay(8);
}
function pres() {
   this.gotoAndPlay(15);
}


ME PODRIAN AYUDAR PORFAVOR. GRACIAS DE ANTEMANO :wink:

Por myahiru

28 de clabLevel



 

msie
Citar            
MensajeEscrito el 21 Jul 2009 02:09 pm
No hagas doble post, es lo mismo que has preguntado en el foro flash

Por Wyrm

Claber

1545 de clabLevel

15 tutoriales

 

firefox
Citar            
MensajeEscrito el 21 Jul 2009 02:15 pm
lo tomare en cuenta


gracias.

Por myahiru

28 de clabLevel



 

msie
Citar            
MensajeEscrito el 21 Jul 2009 02:35 pm
sino quieres que funcione puedes inhabilitar el clip al presionar

Código ActionScript :

function pres() {
   this.gotoAndPlay(15);
   this.enabled=false;
}


saludos

Por webgeri

58 de clabLevel



Genero:Masculino  

montevideo

opera
Citar            
MensajeEscrito el 21 Jul 2009 03:32 pm
Gracias webgeri me sirvió muy bien. Por aquí nos veremos de nuevo

aiuuu...

Por myahiru

28 de clabLevel



 

msie

 

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