View Full Version : button question
bagpuss
11-21-2005, 06:08 PM
I have set up 4 instances of the same button. All i want is so when you click a button it ''''stays clicked''''' until you click another button. I think I need to set up a function or something that remembers the last button pressed so it only ever effects one button at a time...
bagpuss
11-21-2005, 06:12 PM
ahh never mind!! I just found the fla on locking buttons. One problem though. Can someone update the syntax for me because I need it to work in flash 7. Hope you can help thanks...
function resetButtons() {
for (j=1; j<5; j++) {
_root["button"+j].gotoAndStop("up");
}
and on the button
on (release) {
_root.resetButtons();
this.gotoAndStop("down");
}
THankyou!!
bagpuss
11-21-2005, 07:47 PM
hey its ok!? i;ve sussed it.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.