# Reset dropdown boxes?

**URL:** <https://forum.kirupa.com/t/reset-dropdown-boxes/168722>\
**Category:** flash\
**Created:** [November 9, 2005, 3:37pm UTC](https://forum.kirupa.com/t/reset-dropdown-boxes/168722 "2005-11-09T15:37:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![redjoe100](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@redjoe100](https://forum.kirupa.com/u/redjoe100)\
**Post date:** [November 9, 2005, 3:37pm UTC](https://forum.kirupa.com/t/reset-dropdown-boxes/168722/1 "2005-11-09T15:37:03Z")

</div>

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
