Dear Helpers
I am trying to help a student create a combo box, that has several drop down options, and each one should lead to a different image appearing. I can get it to work in AS3 with the following Actionscript, but the students work has been done in AS2, so would really appreciate some help in amending it please.
Thanks in advance
Jenn

import flash.events.Event;

import flash.events.Event;

stop();

combobox.addItem( { label: "A" })
combobox.addItem( { label: "B" })
combobox.addItem( { label: "C" })
combobox.addItem( { label: "D" })
combobox.addItem( { label: "E" })
combobox.addItem( { label: "F" })
combobox.addItem( { label: "G" })

combobox.addEventListener(Event.CHANGE, changeimage);

function changeimage (event:Event) :void{
if (combobox.selectedItem.label == "A") gotoAndStop(40);
if (combobox.selectedItem.label == "B") gotoAndStop(41);
if (combobox.selectedItem.label == "C") gotoAndStop(42);
if (combobox.selectedItem.label == "D") gotoAndStop(43);
if (combobox.selectedItem.label == "E") gotoAndStop(44);
if (combobox.selectedItem.label == "F") gotoAndStop(45);
if (combobox.selectedItem.label == "G") gotoAndStop(46);

}