Jump to content
Search Community

TextField inside MovieClip - transforming

undefinedman test
Moderator Tag

Recommended Posts

Hey Jack,

 

I've got some elements (MovieClips) that contains textfields inside. But simple question is:

 

Is there any way to make the textfield area bigger while scaling via transform manager? Now it scales text also, so it's getting bigger or smaller, so it does not look good when for example an element is a button which contain label. I would like to keep font size always the same, but yeah, do you think is possible, or is there any better solution?

post-5096-0-28660500-1352842017_thumb.png

Link to comment
Share on other sites

If you don't wrap the TextField in a MovieClip (or any other DisplayObjectContainer), yes, that's exactly how it'll work by default (resize the TextField, not the text). The key is to change the "width" and "height" properties of the TextField instead of "scaleX" and "scaleY" or the transform.matrix. But if you must have it wrapped in a MovieClip, I don't think it's feasible given how Flash works.

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