well I gues I found the answer:

on (release) {
myButton.enabled = false;
}