super.showOver();
if (this.content.txt.visible)
this.content.txt.setAttribute('fgcolor', this.enabled ? this.style.texthilitecolor : this.style.textdisabledcolor );
super.showUp();
if (this.content.txt.visible)
this.content.txt.setAttribute('fgcolor', this.enabled ? this.style.textcolor : this.style.textdisabledcolor );
super.showDown();
if (this.content.txt.visible)
this.content.txt.setAttribute('fgcolor', this.enabled ? this.style.textselectedcolor : this.style.textdisabledcolor );
if (s != null) {
// super._applystyle(s);
this.setTint(this.left, s.basecolor);
this.setTint(this.middle, s.basecolor);
this.setTint(this.right, s.basecolor);
var tc = s.textcolor*1;
//Debug.write("Button style .. s.textcolor,tc",s.textcolor, tc);
//this.content.txt.setAttribute("fgcolor", this.enabled ? tc : s.textdisabledcolor);
if (s.font) this.content.txt.setAttribute("font", s.font);
if (s.fontsize) this.content.txt.setAttribute("fontsize", s.fontsize);
}
this.content.icon.play();
this.content.icon.stop(0);