Editing scrollView and rect after creation

Hi!

Is it possible to change the height of a scrollView and rect display object after creation?

I have a scrollView containing a background rectangle object, but some events insert extra display objects inside the scrollview and hence I’d like to modify the height of the scrollview itself and also the bounding background object.

When I try to edit their .height , it seems to cause a bit funky phenomenon. For example the rect seems to lose it’s point of reference x and y wise.

Of course one option would be to just scrap the previous objects and create new ones with right height, but it seems a bit heavy option as I’m coming from object oriented background and I was hoping that this would be possible to do just by modifying the existing fields somehow.

take a look at this thread and look at my post.

link

Hope this helps,

Nail

take a look at this thread and look at my post.

link

Hope this helps,

Nail