Learn about the Flash Mask (Mask)

Source: Internet
Author: User
   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:

Display effect:

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.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.