Masking Dynamic Text Fields in AS3

sjim
15/06/09

It is not possible to mask a dynamic text field trough the layers panel.
However, you are able to do this in the code. This requires the mask to be a MovieClip and is initiated like this:

AS3:

targetClip.mask = maskClip

AS2:

targetClip.setMask = maskClip

targetClip being the MovieClip that needs to be masked.
maskClip being the MovieClip that IS the mask.

1 comment

# sjim [Member] Email on 15/06/09 at 21:37
comment2

Leave a comment

PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)