Jump to content
Search Community

Transform TextField makes text disappears

stefanpetre test
Moderator Tag

Recommended Posts



So I have a small application where the user can add TextField and I use TransformManager to allow them to move/rotate/resize. Everything works OK, except on IE 7 Flash Player version . Every time the TextField is transformed the text inside disappears.


Every TextField has font embeded. Here is the code I use to generate the TextFields:

var newField = new TextField();
newField.embedFonts = true;
newField.wordWrap = true;
newField.type = "input";
newField.border = false;
newField.autoSize = TextFieldAutoSize.NONE;
newField.background = false;
newField.defaultTextFormat = defaultFormat;
newField.multiline = true;
newField.text = config.default_text;


Can someone help me? Thanks

Link to comment
Share on other sites

Just because you set embedFonts = true does NOT mean the font is actually embedded. You must make sure that Flash puts the actual font into the swf. There are a few ways to do it, but what I typically do is make sure that I put a TextField somewhere in the swf which I click the "embed fonts" button for and select all the characters I need. Feel free to look at the Adobe docs to learn about other ways to do it too.

Link to comment
Share on other sites


it has just the fields for embedded fonts and some things in the library



method 'addTextEl' (line 551) inserts the TextField objects and attaches it to TranformManager object


Thanks a lot for taking your time with this and if this issue is not related to TransformManager then let it be.

Link to comment
Share on other sites

If you want help with this, please don't post your production file that has multiple dependencies on other class files, etc. that are not included. I could not publish your FLA. Please isolate the problem in a separate (extremely simplified) FLA and just post that so that I can quickly publish it and see the issue. Thanks!

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