Yeah shoot, my bad. Take the values property out of the tag. Should have said set the min to 0 and the max to 3,000,000 (like you have it. The "values" will lock the thumbs to those two positions (values) only.
-TH --- In [email protected], "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > Shows how often I use the sliders. I didn't know you could use multiple > thumbs... This is not performant, you should be getting the max and min > within updateFilter() and sticking them in private vars, not in the filter > function itself... but you get the idea. > > private function myFilterFunction(item : Object) : Boolean > { > return item.value >= > Math.min(priceSlider.values[0],priceSlider.values[1]) && item.value <= > Math.max(priceSlider.values[0],priceSlider.values[1]); > } > > > On Wed, Aug 6, 2008 at 5:29 PM, stinasius [EMAIL PROTECTED] wrote: > > > i managed to build a dual thumb slider that i pass on the filter > > function. here is the code. > > > > <mx:HSlider x="0" y="240" id="priceSlider" minimum="0" > > maximum="3000000" tickInterval="100000" snapInterval="10" > > thumbCount="2" values="[0,3000000]" tickColor="#ffffff" > > labels="[$0k,$3000000M]" liveDragging="true" width="182" > > change="filterGrid()"/> > > > > > > ------------------------------------ > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > > Links > > > > > > > > > > > -- > "Therefore, send not to know For whom the bell tolls. It tolls for thee." > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] >

