Jump to content
Search Community

ERROR: Property removeTint not found [SOLVED]

donJao test
Moderator Tag

Recommended Posts

Hello everyone.

 

I'm getting a problem that I cannot get rid of on my own.

 

ERROR: Property removeTint not found

 

I've activated the plugin in the constructor:

TweenPlugin.activate([TintPlugin]);

 

I've successfully applied tint to the TextField:

TweenLite.to(m_letter, 0.3, {tint: Config.GAME_ANSWER_FONT_COLOR_OVER});

 

But I cannot remove tint:

TweenLite.to(m_letter, 0.5, {removeTint: true});

 

That code does NOT do the job for me. Throws an error. Using FDT with Flex 3.4 SDK, building FP9 app.

 

Thanks in advance.

Link to comment
Share on other sites

Hey! Thanks for the quick reply!

 

Yes, the object is a TextField instance. And I found a solution myself, which is:

TweenPlugin.activate([TintPlugin,RemoveTintPlugin]);

 

Now everything works flawlessly.

 

P.S. sorry for dumb post, but it's 3rd sleepless night, 2:25 AM and i have to deliver the project by 12:00 AM :) So, I'm kinda broken.

 

Anyway thanks for help! Really appreciated.

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