A Flash Developer Resource Site

Results 1 to 10 of 10

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

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Location
    Leicestershire
    Posts
    4

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

    We are having a really strange and stupid sounding problem with a text input box. It appears but won't allow any input. Before you shout 'stupid newbie' yes the properties are correctly defined as input text etc.

    The input field is in a movie clip i.e. _root.myClip but we have never had this problem before. It is probably something obvious to to prevent us pulling out all of our hair has anyone got any idea why this is happening. We have tried forcing the text box focus etc but to no avail.

    Help us!!!!!!!

    Kevin Corti
    PIXELearning Ltd
    www.pixelearning.com

  2. #2
    Developer
    Join Date
    Sep 2001
    Location
    The Bluegrass State Will Flash For Food ™
    Posts
    3,786
    got a fla?

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Attachments here don't work since last night!

    You'll have to upload it to your server and provide a link to download from there.

  4. #4
    Junior Member
    Join Date
    Feb 2003
    Location
    Leicestershire
    Posts
    4
    Yeah,

    but can't share it - kind of a client confidentiality thing!

    It's well wierd. I have used Flash since version 3 and never seen this problem - maybe a couple of beers will bring a certain clarity but if you have any ideas I'd be most grateful.

    Ta
    Kevin Corti
    PIXELearning Ltd
    www.pixelearning.com

  5. #5
    Developer
    Join Date
    Sep 2001
    Location
    The Bluegrass State Will Flash For Food ™
    Posts
    3,786
    Originally posted by oldnewbie
    Attachments here don't work since last night!
    Yea, I noticed that; forgot...

  6. #6
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Can't you take out what's client stuff related, and save the same setup into a new project (Save as...), and provide that mockup .fla?

  7. #7
    Senior Member
    Join Date
    May 2001
    Posts
    1,837
    Can not put the focus caret in that inputbox or the caret is in the inputbox but can not respond to keyboard typing ?

  8. #8
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Yeah, is this the first thing that comes up in the movie? In other words, has the keyboard focus yet?

  9. #9
    Junior Member
    Join Date
    Feb 2003
    Location
    Leicestershire
    Posts
    4
    We put the input box into a new sub movie and had the same prob. Then we copied this movie clip into a new (blank) fla and it works - therefore there must be something in the original that is effecting the input box properties I guess....don't know what though.

    The input box is visible and the mouse changes but we can't type into it. We changed it to a dynamic box and assigned a variable value to it - no probs.

    Wierd!!!!!!!
    Kevin Corti
    PIXELearning Ltd
    www.pixelearning.com

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