You could start by using the built-in keyUp and keyDown
eventListeners for the TextInput control:

<mx:TextInput keyUp="startTimerFunction();"
keyDown="stopAndResetTimerFunction();"/>

I don't have an example, but it should be pretty easy to figure out
the rest by using the timer class.

Cheers,
Tim Hoff


--- In [email protected], "David Harris" <[EMAIL PROTECTED]>
wrote:
>
> Hi Guys,
>
> Does anyone have an example like this:
>
> I have a text input box and the user types in information.
> When they have finished typing I would like to fire off an event.
>
> The approach I would like is that once they have stopped typeing
for
> 500ms, the event gets fired.
>
> Has any done something like this and would like to shared code?
>
> Cheers,
>
> David
>







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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to