Código :
stop();
import com.greensock.*;
import com.greensock.easing.*;
import flash.events.MouseEvent;
var timeline:TimelineMax= new TimelineMax({/*paused:true,*/ onComplete:prueba2});
timeline.append(new TweenMax(alfa,3, {x:5, ease:Elastic.easeInOut}));
timeline.append(TweenMax.to((alfa.beta),3, {x:5, ease:Elastic.easeInOut}));
timeline.append(TweenMax.to((alfa.beta.teta),3, {x:5, alpha:1, ease:Elastic.easeInOut}));
boton.addEventListener(MouseEvent.CLICK, prueba);
function prueba(e:MouseEvent):void{
timeline.play();
}
function prueba2(e:Event):void{
trace("listo");
} 