ポップアップで何がしかの入力画面を開いて、そこの一番上のコンポーネント(例えばテキストフィールド)などにフォーカスを当てたい、場合のやり方。 <?xml version="1.0" encoding="utf-8"?> <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" width="400" height="300" creationComplete="creationCompleteHandler(event)"> <mx:Script> <![CDATA[ private function creationCompleteHandler(event:Event):void { this.focusManager.setFocus(textInput); } ]]> </mx:Scrip