Jump to content
Search Community

change the size of dynamically added text

Dcoo test
Moderator Tag

Recommended Posts

Sure, TransformManager can transform pretty much any DisplayObject. It's fine if you're dynamically adding text (although not right in the middle of while your user is dragging/resizing). 

maybe I'm doing something wrong because I add my text to the TransformManager but it only transformes the text box not the text inside post-12621-0-37118700-1401992862_thumb.jpg

Link to comment
Share on other sites

Right, it looks like your TextField is sized bigger than you want. Perhaps you should just try making sure it's collapsed to the size of your text. That's not something TransformManager does for you - TransformManager honors the size of the DisplayObject you feed in. You may need to look into the sizing options/parameters for the TextField you're using. Sorry, I don't quite remember all those settings from Adobe's API. 

Link to comment
Share on other sites

  • 1 month later...

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