Flash AS3 ScrollPane / ScrollBar problem!
I have this scenery:
- 1 Scroll开发者_JS百科Pane
- 1 UILoader.
And i do that:
myScrollPane.source = myUILoader;
Everything is ok here! (The contens apear correctly).
Im using UILoader as source because i need 'loadBytes' method to show my pre-loads ByteArrayData.
The problem is the SCROLLBAR of ScrollPane doesn't show the scroll handler when the content get out of wiew port.
Obs this doesn't work too, in any time, after load, on click , etc.
myUILoader.invalidate(); myUILoader.refreshPane(); myUILoader.update();
Any help , thanks!!!!
Have you tried listening to the progress event and finally to the complete event of your UILoader class to update your ScrollPane? You can use these event to call invalidate on your ScrollPane and not you UILoader.
精彩评论