Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Add event listeners to the textInput skin part of the ComboBox

$
0
0
I have the following code to accomplish what is says in the title:

override protected function childrenCreated():void

super.childrenCreated();
textInput.addEventListener("change", onValueChange, false, 0, true);

private function onValueChange(event:Event):void

textInput.selectRange(0, textInput.text.length);

The listener is not called when I use a mouse to change a value. But if I
type in it does fire.
Not sure what would the difference be. Any idea?

Thanks

Viewing all articles
Browse latest Browse all 5648

Trending Articles