A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Input text field won't allow input!!!!!

Threaded View

  1. #10
    Junior Member
    Join Date
    Nov 2009
    Posts
    1
    I know this was posted forever ago, but here's a solution that may help some of you...

    I just encountered the same issue and after a few hours of messing with my code, I found a solution (for my problem at least).

    My textField was using embedded fonts like:
    txtBox.defaultTextFormat = Fonts.defaultFontBoldFormat;
    txtBox.embedFonts = true;

    Although I was setting the defaultTextFormat, I needed to also SET the current format, so my code ended up like:
    txtBox.defaultTextFormat = Fonts.defaultFontBoldFormat;
    txtBox.setTextFormat(Fonts.defaultFontBoldFormat);
    txtBox.embedFonts = true;

    Hope this helps someone
    Last edited by blindgoat; 11-18-2009 at 09:17 PM. Reason: Figured out the real solution

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center