Hello zou, Tuesday, January 8, 2008, 2:40:23 AM, you wrote: zl> I checked swfdec/test/image/mask-textfield-6.swf. It tests that zl> TextField instances could be a mask(not maskee). Actually the zl> behaviour when setMask work against TextField instance is odd to me, zl> maybe UdoG knows more about it.
Normally you can't use a text field directly as a mask, the movieclip will remain unmasked (fully visible) and the text field is invisible. You can, however, place the text field inside a movieclip and use that movieclip as mask, which will just work as you would expect. However, it only works with embedded fonts. System fonts (device fonts) will make the mask empty and thus also the maskee is completely invisible. zl> txt.setMask = mc.setMask; zl> txt.setMask(mc); // use textFiled instance to mask a sprite instance, zl> and it does work! Aren't you masking the text field using a sprite instance here (so your comment is wrong)? But confirmed, it gets masked. zl> while the result of mc.setMask(txt) is not that obvious at the moment. AFAIK, this call would be ignored. Udo _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit