Jump to content
GreenSock

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

Can you tween the format properties of a TextField?

Recommended Posts

Hi All,

I know you can tween any numeric property with the Greensock platform, but can you tween the format of text field?

 

For example if I wanted to tween some text from normal to bold, can that be done with TweenLite/Max?

 

I had a look on the forums already and there doesn't seem to be an obvious answer.

I'm sure there's a simple answer & solution, but I just can't get my hands on it at the moment!

 

All help appreciated, thanks!

 

X10

Link to comment
Share on other sites

Nope, sorry, that'd be impossible because it would necessitate Flash being able to set a font's weight at an infinite number of thicknesses between normal and bold. The only thing you could do is an alpha tween between a bold copy and a regular copy of the text stacked on top of each other, but that's not perfect either because the width of the characters will likely be different too so you'd need to adjust the spacing.

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