Skip to main content
Known Participant
October 18, 2007
Question

line break in input textfield

  • October 18, 2007
  • 3 replies
  • 343 views
Hi

Something very strange here...

When I put an input textfield with "mulitlines" on my stage and publish it. I noticed when I select the field a line break is already set. So typing starts on the second line.

Any idea?

tx
tom
This topic has been closed for replies.

3 replies

Inspiring
October 18, 2007
I do understand and was able to replicate it. I guess it is a bug, although its easy to overcome at least.

With kerning switched on:

trace(test.text.length); //traces 1
test.text=""; //resets it to get rid of the line break


fanglinyong
Inspiring
October 18, 2007
maybe, but i really don't understand what do u mean?
Known Participant
October 18, 2007
is it a CS3 BUG?

If you put an input textfield an your stage with standard auto kern on, it gives in the published swf an extra line break.
When you turn "auto kern" off, the line break dissapears...


Tom