cerca di adattarlo al tuo caso.

Codice PHP:
function enable():Void {
    
btn1.enabled true;
    
btn2.enabled true;
    
btn3.enabled true;
}

btn1.onRelease = function():Void  {
    
trace("sono il bottone 1");
    
enable();
    
this.enabled false;
};
btn2.onRelease = function():Void  {
    
trace("sono il bottone 2");
    
enable();
    
this.enabled false;
};
btn3.onRelease = function():Void  {
    
trace("sono il bottone 3");
    
enable();
    
this.enabled false;
};