Accessing value of a listbox from other frame

I have this code in my frame which dynamically makes a listbox with the name of all days in it

this.attachMovie(“FComboBoxSymbol”, “myList”, 1, {_x:100, _y:100});
myData =[“Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, “Sunday”];
for(var i=0; i<myData.length; i++) myList.addItem(myData*);
myList.setChangeHandler(“show”);
function show(obj){
var selected = obj.getSelectedItem().label
trace(selected)
//Your code to use the selected value
}

Now I kept one push button in other frame and kept in the action part

on(click)
{
trace(myList.getselectedItem().Label);
trace(myData[2]);

}
but I am not getting any output
How can I access variables from other frame.
Thanks

PS: Also, the line List.setChangeHandler(show(List)); doesnt seems to work