Ver Mensaje Individual
  #4 (permalink)  
Antiguo 07/07/2010, 17:38
Avatar de Diegoazul
Diegoazul
 
Fecha de Ingreso: mayo-2007
Ubicación: { Dash Berlin }
Mensajes: 1.879
Antigüedad: 16 años, 10 meses
Puntos: 67
Respuesta: tween con AS2

Si entendí crea un Clip y le pones como nombre de instancia boton_mc y en un frame vacio pones:
Cita:

import mx.transitions.Tween;
import mx.transitions.easing.*;

boton_mc.onRollOver=function(){
new Tween(boton_mc, "_xscale", Elastic.easeOut, boton_mc._xscale, 200, 1, true);
new Tween(boton_mc, "_yscale", Elastic.easeOut,boton_mc._yscale, 200, 1, true);

}

boton_mc.onRollOut=function(){
new Tween(boton_mc, "_xscale", Elastic.easeOut, boton_mc._xscale, 100, 1, true);
new Tween(boton_mc, "_yscale", Elastic.easeOut,boton_mc._yscale, 100, 1, true);

}

Sino sabes AS presiona f1 y lee la referencia.
__________________
{ Flash }