Tag Archive for 'cssstyledeclaration'

22
Apr

Setting the letter spacing in the RichTextEditor control in Flex

The following example shows how you can set the letter spacing in a Flex RichTextEditor control by setting the textAreaStyleName and letterSpacing styles.

Full code after the jump.

Continue reading ‘Setting the letter spacing in the RichTextEditor control in Flex’

29
Feb

Styling Alert controls in Flex using the StyleManager class and setStyle() methods

The following example shows how you can style a Flex Alert control using the static StyleManager.getStyleDeclaration() method, and the setStyle() method.

Full code after the jump.

Continue reading ‘Styling Alert controls in Flex using the StyleManager class and setStyle() methods’

12
Sep

Building a simple style browser in Flex 3

In my previous post, “Introducing the StyleManager.selectors property in Flex 3“, we looked at the new StyleManager class’s static selectors property introduced in Flex 3.

This example shows how you can make a simple app which lets you loop over styles currently registered with the StyleManager and display their current style names and values.

Full code after the jump.

Continue reading ‘Building a simple style browser in Flex 3′