UIScroll Bar component editing

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?