MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE User Manual Page 37

  • Download
  • Add to my manuals
  • Print
  • Page
    / 124
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 36
TUTORIALS POINT
Simply Easy Learning Page 32
You can define styles within UI container component using <fx:Style> tag
Class Level Selector
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
/* class level selector */
.errorLabel {
color: red;
}
</fx:Style>
Assign styles to UI component using styleName property.
<s:Label id="errorMsg" text="This is an error message" styleName="errorLabel"/>
Id Level Selector
Style UI component using id selector.
<fx:Style>
/* id level selector */
#msgLabel {
color: gray;
}
</fx:Style>
<s:Label id="msgLabel" text="This is a normal message" />
Type Level Selector
Style one type of UI Component in one go.
<fx:Style>
/* style applied on all buttons */
s|Button {
fontSize: 15;
color: #9933FF;
}
</fx:Style>
<s:Button label="Click Me!" id="btnClickMe"
click="btnClickMe_clickHandler(event)" />
Flex Style with CSS Example
Let us follow the following steps to check css styling of a Flex application by creating a test application:
Step
Description
Page view 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 123 124

Comments to this Manuals

No comments

LG FFH-579MVA manuály

Uživatelské manuály a uživatelské příručky pro CD přehrávače LG FFH-579MVA.
Poskytujeme 3 manuály pdf LG FFH-579MVA ke stažení zdarma podle typů dokumentů: Uživatelský manuál






Další produkty a příručky pro CD přehrávače LG

Modely Typ Dokumentu
LH-T360SE Uživatelský manuál   LG LH-T360SE Owner’s Manual, 26 stránky
LAC5800R Uživatelský manuál   LG LAC5800R Owner’s Manual, 12 stránky
LAC3800 Uživatelský manuál   LG LAC3800 Owner’s Manual, 12 stránky
FFH-313A Uživatelský manuál   LG FFH-313A Owner’s Manual, 19 stránky
ADR-620 Uživatelský manuál   LG ADR-620 Owner’s Manual, 28 stránky
FFH-576MVA Uživatelský manuál   LG FFH-576MVA Owner's manual, 28 stránky
LPC-LM735A Uživatelský manuál   LG LPC-LM735A Owner’s Manual, 16 stránky
LM-V560A Uživatelský manuál   LG LM-V560A Owner’s Manual, 23 stránky
FFH-386A Uživatelský manuál   LG FFH-386A Owner's manual [el] , 20 stránky
LAC7700 Uživatelský manuál   LG LAC7700 دليل المالك [ja] [zh] , 20 stránky
LAC7750 Uživatelský manuál   LG LAC7750 دليل المالك, 24 stránky
F-876A Uživatelský manuál   LG F-876A Owner’s Manual, 19 stránky
LM-U360A Uživatelský manuál   LG LM-U360A Owner's manual, 20 stránky
LPC-LM535X Uživatelský manuál   LG LPC-LM535X Інструкція користувача, 16 stránky
LPC-LM530A Uživatelský manuál   LG LPC-LM530A Owner’s Manual, 16 stránky
LAC-M0510 Uživatelský manuál   LG LAC-M0510 دليل المالك [en] , 16 stránky
LAC-M1600 Uživatelský manuál   LG LAC-M1600 دليل المالك [tr] , 18 stránky
F-576MVA Uživatelský manuál   LG F-576MVA Owner’s Manual, 28 stránky
FFH-386A Uživatelský manuál   LG FFH-386A Owner's manual [ja] [zh] , 20 stránky
LX-M240D Uživatelský manuál LG LX-M240D Instruktionsbogen [ja] [zh] , 20 stránky