I’m having a really hard time understanding how AS3 handles object “clipping”. Okay, so let’s say I have a sprite which is 10 pixels wide and 100 pixels tall. I create a new movie clip which is 10 pixels wide and only 50 pixels tall. I add the the sprite to the movie clip, and then add the movie clip to the root or stage:
someMovieClip.addChild(someSprite);
addChild(someMovieClip);
I only want the first 50 pixels of the sprite to show up, but the whole thing is there. AS3 doesn’t mask or clip to the boundaries of the containing movie clip! How do I do this?