thoughts on art, interactivity, technology, design, culture & life

Posts Tagged actionscript

My friend Justin recently asked me if I knew how to invert a mask in AS3. Technically of course this is not possible (at least as far as I know). You can however nest the DisplayObject you wish to mask and a copy of the original mask in a Sprite or MovieClip and use the LAYER and ERASE blend modes to create the desired effect.

You can get the source code for this HERE. I hope this helps.

Back to Home
Preload image Preload image Preload image Preload image Preload image