Archive for December 12th, 2007

12
Dec

Setting a custom label function on a Flex DateField control

The following example shows how you can format the displayed date in a DateField control by setting the labelFunction property and creating a custom label function.

Full code after the jump.

Continue reading ‘Setting a custom label function on a Flex DateField control’

12
Dec

Loading cascading style sheets on the fly using the Flex StyleManager class

The following example shows how you can dynamically load a cascading style sheet SWF into your Flex application using the static StyleManager.loadStyleDeclarations() method.

Full code after the jump.

Continue reading ‘Loading cascading style sheets on the fly using the Flex StyleManager class’