View Full Version : Displaying content horizontally in the Scroll Pane Comp.

07-12-2002, 11:22 PM

I have figured out how to use the scroll pane component to display content from a movie clip. However, can someone tell me how to display content (horizontally scrolling left to right) that exceeds the size of stage. In other words, if I have 15 boxes lined up from left to right how can I display them sequentially within the scroll pane. As I try it now, I can only add as much content as the stage permits, lets say 5 boxes.

Thanks for all respones.



07-15-2002, 01:44 AM
here is how i manage to do it, there may be a simpler way.

first resize the stage ( i suppose you use an empty mc in the scrollpane) so that it 's big enough to contain all the boxes.

The problem is, if you resize the stage, it will resize as well all the content of the stage, even if it's not yet loaded.

So step 2 will be to resize each box individually (using a loop) to their original size.

The last step will be to make a ScrollPane.refreshPane.

Hope this helps