In this post, I will present a quite interesting example about masking in Flash. This technique changes a grayscale picture into a color one. I have used this technique is my font advertising assignment as well.
To begin, you need 2 pictures of the same thing, one in colors and one in grayscale. Then, each picture is put on a layer with the layer of the colored picture on top (in the .fla file, these 2 layeres are named "color picture" and "grayscale picture").
After that, you create a new layer which is on top of both "color picture" and "grayscale picture" layers and name it "mask". The next to do is drawing a small black circle in this layer and making a motion tween to make the circle's size be bigger than the scene's size. Finally, right-click on the "mask" layer and choose Mask.
Download .fla source file here
Saturday, December 23, 2006
Subscribe to:
Post Comments (Atom)
1 comment:
Thank Phong for such a simple but useful masking technique.
Post a Comment