# Trigger a comboBox change event programmatically?

**URL:** <https://forum.kirupa.com/t/trigger-a-combobox-change-event-programmatically/287510>\
**Category:** Uncategorized\
**Created:** [May 2, 2009, 3:32pm UTC](https://forum.kirupa.com/t/trigger-a-combobox-change-event-programmatically/287510 "2009-05-02T15:32:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeromeramone](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jeromeramone/32/3405_2.png) [@jeromeramone](https://forum.kirupa.com/u/jeromeramone)\
**Post date:** [May 2, 2009, 3:32pm UTC](https://forum.kirupa.com/t/trigger-a-combobox-change-event-programmatically/287510/1 "2009-05-02T15:32:26Z")

</div>

I have a comboBox component with a CHANGE event listener on it:

dd\_chapter.addEventListener(Event.CHANGE, changeFunction);

function changeFunction(event:Event):void {  
trace(“changed!”);  
}

I want to trigger that event programmatically when the comboBox first gets loaded with data. In AS 2, the syntax would be something like “dd\_chapter.onChange();”. How do I do it in AS 3?

I’ve scoured google for 2 hours and strangely can’t find anything relevant!

Thanks in advance!
