This seems like it should be easily solved, but I keep running into an issue so I was hoping I could get some fresh ideas from you guys.
I want to have default text in a TextField, and when a user clicks into it I want all of the text to be selected as if it was tabbed into. I currently have added an onSetFocus method to the TextField which in turn calls a setInterval for another method called "selectText". The selectText method calls Selection.setSelection (0, field.text.length); Now this works wonderfully if you click to the right of the text, but if you click in the middle of the text, when the mouse lets up the text that is selected is 0 to the caret index. Does anyone know of a way to get around this? Thanks in advance, - markW _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com