Search code examples
actionscriptmasking

(ActionScript) Change movie clip width with mask


Is there a way to mask a movie clip in a way that alters the width and height of the object? I have a child movie clip that is larger in width so I'm having issues manipulating the width, height and coordinates proportionally of the parent movie clip.

I appreciate the help. Thank you.


Solution

  • Colin Moock has a good write-up on the subject here, including a kind of cumbersome way to get the visible width and height instead of the width and height of the content, via a bitmap:

    http://www.moock.org/blog/archives/000292.html