Maybe u couldhelp? A simple actionscript problem?

hi this is my code for a combo box button.

as you can see when a n option is selected, text from an external txt. is made visable in a field.

However my problem is that when i make one option and press the button to which this code is attatched, the text appears as expected. But when i make another selecltion from the combo box the text from the previous selection sticks not allowing me to see my new text .

can someone point out what i should do with my code in order to ensure that the previous selection is cleared from my text field so that the new text can be displayed.

cheers

please help im really stuck here

my code:

on(release){
if(distances.getselectedindex()==0)
{

loadvariables(“aucklandtowellington.txt”,text)
}

}

on(release){
if(distances.getselectedindex()==1)
{

loadvariables(“christchurchandauckland.txt”,text)
}

}

on(release){
if(distances.getselectedindex()==2)
{

loadvariables(“christchurchandwellington.txt”,text)
}

}

cheers again sean