PDA

View Full Version : How to blend internally just within a movieclip


Smirge
03-23-2011, 10:05 AM
I have elements A and B in a movieclip X. What I would like to do is have an the element A only visible in the parts where it collides with the rectangular element B. One possibility for this in general is using overlay blending.

The problem is that once I drop the movieclip X on top of the rest of the flash movie, the element A blends with the other stuff too, rendering it visible. Can I somehow make the blending occur only internally within the movieclip X?

ed: I'm using AS 2.0 for this now, but this probably isn't an AS-related thing in any way.

Smirge
03-23-2011, 12:47 PM
Okay. Found the solution. The key blending mode to use was layer.