Scrolling content in Actionscript 3

I believe this example is available in my earlier tutorials fro Actionscript 2, but in order to simplify and to make it easier to be found, I have made a new one in Actionscript 3.

Source code example now available at GitHub

Please note that I have left one check out from the checkLimits() method. It might sometimes happen that the mask is taller than the content…