this.setAttribute('x', -this.getTextWidth() - 2 ); this.subresource = r; super.init(); this.rsc.setAttribute('resource', this.subresource); var anm = this.animate('height',20,200,true); if (!mo_del) this.mo_del = new LzDelegate ( this , "showText" ); this.mo_del.register ( anm , "onstop" ); this.hilite = true; this.animate('height',-20,200,true); this.hideText(); this.hilite = false; this.setAttribute('bgcolor', 0xFFC600); this.setAttribute('bgcolor', 0x00769E); container.showSection(this.section); if ( this.hilite == true ) { this.title.setAttribute('visible', true); this.title.setAttribute("opacity",.1); this.title.animate("opacity",1,200,false); } this.title.setAttribute('visible', false); if ( show == true ) { var x= picture.x - 2; var y= picture.y - 2; var w= picture.width + 4; var h= picture.height + 4; yellowRect.setAttribute("x",x); yellowRect.setAttribute("y",y); yellowRect.setAttribute("width",w); yellowRect.setAttribute("height",h); yellowRect.setAttribute('visible', true); } else { yellowRect.setAttribute('visible', false); } yellowRect.setAttribute("x",yellowRect.x - 1); yellowRect.setAttribute("y",yellowRect.y - 1); yellowRect.setAttribute( "width",yellowRect.width + 2); yellowRect.setAttribute( "height",yellowRect.height + 2); yellowRect.setAttribute('visible', true); if (this.currentSection == animations ){ animations.anim1.stop(); } yellowRect.setAttribute("x",yellowRect.x + 1); yellowRect.setAttribute("y",yellowRect.y + 1); yellowRect.setAttribute( "width",yellowRect.width - 2); yellowRect.setAttribute( "height",yellowRect.height - 2); yellowRect.setAttribute('visible', true); var s = this[section]; if ( s != this.currentSection ) { var anm = this.currentSection.animate("opacity",0,200,false); var d = new LzDelegate(this, "fadeInNewSection", anm, "onstop"); this.newSection = s; } this.currentSection.setAttribute('visible', false); this.newSection.setAttribute('visible', true); this.newSection.setAttribute("opacity",.1); this.newSection.animate("opacity",1,200,false); this.currentSection = this.newSection;