文字列の最後にフォーカスを当てる
テキストにフォーカスを当てると全体が選択状態になりますが、
テキストの任意の位置にフォーカスを当てることができます。
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="955" minHeight="600" creationComplete="creationComplete()"> <fx:Script> <![CDATA[ private function creationComplete():void { textInput.selectRange(textInput.text.length, textInput.text.length + 1); textInput.setFocus(); } ]]> </fx:Script> <s:TextInput id="textInput" text="ABCDEFGHIJKLMN" /> </s:Application>