# Scrollpane and masking

**URL:** <https://forum.kirupa.com/t/scrollpane-and-masking/192990>\
**Category:** flash\
**Created:** [July 3, 2006, 1:12pm UTC](https://forum.kirupa.com/t/scrollpane-and-masking/192990 "2006-07-03T13:12:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitech](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nitech/32/2542_2.png) [@nitech](https://forum.kirupa.com/u/nitech)\
**Post date:** [July 3, 2006, 1:12pm UTC](https://forum.kirupa.com/t/scrollpane-and-masking/192990/1 "2006-07-03T13:12:00Z")

</div>

Greetings fellow actionscripters.

I am quite new to actionscript. Very obvious. If else I would not ask this kind of question.

Currently my time is consumed by [this project](http://www.atom.no/pdf4web/vrbook2.html). A virtual book. Cool eh? I presume nobody has tried this before. And there is the issue of displaying a single page… to be able to read the contents, I need to display it a little bigger than the height of the stage. The single pages are swf format.

How can I do this in the best manner? I figured there had to be some kind of scrolling component in flash mx. And so I found the ScrollPane component - which I worked out more or less how to operate. Really annoying though; I had such a hard time finding out how to create the ScrollPane at runtime - I still don’t know (that may be caused most people thinking of it as so elementary that they won’t bother explaining it. But hey! I am elementary. I already said so.)

So this question is not necessarily a question on how to use the scrollpane - it’s more a question on which component I could use – or which code I’d better use - in order to view the swf page in a nice way. With scrollbars… and maybe zoom, and espresso machines!

Kind regards from a tired fellow;

- Simon
