From the monthly archives:

June 2009

The following example shows how you can create a simple transition effect when the visibility is toggled on the Spark Panel container in Flex 4 by specifying the showEffect and hideEffect effects.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the border color on a Flex HorizontalList control by setting the borderColor style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can style links in a TextFlow object in Flex 4 by specifying the linkNormalFormat, linkHoverFormat, and linkActiveFormat properties.

Full code after the jump.

[click to continue…]

{ 5 comments }

The following example shows how you can set the track margin on a Halo/MX Slider control in Flex 3 by setting the trackMargin style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the background color on a Spark SimpleText control in Flex 4 by setting the backgroundColor style.

Full code after the jump.

[click to continue…]

{ 1 comment }

The following example shows how you can import a TextFlow object from an XML object in Flex 4 by using the static TextFlowUtil.importFromXML() method.

Full code after the jump.

[click to continue…]

{ 10 comments }

The following example shows how you can display icons in a Spark List control in Flex 4 by creating a custom item renderer.

Full code after the jump.

[click to continue…]

{ 9 comments }

The following example shows how you can set the base theme color on a Spark DropDownList control in Flex 4 by setting the baseColor style.

Full code after the jump.

[click to continue…]

{ 1 comment }

Setting the symbol color on the Spark DropDownList control in Flex 4

by Peter deHaan June 22, 2009

The following example shows how you can set the symbol color on a Spark DropDownList control in Flex 4 by setting the symbolColor style.
Full code after the jump.

Read the full article →

Creating a custom Halo Accordion header skin in Flex 4

by Peter deHaan June 21, 2009

The following example shows how you can style the Halo Accordion header (with default Spark skin) in Flex 4 by creating a new skin based on the default Spark skin and modifying the various skin parts.
The default Halo Accordion header Spark skin can be found at \frameworks\projects\sparkskins\src\mx\skins\spark\AccordionHeaderSkin.mxml.
Full code after the jump.

Read the full article →

Setting the corner radius on the Halo Alert control in Flex 4

by Peter deHaan June 20, 2009

The following example shows how you can set the corner radius on the Halo TextArea control (with default Spark skin) in Flex 4 by creating a custom skin and setting the radiusX and radiusY properties on the Rect objects (in Flex 3 and earlier this was done by setting the cornerRadius style directly).
Full code after [...]

Read the full article →

Setting the viewport inset on a Spark Scroller control in Flex 4

by Peter deHaan June 19, 2009

The following example shows how you can set the viewport inset on a Spark Scroller control in Flex 4 by setting the minViewportInset property.
Full code after the jump.

Read the full article →