PDA

View Full Version : combobox---change handler??????


capt204
01-13-2006, 03:31 PM
Hello
I am running Flash 8 Professional, i am trying to create a combo box
i am very new with flash, and programming period
i have found tutorials on the combo box, went through it and get to a point where they say to go to parameters in properties and do some change handler stuff.
Problem is i dont have the change handler option with Flash 8, i seen on the tutorial they have flash mx.
could someone tell me where i can find that change handler
i am trying to make a combo box that has main info, then click on something and takes me to another box with like sub info, then to a 3rd box that i click on item and dynamically create a movieclip. ANY IDEAS????????????????
Thanks
Mike

tg
01-13-2006, 04:27 PM
do it like this:

itChanged=function(){
trace(this +' changed');
}
myComboBox.addEventListener('click',itChanged);
// or myComboBox.addEventListener('change',itChanged);


try either one of those 2 options.