Hi, I have an animation set up into different sections by frame labels on the timeline… I have a combo box I want to use to navigate through the different sections… I set up this listener to return the values of each section…
What I am trying to do is actually navigate now to the different frames…
I don’t know how to add an if statement to get my animation to go to and play the frame labels from my combo box…
Here is my code for the combo box instance:
comboboxListener = new Object();
combobox.change = function(eventObj)
{
var eventSource = eventObj.target;
var theSelectedItem = eventSource.selectedItem;
var theSelectedItemLabel = theSelectedItem.label;
trace ( "You selected "+theSelectedItemLabel+".");
}
combobox.addEventListener (“change”, constructionListener);