Scrolling content in SWFLoader (Flex 3)

I need to load huge (3000x3000) snapshots into SWFLoader and no problem with that - everything works fine. But on low resolution displays (like 1024x768) I only see part of the image. So I need some kind of scrollbars to scroll the image.

How can i do this? Please help, because I just have no idea.

Thanks!

0


a source to share


1 answer


SWFLoader extends UIComponent which does not support scrolling.



You can enable scrolling by inserting the SWFLoader into any Container based component like Canvas (its horizontalScrollPolicy and verticalScrollPolicy are set to "auto" by default)

+4


a source







All Articles