# Proportional object scaling with percentage slider

**URL:** <https://forum.kirupa.com/t/proportional-object-scaling-with-percentage-slider/150907>\
**Category:** flash\
**Created:** [June 11, 2005, 4:16pm UTC](https://forum.kirupa.com/t/proportional-object-scaling-with-percentage-slider/150907 "2005-06-11T16:16:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepglue](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@deepglue](https://forum.kirupa.com/u/deepglue)\
**Post date:** [June 11, 2005, 4:16pm UTC](https://forum.kirupa.com/t/proportional-object-scaling-with-percentage-slider/150907/1 "2005-06-11T16:16:57Z")

</div>

I’ve been trying to figure out how to do this:

I need to use a horizontal slider 400 pixels wide that scales another movieclip (rectangle) proportionally based on percentage…the left end of the slider is min (0%) and right end is max (100%). If the slider is moved to 100%, the rectangle clip scales up proportionally to the maximum width of 400 pixels. If the slider is moved to 0%, the width of rectangle scales down to the minimum width of 100 pixels.

Any help would be greatly appreciated!
