Jump to content
Search Community

Help with splittext rotationX center point

xxboonexx test
Moderator Tag

Recommended Posts

Hey guys, I am using a rotationX animation with my splitText field, but I can't get the characters to rotate around their center, they rotate around the top of the characters. Any idea how to change the center of the rotationX to be the center of the characters?

 

Thanks in advance.

 

-Boone

Link to comment
Share on other sites

That's just because a TextField's registration point is in the upper left corner (that's a Flash thing). To alter that, you'd need to loop through the TextFields and wrap them in a Sprite whose registration point you'd place in the center of the TextField, and then animate the wrapper Sprites instead of the TextFields.

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