or to fully abstract it?
private function removeSelection(event:Event):void{ event.currentTarget.selectionBeginIndex = 0; event.currentTarget.selectionEndIndex = 0; } <mx:TextInput id="txtWeight" text="[EMAIL PROTECTED]" focusIn="removeSelection( event )" focusOut="onRatingChange( event )" /> many thanks barry.b