This content has been marked as final. Show 3 replies
Why are you trying to modify the height as apposed to having a fixed layout for the text area?
Im actually working on dynamic content from xml and loading it into a dynamic text box.
Just curious and also as to what the answer to this is.
I try to resize the height into the scrollpane.content and inside movieclips._height everything work fine for me i just used this one
works and with movieclips inside the content
The scrollpane is a component with child clips. Once you first load content into the pane, the pane learns the size of its content clip, determines it if needs scrollbars and what size those bars should be. If you change the content of the scrollpane dynamically, you have to refresh it or invalidate/refresh for Flash MX 2004 and Flash 8 or "redraw" the pane in Flash 6 and it will once again reevaluate the scrollbars. However, before you do either refresh or redraw the scrollpane (depending on version of Flash), you first have to wait until that new content is loaded so that the content clip will know what its size really is. You can use some form of preloader check to ensure that enough of the content clip is loaded so that size can be determined.