Will mouseEnabled = false; work? On Wed, Jun 4, 2008 at 3:23 PM, markflex2007 <[EMAIL PROTECTED]> wrote:
> Hi > > I did this but it just move back and I need set the hslide value from > code and do not allow it draggable.I need the hslide just show the result. > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="absolute"> > <mx:HSlider id="h1" x="89" y="173" minimum="0" maximum="10" > value="4" width="260" > thumbPress="getvalue()" allowTrackClick="false" > liveDragging="false" change ="keepvalue()"/> > <mx:Script> > <![CDATA[ > import mx.controls.Alert; > > private var temp:Number; > > > private function keepvalue():void{ > > > h1.value = temp; > } > > private function getvalue():void{ > > temp = h1.value; > > } > ]]> > </mx:Script> > </mx:Application> > > Please give me a idea > > Thanks > > Mark > > >