Macromedia flex 2-migrating applications to flex 2 Manual De Usuario

Descargar
Página de 184
Themes
127
In Flex 1.5, you could use the following syntax to embed a bold italic font face:
@font-face {
src: url("GOTHICBI.TTF");
font-style: italic;
font-weight: bold;
font-family: myFont;
}
.myStyleBoldItalic {
font-family: myFont;
}
In Flex 2, you still use the 
@font-face
 rule to embed the font: 
@font-face {
src:url("GOTHICBI.TTF");
font-style: italic;
font-weight: bold;
font-family: myFont;
}
But you then add descriptors to the class or type selector to use the embedded font face:
.myStyleBoldItalic {
font-family: myFont;
font-weight: bold;
font-style: italic;
}
Themes
You can no longer export SWC files from Flash IDE and use the symbols in that SWC as part 
of a theme file in Flex. You must instead use the compc utility to compile a theme SWC file 
from CSS files and graphics. 
The original Halo skins are repackaged into a theme so that you can change the appearance of 
your Flex applications back to the Flex 1.x look and feel.
For more information on creating and using themes, see the Flex 2 Developer’s Guide.