I'm having some difficulties getting my Change Handler to work on a dropdown list.
Here's the .fla:
I have a textbox on the left side of the stage, it is dynamic, and the instance is named "inscription." I have a dropdown in the middle (nameBox), with values and data, and a piece of code in its 'change handler' as follows:
inscription.htmlText = nameBox.getSelectedItem().data;
I cannot get the inscription box to display any text! What am I doing wrong here? I've tried placing the above line into the AS of the inscription box, but then I only get the data displayed of the first item in the dropdown - if i change items the text remains the same.
Can anyone help me with this?