Tags: as3

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.