sliderPane.minThumb.setAttribute( "x", 0 ); sliderPane.maxThumb.setAttribute( "x", this.width-this._thumbWidth); setAttribute( "fontsize", 13 ); setAttribute( "text", classroot.sliderPane.minThumb.value ); //setAttribute( "align", "right" ); setAttribute( "fontsize", 13 ); setAttribute( "text", classroot.sliderPane.maxThumb.value ); this.bringToFront(); // thumbの中心とsliderの起点との距離をセットする this.sliderOffsetX = this.getMouse( 'x' )-parent.slider.x; if ( !this.getAttribute( 'sliderDel' ) ) { this.sliderDel = new LzDelegate( this, 'adjustSliderPos', LzIdle, 'onidle' ); } this.sliderDel.unregisterAll(); this.sliderDel = null; = maxX ) { newX = maxX; } this.setAttribute( 'x', newX ); ]]> calcValue(); var currentValue = this.x * (classroot.maxValue-classroot.minValue) / parent.slider.width+classroot.minValue; Debug.write( "currentValue: " + currentValue ); this.setAttribute( "value", Number( parseInt(currentValue) ) ); this.bringToFront(); // thumbの中心とsliderの起点との距離をセットする this.sliderOffsetX = this.getMouse( 'x' )-parent.slider.x; if ( !this.getAttribute( 'sliderDel' ) ) { this.sliderDel = new LzDelegate( this, 'adjustSliderPos', LzIdle, 'onidle' ); } this.sliderDel.unregisterAll(); this.sliderDel = null; = maxX ) { newX = maxX; } this.setAttribute( 'x', newX ); ]]> calcValue(); var currentValue = this.x * (classroot.maxValue-classroot.minValue) / parent.slider.width+classroot.minValue; Debug.write( "currentValue: " + currentValue ); this.setAttribute( "value", Number( parseInt(currentValue) ) );