Btn.onPress // return no result

Hi

I placed this script on Frame 1.

myBtn.onPress = function () {
trace(“yes”);
}

Button placed on Frame 5. But doesnt seems to be working.

Actually I am developing a FlashMap. There are many clickable areas. So I thought to add all the btn scripts in frame 1.

Do please help me. I tried to upload sample FLA here, but it is failed.

Thanks
Nasih