this._bg.setAttribute("visibility","visible"); this._bg.setAttribute("visibility","hidden"); loadContent(this,null,null); parent.parent.close(); lz.ModeManager.makeModal(this); this.btnRef.setAttribute("selected",false); lz.ModeManager.release(this); this.destroy(); maxWidth) { maxWidth = this._content.subviews[i].width; } } //add a little bit of spacing at the end maxWidth += 10; for (var i=0;i if (!this.selected){ this.bgc.setAttribute('visibility','visible'); } if (!this.selected){ this.bgc.setAttribute('visibility','hidden'); } this.selected = tSelect; if (tSelect) { this._icon_down.setAttribute("frame",2); this.bga.setAttribute("visibility","visible"); this._ctext.setAttribute("fgcolor",0x000088); } else { this._icon_down.setAttribute("frame",1); this.bgc.setAttribute("visibility","hidden"); this.bga.setAttribute("visibility","hidden"); this._ctext.setAttribute("fgcolor",0xFFFFFF); }