Ver Mensaje Individual
  #6 (permalink)  
Antiguo 20/10/2006, 00:19
Avatar de xboxcuates
xboxcuates
 
Fecha de Ingreso: abril-2005
Ubicación: Mexico DF
Mensajes: 229
Antigüedad: 18 años, 11 meses
Puntos: 1
Cita:
Iniciado por Cyberlobito Ver Mensaje
amigos un favor despues de mucho tiempo estoy usando flash y tengo la version Studio 8 tengo este codigo todo me esta fucionando pero el goto andplay no esta funcionando estoy en un Stop() y solo kiero ke el boton al hacerle click se vaya al fotograma 50 solo eso kiero ayudemene por favor

Código:
on (release) {
	gotoAndPlay(50)
}

on (rollOver) {
    this.tween('_width', 138.1,0.8,'easeoutelastic',0.00001);
	this.tween('_height', 116.7,0.8,'easeoutelastic',0.00001);
}

on (rollOut) {
	this.tween('_width', 118.1,0.8,'easeoutelastic',0.00001);
	this.tween('_height', 96.7,0.8,'easeoutelastic',0.00001);;
}
Hola no se si veo algo que esta mal o que yo veo mal mira en la primera acion veo que le dices que al soltar el boton vaya al fotograma 50 pero veo que le falta un punto y coma por lo que veo esto tiene que quedar asi:

on (release) {
gotoAndPlay(50);
}

on (rollOver) {
this.tween('_width', 138.1,0.8,'easeoutelastic',0.00001);
this.tween('_height', 116.7,0.8,'easeoutelastic',0.00001);
}

on (rollOut) {
this.tween('_width', 118.1,0.8,'easeoutelastic',0.00001);
this.tween('_height', 96.7,0.8,'easeoutelastic',0.00001);;
}

esto si estas en la ecena principal si no es asi y si el boton esta en un movicli o clip de pelicula solo tienes que cambiar a:

on (release) {
_root.gotoAndPlay(50);
}

on (rollOver) {
this.tween('_width', 138.1,0.8,'easeoutelastic',0.00001);
this.tween('_height', 116.7,0.8,'easeoutelastic',0.00001);
}

on (rollOut) {
this.tween('_width', 118.1,0.8,'easeoutelastic',0.00001);
this.tween('_height', 96.7,0.8,'easeoutelastic',0.00001);;
}

Que no se te olvide el ";" ok
__________________
Hola a todos, un saludo.

Felices codigos