To do that (if I understand clearly enough) you will tell the on(release) AS how to handle the event. Usually with an if/else statement. It is possible you will need to use currentframe as well, or at least a mixture of the methods. If I can get my brain to function I will post the code here:
Code:
on(release){
_root.BtnWhole.gotoAndStop("44");
if (_root.BtnWhole._currentframe == 44){
_root.BtnStormCreative.gotoAndPlay("56");
}
}
You should be able to see the idea here. first you tell which MC/Button/timeline the frame to go to, then we check, if it is there then take the other MC/Button/timeline to the frame you want it to go.
You can add other things too...
Code:
on(release){
_root.BtnWhole.gotoAndStop("44");
if (_root.BtnWhole._currentframe == 44 && _root.BtnWhole.BtnContactUs._currentframe == 12){
_root.BtnStormCreative.gotoAndPlay("56");
}
}
Or add other if's to make other things do other things as well...
Code:
on(release){
_root.BtnWhole.gotoAndStop("44");
if (_root.BtnWhole._currentframe == 44){
_root.BtnStormCreative.gotoAndPlay("56");
}
else if (_root.BtnContactUs._currentframe == 12){
_root.BtnContactUs._visble = false;
}
}
You see the idea.
Bookmarks