Effect of crystal buttons made in Flash

Source: Internet
Author: User

Really ashamed, I learned flash 4 months after learning to know the shape gradient originally can also be like Photoshop from solid color to colorless (transparent) gradient.
 

This effect is very good, right? In fact, this effect is very simple, as long as you draw two rounded rectangles, one small, and one small, and then set the big one in the color mixer to a general linear gradient (of course, the general linear gradient is left and right, so first you need to convert the rectangle to 90 degrees, set the linear gradient of the color, and then rotate it back, or draw a vertical one at the beginning -- this only needs to be converted once, or fill it with a fill gradient rotation); the small rectangle sets a white-to-transparent linear gradient in the color mixer (the color setting mode is HSB ), after the color is set, it is OK to overlay the two shapes. Note that it is best to divide the two rectangles into two layers. In this way, the modifications will be more intuitive in the future, it is not easy to produce the problem of eating shapes.
If you want to use a button, you have to modify it, for example, the status of Mouseover and mousedown. That's very easy to use! (Description environment Flash MX)

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.