Jump to content
Search Community

Noobie Q re. easing

kw2010 test
Moderator Tag

Recommended Posts

Please be gentle, I'm so new to this it's making me question my intelligence!!

I have my fla file, for the most part, just they way I'd like it. My problem is the easing of text as it tweens to the stage. At the end of each tween the text appears to "jump". Here is the code:

 

var timeline:TimelineLite = new TimelineMax({onComplete:myFunction});

timeline.append (TweenMax.from(mc1,5,{blurFilter:{blurX:20},x:0,ease:Strong.easeOut,alpha:0}));

timeline.append (TweenMax.from(mc2,6,{blurFilter:{blurX:20},x:0,ease:Strong.easeOut,alpha:0}));

timeline.append (TweenMax.from(mc3,7,{blurFilter:{blurX:20},x:0,ease:Strong.easeOut,alpha:0}));

 

Thoughts?

 

In case my explanation is inept, here is a sample file (emphasis on sample). Thank you so much in advance!

Link to comment
Share on other sites

It's because you aren't rounding off your tween properties, and text needs to be on whole pixels, so it jumps/snaps back and forth between pixels.

 

this fixes it:

var timeline:TimelineLite = new TimelineMax({onComplete:myFunction});
timeline.append (TweenMax.from(mc1,5,{blurFilter:{blurX:20},x:0,ease:Strong.easeOut,alpha:0,  roundProps:["x"]}));
timeline.append (TweenMax.from(mc2,6,{blurFilter:{blurX:20},x:0,ease:Strong.easeOut,alpha:0,  roundProps:["x"]}));
timeline.append (TweenMax.from(mc3,7,{blurFilter:{blurX:20},x:0,ease:Strong.easeOut,alpha:0,  roundProps:["x"]}));

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...