There is several messages with subject "Firefox - TextInput Bug". Though it not looks like exactly your problem however i guess the reason of such behavior is the same. There seem to be quite a lot of "funny focus tricks" in firefox+flash player. Pity.
R. On 1/19/07, eren bali <[EMAIL PROTECTED]> wrote:
Thanks for your reply, I am using firefox. I searched for posts before sendind a new post but could not find a relevant post. On 1/18/07, Roman Protsiuk <[EMAIL PROTECTED]> wrote: > > It is more likely Firefox bug. Are you using this browser? Because the > described behavior is reproducible in Firefox but not in IE. Try to search > older posts in list seems to me that I saw this problem being discussed > here. > > R. > > > On 1/17/07, eren bali < [EMAIL PROTECTED]> wrote: > > > > Hi to all, > > > > I have a couple of textinputs that all have focusIn and focusOut > > listeners. > > One of these tese inputs open a file reference (FileReference.browse) > > When you press cancel in file explorer dialog, it closes silently. But > > when i click another textinput, two focusIn events are disparchet together, > > one for the old textinput one for the recently clicked textinput. > > > > Below is a code to demonstrate the issue. > > Just click 1st textinput, than 3rd one. Close the dialog with "cancel" > > button, than click the first textinput. > > log variable was expected to be: > > Laga Luga > > Browse > > Laga Luga > > > > However it is: > > Laga Luga > > Browse > > Browse > > Laga Luga > > > > -- > > Eren BALÄ° > > > > ===================================================================== > > > > <?xml version=" 1.0" encoding="utf-8"?> > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml " > > layout="vertical"> > > <mx:Script> > > <![CDATA[ > > import mx.controls.Alert; > > import mx.controls.Text; > > [Bindable] > > private var log:String=""; > > private var fr:FileReference=new FileReference; > > private function focusIn(event:FocusEvent):void{ > > log+="\n"+event.currentTarget.text; > > if(event.currentTarget==tiGozat){ > > fr.browse(); > > } > > } > > ]]> > > </mx:Script> > > <mx:TextInput text="Laga Luga" focusIn="focusIn(event)" /> > > <mx:TextInput text="Laga Luga2" focusIn="focusIn(event)" /> > > <mx:TextInput id="tiGozat" text="Browse" focusIn="focusIn(event)" > > /> > > <mx:Text width="300" text="{log}" /> > > </mx:Application> > > > > -- Eren BALÄ° Invento Studios