over 9 years ago
Sometime we need to use an inverse mask in flash ( like a normal mask but it was just inverse )
Here's an example of an inverse mask, We can achieve that using Blendmodes.
We will use ERASE blendmode to get a nice inverse mask effect. But there's another thing to be careful about!
Make sure the Outer clip ( holding your mask ) has a blendmode set to LAYER!
_Outerclip.blendMode = BlendMode.LAYER;
_inverseMask.blendMode = BlendMode.ERASE;
This doesn't work in GPU randering.
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Terms of Service
| © copyright 2023 FindNerd.com. All rights reserved.
Sign up using