In a previous example, “Setting a gradient background fill on a Halo TextArea control in Flex 4″, we saw how you could create a linear gradient background on a Halo/MX TextArea control in Flex 4 by creating a custom border skin with a LinearGradient fill and setting the borderSkin style.
The following example shows how you can create a linear gradient background on a Spark TextArea control in Flex 4 by modifying the background fill in the TextArea control’s skin to a LinearGradient.
Full code after the jump.
[click to continue…]
Tagged as:
background,
entries,
fill,
GradientEntry,
Gumbo,
lineargradient,
rotation,
skin,
skinClass,
TextAreaSkin
The following example shows how you can set the origin X and Y coordinate for a linear gradient stroke in Flex Gumbo by setting the x and y properties on the LinearGradientStroke object.
Full code after the jump.
[click to continue…]
Tagged as:
entries,
Gumbo,
rotation,
stroke,
x,
y
The following example shows how you can set the angle of a LinearGradientStroke stroke on a Flex Gumbo Ellipse object by setting the rotation property on the LinearGradientStroke object.
Full code after the jump.
[click to continue…]
Tagged as:
entries,
Gumbo,
rotation,
stroke
The following example shows how you can smooth a Flex Gumbo BitmapGraphic object by setting the Boolean smooth property.
Full code after the jump.
[click to continue…]
Tagged as:
Gumbo,
rotation,
smooth
The following example shows how you can set the origin X and Y coordinate for a linear gradient fill in Flex Gumbo by setting the x and y properties on the LinearGradient object.
Full code after the jump.
[click to continue…]
Tagged as:
Gumbo,
lineargradient,
rotation,
x,
y