Won't matter where you set it from because you are handling an event, not an init-time property. The following works for me: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > <mx:TextInput id="foo" focusOut="foo.horizontalScrollPosition=0" /> <mx:TextInput id="bar" /> </mx:Application>
Focus into first textinput, type until it scrolls, tab out to next textinput. ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Tuesday, September 04, 2007 3:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: TextInput control and long text Thanks for the suggestion Alex, but that doesn't seem to help. I set it using AS and not MXML, thought it might be related to this bug: http://bugs.adobe.com/jira/browse/SDK-387 <http://bugs.adobe.com/jira/browse/SDK-387> and this one seems to be match for my issue: http://bugs.adobe.com/jira/browse/SDK-1057 <http://bugs.adobe.com/jira/browse/SDK-1057> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Did you try: > > focusOut="myTI.horizontalScrollPosition = 0" >