# UIScroll Bar component editing

**URL:** <https://forum.kirupa.com/t/uiscroll-bar-component-editing/197099>\
**Category:** flash\
**Created:** [August 13, 2006, 9:47pm UTC](https://forum.kirupa.com/t/uiscroll-bar-component-editing/197099 "2006-08-13T21:47:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ellare](https://avatars.discourse-cdn.com/v4/letter/e/919ad9/32.png) [@ellare](https://forum.kirupa.com/u/ellare)\
**Post date:** [August 13, 2006, 9:47pm UTC](https://forum.kirupa.com/t/uiscroll-bar-component-editing/197099/1 "2006-08-13T21:47:34Z")

</div>

what’s the action script that i would use to force a UISCroll Bar component to an exact size =

like maxHeight = “50”

\_root.scrollbarInstanncename.maxHeight = “50”;

would that work ?

the component inspector has a minHeight parameter - but i Need a MAX height parameter because the the UIScrollBar defaults to the size of the dynamic text box it is controlling. I need to override that default with actionscript -

is that doable?
