Monthly Archives: November 2008

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”.

There are two ways to download and install the latest update to Flex Builder 3.
The easiest way is to select Help > Search for Flex Builder Updates from the main menu in Flex Builder. This should launch the Adobe updater which will search for the latest version of Flex Builder on the Adobe servers.
The other way to get the latest Flex Builder update is to go to the Adobe Flex Support Center’s “Updaters” page and download the updater installer for Mac or Windows.

Continue reading Upgrading to Flex Builder 3.0.2

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.

Continue reading Stepping through an FxHScrollBar in Flex Gumbo

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.

Continue reading Programmatically selecting text in an FxTextArea control in Flex Gumbo

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 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

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.

Continue reading Setting the unfocused text selection color on a FxTextArea control in Flex Gumbo