Jump to content
Search Community

Use object values with TweenMax.allTo

crooksy88 test
Moderator Tag

Recommended Posts

I'm wanting to tween several objects 40px down from there current y position.

not all items have the same y value.

Would anyone know if this is possible using TweenMax.allTo? e.g.

 

TweenMax.allTo([item1, item2, item3], 1, {alpha:1, y:this.y+40}, .3);

 

Obviously (y:this.y+40) isn't right.

 

Thanks,

 

Mark

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