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’
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’
In previous examples, “Setting the text selection color on a FxTextArea control in Flex Gumbo” and “Setting the unfocused text selection color on a FxTextArea control in Flex Gumbo”, we saw how to to set the text selection color when the FxTextArea is focused and unfocused by setting the selectionColor and unfocusedSelectionColor styles respectively.
The following example shows how you can set the inactive text selection color on a Flex Gumbo FxTextArea control by setting the inactiveSelectionColor style.
Full code after the jump.
Continue reading ‘Setting the inactive text selection color on a FxTextArea control in Flex Gumbo’
In a previous example, “Setting the text selection color on a FxTextArea control in Flex Gumbo”, we saw how you couldset the text selection color on a Flex Gumbo FxTextArea control by setting the selectionColor style.
The following example shows how you can set the unfocused text selection color on a Flex Gumbo FxTextArea control by setting the unfocusedSelectionColor style.
Full code after the jump.
Continue reading ‘Setting the unfocused text selection color on a FxTextArea control in Flex Gumbo’
The following example shows how you can set the text selection color on a Flex Gumbo FxTextArea control by setting the selectionColor style.
Full code after the jump.
Continue reading ‘Setting the text selection color on a FxTextArea control in Flex Gumbo’
The following example shows how you can create multicolumn text in a Flex Gumbo FxTextArea control by setting the columnCount style.
Full code after the jump.
Continue reading ‘Creating multicolumn text in an FxTextArea control in Flex Gumbo’
The following example shows how you can set an Ellipse object’s mask type as a clip mask or alpha mask by setting the maskType property.
Full code after the jump.
Continue reading ‘Setting a mask type on an Ellipse in Flex Gumbo’
The following example shows how you can create an animated transition between two colors using the Flex Gumbo FxAnimateColor class.
Full code after the jump.
Continue reading ‘Animating colors using the FxAnimateColor effect in Flex Gumbo’
The following example shows how you can set the line height on a Flex Gumbo FxTextArea control by setting the lineHeight style.
Full code after the jump.
Continue reading ‘Setting the line height on an FxTextArea control in Flex Gumbo’
The following example shows how you can align text vertically within a Flex Gumbo FxTextInput control by setting the verticalAlign style.
Full code after the jump.
Continue reading ‘Aligning text vertically within an FxTextInput control in Flex Gumbo’
The following example shows how you can set the text rotation on a Flex Gumbo TextGraphic control by setting the textRotation style.
Full code after the jump.
Continue reading ‘Setting the text rotation on a TextGraphic control in Flex Gumbo’
The following example shows how you can set the text alpha on both device and embedded fonts on a Flex Gumbo TextGraphic control by setting the textAlpha style.
Full code after the jump.
Continue reading ‘Setting text alpha on a TextGraphic object in Flex Gumbo’
The following example shows how you can set tab stops in a Flex Gumbo FxTextArea control by setting the tabStops style to an array of TabStopFormat objects.
Full code after the jump.
Continue reading ‘Setting tab stops in an FxTextArea control in Flex Gumbo’