This content has been marked as final.
Show 1 reply
-
1. Re: Clicking animated button goes directly to URL - need to see button animation first.
jomelia Dec 17, 2010 7:03 AM (in response to ruthgordy)I'm at about the same level you seem to be at but one thing I've used are TweenEvents. If you have a tween defined you can add a TweenEvent listener that calls a function when the tween is finished. I don't know how your's is laid out but in one of my projects I have a tween that moves an object from one place to another. Once that move is finished I have another function called, like below:
moveTween = new Tween(obj,"x",Strong.easeOut,From,To,15,false);
moveTween.addEventListener(TweenEvent.MOTION_FINISH, newFunc);
function newFunc(evt:TweenEvent){
//whatever you want to do here
}
Hope this helps.
Jack

