1 Reply Latest reply on Jan 29, 2014 3:13 AM by kchandu5200

    How to give explicit with to HSlider. I want its width more then 10000

    sandeep sharma2382

      When I am giving width to slider more then 10000, then I am not getting slider up to that width. any Solution?.

        • 1. Re: How to give explicit with to HSlider. I want its width more then 10000
          kchandu5200

          you can use the scaleX.

          mc.scaleX = .5;          //here your mc width will be reduced (mc.width/2)

          how many pixel you are considaring as a single point, that number /2

           

          exp:

           

          slidePoint = 10;                    // user move the cursor 10px then my coluclation is 1

          mc.width = 1000;

          mc.scaleX = .5;                    // mc.width/2

          slidePoint = slidePoint/2     // my scaleX = .5 so my slidePoint = 5;

           

          I think it will helpfull to you and sorry for my bad english.