开发者

Flash AS3 ScrollPane / ScrollBar problem!

I have this scenery:

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜