incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370370 [36/43] - in /incubator/flex/trunk/mustella/tests/mx: ./ binding/ binding/utils/ binding/utils/BindingUtils/ binding/utils/BindingUtils/SWFs/ binding/utils/BindingUtils/SWFs/assets/ binding/utils/BindingUtils/method/ binding/utils/...
Date Tue, 07 Aug 2012 17:13:35 GMT
Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_loadTypeStyle_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_loadTypeStyle_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_loadTypeStyle_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_loadTypeStyle_main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
+			   xmlns:s="library://ns.adobe.com/flex/spark" 
+			   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" 
+			   xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!--test current style-->
+		<styleTest:ADVStyleTestClass id="currentStyleTest" />
+		
+		<!--for case'1',test load Type Selector style CSS declaration using styleManager API-->
+		<styleTest:ADVStyleTestClass id="unloadStyleTest" />
+		
+		<!--for case'2',test unload Type Selector style CSS declaration using styleManager  API-->
+		<styleTest:ADVStyleTestClass id="loadTypeStyleTest" />
+		
+	</fx:Declarations>
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		@namespace styleTest "assets.styleTest.*";
+		
+		styleTest|ADVStyleTestClass {
+			teststyle_1_string_noinh : "cjString";
+			teststyle_2_number_noinh : 111111;
+			teststyle_3_uint_inh : 34;
+		} 
+		
+	</fx:Style>
+	
+	<fx:Script>
+		<![CDATA[
+			import assets.styleTest.ADVStyleTestConstants;
+			import assets.styleTest.ADVStyleTestEvent;
+			
+			import mx.effects.Effect;
+			import mx.effects.EffectInstance;
+			import mx.events.StyleEvent;
+			import mx.styles.IStyleManager2;
+			
+			import spark.events.TextOperationEvent;
+
+			private var myStyleManager:IStyleManager2 ;
+
+			public function loadStyle():void {
+			//test load Type Selector style CSS declaration using styleManager  API
+				myStyleManager = StyleManager.getStyleManager(this.moduleFactory);
+				var loadEvent:IEventDispatcher = myStyleManager.loadStyleDeclarations("assets/testStyleManager.swf", true);
+				
+				loadEvent.addEventListener(StyleEvent.COMPLETE, loadComplete);
+			}
+			
+			private function loadComplete(event:StyleEvent):void {
+				this.dispatchEvent(new ADVStyleTestEvent(ADVStyleTestEvent.TEST_STYLE_LOAD_COMPLETE)); 
+			}
+			
+			//this function is used to unload external type style with styleManager
+			public function unloadStyle():void  {
+				myStyleManager = StyleManager.getStyleManager(this.moduleFactory);
+				myStyleManager.unloadStyleDeclarations("assets/testStyleManager.swf", true);
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:Label id="label" text="{getStyle('teststyle_12_enum_string_inh')}" />
+	
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_setApplicationStyle_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_setApplicationStyle_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_setApplicationStyle_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_setApplicationStyle_main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
+			   xmlns:s="library://ns.adobe.com/flex/spark" 
+			   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" 
+			   xmlns:styleTest="assets.styleTest.*"
+			   xmlns:comp="assets.comp.*" xmlns:assets="assets.*">
+	
+	<fx:Declarations>
+		
+		<!--test create style CSS declaration using styleManager API, and apply it to Application selector.-->
+		<styleTest:ADVStyleTestClass id="createApplicationStyleTest"
+									 teststyle_1_string_noinh="testString"
+									 teststyle_6_format_time_noinh="2000"/>
+		
+	</fx:Declarations>
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		@namespace styleTest "assets.styleTest.*";
+		
+		s|Application {
+			teststyle_3_uint_inh:9999;
+		}
+	
+	</fx:Style>
+	
+	<fx:Script>
+		<![CDATA[
+			import assets.styleTest.ADVStyleTestConstants;
+			
+			import mx.effects.Effect;
+			import mx.effects.EffectInstance;
+			import mx.events.FlexEvent;
+			import mx.styles.IStyleManager2;
+			
+			private var myStyleManager:IStyleManager2;
+			private var myDynStyle:CSSStyleDeclaration;
+			
+			public function testCreateStyle():void {
+				//test create style CSS declaration using styleManager API, and apply it to Application selector.
+				//notice that Application selector can just set style which is inherited.
+				myStyleManager = StyleManager.getStyleManager(this.moduleFactory);
+				myDynStyle = myStyleManager.getStyleDeclaration("spark.components.Application");
+				
+				myDynStyle.setStyle('teststyle_1_string_noinh','testString');
+				myDynStyle.setStyle('teststyle_3_uint_inh',8888);
+				myDynStyle.setStyle('teststyle_4_date_inh', ADVStyleTestConstants.testDate);
+				myDynStyle.setStyle('teststyle_6_format_time_noinh', 2015);
+				
+				this.dispatchEvent(new Event('myMainAppStyleChanged'));
+			}
+
+		]]>
+	</fx:Script>
+	
+	<s:Label id="label" text="{getStyle('teststyle_12_enum_string_inh')}" />
+	<s:Label id="styleLabel" text="{createApplicationStyleTest.getMyStyleLabel()}" />
+	
+	<comp:FlexBorderContainerComponent id="advStyleTest_FlexBorderContainerComponent" />
+	<comp:FlexDataGroupComponent id="advStyleTest_FlexDataGroupComponent" />
+	<comp:FlexGroupComponent id="advStyleTest_FlexGroupComponent" />
+	<comp:FlexMxAccordionComponent id="advStyleTest_FlexMxAccordionComponent" />
+	<comp:FlexMxApplicationControlBarComponent id="advStyleTest_FlexMxApplicationControlBarComponent" />
+	<comp:FlexMxBoxComponent id="advStyleTest_FlexMxBoxComponent" />
+	<comp:FlexMxCanvasComponent id="advStyleTest_FlexMxCanvasComponent" />
+	<comp:FlexMxControlBarComponent id="advStyleTest_FlexMxControlBarComponent" />
+	<comp:FlexMxDividedBoxComponent id="advStyleTest_FlexMxDividedBoxComponent" />
+	<comp:FlexMxFormComponent id="advStyleTest_FlexMxFormComponent" />
+	<comp:FlexMxGridComponent id="advStyleTest_FlexMxGridComponent" />
+	<comp:FlexMxPanelComponent id="advStyleTest_FlexMxPanelComponent" />
+	<comp:FlexMxTabNavigatorComponent id="advStyleTest_FlexMxTabNavigatorComponent" />
+	<comp:FlexMxTileComponent id="advStyleTest_FlexMxTileComponent" />
+	<comp:FlexNavigatorContentMxVSComponent id="advStyleTest_FlexNavigatorContentMxVSComponent" />
+	<comp:FlexPanelComponent id="advStyleTest_FlexPanelComponent" />
+	<comp:FlexSkinnableDataContainerComponent id="advStyleTest_FlexSkinnableDataContainerComponent" />
+	
+	<mx:ModuleLoader id="myLoadedModule" url="assets/FlexDescModule.swf" />
+	
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_setGlobalStyle_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_setGlobalStyle_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_setGlobalStyle_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_setGlobalStyle_main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
+			   xmlns:s="library://ns.adobe.com/flex/spark" 
+			   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" 
+			   xmlns:styleTest="assets.styleTest.*"
+			   xmlns:comp="assets.comp.*" xmlns:assets="assets.*">
+	
+	<fx:Declarations>
+		
+		<!--test create style CSS declaration using styleManager API, and apply it to Application selector.-->
+		<styleTest:ADVStyleTestClass id="createGlobalStyleTest"
+									 teststyle_1_string_noinh="testString"
+									 teststyle_6_format_time_noinh="2000"/>
+		
+	</fx:Declarations>
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		@namespace styleTest "assets.styleTest.*";
+		
+		global {
+			teststyle_3_uint_inh:9999;
+		}
+	
+	</fx:Style>
+	
+	<fx:Script>
+		<![CDATA[
+			import assets.styleTest.ADVStyleTestConstants;
+			
+			import mx.effects.Effect;
+			import mx.effects.EffectInstance;
+			import mx.events.FlexEvent;
+			import mx.styles.IStyleManager2;
+			
+			private var myStyleManager:IStyleManager2;
+			private var myDynStyle:CSSStyleDeclaration;
+			
+			public function testCreateStyle():void {
+				//test create style CSS declaration using styleManager API, and apply it to Application selector.
+				//notice that Application selector can just set style which is inherited.
+				myStyleManager = StyleManager.getStyleManager(this.moduleFactory);
+				myDynStyle = myStyleManager.getStyleDeclaration("global");
+				
+				myDynStyle.setStyle('teststyle_1_string_noinh','testString');
+				myDynStyle.setStyle('teststyle_3_uint_inh', 8888);
+				myDynStyle.setStyle('teststyle_4_date_inh', ADVStyleTestConstants.testDate);
+				myDynStyle.setStyle('teststyle_6_format_time_noinh', 2015);
+				
+				this.dispatchEvent(new Event('myMainAppStyleChanged'));
+			} 
+
+		]]>
+	</fx:Script>
+	
+	<s:layout>
+		<s:VerticalLayout>
+			
+		</s:VerticalLayout>
+	</s:layout>
+	
+	<s:Label id="label" text="{getStyle('teststyle_12_enum_string_inh')}" />
+	<s:Label id="styleLabel" text="{createGlobalStyleTest.getMyStyleLabel()}" />
+	
+	<comp:FlexBorderContainerComponent id="advStyleTest_FlexBorderContainerComponent" />
+	<comp:FlexDataGroupComponent id="advStyleTest_FlexDataGroupComponent" />
+	<comp:FlexGroupComponent id="advStyleTest_FlexGroupComponent" />
+	<comp:FlexMxAccordionComponent id="advStyleTest_FlexMxAccordionComponent" />
+	<comp:FlexMxApplicationControlBarComponent id="advStyleTest_FlexMxApplicationControlBarComponent" />
+	<comp:FlexMxBoxComponent id="advStyleTest_FlexMxBoxComponent" />
+	<comp:FlexMxCanvasComponent id="advStyleTest_FlexMxCanvasComponent" />
+	<comp:FlexMxControlBarComponent id="advStyleTest_FlexMxControlBarComponent" />
+	<comp:FlexMxDividedBoxComponent id="advStyleTest_FlexMxDividedBoxComponent" />
+	<comp:FlexMxFormComponent id="advStyleTest_FlexMxFormComponent" />
+	<comp:FlexMxGridComponent id="advStyleTest_FlexMxGridComponent" />
+	<comp:FlexMxPanelComponent id="advStyleTest_FlexMxPanelComponent" />
+	<comp:FlexMxTabNavigatorComponent id="advStyleTest_FlexMxTabNavigatorComponent" />
+	<comp:FlexMxTileComponent id="advStyleTest_FlexMxTileComponent" />
+	<comp:FlexNavigatorContentMxVSComponent id="advStyleTest_FlexNavigatorContentMxVSComponent" />
+	<comp:FlexPanelComponent id="advStyleTest_FlexPanelComponent" />
+	<comp:FlexSkinnableDataContainerComponent id="advStyleTest_FlexSkinnableDataContainerComponent" />
+	
+	<mx:ModuleLoader id="myLoadedModule" url="assets/FlexDescModule.swf" />
+	
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_typeStyle_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_typeStyle_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_typeStyle_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_styleManager_typeStyle_main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
+			   xmlns:s="library://ns.adobe.com/flex/spark" 
+			   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" 
+			   xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!--for testing with Type Selector CSS style setting-->
+		<styleTest:ADVStyleTestClass id="typeStyleTest" 
+									 teststyle_1_string_noinh="testString"									 
+									 teststyle_2_number_noinh="12345.678"
+									 />
+		
+		<!--for testing clearStyle using Style manager-->
+		<styleTest:ADVStyleTestClass id="clearStyleTest"
+									 teststyle_1_string_noinh="testString"									 
+									 teststyle_2_number_noinh="12345.678"
+									/>
+	</fx:Declarations>	
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		@namespace styleTest "assets.styleTest.*";
+
+		styleTest|ADVStyleTestClass {
+			teststyle_1_string_noinh : "cjString";
+			teststyle_3_uint_inh : 333;
+			teststyle_5_format_length_noinh : 60;
+		} 
+	</fx:Style>
+	
+	<fx:Script>
+		<![CDATA[
+			import assets.styleTest.ADVStyleTestConstants;
+			import mx.effects.Effect;
+			import mx.effects.EffectInstance;
+			import mx.styles.IStyleManager2;
+			
+			import spark.events.TextOperationEvent;
+
+			private var myStyleManager:IStyleManager2 ;
+
+			public function testADVStyle():void {
+
+				//test with Type Selector CSS style setting
+
+				myStyleManager = StyleManager.getStyleManager(this.moduleFactory);
+				
+				myStyleManager.getStyleDeclaration("assets.styleTest.ADVStyleTestClass").setStyle("teststyle_1_string_noinh", "cjString");
+				myStyleManager.getStyleDeclaration("assets.styleTest.ADVStyleTestClass").setStyle("teststyle_3_uint_inh", 555);
+				myStyleManager.getStyleDeclaration("assets.styleTest.ADVStyleTestClass").setStyle("teststyle_6_format_time_noinh", 1985);
+				
+			}
+			
+			//this function is used to clear style using StyleManager	
+			public function ClearStyle():void  {
+				var css:CSSStyleDeclaration = myStyleManager.getStyleDeclaration("assets.styleTest.ADVStyleTestClass");
+				if(css) {
+					css.clearStyle("teststyle_1_string_noinh");
+					css.clearStyle("teststyle_2_number_noinh");
+					css.clearStyle("teststyle_3_uint_inh");
+					css.clearStyle("teststyle_5_format_length_noinh");
+					css.clearStyle("teststyle_6_format_time_noinh");
+					css.clearStyle("teststyle_7_format_color_noinh");
+				};
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:Label id="label" text="{getStyle('teststyle_12_enum_string_inh')}" />
+	
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_style_method_extend_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_style_method_extend_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_style_method_extend_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_style_method_extend_main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
+			   xmlns:s="library://ns.adobe.com/flex/spark" 
+			   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" 
+			   xmlns:styleTest="assets.styleTest.*" xmlns:assets="assets.*">
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		@namespace styleTest "assets.styleTest.*";
+		@namespace assets "assets.*";
+		/* Type selector */
+		styleTest|ADVStyleTestClass {
+			testextstyle_2_number_noinh : 22.22;
+			testextstyle_4_boolean_inh : true;
+		}
+		
+	</fx:Style>
+
+	<fx:Script>
+		<![CDATA[
+			import assets.styleTest.ADVStyleTestConstants;
+			import assets.styleTest.ADVStyleTestEvent;
+			import assets.styleTest.ADVStyleTestExtendClass;
+			import assets.styleTest.ADVStyleTestVo;
+
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<styleTest:ADVStyleTestExtendClass id="advExtStyleTest"/>
+	</fx:Declarations>
+	
+	<s:Label id="label" text="{getStyle('teststyle_12_enum_string_inh')}" />
+
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_style_method_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_style_method_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_style_method_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_style_method_main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
+			   xmlns:s="library://ns.adobe.com/flex/spark" 
+			   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" 
+			   xmlns:styleTest="assets.styleTest.*" xmlns:assets="assets.*">
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		@namespace styleTest "assets.styleTest.*";
+		@namespace assets "assets.*";
+		
+		/* Type selector */
+		styleTest|ADVStyleTestClass {
+			teststyle_1_string_noinh : "testStr";
+			teststyle_3_uint_inh : 34;
+		}
+		
+		styleTest|ADVStyleTestExtendClass {
+			testextstyle_1_string_noinh : "testextString";
+			testextstyle_3_uint_inh : 431;
+		}
+		 
+	</fx:Style>
+
+	<fx:Script>
+		<![CDATA[
+			import assets.styleTest.ADVStyleTestConstants;
+			import assets.styleTest.ADVStyleTestEvent;
+			import assets.styleTest.ADVStyleTestExtendClass;
+			import assets.styleTest.ADVStyleTestVo;
+			
+			import mx.events.FlexEvent;
+			
+			private var cssStyleDecl_0:String;
+			
+			public function getCssStyleDecl_0():String {
+				return this.cssStyleDecl_0;
+			}
+			
+			private var cssStyleDecl_1:String;
+			
+			public function getCssStyleDecl_1():String {
+				return this.cssStyleDecl_1;
+			}
+		
+			public function setAdvStyle():void
+			{				
+				advStyleTest_method.setStyle('teststyle_1_string_noinh','testString');
+				advStyleTest_method.setStyle('teststyle_3_uint_inh',123);
+			}			
+			
+			public function clearAdvStyle():void
+			{
+				clearStyleTest.clearStyle("teststyle_1_string_noinh");
+				clearStyleTest.clearStyle("teststyle_3_uint_inh");
+			}
+			
+			public function testStyleDeclaration():void
+			{
+				var stylArray:Array = advextStyle.getClassStyleDeclarations();
+				
+				cssStyleDecl_0 = (stylArray[0] as CSSStyleDeclaration).subject;
+				cssStyleDecl_1 = (stylArray[1] as CSSStyleDeclaration).subject;
+				
+			}
+
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<styleTest:ADVStyleTestClass id="advStyleTest_method"/>
+		
+		<styleTest:ADVStyleTestClass id="clearStyleTest"
+									 teststyle_1_string_noinh="clearStr"
+									 teststyle_2_number_noinh="12"
+									 teststyle_3_uint_inh="345" />
+		
+		<styleTest:ADVStyleTestExtendClass id="advextStyle"/>
+	</fx:Declarations>
+	
+	<s:Label id="label" text="{getStyle('teststyle_12_enum_string_inh')}" />
+	
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_style_method_parent_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_style_method_parent_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_style_method_parent_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/ADV_style_method_parent_main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
+			   xmlns:s="library://ns.adobe.com/flex/spark" 
+			   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" 
+			   xmlns:styleTest="assets.styleTest.*" xmlns:assets="assets.*">
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		@namespace styleTest "assets.styleTest.*";
+		@namespace assets "assets.*";
+		
+		/* Class selector for parent container */
+		.parentStyle {
+			teststyle_1_string_noinh : "parentString";
+			teststyle_3_uint_inh : 67;
+		}
+		
+		.clientStyle1 {
+			teststyle_1_string_noinh : "addString";
+			teststyle_2_number_noinh : 11.11;
+			teststyle_3_uint_inh : 456;
+		}
+		
+		.clientStyle2{
+			teststyle_1_string_noinh : "removeStr";
+			teststyle_3_uint_inh : 123;
+			teststyle_5_format_length_noinh : 100;
+		}
+		
+		.clientStyle3{
+			teststyle_1_string_noinh : "removeStr";
+			teststyle_3_uint_inh : 123;
+			teststyle_5_format_length_noinh : 100;
+		}
+		
+	</fx:Style>
+
+	<fx:Script>
+		<![CDATA[
+			import assets.styleTest.*;
+			
+			import mx.events.FlexEvent;
+			
+			public var testStyle:ADVStyleTestClass;
+			
+			public function teststyleParent():void
+			{
+				testStyle = new ADVStyleTestClass();
+//				testStyle.styleParent = labelParent;
+				labelParent.addStyleClient(testStyle);
+			}
+			
+			public var myStyle:ADVStyleTestClass;
+			
+			public function teststyleClient():void
+			{
+				myStyle = new ADVStyleTestClass();
+				labelClient.addStyleClient(myStyle);
+			}
+			
+			public function removestyleClient():void
+			{
+				labelClient.removeStyleClient(myStyle);
+				labelClient2.addStyleClient(myStyle);
+			}
+			
+			public function testAutoClient():void
+			{
+				myStyle = new ADVStyleTestClass();
+				labelClient.addStyleClient(myStyle);
+				labelClient3.addStyleClient(myStyle);
+			}
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		
+	</fx:Declarations>
+	<s:layout>
+		<s:VerticalLayout>
+			
+		</s:VerticalLayout>
+	</s:layout>
+	
+	<s:Label id="labelParent" styleName="parentStyle" />
+	
+	<s:Label id="labelClient" styleName="clientStyle1" />
+	
+	<s:Label id="labelClient2" styleName="clientStyle2" />
+	<s:Label id="labelClient3" styleName="clientStyle3" />
+	
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexClassTypeCompoundComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexClassTypeCompoundComp.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexClassTypeCompoundComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexClassTypeCompoundComp.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="300" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		@namespace styleTest "assets.styleTest.*";
+		
+	</fx:Style>
+	
+	<fx:Script>
+		<![CDATA[
+			
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" styleName="addStyle"/>	
+	</fx:Declarations>
+	
+	
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexClassTypeCompoundModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexClassTypeCompoundModule.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexClassTypeCompoundModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexClassTypeCompoundModule.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		   xmlns:s="library://ns.adobe.com/flex/spark" 
+		   xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" width="400" height="300"
+		   xmlns:styleTest="assets.styleTest.*">
+	
+	<fx:Declarations>
+		<!-- Place non-visual elements here -->	
+		<styleTest:ADVStyleTestClass id="moduleADV" styleName="addStyle" />
+	</fx:Declarations>
+	
+	<s:VGroup>
+		<s:Label text="this is a flex module."/>
+	</s:VGroup>
+	
+</mx:Module>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="300" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		@namespace styleTest "assets.styleTest.*";
+		/* Class Selector */
+		.styleInComponent{
+			teststyle_1_string_noinh : "componentString";
+			teststyle_3_uint_inh : 34;
+		}
+		
+		.styleInComponentDiff{
+			teststyle_1_string_noinh : "componentString";
+			teststyle_3_uint_inh : 34;
+		}
+		
+		/* ID Selector */
+		#componentADV{
+			teststyle_1_string_noinh : "idCompString";
+			teststyle_2_number_noinh : 12;
+			teststyle_3_uint_inh : 56;
+		}
+		
+		#componentADVDiff{
+			teststyle_1_string_noinh : "idCompString";
+			teststyle_2_number_noinh : 12;
+			teststyle_3_uint_inh : 56;
+		}
+		
+	</fx:Style>
+	
+	<fx:Script>
+		<![CDATA[
+			
+			public function getAdvStyle(styleName:String):*
+			{
+				return componentADV.getStyle(styleName);
+			}
+			
+			public function getAdvCompStyle(styleName:String):*
+			{
+				return componentADVStyle.getStyle(styleName);
+			}
+			 
+			public function setCompStyle():void
+			{
+				componentADV.setStyle("teststyle_1_string_noinh","testsetStr");
+				componentADV.setStyle("teststyle_3_uint_inh",56);
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+		<styleTest:ADVStyleTestClass id="componentADVStyle" styleName="styleInComponent" />
+		
+		<styleTest:ADVStyleTestClass id="componentADVDiff"/>
+		<styleTest:ADVStyleTestClass id="componentADVStyleDiff" styleName="styleInComponentDiff" />
+	</fx:Declarations>
+	
+	
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="300" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:Label text="test in FlexDescComponent" />
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescModule.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescModule.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		   xmlns:s="library://ns.adobe.com/flex/spark" 
+		   xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" width="400" height="300"
+		   xmlns:styleTest="assets.styleTest.*">
+	
+
+	<fx:Script>
+		<![CDATA[
+			
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<!-- Place non-visual elements here -->	
+		<styleTest:ADVStyleTestClass id="moduleADV" />
+	</fx:Declarations>
+	
+	<s:Label text="this is a flex module."/>
+	<s:Label id="styleLabel" text="{moduleADV.getMyStyleLabel()}" />
+</mx:Module>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescSuperComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescSuperComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescSuperComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescSuperComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Panel xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="300" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestExtendClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:Label text="test in FlexDescComponent" />
+</s:Panel>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescSuperModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescSuperModule.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescSuperModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexDescSuperModule.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		   xmlns:s="library://ns.adobe.com/flex/spark" 
+		   xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" width="400" height="300"
+		   xmlns:styleTest="assets.styleTest.*">
+	
+	<fx:Declarations>
+		<!-- Place non-visual elements here -->	
+		<styleTest:ADVStyleTestExtendClass id="moduleADV" />
+	</fx:Declarations>
+	
+	<s:Label text="this is a flex module."/>
+	
+</mx:Module>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexModule.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/FlexModule.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		   xmlns:s="library://ns.adobe.com/flex/spark" 
+		   xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" width="400" height="300"
+		   implements="assets.styleTest.IModuleInterface"
+		   xmlns:styleTest="assets.styleTest.*">
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		@namespace styleTest "assets.styleTest.*";
+		
+		styleTest|ADVStyleTestClass{
+			teststyle_1_string_noinh : "moduleString";
+			teststyle_3_uint_inh : 34;
+			teststyle_5_format_length_noinh : 100;
+		}
+		
+	</fx:Style>
+	<fx:Script>
+		<![CDATA[
+			import assets.styleTest.ADVStyleTestEvent;
+			
+			import mx.events.StyleEvent;
+			import mx.styles.IStyleManager2;
+			
+			private var moduleStyleManager:IStyleManager2;
+			private var moduleStr:*;
+			
+			public function setADVStyle():void
+			{
+				moduleADV.setStyle("teststyle_2_number_noinh",12345);
+				moduleADV.setStyle("teststyle_3_uint_inh",12);
+			}
+			
+			public function loadModuleStyle():void
+			{
+				moduleStyleManager = StyleManager.getStyleManager(this.moduleFactory);
+				var loadEvent:IEventDispatcher = moduleStyleManager.loadStyleDeclarations("assets/moduleStyle.swf",true,false);
+				
+				loadEvent.addEventListener(StyleEvent.COMPLETE, loadComplete);
+				
+			}
+			
+			public function getADVStyle(styleName:String):*
+			{
+				moduleStr = moduleADV.getStyle(styleName);
+				return moduleStr;
+			}
+			
+			private function loadComplete(event:StyleEvent):void 
+			{
+				this.dispatchEvent(new ADVStyleTestEvent(ADVStyleTestEvent.TEST_STYLE_LOAD_COMPLETE));
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<!-- Place non-visual elements here -->	
+		<styleTest:ADVStyleTestClass id="moduleADV" />
+	</fx:Declarations>
+	
+	<s:VGroup>
+		<s:Label text="this is result in flex module:"/>
+		<!--<s:TextInput id="SNTI" text="{moduleStr}"/>-->
+	</s:VGroup>
+	
+</mx:Module>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/applicationStyle.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/applicationStyle.css?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/applicationStyle.css (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/applicationStyle.css Tue Aug  7 17:13:06 2012
@@ -0,0 +1,28 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+/* CSS file */
+@namespace s "library://ns.adobe.com/flex/spark";
+@namespace mx "library://ns.adobe.com/flex/mx";
+@namespace styleTest "assets.styleTest.*";
+
+/* Application Selector */
+s|Application {
+	teststyle_2_number_noinh : 111;		
+	teststyle_3_uint_inh : 0;			
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/classTypeCompoundStyle.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/classTypeCompoundStyle.css?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/classTypeCompoundStyle.css (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/classTypeCompoundStyle.css Tue Aug  7 17:13:06 2012
@@ -0,0 +1,46 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+/* CSS file */
+@namespace s "library://ns.adobe.com/flex/spark";
+@namespace mx "library://ns.adobe.com/flex/mx";
+@namespace styleTest "assets.styleTest.*";
+
+/* Type Selector */
+styleTest|ADVStyleTestClass {
+	teststyle_11_boolean_noinh : true;
+	teststyle_12_enum_string_inh : "firstType";
+	
+	teststyle_15_state_string_noinh : "inlineStringHeavy";
+	
+	teststyle_17_skin_state_noinh: ClassReference("assets.styleTest.ADVStyleTestSkin")
+		
+}
+
+
+/* Class Selector */
+.addStyle {
+	teststyle_1_string_noinh : "classString";
+	
+	teststyle_5_format_length_noinh : 50px;
+	teststyle_6_format_time_noinh : 12000;
+	
+	teststyle_11_boolean_noinh : false;
+	teststyle_12_enum_string_inh : "secondType";
+	
+} 
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexBorderContainerComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexBorderContainerComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexBorderContainerComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexBorderContainerComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:BorderContainer xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:layout>
+		<s:VerticalLayout>
+			
+		</s:VerticalLayout>
+	</s:layout>
+	
+	<s:Label text="test in FlexBorderContainerComponent" />
+	<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+</s:BorderContainer>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexDataGroupComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexDataGroupComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexDataGroupComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexDataGroupComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:DataGroup xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 itemRenderer="spark.skins.spark.DefaultComplexItemRenderer"
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:layout>
+		<s:VerticalLayout>
+			
+		</s:VerticalLayout>
+	</s:layout>
+	
+	<s:ArrayList>
+		<s:Label text="test in FlexDataGroupComponent" />
+		<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+	</s:ArrayList>
+</s:DataGroup>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexGroupComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexGroupComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexGroupComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexGroupComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:layout>
+		<s:VerticalLayout>
+			
+		</s:VerticalLayout>
+	</s:layout>
+	
+	<s:Label text="test in FlexGroupComponent" />
+	<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxAccordionComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxAccordionComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxAccordionComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxAccordionComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Accordion xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<mx:Box label="test in FlexMxAccordionComponent" />
+	<mx:Box id="styleLabel" label="{componentADV.getMyStyleLabel()}" />
+	
+</mx:Accordion>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxApplicationControlBarComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxApplicationControlBarComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxApplicationControlBarComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxApplicationControlBarComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:ApplicationControlBar xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:Label text="test in FlexMxApplicationControlBarComponent" />
+	<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+</mx:ApplicationControlBar>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxBoxComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxBoxComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxBoxComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxBoxComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Box xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:Label text="test in FlexMxBoxComponent" />
+	<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+</mx:Box>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxCanvasComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxCanvasComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxCanvasComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxCanvasComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:Label text="test in FlexMxCanvasComponent" />
+	<s:Label bottom="10" id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+</mx:Canvas>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxControlBarComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxControlBarComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxControlBarComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxControlBarComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:ControlBar xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:Label text="test in FlexMxControlBarComponent" />
+	<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+</mx:ControlBar>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxDividedBoxComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxDividedBoxComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxDividedBoxComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxDividedBoxComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:DividedBox xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:Label text="test in FlexMxDividedBoxComponent" />
+	<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+</mx:DividedBox>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxFormComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxFormComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxFormComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxFormComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Form xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:Label text="test in FlexMxFormComponent" />
+	<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+</mx:Form>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxGridComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxGridComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxGridComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxGridComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Grid xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	
+	
+	<mx:GridRow id="row1">
+		
+		<mx:GridItem>
+			<s:Label text="test in FlexMxGridComponent" />
+			<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+		</mx:GridItem>
+		
+	</mx:GridRow>
+</mx:Grid>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxPanelComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxPanelComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxPanelComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxPanelComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Panel xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="100" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:Label text="test in FlexMxPanelComponent" />
+	<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+</mx:Panel>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxTabNavigatorComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxTabNavigatorComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxTabNavigatorComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxTabNavigatorComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:TabNavigator xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<mx:Box label="test in FlexMxTabNavigatorComponent" />
+	<mx:Box id="styleLabel" label="{componentADV.getMyStyleLabel()}" />
+</mx:TabNavigator>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxTileComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxTileComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxTileComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexMxTileComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Tile xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:Label text="test in FlexMxTileComponent" />
+	<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+</mx:Tile>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexNavigatorContentMxVSComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexNavigatorContentMxVSComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexNavigatorContentMxVSComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexNavigatorContentMxVSComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:ViewStack xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:NavigatorContent>
+		<s:layout>
+			<s:VerticalLayout>
+				
+			</s:VerticalLayout>
+		</s:layout>
+		<s:Label text="test in FlexNavigatorContentMxVSComponent" />
+		<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+	</s:NavigatorContent>
+</mx:ViewStack>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexPanelComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexPanelComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexPanelComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexPanelComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Panel xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="100" 
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:layout>
+		<s:VerticalLayout>
+			
+		</s:VerticalLayout>
+	</s:layout>
+	
+	<s:Label text="test in FlexPanelComponent" />
+	<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+</s:Panel>

Added: incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexSkinnableDataContainerComponent.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexSkinnableDataContainerComponent.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexSkinnableDataContainerComponent.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/styles/AdvancedStyleClient/SWFs/assets/comp/FlexSkinnableDataContainerComponent.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:SkinnableDataContainer xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" 
+		 width="400" height="50" 
+		 itemRenderer="spark.skins.spark.DefaultComplexItemRenderer"
+		 xmlns:styleTest="assets.styleTest.*">
+
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+		<styleTest:ADVStyleTestClass id="componentADV" />	
+	</fx:Declarations>
+	
+	<s:layout>
+		<s:VerticalLayout>
+			
+		</s:VerticalLayout>
+	</s:layout>
+	
+	<s:ArrayList>
+		<s:Label text="test in FlexSkinnableDataContainerComponent" />
+		<s:Label id="styleLabel" text="{componentADV.getMyStyleLabel()}" />
+	</s:ArrayList>
+	
+</s:SkinnableDataContainer>



Mime
View raw message