super.showOver(); this.setFrame(2); super.showUp(); this.setFrame(1); super.showDown(); this.setFrame(3); this.setStatenum(this.statenum ? 0 : 1); this.statenum = s; if (!this.isinited) { //catch the case where this.statenum is being initialized during object instantiation return; } this.icon.setAttribute('frame', s+1); this.left.setAttribute('frame', f); this.middle.setAttribute('frame', f); this.right.setAttribute('frame', f); if (s != null) { this.setTint(this.left, s.basecolor); this.setTint(this.middle, s.basecolor); this.setTint(this.right, s.basecolor); }