Reverting to transparent in actionscript

When I have a clip, it starts with s transparent. I can paint this clip creating an essentially transparent image. That is, wherever I paint it shows the layer below, and where I paint it shows what I just painted.

The question is how to "undo" things in this movie clip so I can see what's behind it. I know I can erase a video clip, but is there a way to draw back parts of the video to bring it back to transparency?

0


a source to share


1 answer


You can use another movie clip as a mask. I think the setMask () on the MovieClip is setting another movie clip as the mask. Then you can paint movie clips of the areas you want to show on the mask. Unfortunately in AS2 you can only use vector shapes as masks.



0


a source







All Articles