Changing scrollView.height

Hi everyone! I’m using scrollView.lua and all that cool stuff in my app, and I’m wondering if it’s possible to change my scrollBackround’s scrollView.height later on with the press of a button. Here’s the scroll backround sruff…

[lua]local scrollBackground = display.newRect(0, 0, display.contentWidth, scrollView.height+615)[/lua]

Like I said, I want to change the scrollView.height later on. I’ve messed around with it, but I can’t figure it out. Thank you!

Nathan [import]uid: 39302 topic_id: 25423 reply_id: 325423[/import]

Hello, we suggest not using that library anymore (it’s depreciated) and using the widget library instead.

Full info on the widget library can be found here: http://developer.anscamobile.com/content/widget

And specifically:

http://developer.anscamobile.com/reference/index/scrollview-after-build-2011715 [import]uid: 84637 topic_id: 25423 reply_id: 102719[/import]

Okay. Thanks! Good thing I didn’t get too involved. :slight_smile: [import]uid: 39302 topic_id: 25423 reply_id: 102724[/import]