View Full Version : [AS3] How can I manually dispatch a combobox ListEvent.CHANGE?
alkoty
09-12-2011, 04:52 PM
How can I manually dispatch a combobox ListEvent.CHANGE?
I haven't tried this but
dispatchEvent(new ListEvent(ListEvent.CHANGE));
might be a good shout.
alkoty
09-12-2011, 07:18 PM
Thanks, that did it:
comboBoxName.selectedIndex = 0;
comboBoxName.dispatchEvent(new ListEvent(ListEvent.CHANGE));
|
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.