Here's how we do it:
<mx:Script><![CDATA[
function checkEnterKey(evt):Void { if (evt.code==13) { submitLogin(); }}
]]></mx:Script>
<mx:TextInput password="true" keyDown="checkEnterKey(event);"/>
--- In [email protected], "Joe" <[EMAIL PROTECTED]> wrote:
> Is possible to submit using the enter key within flex?
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
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/