test1' + 'test2' + 'test3')); [Bindable] public var myVo_heavy:ADVStyleTestVo = new ADVStyleTestVo("heavy"); [Bindable] public var defaultColorArray:Array = [0xFFCC33, 0xCC33FF, 0x33FFCC]; [Bindable] public var defaultDateList:ArrayCollection = new ArrayCollection([ new Date(1910, 1, 5), new Date(1950, 5, 5), new Date(1990, 10, 5)]); ]]> {0xEEBBAA} {0xAACCDD} {0x332266} @namespace s "library://ns.adobe.com/flex/spark"; @namespace mx "library://ns.adobe.com/flex/mx"; @namespace styleTest "assets.styleTest.*"; /* ID Selector */ #advStyleTest_Local_ID { teststyle_1_string_noinh : "idString"; teststyle_2_number_noinh : 6666666; teststyle_3_uint_inh : 43; teststyle_4_date_inh: PropertyReference("idDate"); teststyle_5_format_length_noinh : 50px; teststyle_6_format_time_noinh : 12000; teststyle_7_format_color_noinh : #556677; teststyle_8_format_arrayType_noinh : PropertyReference("localArray"); teststyle_9_date_arrayCol_inh : PropertyReference("localList"); teststyle_10_xml_arrayCol_noinh : PropertyReference("localXmlList"); teststyle_11_boolean_noinh : true; teststyle_12_enum_string_inh : "secondType"; teststyle_13_enum_int_noinh : 99; teststyle_14_object_noinh : PropertyReference("idVo"); teststyle_15_state_string_noinh : "idStateString"; } #advStyleTest_Local2 { teststyle_10_xml_arrayCol_noinh : PropertyReference("xmlList"); teststyle_11_boolean_noinh : true; teststyle_12_enum_string_inh : "firstType"; teststyle_14_object_noinh: PropertyReference("myVo_heavy"); } /* Class Selector */ .localClassStyle { teststyle_1_string_noinh : "localString"; teststyle_2_number_noinh : 6666789; teststyle_3_uint_inh : 34; teststyle_4_date_inh: PropertyReference("localDate"); teststyle_5_format_length_noinh : 50px; teststyle_6_format_time_noinh : 12000; teststyle_7_format_color_noinh : #776655; teststyle_8_format_arrayType_noinh : PropertyReference("localArray"); teststyle_9_date_arrayCol_inh : PropertyReference("localList"); teststyle_10_xml_arrayCol_noinh : PropertyReference("localXmlList"); teststyle_11_boolean_noinh : false; teststyle_12_enum_string_inh : "secondType"; teststyle_13_enum_int_noinh : 99; teststyle_14_object_noinh : PropertyReference("localVo"); teststyle_15_state_string_noinh : "localStateString"; teststyle_17_skin_state_noinh : ClassReference("assets.styleTest.ADVStyleTestSkin"); } /* Partly Class Selector */ .addStyle { teststyle_1_string_noinh : "classString"; teststyle_4_date_inh: PropertyReference("localDate"); teststyle_5_format_length_noinh : 50px; teststyle_6_format_time_noinh : 12000; teststyle_10_xml_arrayCol_noinh : PropertyReference("localXmlList"); teststyle_11_boolean_noinh : false; teststyle_12_enum_string_inh : "secondType"; } #advStyleTest_Local_Measure1 { teststyle_5_format_length_noinh : 1in; teststyle_7_format_color_noinh : rgb(100%, 0%, 0%); } #advStyleTest_Local_Measure2 { teststyle_5_format_length_noinh : 1cm; teststyle_7_format_color_noinh : Red; } #advStyleTest_Local_Measure3 { teststyle_5_format_length_noinh : 1pt; teststyle_7_format_color_noinh : 255,0,0; } #advStyleTest_Local_Measure4 { teststyle_5_format_length_noinh : 1pc; teststyle_7_format_color_noinh : #ff0000; } #advStyleTest_Local_Measure5 { teststyle_5_format_length_noinh : 1mm; } #advStyleTest_Local_Measure6 { teststyle_5_format_length_noinh : 1px; }