r13
r13

Reputation: 117

Scroll content in SWFLoader (Flex 3)

I have to load huge (3000x3000) pictures in SWFLoader, and no problems with that — everything works fine. But on low resolution displays (like 1024x768) i can see only a part of picture. So i need some kind of scroll bars to scroll around a picture.

How can I do that? Please help, because i simple have no idea.

Thanks!

Upvotes: 0

Views: 1531

Answers (1)

akurtser
akurtser

Reputation: 782

SWFLoader extends UIComponent which doesn't support Scrolling.

You can enable scrolling by nesting the SWFLoader in any Container based component, Canvas for example (its horizontalScrollPolicy & verticalScrollPolicy is set to "auto" by default)

Upvotes: 4

Related Questions