| 1, Basic theory articles
Flash This software has a relatively important component is the mask (mask), the concept of masking a bit like Photoshop inside the mask, but functionally, there is no Photoshop strong. But after all, with the mask of this thing, we can skillfully use him to do a lot of effect oh.
The concept of masking is explained in many versions, and my personal explanation is that the mask layer can cover the contents of any layer that is associated with the mask layer (the masked layer). The object in the mask layer must be a color block, text, symbol, MC (movieClip), button, or group object, but bitmaps and lines do not work on the mask layer, or they cannot work on the masked layer, and the masked layer is not restricted regardless of the line or bitmap.
If you say so many concepts, you may not understand them. Then look at some picture examples to understand the basic knowledge.
The upper layer is the mask layer, and the lower layer is the masked layer. , click the right button on the mask layer to select mask.
After mask, the layer locks automatically and gets a matte effect.
Here are a few different mask objects to mask an instance of the Masked object.
Before the mask does not work
After the mask acts
So we conclude that the object in the mask layer must be a color block, text, symbols, MC (MovieClip), buttons, or group objects, but bitmaps and lines do not work on the mask layer, or they do not work on the masked layer, and the masked layer is not restricted regardless of the line or bitmap. Also, the mask is not associated with its own (except for shapes) properties, including edge feathering, semitransparent gradients, and so on. (Plus, when I was writing a tutorial, Flash seems to have a calculation error, it is possible in those lines of the picture as a mask, choose mask, the situation may be displayed with some of the above picture instances do not meet, I do not know whether the graphics card or system or software problems, But it does not work as a mask.
2. Simple example Application article(If you have a certain understanding of the mask, you can skip this article)
This is set for learners who are vague about the concept of mask and are not thoroughly understood. Let's look at the animation contrast first.
The image above is an object that flash needs to express. Next look at the different performance results.
When the mask layer is used as a mask:
The effect of showing:
Dynamic effects look:
When the mask layer acts as a masked object:
Dynamic effects See:
Through this simple example, is to give beginners a simple concept, then we can then enter the advanced state, through the mask to do a lot of wonderful effects.