--- In flexcoders@yahoogroups.com, "valdhor" <valdhorli...@...> wrote:
>
> This works for me (I am using Flex 3.3 with Flash Player 9.0.159)
> 
> If this is not a player or Gumbo issue, I would look at other things 
> happening after the enter event.
> 
> What happens with a small test case?

Steve, Thanks for the lead.

As I found out, it seems to be the issue when I targeting Flash Player 10. The 
code:

myTextInput.text = "";
//myTextInput.setFocus();// no need to call this.

works exactly as I expect (clearing the previous text entry, with TextInput 
remaining in focus) for an mx:TextInput when compile against FP 9.

Once I target FP10, myTextInput.text = "" stops working (text not cleared out 
after "enter").

Any ideas??


Reply via email to