From the yearly archives:

2008

Smoothing images using the BitmapGraphic object in Flex Gumbo

by Peter deHaan December 20, 2008

The following example shows how you can smooth a Flex Gumbo BitmapGraphic object by setting the Boolean smooth property.
Full code after the jump.

Read the full article →

Setting the content background color on a Spark TextInput control in Flex Gumbo

by Peter deHaan December 19, 2008

The following example shows how you can set the content background color of a Flex Gumbo Spark TextInput control by setting the contentBackgroundColor style.
Full code after the jump.

Read the full article →

Setting the digit case on a TextBox object in Flex Gumbo

by Peter deHaan December 18, 2008

The following example shows how you can set the digit case on a Flex Gumbo TextBox object by setting the digitCase style.
Full code after the jump.

Read the full article →

Setting tracking on a TextBox object in Flex Gumbo

by Peter deHaan December 17, 2008

The following example shows how you can set the left and/or right tracking on a Flex Gumbo TextBox object by setting the trackingLeft and trackingRight styles.
Full code after the jump.

Read the full article →

Replacing carriage returns and line feeds with newline characters using Regular Expressions

by Peter deHaan December 16, 2008

The following example shows how you can use Regular Expressions to globally replace carriage returns and line feeds with the newline character (“\n”) in a string using Flex.
Full code after the jump.

Read the full article →

Detecting when the data provider of a DataGrid control changes in Flex

by Peter deHaan December 16, 2008

The following example shows how you can determine when the data provider of a Flex DataGrid control changes by listening for the collectionChange event (using the CollectionEvent.COLLECTION_CHANGE constant).
Full code after the jump.

Read the full article →

Controlling text justification on a FxTextArea control in Flex Gumbo

by Peter deHaan December 15, 2008

The following example shows how you can control the text spacing on justified text on the Flex Gumbo FxTextArea control by setting the textJustify style.
Full code after the jump.

Read the full article →

Setting the resize mode on a Spark BitmapImage object in Flex Gumbo

by Peter deHaan December 14, 2008

The following example shows how you can set the resize mode on a Flex Gumbo BitmapO,age object by setting the resizeMode property to one of the static constants in the BitmapImageResizeMode class.
Full code after the jump.

Read the full article →

Repeating the fill on a BitmapGraphic object in Flex Gumbo

by Peter deHaan December 13, 2008

The following example shows how you can repeat/tile the fill on a Flex Gumbo BitmapGraphic object by setting the repeat property.
Full code after the jump.

Read the full article →

Displaying a bold font style on a TextBox control in Flex Gumbo

by Peter deHaan December 12, 2008

The following example shows how you can specify a bold font style on a device and embedded font on a Flex Gumbo TextBox control by setting the fontWeight style.
Full code after the jump.

Read the full article →

Displaying an italic font style on a TextBox control in Flex Gumbo

by Peter deHaan December 12, 2008

The following example shows how you can specify an italic font style on a device and embedded font on a Flex Gumbo TextBox control by setting the fontStyle style.
Full code after the jump.

Read the full article →

Using the Flash FLVPlayback control in Flex

by Peter deHaan December 11, 2008

The following example shows how you can use the Flash FLVPlayback component that ships with Flash CS3 and Flash CS4 by copying the FLVPlaybackAS3.swc file into your Flex project’s /libs/ folder.
Full code after the jump.

Read the full article →