Skip to main content
Known Participant
December 31, 2007
Question

TextField Input problems..

  • December 31, 2007
  • 1 reply
  • 190 views
Thanks guys for your co-operation..

I have one MovieClip on that I have rollover effects & its a transperant Movieclip.
Now I'm adding textfield on it whose type is dynamic initially.Also I have set width to 50 of the textfield..

Actually there is two problem but first one is more severe than the second one..

1) When input clicked on that textfield i make its type to input & Textfield take input from the keyboard but the width of the textfield not restricted to 50 but its go on increasing as user hits the keys..So i am not able to figure it out why such things are happening..

2) When user double clicks on the movieclip then the textfield type should be changed but in this case when i double click on that the code doesnot listen the double click event...

Please if possible then solve my both the query otherwise the first one is more critical for me so can you guide me on that...

Thanks...
This topic has been closed for replies.

1 reply

Participating Frequently
December 31, 2007
For problem 2 make sure you have set the_btn.doubleClickEnabled = true;
I am not sure about your first problem - immediately after changing the type of the text field try resetting its width to 50. If that doesn't work could you paste the code?

James Thompson