hey guys.
Please help me; I cannot figure out how to do this in Actionscript 3.0:
Using movie clip buttons, how do you get the button to stay in the “mouse over” state after it has been clicked? I do not want the button to do anything at all after it is clicked.
I found this online and it works perfectly for actionscript 2.0 but i need it in 3.0. anyone know how to do this in 3.0?
MovieClip.prototype.checkMe = function() {
if (this._currentframe == 2) {
this.btn.enabled = true;
this.gotoAndStop(1);
}
};
btn_mc1.btn.onRelease = function() {
btn_mc1.btn.enabled = false;
btn_mc2.checkMe();
btn_mc3.checkMe();
};
btn_mc2.btn.onRelease = function() {
btn_mc2.btn.enabled = false;
btn_mc1.checkMe();
btn_mc3.checkMe();
};
btn_mc3.btn.onRelease = function() {
btn_mc3.btn.enabled = false;
btn_mc2.checkMe();
btn_mc1.checkMe();
};
Please help and THANK YOU