Dear Kirupians
I have a swf file with 3 dropdown boxes. The boxes have been populated using additem. When an item in the dropdown is selected a text file loads in a text field.
What I would like to do is make it so after one item has beed selected in a dropdown and then the user selcts another item from another dropdown the first dropdown is reset (back to please select).
here is the script for one of the dropdown boxes:
on(change)
if ( this.selectedItem.label == “0J6” )
loadText = new LoadVars();
loadText.load(“0j6.txt”);
loadText.onLoad = function() {
_root.scroller.text = this.equipmenttext;
};
}
else if ( this.selectedItem.label == “0J11” )
{
loadText = new LoadVars();
loadText.load(“0j11.txt”);
//creating the loadVarsText function
loadText.onLoad = function() {
_root.scroller.text = this.equipmenttext;
};
Any help would be great!
many thanks
Joe