Mega Code Archive
Categories
/
Flex
/
Components
Select the first 10 characters of various text controls
private function selectText():void { sparkTextArea.selectRange(0, 10); sparkTextInput.selectRange(0, 10); sparkRET.selectRange(0, 10); }