# Slider problem

**URL:** https://forum.kirupa.com/t/slider-problem/298769
**Category:** Uncategorized
**Created:** [October 24, 2009, 5:24pm UTC](https://forum.kirupa.com/t/slider-problem/298769 "2009-10-24T17:24:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Gooo](https://avatars.discourse-cdn.com/v4/letter/g/eb8c5e/32.png) [@Gooo](https://forum.kirupa.com/u/Gooo)
#### Post date: [October 24, 2009, 5:24pm UTC](https://forum.kirupa.com/t/slider-problem/298769/1 "2009-10-24T17:24:56Z")

</div>

Hi

I’m using a slider to zoom into and out of a \*\*really large \*\*picture.

The zoom is working but it is really sensitive at the beginning of the slider (i.e. picture gets large quickly) and at the end of the slider you have to move it a lot to enlarge the picture only a little bit.

Is there something I’m not doing wright, or does anyone perhaps know how I can fix this issue? (I can’t scale the picture more down, it has to be so big)

My code:

```auto
var slider:Slider = new Slider();
slider.move(80,550);
slider.liveDraggin g = true;
slider.setSize(630,0);
slider.maximum = 150000;
slider.minimum = 28;
ball_mc.value = 5;
slider.addEventListener(SliderEvent.CHANGE, announceChange);
addChild(slider);
function announceChange(event:SliderEvent):void 
{
    ball_mc.scaleX = event.target.value/30;
    ball_mc.scaleY = event.target.value/30;
}

```

I want the picture to scale evenly throughout the sliding process.  
Any help will be appreciated.
