Gradient « Graphics « Flash / Flex / ActionScript






1.Line Gradient Test
2.Create Gradient box
3.Create a Ball by using the Gradient
4.Applying Gradients to Lines
5.Set line gradient style with Matrix
6.lineGradientStyle("linear", [0xFFFF00, 0x00FFFF], [100, 100], [0x00, 0xFF], mxBox, "reflect", "linearRGB")
7.lineGradientStyle("radial", [0xFFFF00, 0x00FFFF], [100, 100], [0x00, 0xFF], mxBox, "pad", "linearRGB")
8.lineGradientStyle("radial", [0xFFFF00, 0x00FFFF], [100, 100], [0x00, 0xFF], mxBox, "pad", "linearRGB", 1)
9.Applying Gradient Fills








10.A shape with evenly rounded corners
11.Rotating Objects with Filters