Jump to content
Search Community

Yoyo action doesn't work?

learner_7n test
Moderator Tag

Recommended Posts

Hi,

 

The following code doesn't show any error but the Yoyo action also not working. The following is the code:

 

TweenMax.fromTo(Main_Logo, 6, {rotation:0, x:-300, y:-125, alpha:0}, {rotation:"-360", x:400, y:125, alpha:1, delay:12, yoyo:true, ease:Strong.easeOut});

 

But for the following code with less options works great:

 

var FooterTween:TweenMax = new TweenMax(Content_mc.Introduction.Footer, 5, {y:435, repeat:1, yoyo:true});

 

Where I did the mistake?

 

Thanks.

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