Archive for August 28th, 2007

28
Aug

Toggling a Flex DataGrid control’s header row

The following example shows you how to toggle the header row in a Flex DataGrid control using the showHeaders property.

Full code after the jump.

Continue reading ‘Toggling a Flex DataGrid control’s header row’

28
Aug

Detecting the mouse scroll wheel in a Flex application

The following example demonstrates a very simple Flex application which listens for the mouseWheel event (represented here by the MouseEvent.MOUSE_WHEEL constant) and updates a Label control on the display list.

Full code after the jump.

Continue reading ‘Detecting the mouse scroll wheel in a Flex application’

28
Aug

Styling the Flex DataGrid control using a custom separator skins

The following example demonstrates how you can customize the Flex 3 DataGrid control by specifying a custom skin for the horizontalSeparatorSkin and verticalSeparatorSkin styles.

These styles were added in Flex 3 and will not work with Flex 2.0.1.

Full code after the jump.

Continue reading ‘Styling the Flex DataGrid control using a custom separator skins’

28
Aug

Styling a Flex Button control using embedded fonts

The following example shows how you can customize the appearance of a Flex Button control by using an embedded font and removing the Button’s default skin.

Full code after the jump.

Continue reading ‘Styling a Flex Button control using embedded fonts’