Using Styles - Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual

Migrating applications to flex 2
Table of Contents

Advertisement

CHAPTER 7
7
Styles and Skinning
This topic describes styleable objects; new skinning workflow; and CSS rules. For information
about changes to individual classes such as ProgrammaticSkin, see
Chapter 3, "Flex Classes,"
on page
41.
Contents
Using styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
Using skinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Using embedded fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Themes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127

Using styles

There are some changes to the way you use styles. For example, the use of style properties is
now more strictly enforced. If you try to apply a style to a component that does not support
that style, Flex throws and error. Also, you cannot use the
property to
StyleManager.styles
change styles for entire classes in Adobe Flex Software Development Kit (SDK) 2. Finally,
some of the color value formats have changed.
This section describes these changes.
119

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents