Jump to content
Search Community

Transforming nested text field

wblair8689 test
Moderator Tag

Recommended Posts

Please find attached example code...

 

I have a textfield that is inside a movieClip. I then add the movieClip to the transformManger via the addItem method

 

_manager.addItem(_main.ballon,TransformManager.SCALE_WIDTH_AND_HEIGHT, true);

 

When the movieClip is transformed the textfield distorts. I am hoping there is some way to make it not distort - like the textfield in your example.

 

If not - any Ideas on how to do this? I am trying to design a speech bubble for a build your own comic application.

 

Bill

Link to comment
Share on other sites

  • 3 weeks later...

The problem is that you wrapped your TextField in a MovieClip. So it's like it's being seen through a "lens" and that lens is getting distorted. That's just how Flash works. The only way around that (that I know of) is to override the width/height or scaleX/scaleY setter of the MovieClip wrapper and have it resize your TextField's width/height instead. So you'd have to create a custom class for that.

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