Monthly Archives: March 2009

Globally styling anchor tags on a Spark RichEditableText control in Flex 4

The following example shows how you can globally style the normal and hover states of a hyperlink on a Flex 4 Spark RichEditableText control by setting the static TextFlow.defaultConfiguration object.

Continue reading Globally styling anchor tags on a Spark RichEditableText control in Flex 4

Creating full-screen Flex applications in Flex 4 (SWFObject Edition)

In a previous example, “Creating full-screen Flex applications”, we saw how to toggle full screen mode in a Flex application by setting the allowFullScreen parameter in the HTML wrapper template’s AC_FL_RunContent() method.

The following example shows how you can enable full screen from your HTML template to your Flex applications using the Flex 4 SDK (which uses SWFObject now).

Continue reading Creating full-screen Flex applications in Flex 4 (SWFObject Edition)

Setting a linear gradient background on a Spark Application container in Flex 4

The following example shows how you can create a linear gradient background on a Flex 4 Spark Application container by setting the skinClass style to a custom Application skin class which has a LinearGradient fill.

Full code after the jump.

Continue reading Setting a linear gradient background on a Spark Application container in Flex 4