321 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in 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
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Contributed a free file of the month
  • Made it to the Authors' Hall of Fame
+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
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 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

321 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

Thanks guys!

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by