koed
04-29-2004, 06:50 AM
I have a MX 2004 ScrollPane with a movieclip attached as it's content. This movieclip builds a graph by copying movieclips embedded inside, so it will dynamically grow larger, depending on the graph displayed.
The ScrollPane doesn't like this and will not start scrolling when the graph get's bigger. I've tried to do a refreshPane() after the graph is done building , but this ofcourse resets the movieclip.
I've even tried to set the ScrollPane's content to the movieclip after it builds. But this only works with clips from the library and not active clips, so no solutions there either. Anyone have an idea or will this not work?
A simple command to have the pane check it's content size would have been the answer...
The ScrollPane doesn't like this and will not start scrolling when the graph get's bigger. I've tried to do a refreshPane() after the graph is done building , but this ofcourse resets the movieclip.
I've even tried to set the ScrollPane's content to the movieclip after it builds. But this only works with clips from the library and not active clips, so no solutions there either. Anyone have an idea or will this not work?
A simple command to have the pane check it's content size would have been the answer...