[LEFT]
on (release) {
if (_root.b<>1 and _root.m<>1 and _root.sm<>1) {
gotoAndStop("s3");
_root["b"+_root.b].gotoAndPlay("s2");
_root.sph.sph.gotoAndPlay("s1");
_root.b = 1;
}
if (_root.sm == 1 and _root.m<>1) {
_root.b = 1;
_root.script.gotoAndPlay("stop");
gotoAndStop("s3");
}
}
[/LEFT]
What would this code do if it where placed on a button with the instance name b1, b2, etc. ?
Whilst another button with instance name a has this:
on (release) {
if (_root.m<>1){
_root.b=1
_root.script.gotoAndPlay("stop");}
_root["b"+_root.b].gotoAndStop("s3");
}
I’m aware the question is foggy, but…
Any clue?