On Tue, Jan 08, 2008 at 09:53:23AM +0100, Udo Giacomozzi wrote:

> 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)?

I confirm the code above requests that 'mc' is a mask for 'txt'.
That is the only visible pixels of 'txt' should be the ones overlapping
the pixels of 'mc' and 'mc' should not be visible.
The comment should read: "use mc to mask a TextField"

> zl> while the result of mc.setMask(txt) is not that obvious at the moment.
> 
> AFAIK, this call would be ignored.

I haven't tried, but I belive Gnash would turn it into a nice
textured writing, wouldn't it ?

--strk;


_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to