Jump to content
Search Community

how to create a 'fly-in...slow....fly-out' tweening animation ??

Aditya test
Moderator Tag

Recommended Posts

Hey guys...

 

This is my first post to this forum... smile.gif

 

I am working on a project and i want to have a tweening effect similar to the 'Custom Presets : fly-in pause fly-out' option in Flash IDE. Its just that i want to create it with action script and want to control it properly through code.

 

For the rest of the tweening in my project i am using 'Greensock's TweenMax'. So if someone can help me creating the same effect in this engine it would be helpful. smile.gif

 

Thanks.

Link to comment
Share on other sites

Hi and Welcome to the GreenSock forums.

 

It sounds like you need to use our SlowMoEase.

 

Please view the SlowMoEase Visualizer here:

http://www.greensock.com/v12/

 

Learn some more here:

http://www.snorkl.tv/2012/03/introducing-the-slowmo-ease-in-greensock-animation-platform-v12/

 

yoyoMode explained:

http://www.snorkl.tv/2012/04/slowmo-ease-with-yoyomode/

 

Be sure you have the v12 GreenSock library files available on first link above.

 

Best,

 

Carl

Link to comment
Share on other sites

Hello Sir,

 

First of all thanks to you for replying so quickly. In fact i am kind of excited to hear from you. I have always been a follower of snorkl.tv. And i have learned this engine from your tutorials at snorkl and tutsplus only (actually i was hoping one day u'll write a mini book on greensock platform...i'll be the first one to buy it... :P ) So its feeling good to interact with you.

 

And rest about the question that i asked... yup this is exactly what i was looking for.

 

Now i have one more doubt... Currently i am using an older version of TimelineMax and TweenMax in my project... so will it cause some problems if i replace it to version 12 ??

Link to comment
Share on other sites

Hi Aditya,

 

Thanks so much for the kind words.

You're request about the mini-book is duly noted. One of my top priorities here is creating lots of material that will make the GreenSock API easier to understand. Keep your eyes open, things are on the way.

 

And yes, your doubt is well-placed but upgrading an existing project to v12 shouldn't be too bad.

On the v12 page we have listed the areas that are going to cause trouble.

 

Visit: http://www.greensock.com/v12/

Under the 10th improvement click the "but wait there's more" button.

 

You will see little warning icons that show which new features are going to cause problems when updating.

 

The most common problem is going to be the properties that are now methods like:

 

//v11
timeline.progress = 1;
timeline.timeScale = .5;
//v12
timeline.progress(1);
timeline.timeScale(.5);

 

Depending on the size and complexity of your project it could be a bit of a hassle. The good thing is Flash will report where the errors are and you can most likely knock'em all out fairly quickly.

 

If you have any particular problems let me know and I'll do my best to advise you.

 

If you have to stick to v11 the best I can offer is a timeline with 3 tweens sequenced back-to-back but it doesn't look nearly as good as SlowMoEase :(

 

-c

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...