[MX04] setMask + dynamic text: masking hell!

Hi everybody,

First time poster, after reading a lot of helpful cumments from other threads.
But now I have a problem I can’t seem to fix, even when following the instruction of other tutorials/forums.

I’m trying to set a mask for a dynamic textfield, so I embedded the font, set it to multiline, and used setMask to set the mask … but it fails :sigh:

I attached an example of what I’m trying to do, very basic fla, only 1 line of code used to do what I want it to do:

 _root.mc_text.setMask(_root.mc_mask);

As you will see, the mask doesn’t work on the textfield, and even more strange: there’s only one of the two squares masked when I use the following code:

_root.mc_square1.setMask(_root.mc_mask);
_root.mc_square2.setMask(_root.mc_mask); 

Can anybody please help me out, I can’t figure out what I’m doing wrong. :h: