Share Posted December 3, 2010 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 More sharing options...
Share Posted December 3, 2010 You forgot repeat:1 (or however many times you want it to repeat). Remember, yoyo simply controls HOW the repeat behaves. So if there's no repeating, you'll never see it yoyo. Link to comment Share on other sites More sharing options...
Author Share Posted December 3, 2010 Hi, Thanks a lot for your kind help. Regards. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now