From the monthly archives:

March 2009

The following example shows how you can set the content background color on a Flex Gumbo Spark NumericStepper control by setting the contentBackgroundColor style.

Full code after the jump.

[click to continue…]

{ 0 comments }

In a previous example, “Setting the icon color on a Spark CheckBox control in Flex 4″, we saw how you can set the icon (check mark) color on a Spark CheckBox control in Flex 4 by setting the symbolColor style.

The following example shows how you can set the base (background) color on a Spark CheckBox control in Flex 4 by setting the baseColor style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can remove the default drop shadow from the Flex 4 Spark Panel container by creating a custom skin class and setting the skinClass style.

Full code after the jump.

[click to continue…]

{ 2 comments }

The following example shows how you can create a repeating tiled background fill on a Flex Gumbo Spark Panel container by creating a custom skin, setting a BitmapFill on the background Rect and then set the skinClass style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the content background color on a Flex Gumbo Spark Panel container by setting the contentBackgroundColor style.

Full code after the jump.

[click to continue…]

{ 0 comments }

In a previous example, “Creating a vertical Spark ButtonBar control in Flex 4″, we saw how you can create a vertical Spark ButtonBar control in Flex 4 by setting the layout property to a VerticalLayout object.

The following example shows how you can create a tile layout on the Spark ButtonBar control in Flex 4 by setting the layout property to a TileLayout object.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the tile layout direction on a Flex 4 Spark List control by setting the orientation property on the TileLayout layout to one of the static constants in the spark.layouts.TileOrientation class.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can create a simple TileList control in Flex 4 using the Spark List control and using a TileLayout layout with the default complex item renderer to display images.

Full code after the jump.

[click to continue…]

{ 7 comments }

Setting a repeating background image on a Spark Application in Flex 4

by Peter deHaan March 23, 2009

In a previous example, “Setting a background image on an Spark Application in Flex 4″, we saw how you can add a scaled background image to a Flex 4 Spark Application by creating a custom skin with a BitmapGraphic and setting the skinClass style in MXML, CSS, or ActionScript.
The following example shows how you can [...]

Read the full article →

Removing the vertical separator from the ComboBox control in Flex

by Peter deHaan March 23, 2009

The following example shows how you can remove the vertical separator from the Flex ComboBox control by creating a custom ComboBox skin using ActionScript.
Full code after the jump.

Read the full article →

Setting a background image on a Spark Application in Flex 4

by Peter deHaan March 22, 2009

The following example shows how you can add a background image to a Flex 4 Spark Application by creating a custom skin with a BitmapGraphic and setting the skinClass style in MXML, CSS, or ActionScript.
Full code after the jump.

Read the full article →

Using the wireframe theme with Spark controls in Flex 4

by Peter deHaan March 21, 2009

The following example shows how you can compile your Flex 4 application and specify the Wireframe theme by setting the theme compiler flag to ${flexlib}/themes/Wireframe/wireframe.swc.
Full code after the jump.

Read the full article →