# Component wizard = trace("help");

**URL:** <https://forum.kirupa.com/t/component-wizard-trace-help/216732>\
**Category:** flash\
**Created:** [February 20, 2007, 4:47am UTC](https://forum.kirupa.com/t/component-wizard-trace-help/216732 "2007-02-20T04:47:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brndn](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@brndn](https://forum.kirupa.com/u/brndn)\
**Post date:** [February 20, 2007, 4:47am UTC](https://forum.kirupa.com/t/component-wizard-trace-help/216732/1 "2007-02-20T04:47:33Z")

</div>

i am a bit stumped as to how i can update the items of a dropdown list.  
in theory this should be working but will only assign [COLOR=darkred][board\_styles][/COLOR] once  
Something like an upDateAfterEvent for set components?

**[COLOR=sienna]THIS IS THE METHOD[/COLOR]**

```auto

 
function comboDisplay5(component) {
 Stylez_Var = component.getSelectedItem().label ;
}
Stylez.setChangeHandler ("comboDisplay5") ;

```

**[COLOR=sienna]AND THIS IS THE EVENT TO CHANGE THE LIST ITEMS[/COLOR]**

```auto
 mal.onPress = function(){
trace(radio);
board_styles= new Array ("mal1", "mal2", "mal4");
for (i=0;i<board_styles.length;i++) {
 Stylez.addItem (board_styles*) ;
}
}
mar.onPress = function(){
trace(radio);
board_styles= new Array ("mar1", "mar2", "mar4");
for (i=0;i<board_styles.length;i++) {
 Stylez.addItem (board_styles*) ;
}
}

```

[COLOR=black]I have re-gigged lots but still do not get the prefered result. I would love a hand if anyone knows offfhand…[/COLOR]

these mar and mal can be in a radio group…

Hope this makes some sense…

cheers
