Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-23-2007, 09:33 PM   #1
DeJarnett
Registered User
 
Join Date: Aug 2005
Posts: 14
Default Tracking keystrokes in a combobox?

Is is possible to have a listener event that is triggered any time a keystroke is made in a combobox component? From reading the documentation, it looks like I should build a listener based on the textField property of the combobox. This is what I tried:

objComboListener = new Object();

objComboListener.change = function(eventObj){
trace(" inside change ");
}

myCombo.textField.addEventListener("change", objComboListener);

but nothing gets fired.

Thanks for any input.
DeJarnett is offline   Reply With Quote
Old 01-24-2007, 06:24 PM   #2
DeJarnett
Registered User
 
Join Date: Aug 2005
Posts: 14
Default

Figured it out. Needed to use the keyUp event listening to the combobox rather than the change event listening to the textField.
DeJarnett is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the selected item in a combobox mcmcom Components 3 07-28-2006 11:42 AM
ComboBox problem Krassimiro Components 9 07-06-2006 07:05 AM
ComboBox doesn't use ComboBox Assets fx2ooo Components 6 04-26-2005 09:12 AM
attendance tracking using comboBox & PHP & CSV jaxson Components 1 04-12-2005 04:55 AM
[mx] combobox, focus & keypad arrows chartrandi Components 0 03-31-2004 11:12 AM


All times are GMT. The time now is 07:37 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.