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)