I have a menu with five nav buttons (atcually MovieClips). Each has three frame labels: “on”, “stay”, and “off”. The rollover and rollout animations play flawlessly, but I’m at a loss as to how to give each button a sticky “active” state. I’d like the button to stay in it’s active state until another button is clicked, then I would like it to play it’s “off” animation.
Each MC has this code:
onClipEvent(load){
this.btnLabel_mc.btnLabel.text = this._name;
}
on (rollOver) {
this.gotoAndPlay("on");
}
on (rollOut) {
this.gotoAndPlay("off");
}
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = this._name;
_root.content.loadMovie(this._name+".swf");
} else if (_root.currMovie != this._name) {
if (_root.content._currentframe >= _root.content.midframe) {
_root.currMovie = this._name;
_root.content.play();
}
}
}
See the swf in action at:
www.jason-carlin.com
Thanks for your help