Jump to content
Search Community

Recommended Posts

Posted

Hello Forum-

   This is my first post.  I am trying to tint a MovieClip using greensock, but it appears that the tint is ALL or NOTHING. (which is weird, because there appears to be alpha as the tint is animating.

 

Is there an alpha control for the tint only? I am trying to tween buttons from 50% tint when inactive to no tint when the button is rolled over.

 

Please, let me know if there is a way to do this.

 

Thanks!

 

Joel

 

 

Posted

I found my answer after a little digging.

 

 

Looks like I need to use the colorTransform property

 

TweenLite.to(mc, 1, {colorTransform:{tint:0xFF0000, tintAmount:0.5}}); 

  • Like 2

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