attachmovie ("bottone", "miobottone", getNextHighestDepth);
miobottone.onPress = function () {
trace("heilā!");
}

dovrebbe fungere a meno di errori grammaticali dovuti alla mia niubbaggine!