utiliza el Tween pasa hacer la animación de escala progresiva XDXD
Código PHP:
import fl.transitions.Tween
var paises:Array=new Array(mcecuador,mcperu,mccolombia,mcchina)
for (var i=0;i<paises.length;i++){
addBotonFun(paises[i],i);
}
function scala(event:Event):void{
var mc=event.currentTarget
var tx:Tween=new Tween(mc,"scaleX",null,mc.scaleX,2,2,true)
var ty:Tween=new Tween(mc,"scaleY",null,mc.scaleY,2,2,true)
}
function restascala(event:Event):void{
var mc=event.currentTarget
var tx:Tween=new Tween(mc,"scaleX",null,mc.scaleX,1,2,true)
var ty:Tween=new Tween(mc,"scaleY",null,mc.scaleY,1,2,true)
}
function addBotonFun(Boton, id) {
Boton.addEventListener(MouseEvent.MOUSE_OVER,scala)
Boton.addEventListener(MouseEvent.MOUSE_OUT,restascala)
}