Jump to content
Search Community

Change color from center of object

ekessler test
Moderator Tag

Recommended Posts

I have a move clip that is a blue shape. I would like to have it change color to red beginning in the center and "growing" outwards over the course of a few seconds until the entire object is red. I have spent a while looking through the plugin explorer and the documentation and have not found how to do this.

Any ideas?

Thank you.

Link to comment
Share on other sites

Thank you for the fast reply. I have spent quite a lot time trying to get my movie clip to change even without the gradient using the hexColors plugin and the code in the documentation. Am I missing something, does it only work if you have the code draw the shape?

Link to comment
Share on other sites

in order for hexColors to work for you it needs to constantly call a function that will re-apply the new color values to your object.

I would stick with colorTransformMatrix.

 

to get your growing from center color change effect, you could try scaling up a red shape and fading it in, or perhaps revealing the red shape with a mask that is scaling.

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