all groups > flash actionscript > september 2006 >
You're in the

flash actionscript

group:

Cannot enter text in TextInput


Cannot enter text in TextInput zvl
9/30/2006 8:30:20 PM
flash actionscript: I create a TextInput dynamically (with createClassObject). It works fine.
I delete it and create a CheckBox at the same level.
I delete it. I create the TextInput again at that level. It works fine.
I delete it. I create a RadionButton at the same level.
I delete it and create the TextInput again. Now the TextInput cannot accept
focus and I cannot enter text in...

God will bless the good people who will give me a hint :confused;
Re: Cannot enter text in TextInput coldMiner
9/30/2006 8:34:46 PM
Re: Cannot enter text in TextInput zvl
9/30/2006 8:59:27 PM
I wish I had a piece of sequential code that shows the phenomenum. It's a
complicated applet. Objects are created and destroyed depending on user action.
The same TextInput, created with the same createClassObject command, sometimes
works properly and sometimes doesn't...

What can make a TextInput to refuse accepting input?
Re: Cannot enter text in TextInput kglad
9/30/2006 9:23:01 PM
Re: Cannot enter text in TextInput zvl
9/30/2006 9:31:12 PM
Re: Cannot enter text in TextInput kglad
9/30/2006 11:22:13 PM
Re: Cannot enter text in TextInput zvl
10/1/2006 12:00:00 AM
Re: Cannot enter text in TextInput zvl
10/1/2006 12:00:00 AM
And BTW I also discovered that if I set the text field of the TextInput to
something, the text doesn't show in those cases when it doesn't receive input.

If I create a CheckBox instead of a TextInput then no problem the box always
gets input, even though nothing is changed except field type.
Re: Cannot enter text in TextInput kglad
10/1/2006 3:32:53 PM
Re: Cannot enter text in TextInput zvl
10/2/2006 6:11:07 PM
None of these.
Moreover, the field sometimes works properly and sometimes not. The only
difference is that if I create a CheckBox at the position of the TextInput and
delete it before creating the TextInput, then all is fine. If I create a
RadioButton at same position and save level and delete it before creating the
TextInput, then the problem re-occurs.
One more strange phenomenon that may be related - if I create the TextInput
with a "label" field (I don't need it but the code remained from creating the
CheckBox), then again same problem - the text doesn't show and the field
doesn't receive input...

Re: Cannot enter text in TextInput kglad
10/3/2006 12:00:00 AM
i can't duplicate your problem despite creating and deleting the components in
the order you mentioned in your first message.

you can try and copy pieces of your current problematic swf to another swf and
try to duplicate the issue with the minimum coding/objects to narrow the
problem's cause.
Re: Cannot enter text in TextInput zvl
10/3/2006 12:00:00 AM
I'll try, but it's hell of work... Once I do it I will probably manage to
isolate the problem by myself...

I thought somebody here knows already about this TextInput bug in Flash...

Anyway your willing to help and the efforts you have spent are are so much
appreciated!
Re: Cannot enter text in TextInput kglad
10/3/2006 2:05:32 PM
AddThis Social Bookmark Button