1 Reply Latest reply on May 17, 2010 5:15 AM by Ned Murphy

    How to achieve scrolling


      Hi, I would like to create a scrolling effect on one of my MovieClips. In Javascript I'd simply create two divs, one positioned absolutely in the other, and have the surrounding one have the style 'overflow: none'. Now I want to achieve the same in ActionScript, as shown in the following picture:





      When I try to set the size of the surrounding MovieClip the contents just get 'squashed'. I want it to stay the same and the parts outside of the 'rectangle  to be hidden outside of the MovieClip. How can I achieve this effect?