Seeking elegant code for List component

The following ActionScript 1.0 code no longer works in CS5:

productList.setChangeHandler(“listchange”);
listchange=function(me) {
gotoAndStop(me.getSelectedItem().data);
};
stop();

This code takes the value in a clicked cell within a List and positions the playhead on the frame indicated by the value. The label is a simple string and the value is the name of the named frame.

I’m totally lost in ActionScript 3.0, my delivery date grows close, and my brain has turned to oatmeal mush. :hair:

I know that I need to use an event listener, but I appreciate any detailed help you can give so I can again use the list and its contents to display frames according to which cell the user clicks.