Hi,

I must be stupid' on this one.
How could it be possible to select the entire textfield that is just focused ?

Seems easy…heu ?
_field.onSetFocus = function () {
        trace(Selection.getFocus());
        Selection.setSelection (0, this.text.length-1);
};

Doesn't work when I click on the Textfield.
Strange.
BTW, the trace output is correct.

Any idea ?

-----------
erixtekila
http://blog.v-i-a.net/
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to