code help plz
code help plz
- Started
- Last post
- 2 Responses
- Buckyball2
I have this code for an mc being used as a button:
ep1_button.onRollOver = function() {
this.gotoAndPlay("_over");
};
ep1_button.onRollOut = function() {
this.gotoAndPlay("_out");
};
ep1_button.onRelease = function() {
_root.gotoAndStop("surf");
changeit(2);
};In addition to the onRelease function going to "surf" I also want to to stay in it's rollover state. How would I alter the above code on the surf frame to eliminate any activity and show a static image.
Thanks
- Buckyball20
anyone?
- mimeartist0
ep1_button.enabled = false
if you want to turn it off?