Flex Examples

Flex Examples: Upgrading to Flex Builder 3.0.2

On November 17th, Adobe released Flex Builder 3.0.2 and Flex SDK 3.2. For more information on what’s new, check out Matt Chotin’s excellent article, “Introducing Flex SDK 3.2 and Flex Builder 3.0.2″.

Flex Examples: Stepping through an FxHScrollBar 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.

Flex Examples: Paging 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.
(more…)

Flex Examples: Wrapping values on an FxNumericStepper 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.
(more…)

Flex Examples: Programmatically selecting text in an FxTextArea 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.
(more…)

Flex Examples: Setting the inactive text selection color on a 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 unf

Flex Examples: Setting the unfocused 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.

Flex Examples: Setting the 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.
(more…)

Flex Examples: Creating multicolumn text in an 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.
(more…)

Flex Examples: Setting a mask type on an Ellipse 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.
(more…)

Syndicate content