Archive for September 26th, 2007

26
Sep

Using the flash.* classes in MXML

I saw this trick the other day and thought it was pretty handy, so thought I’d save it here for future reference.

The following example shows how you can use the flash.filters classes in your MXML code by creating a new XML namespace.

Full code after the jump.

Continue reading ‘Using the flash.* classes in MXML’

26
Sep

Positioning items in Flex using a constraint based layout

The following examples show how you can position items in an absolute-based layout using the top, bottom, left, right, horizontalCenter, and verticalCenter styles.

Full code after the jump.

Continue reading ‘Positioning items in Flex using a constraint based layout’

26
Sep

Styling the Flex TabNavigator control

The following example shows how you can style the TabNavigator control in Flex using the tabStyleName, firstTabStyleName, lastTabStyleName, and selectedTabTextStyleName styles.

Full code after the jump.

Continue reading ‘Styling the Flex TabNavigator control’