Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
jkell

Can I control Alpha of Tint?

Recommended Posts

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

 

 

Link to comment
Share on other sites

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