Initialize might be too early. 

<mx:Application creationComplete="{myField.setFocus()}">

        <mx:TextArea id="myField" text="example" />

</mx:Application>

-M


--- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]> wrote:
>
> Is there a way with in flex to auto foucs on a certain compoent upon
> initialization. I have tried the AS2 way
> Selection.setFocus("instanceName"); But this does not work. 
> 
> Can someone give me a hand with this.
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to