332 posts
  • 8 Years of Membership
  • Collector Level 4
  • 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 Level 2
  • Collector Level 1
  • Freebie
  • Featured Author
+3 more
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
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 4
  • Brazil
+5 more
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

332 posts
  • 8 Years of Membership
  • Collector Level 4
  • United States
timmylogue
says

Thanks guys!

by
by
by
by
by
by