# Will Pay, Setting uiscrollbar when not needed

**URL:** <https://forum.kirupa.com/t/will-pay-setting-uiscrollbar-when-not-needed/177455>\
**Category:** flash\
**Created:** [February 2, 2006, 2:21am UTC](https://forum.kirupa.com/t/will-pay-setting-uiscrollbar-when-not-needed/177455 "2006-02-02T02:21:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![metafocal](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@metafocal](https://forum.kirupa.com/u/metafocal)\
**Post date:** [February 2, 2006, 2:21am UTC](https://forum.kirupa.com/t/will-pay-setting-uiscrollbar-when-not-needed/177455/1 "2006-02-02T02:21:32Z")

</div>

I have a working uiscrollbar, but cannot get it to dissapear when its not needed.

I have ran a trace on the scroller.maxscroll, it is always 1. regardelss of the amount of dynamic text being brought in.

help!!!

loadText = new LoadVars();  
loadText.load(“homePage.html”);  
loadText.onLoad = function() {  
cell.scroller.text = this.info;  
}  
cell.scrollBar.\_visible = (cell.scroller.maxscroll \>= 0);  
trace(cell.scroller.maxscroll)
