Hi Narsi,

The value property of HSlider/VSlider lets you set a number to the slider.
Here is an example:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="vertical">
    <mx:HSlider id="mySlider" value="{Number(userVal.text)}" minimum="0"
maximum="100" labels="[0,25,50,75,100]"/>
    <mx:TextInput id="userVal"/>
</mx:Application>


Regards,
Venkat
www.venkatv.com

On Fri, Nov 7, 2008 at 4:15 PM, Vinod M. Jacob <[EMAIL PROTECTED]> wrote:

> Sorry.i couldn`t understand your problem ?
>
>
> On Fri, Nov 7, 2008 at 10:25 AM, narsi <[EMAIL PROTECTED]>wrote:
>
>>
>> Hi ppl,
>> I am a newbie to Flex. So if this is the wrong place to post then
>> Sorry! .Onto my question.
>> Can we change the position of the thumb indirectly relative to a
>> variable or something?
>> My scenario is this:
>> suppose I have a text file from which I am reading values for a
>> variable and I want the slider thumb to move automatically according
>> to the value read, what should I do? i.e. The slider then behaves as a
>> meter reflecting the current value of the variable between it's
>> extremes.
>> If this is a hopelessly absurd question, then lemme know that too! I
>> spent a lot of time googling for a suitable solution!
>>
>> Thanks in advance.
>> Narsi
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to