The following example shows how you can set the interpolation method on a Flex Gumbo Ellipse object’s LinearGradient fill by setting the interpolationMethod property to one of the constants in the flash.display.InterpolationMethod class.
Full code after the jump.
Continue reading ‘Setting the interpolation method for a linear gradient in Flex Gumbo’
The following example shows how you can set the angle of a LinearGradient fill on a Flex Gumbo Ellipse object by setting the rotation property.
Full code after the jump.
Continue reading ‘Setting the rotation of a linear gradient in Flex Gumbo’
The following example shows how you can set an Ellipse object’s stroke weight by setting the weight property on the SolidColorStroke object.
Full code after the jump.
Continue reading ‘Setting the thickness of a stroke on an Ellipse in Flex Gumbo’
In a previous example, “Creating a solid color fill on an Ellipse object in Flex Gumbo”, we saw how you could create a solid color fill on an Ellipse object by setting the fill property to a SolidColor object.
The following example shows how you can create a linear gradient fill on a Flex Gumbo Ellipse object by setting the fill property to a LinearGradient object.
Full code after the jump.
Continue reading ‘Creating a linear gradient fill on an Ellipse object in Flex Gumbo’
The following example shows how you can create a solid color fill on an Flex Gumbo Ellipse object by setting the fill property to a SolidColor object.
Full code after the jump.
Continue reading ‘Creating a solid color fill on an Ellipse object in Flex Gumbo’
The following example shows how you can set the blend mode of an Ellipse object by setting the blendMode property.
Full code after the jump.
Continue reading ‘Setting a blend mode on an Ellipse in Flex Gumbo’
The following example shows how you can use the selectAll event to determine when the user uses the context menu or a keyboard command (Ctrl+A/Command+A) to select all text in a Flex Gumbo FxTextArea control.
Full code after the jump.
Continue reading ‘Determining when the user has selected all text in a FxTextArea control in Flex Gumbo’
The following example shows how you can set the column width on a Flex Gumbo FxTextArea control by setting the columnWidth style.
Full code after the jump.
Continue reading ‘Setting the column width on a FxTextArea control in Flex Gumbo’
The following example shows how you can set the cap between two columns in a Flex FxTextArea control by setting the columnCount and columnGap styles.
Full code after the jump.
Continue reading ‘Setting the column gap on a FxTextArea control in Flex Gumbo’
The following example shows how you can set the CFF hinting on a Flex Gumbo TextGraphic object by setting the cffHinting style.
Full code after the jump.
Continue reading ‘Setting the CFF hinting on a TextGraphic in Flex Gumbo’
The following example shows how you can change the value in a Flex Gumbo FxHSlider component by using the step() method.
Full code after the jump.
Continue reading ‘Stepping through an FxHSlider control in Flex Gumbo’
In a previous example, “Paging through an FxHScrollBar in Flex Gumbo”, we saw how you could change the horizontal scroll position a single page up or page down in a Flex Gumbo FxHScrollBar component by using the page() method.
The following example shows how you can change the horizontal scroll position a single line up or line down in a Flex Gumbo FxHScrollBar component by using the step() method.
Full code after the jump.
Continue reading ‘Stepping through an FxHScrollBar in Flex Gumbo’
The following example shows how you can change the horizontal scroll position a single page up or page down in a Flex Gumbo FxHScrollBar component by using the page() method.
Full code after the jump.
Continue reading ‘Paging through an FxHScrollBar in Flex Gumbo’
The following example shows how you can wrap values in a Flex FxNumericStepper control by setting the valueWrap property.
Full code after the jump.
Continue reading ‘Wrapping values on an FxNumericStepper control in Flex Gumbo’
The following example shows how you can use ActionScript to select text in a Flex Gumbo FxTextArea control by calling the setSelection() method. This example also shows how you can determine the current text selection’s anchor position and active position by using the selectionAnchorPosition and selectionActivePosition properties.
Full code after the jump.
Continue reading ‘Programmatically selecting text in an FxTextArea control in Flex Gumbo’