Re: [Flashcoders] empty textfield of type "input" and embedded font

2007-03-26 Thread Matthias Dittgen
Thanks to you all, even Steven! ;-) I now use setNewTextFormat again, which worked and works best for me. It works not in combination with htmlText, so I still use plain text for my input fields. I make a note to myself to not trying to change again. :-))) @Bianca: Yes this workaround with react

RE: [Flashcoders] empty textfield of type "input" and embedded font

2007-03-26 Thread Steven Sacks | BLITZ
VM1 requires that you wait a frame before certain methods of dynamically attached clips are available. The easiest way around this is to put a method configUI(); on frame 1 of the timeline in your clip and put that method in your class to do what you need to do. And if any of y'all on Flashcoders

Re: [Flashcoders] empty textfield of type "input" and embedded font

2007-03-26 Thread Arul Prasad M L
try moving your setText(__text); call from constructor to the onLoad method ? like private function onLoad() { setText(__text); } On 3/26/07, Matthias Dittgen <[EMAIL PROTECTED]> wrote: Hello list, I have a dynamic textfield like this in the constructor of a class extending

Re: [Flashcoders] empty textfield of type "input" and embedded font

2007-03-26 Thread white song
You can put some text (for example: type here:) and when the textfield gets the focus you can detele the text. Bianca On 3/26/07, Matthias Dittgen <[EMAIL PROTECTED]> wrote: Hello list, I have a dynamic textfield like this in the constructor of a class extending MovieClip: createTe

[Flashcoders] empty textfield of type "input" and embedded font

2007-03-25 Thread Matthias Dittgen
Hello list, I have a dynamic textfield like this in the constructor of a class extending MovieClip: createTextField("tf", getNextHighestDepth(),0,0,__width,__height); __textField = this["tf"]; __textField.type = "input"; __textField.selectable = true; __te