# comboBox on(change)

**URL:** <https://forum.kirupa.com/t/combobox-on-change/215233>\
**Category:** flash\
**Created:** [February 5, 2007, 5:28pm UTC](https://forum.kirupa.com/t/combobox-on-change/215233 "2007-02-05T17:28:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![korkor5](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@korkor5](https://forum.kirupa.com/u/korkor5)\
**Post date:** [February 5, 2007, 5:28pm UTC](https://forum.kirupa.com/t/combobox-on-change/215233/1 "2007-02-05T17:28:19Z")

</div>

hello All,

i have a falsh application that enables movieclips when they are run over depending on whether some values are equivalent to that in a combobox. i have stored some values in an xml file which the movie clips rely on.

the problem i am facing now is that when i trace the contents of the xmlnodes in the on(change) event handler of the combo box it traces undefined. this is what i traced:

trace(nums[0].childNodes[0].firstChild)

var nums:Array = newsXML.firstChild.childNodes;

nums is the array that contains the xmlnodes.

how can i get access to nums in the on(change) event handler for the combo box?

please help

thanx  
korkor5:smirk:
