320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

How do I pause a tween object at a certain x coordinate for 15 sec and head back to the original x coordinate and pause that for 3 mins and then loop.

I was messing around with tween.yoyo();

var myTween = new Tween(myMovieClip_mc,"x",Strong.easeInOut, 500,0,1,true);

myTween.addEventListener(TweenEvent.MOTION_FINISH, onFinish);
function onFinish(e:TweenEvent):void
{
    myTween.yoyo();
}

Thanks

66 posts
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 1 and 9 items
  • Has been a member for 3-4 years
  • China
yuanhao_viva says
http://www.greensock.com/as/docs/tween/_tweenlite.html
this will help you.look up the TweenMax Class.i think it can do exactly what you want
4140 posts
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
tsafi says

I was messing around with tween.yoyo(); Thanks
If you want clients taking you seriously never use the flash default tween engine :P .

If you are not selling your work then using yuanhao_vivag tween recommendation is good way doing things ,other than that’s you can use freely Tweener or EazeTween(I still use ET) on any project free

320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

Thanks guys!

by
by
by
by
by
by