|
-
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!!!!!!!
-
-
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.
-
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
-
Originally posted by oldnewbie
Attachments here don't work since last night!
Yea, I noticed that; forgot...
-
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?
-
Can not put the focus caret in that inputbox or the caret is in the inputbox but can not respond to keyboard typing ?
-
Yeah, is this the first thing that comes up in the movie? In other words, has the keyboard focus yet?
-
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!!!!!!!
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|