MovieClip.prototype.assegna=function(valore){
premuto=valore
this.onRollOver=function(){
if(!premuto){
// azione
}
}

this.onRollOver=function(){
if(!premuto){
// azione
}
}

this.onPress=function(){
// azione
premuto=true
}
}

clip.assegna(false)