incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1369978 [4/7] - in /incubator/flex/trunk/mustella/tests/PerModuleStyles: ./ BasicTests/ BasicTests/baselines/ SWFs/ SWFs/assets/ SWFs/test/ api/ api/baselines/ inheritance/ inheritance/baselines/ merging/ merging/baselines/ regressions/ st...
Date Mon, 06 Aug 2012 20:22:56 GMT
Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSSDeclarationModule2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSSDeclarationModule2.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSSDeclarationModule2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSSDeclarationModule2.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,61 @@
+<?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" creationComplete="module1_creationCompleteHandler(event)">
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		s|List
+		{
+			fontStyle: italic;
+			borderColor: #FF0000;
+		}
+		
+	</fx:Style>
+	<fx:Script>
+		<![CDATA[
+			import mx.collections.ArrayList;
+			import mx.events.FlexEvent;
+			
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			
+			
+			protected function module1_creationCompleteHandler(event:FlexEvent):void
+			{
+				moduleList.dataProvider = listArr;
+			}
+		]]>
+	</fx:Script>
+	
+	<s:List id="moduleList"  />
+</mx:Module>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSS_SelectorModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSS_SelectorModule.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSS_SelectorModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSS_SelectorModule.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,103 @@
+<?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" creationComplete="module1_creationCompleteHandler(event)">
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		s|ComboBox
+		{
+			fontStyle: italic;
+		}
+		
+		s|Button#gumboButton
+		{
+			fontStyle: italic;
+		}
+		
+		s|Panel s|Label
+		{
+			fontStyle: italic;
+		}
+		
+		s|Button.myStyle
+		{
+			fontStyle: italic;
+		}
+		
+		s|HGroup s|RichText
+		{
+			fontStyle: italic;
+		}
+		
+		.classOfStyle
+		{
+			fontStyle: italic;
+		}
+	</fx:Style>
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			import mx.collections.ArrayList;
+			
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			
+
+			protected function module1_creationCompleteHandler(event:FlexEvent):void
+			{
+				moduleList.dataProvider = listArr;
+			}
+
+		]]>
+	</fx:Script>
+	<s:VGroup>
+		<s:CheckBox id="checkBox" label="Check Box Module" />
+		<s:Label text="Label Outside Panel"  />
+		<s:HGroup rotation="-10">
+			<s:NumericStepper id="numericStepper" stepSize="1" minimum="1" maximum="10" />
+			<s:RichText text="This Text is Rich Module !!" />
+		</s:HGroup>
+		<s:RichText text="This Text is also Rich !!" />
+		<s:Panel title="Gumbo Module Panel" id="appPanel" rotation="-5">
+			<s:layout>
+				<s:VerticalLayout />
+			</s:layout>
+			
+			<s:Button id="gumboButton" label="Gumbo Module Button"  />
+			<s:Button id="gumboButton2" label="Second Gumbo Module Button" styleName="myStyle"  />
+			<s:Label text="Spark Module Label"  />
+			<s:Label text="Spark Label Module class selector" styleName="classOfStyle"  />
+			<s:ComboBox id="moduleList"  height="24" width="147"/>
+		</s:Panel>
+	</s:VGroup>	
+</mx:Module>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSS_SelectorModule2006.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSS_SelectorModule2006.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSS_SelectorModule2006.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSS_SelectorModule2006.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,99 @@
+<?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:mx="http://www.adobe.com/2006/mxml" 
+		    creationComplete="module1_creationCompleteHandler(event)">
+	
+	<mx:Style>
+		
+		@namespace mx "http://www.adobe.com/2006/mxml";
+		
+		mx|ComboBox
+		{
+			fontStyle: italic;
+		}
+		
+		mx|Button#gumboButton
+		{
+			fontStyle: italic;
+		}
+		
+		mx|Panel mx|Label
+		{
+			fontStyle: italic;
+		}
+		
+		mx|Button.myStyle
+		{
+			fontStyle: italic;
+		}
+		
+		mx|HBox mx|Label
+		{
+			fontStyle: italic;
+		}
+		
+		.classOfStyle
+		{
+			fontStyle: italic;
+		}
+	</mx:Style>
+	<mx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			import mx.collections.ArrayList;
+			
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			
+			
+			protected function module1_creationCompleteHandler(event:FlexEvent):void
+			{
+				moduleList.dataProvider = listArr;
+			}
+			
+		]]>
+	</mx:Script>
+	<mx:VBox>
+		<mx:CheckBox id="checkBox" label="Check Box Module" />
+		<mx:Label text="Label Outside Panel"  />
+		<mx:HBox rotation="-10">
+			<mx:NumericStepper id="numericStepper" stepSize="1" minimum="1" maximum="10" />
+			<mx:Label text="This Text is Rich Module !!" />
+		</mx:HBox>
+		<mx:Label text="This Text is also Rich !!" />
+		<mx:Panel title="Gumbo Module Panel" id="appPanel" rotation="-5">
+			
+			<mx:Button id="gumboButton" label="Gumbo Module Button"  />
+			<mx:Button id="gumboButton2" label="Second Gumbo Module Button" styleName="myStyle"  />
+			<mx:Label text="Spark Module Label"  />
+			<mx:Label text="Spark Label Module class selector" styleName="classOfStyle"  />
+			<mx:ComboBox id="moduleList"  />
+		</mx:Panel>
+	</mx:VBox>	
+</mx:Module>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSS_SelectorModuleCompat.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSS_SelectorModuleCompat.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSS_SelectorModuleCompat.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CSS_SelectorModuleCompat.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,86 @@
+<?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:mx="http://www.adobe.com/2006/mxml" creationComplete="module1_creationCompleteHandler(event)">
+	<mx:Style>
+		
+		@namespace mx "http://www.adobe.com/2006/mxml";
+		
+		mx|ComboBox
+		{
+			fontStyle: italic;
+		}
+		
+		mx|Button
+		{
+			fontStyle: italic;
+		}
+
+		mx|Button.myStyle
+		{
+			fontStyle: italic;
+		}
+		
+		.classOfStyle
+		{
+			fontStyle: italic;
+		}
+	</mx:Style>
+	<mx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			import mx.collections.ArrayList;
+			
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			
+
+			protected function module1_creationCompleteHandler(event:FlexEvent):void
+			{
+				moduleList.dataProvider = listArr;
+			}
+
+		]]>
+	</mx:Script>
+	<mx:VBox>
+		<mx:CheckBox id="checkBox" label="Check Box Module" />
+		<mx:Label text="Label Outside Panel"  />
+		<mx:HBox rotation="-10">
+			<mx:NumericStepper id="numericStepper" stepSize="1" minimum="1" maximum="10" />
+			
+		</mx:HBox>
+		<mx:Panel title="Mx Module Panel" id="appPanel" rotation="-5">
+						
+			<mx:Button id="MXButton" label="MX Module Button"  />
+			<mx:Button id="MXButton2" label="Second MX Module Button" styleName="myStyle"  />
+			<mx:Label text="MX Module Label"  />
+			<mx:Label text="MX Label Module class selector" styleName="classOfStyle"  />
+			<mx:ComboBox id="moduleList"  />
+		</mx:Panel>
+	</mx:VBox>	
+</mx:Module>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CreatePopUpModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CreatePopUpModule.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CreatePopUpModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CreatePopUpModule.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,48 @@
+<?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="vertical" width="400" height="300">
+    
+    <fx:Script>
+        <![CDATA[
+            import mx.core.IFlexDisplayObject;
+            import mx.managers.PopUpManager;
+            
+            public var popUp:IFlexDisplayObject;
+            
+            private function createPopUp():void
+            {
+                popUp = PopUpManager.createPopUp(DisplayObject(systemManager), MyWindow, false, null, moduleFactory);
+                PopUpManager.centerPopUp(popUp);
+            }
+            
+            private function removePopUp():void
+            {
+                PopUpManager.removePopUp(popUp);
+                popUp = null;
+            }
+        ]]>
+    </fx:Script>
+
+    <s:Label text="Module1" />
+    <s:Button label="Create pop up" id="btn1" click="createPopUp()" />
+    <s:Button label="Remove pop up"  id="btn2" click="removePopUp()" />
+</mx:Module>

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CustomListSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CustomListSkin.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CustomListSkin.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CustomListSkin.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,139 @@
+<?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:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="112" minHeight="112"
+			 alpha.disabled="0.5" blendMode="normal"> 
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.List")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		/* Define the skin elements that should not be colorized. 
+		For list, the skin itself is colorized but the individual parts are not. */
+		static private const exclusions:Array = ["scroller", "background"];
+		
+		/**
+		 * @private
+		 */
+		override public function get colorizeExclusions():Array {return exclusions;}
+		
+		/* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
+		static private const contentFill:Array = ["bgFill"];
+		
+		/**
+		 * @private
+		 */
+		override public function get contentItems():Array {return contentFill};
+		
+		/**
+		 * @private
+		 */
+		override protected function initializationComplete():void
+		{
+			useChromeColor = true;
+			super.initializationComplete();
+		}
+		
+		/**
+		 * @private
+		 */
+		override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+		{
+			border.visible = false;
+			if (getStyle("borderVisible") == true)
+			{
+				background.left = background.top = background.right = background.bottom = 1;
+				scroller.minViewportInset = 1;
+			}
+			else
+			{
+				
+				background.left = background.top = background.right = background.bottom = 0;
+				scroller.minViewportInset = 0;
+			}
+			
+			borderStroke.color = getStyle("borderColor");
+			borderStroke.alpha = getStyle("borderAlpha");
+			
+			super.updateDisplayList(unscaledWidth, unscaledHeight);
+		}
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="normal" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<fx:Declarations>
+		<!--- Defines the appearance of the the List's drop indicator.
+		To customize the drop indicator appearance, create a custom ListSkin class.
+		The List's layout takes care to size and position the dropIndicator.
+		The size of the <code>dropIndicator</code> is typically set to the size of the gaps between the items.
+		The minimum and maximum settings are typically respected only in the direction
+		along the major axis (the gap axis).  For example a VerticalLayout ignores the 
+		<code>minWidth</code> and <code>maxWidth</code> settings, 
+		but respect <code>minHeight</code> and <code>maxHeight</code>. -->
+		<fx:Component id="dropIndicator">
+			<s:Group minWidth="3" minHeight="3" maxWidth="3" maxHeight="3">
+				<s:Rect left="0" right="0" top="0" bottom="0">
+					<s:fill>
+						<!--- Defines the color of the background. -->
+						<s:SolidColor color="0xBBBBBB" />
+					</s:fill>
+					<s:stroke>
+						<s:SolidColorStroke color="0x868686" weight="1"/>
+					</s:stroke>
+				</s:Rect>
+			</s:Group>
+		</fx:Component>
+	</fx:Declarations>
+	
+	<!-- border -->
+	<s:Rect left="0" right="0" top="0" bottom="0" id="border">
+		<s:stroke>
+			<s:SolidColorStroke id="borderStroke" weight="1"/>
+		</s:stroke>
+	</s:Rect>
+	
+	<!-- fill -->
+	<!--- Defines the background appearance of the list-based component. -->
+	<s:Rect id="background" left="1" right="1" top="1" bottom="1" >
+		<s:fill>
+			<!--- Defines the color of the background. The default color is 0xFFFFFF. -->
+			<s:SolidColor id="bgFill" color="0xFFFFFF" />
+		</s:fill>
+	</s:Rect>
+	
+	<!--- The Scroller component to add scroll bars to the list. -->
+	<s:Scroller left="0" top="0" right="0" bottom="0" id="scroller" minViewportInset="1" focusEnabled="false">
+		<!--- The container for the data items. -->
+		<s:DataGroup id="dataGroup" itemRenderer="spark.skins.spark.DefaultItemRenderer">
+			<s:layout>
+				<s:VerticalLayout gap="0" horizontalAlign="contentJustify" />
+			</s:layout>
+		</s:DataGroup>
+	</s:Scroller>
+</s:SparkSkin>

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CustomPanelSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CustomPanelSkin.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CustomPanelSkin.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/CustomPanelSkin.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,258 @@
+<?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:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false" 
+			 minWidth="131" minHeight="127" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5">
+	
+	<fx:Metadata>
+		<![CDATA[ 
+		/** 
+		* @copy spark.skins.spark.ApplicationSkin#hostComponent
+		*/
+		[HostComponent("spark.components.Panel")]
+		]]>
+	</fx:Metadata> 
+	
+	<fx:Script fb:purpose="styling">
+		/* Define the skin elements that should not be colorized. 
+		For panel, border and title background are skinned, but the content area and title text are not. */
+		static private const exclusions:Array = ["background", "titleDisplay", "contentGroup", "controlBarGroup"];
+		
+		/**
+		 * @private
+		 */  
+		override public function get colorizeExclusions():Array {return exclusions;}
+		
+		/**
+		 * @private
+		 */
+		override protected function initializationComplete():void
+		{
+			useChromeColor = true;
+			super.initializationComplete();
+		}
+		
+		/**
+		 * @private
+		 */
+		override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+		{
+			if (getStyle("borderVisible") == true)
+			{
+				border.visible = true;
+				background.left = background.top = background.right = background.bottom = 1;
+				contents.left = contents.top = contents.right = contents.bottom = 1;
+			}
+			else
+			{
+				border.visible = false;
+				background.left = background.top = background.right = background.bottom = 0;
+				contents.left = contents.top = contents.right = contents.bottom = 0;
+			}
+			
+			dropShadow.visible = getStyle("dropShadowVisible");
+			
+			var cr:Number = getStyle("cornerRadius");
+			
+			if (cornerRadius != cr)
+			{
+				cornerRadius = cr;
+				
+				var withControls:Boolean = 
+					(currentState == "disabledWithControlBar" || 
+						currentState == "normalWithControlBar");
+				
+				dropShadow.tlRadius = cornerRadius;
+				dropShadow.trRadius = cornerRadius;
+				dropShadow.blRadius = withControls ? cornerRadius : 0;
+				dropShadow.brRadius = withControls ? cornerRadius : 0;
+				
+				setPartCornerRadii(topMaskRect, withControls); 
+				setPartCornerRadii(border, withControls); 
+				setPartCornerRadii(background, withControls);                
+			}
+			
+			if (bottomMaskRect) setPartCornerRadii(bottomMaskRect, withControls); 
+			
+			borderStroke.color = 0x0000FF;
+			borderStroke.alpha = getStyle("borderAlpha");
+			backgroundFill.color = 0xFFFF00;
+			backgroundFill.alpha = getStyle("backgroundAlpha");
+			
+			super.updateDisplayList(unscaledWidth, unscaledHeight);
+		}
+		
+		/**
+		 * @private
+		 */  
+		private function setPartCornerRadii(target:Rect, includeBottom:Boolean):void
+		{            
+			target.topLeftRadiusX = cornerRadius;
+			target.topRightRadiusX = cornerRadius;
+			target.bottomLeftRadiusX = includeBottom ? cornerRadius : 0;
+			target.bottomRightRadiusX = includeBottom ? cornerRadius : 0;
+		}
+		
+		private var cornerRadius:Number;
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="normal" />
+		<s:State name="disabled" />
+		<s:State name="normalWithControlBar" stateGroups="withControls" />
+		<s:State name="disabledWithControlBar" stateGroups="withControls" />
+	</s:states>
+	
+	<!-- drop shadow can't be hittable so it stays sibling of other graphics -->
+	<s:RectangularDropShadow id="dropShadow" blurX="20" blurY="20" alpha="0.32" distance="11" 
+							 angle="90" color="#000000" left="0" top="0" right="0" bottom="0"/>
+	
+	<!-- drop shadow can't be hittable so all other graphics go in this group -->
+	<s:Group left="0" right="0" top="0" bottom="0">
+		
+		<!-- top group mask -->
+		<s:Group left="1" top="1" right="1" bottom="1" id="topGroupMask" >
+			<s:Rect id="topMaskRect" left="0" top="0" right="0" bottom="0">
+				<s:fill>
+					<s:SolidColor alpha="0"/>
+				</s:fill>
+			</s:Rect>
+		</s:Group>
+		
+		<!-- bottom group mask -->
+		<s:Group left="1" top="1" right="1" bottom="1" id="bottomGroupMask" 
+				 includeIn="normalWithControlBar, disabledWithControlBar">
+			<s:Rect id="bottomMaskRect" left="0" top="0" right="0" bottom="0">
+				<s:fill>
+					<s:SolidColor alpha="0"/>
+				</s:fill>
+			</s:Rect>
+		</s:Group>
+		
+		<!-- layer 1: border -->
+		<s:Rect id="border" left="0" right="0" top="0" bottom="0" >
+			<s:stroke>
+				<s:SolidColorStroke id="borderStroke" weight="1" />
+			</s:stroke>
+		</s:Rect>
+		
+		<!-- layer 2: background fill -->
+		<!--- Defines the appearance of the PanelSkin class's background. -->
+		<s:Rect id="background" left="1" top="1" right="1" bottom="1">
+			<s:fill>
+				<!-- Defines the  PanelSkin class's background fill. The default color is 0xFFFFFF. -->
+				<s:SolidColor id="backgroundFill" color="#FFFFFF"/>
+			</s:fill>
+		</s:Rect>
+		
+		<!-- layer 3: contents -->
+		<!--- contains the vertical stack of titlebar content and controlbar -->
+		<s:Group left="1" right="1" top="1" bottom="1" id="contents">
+			<s:layout>
+				<s:VerticalLayout gap="0" horizontalAlign="justify" />
+			</s:layout>
+			
+			<s:Group id="topGroup" mask="{topGroupMask}">
+				
+				<!-- layer 0: title bar fill -->
+				<s:Rect id="tbFill" left="0" right="0" top="0" bottom="1">
+					<s:fill>
+						<s:LinearGradient rotation="90">
+							<s:GradientEntry color="0xE2E2E2" />
+							<s:GradientEntry color="0xD9D9D9" />
+						</s:LinearGradient>
+					</s:fill>
+				</s:Rect>
+				
+				<!-- layer 1: title bar highlight -->
+				<s:Rect id="tbHilite" left="0" right="0" top="0" bottom="0">
+					<s:stroke>
+						<s:LinearGradientStroke rotation="90" weight="1">
+							<s:GradientEntry color="0xEAEAEA" />
+							<s:GradientEntry color="0xD9D9D9" />
+						</s:LinearGradientStroke>
+					</s:stroke>
+				</s:Rect>
+				
+				<!-- layer 2: title bar divider -->
+				<s:Rect id="tbDiv" left="0" right="0" height="1" bottom="0">
+					<s:fill>
+						<s:SolidColor color="0xC0C0C0" />
+					</s:fill>
+				</s:Rect>
+				
+				<!-- layer 3: text -->
+				<!--- Defines the appearance of the PanelSkin class's title bar. -->
+				<s:Label id="titleDisplay" maxDisplayedLines="1"
+						 left="9" right="3" top="1" bottom="0" minHeight="30"
+						 verticalAlign="middle" fontWeight="bold">
+				</s:Label>
+			</s:Group>
+			
+			<!--
+			Note: setting the minimum size to 0 here so that changes to the host component's
+			size will not be thwarted by this skin part's minimum size.   This is a compromise,
+			more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
+			-->
+			<s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
+			</s:Group>
+			
+			<s:Group id="bottomGroup" minWidth="0" minHeight="0"
+					 includeIn="normalWithControlBar, disabledWithControlBar" >
+				
+				<s:Group left="0" right="0" top="0" bottom="0" mask="{bottomGroupMask}">
+					
+					<!-- layer 0: control bar divider line -->
+					<s:Rect left="0" right="0" top="0" height="1" alpha="0.22">
+						<s:fill>
+							<s:SolidColor color="0x000000" />
+						</s:fill>
+					</s:Rect>
+					
+					<!-- layer 1: control bar highlight -->
+					<s:Rect left="0" right="0" top="1" bottom="0">
+						<s:stroke>
+							<s:LinearGradientStroke rotation="90" weight="1">
+								<s:GradientEntry color="0xE5E5E5" />
+								<s:GradientEntry color="0xD8D8D8" />
+							</s:LinearGradientStroke>
+						</s:stroke>
+					</s:Rect>
+					
+					<!-- layer 2: control bar fill -->
+					<s:Rect left="1" right="1" top="2" bottom="1">
+						<s:fill>
+							<s:LinearGradient rotation="90">
+								<s:GradientEntry color="0xDADADA" />
+								<s:GradientEntry color="0xC5C5C5" />
+							</s:LinearGradient>
+						</s:fill>
+					</s:Rect>
+				</s:Group>
+				<!-- layer 3: control bar -->
+				<s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
+					<s:layout>
+						<s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
+					</s:layout>
+				</s:Group>
+			</s:Group>
+		</s:Group>
+	</s:Group>
+</s:SparkSkin>

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/FontsModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/FontsModule.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/FontsModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/FontsModule.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,62 @@
+<?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" creationComplete="module1_creationCompleteHandler(event)"
+		   xmlns:s="library://ns.adobe.com/flex/spark" 
+		   xmlns:mx="library://ns.adobe.com/flex/mx" layout="horizontal" width="400" height="300">
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			import mx.collections.ArrayList;
+			private var arr:Array =
+				[
+					{ label:'Newyork', data:10.00},
+					{ label:'Boston', data:15.00 },
+					{ label:'Chicago', data:3.50 },
+					{ label:'San Francisco', data:7.65},
+					{ label:'Las Vegas',data:12.35 },
+					{ label:'Orlando', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+
+			protected function module1_creationCompleteHandler(event:FlexEvent):void
+			{
+				sparkList.dataProvider = listArr;
+				mxList.dataProvider = listArr;
+			}
+
+		]]>
+	</fx:Script>
+	<s:Panel title=" Sparky Panel (Module)" >
+		<s:layout>
+			<s:VerticalLayout paddingLeft="5" paddingTop="5"/>
+		</s:layout>
+		<s:Button label="Spark Button (Module)" />
+		<s:RichText id="rt" text="Spark Rich TExt (Module)" />
+		<s:Label   text="Spark Label (Module)" />
+		<s:List id="sparkList" />
+		
+	</s:Panel>
+	<mx:Panel title="MX Panel (Module)" >
+		<mx:Button label="MX Button (Module)" />
+		<mx:Label   text="Spark Label (Module)" />
+		<mx:List id="mxList" />
+	</mx:Panel>
+</mx:Module>

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/HaloModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/HaloModule.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/HaloModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/HaloModule.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,38 @@
+<?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" >
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		mx|Button
+		{
+			borderColor: #0000FF;
+		}
+	</fx:Style>
+	
+	
+	<s:VGroup id="groupId">
+		<mx:Button label="MX Button in halo theme module" id="mxBtn" />
+	</s:VGroup>
+</mx:Module>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/IsolateStylesModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/IsolateStylesModule.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/IsolateStylesModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/IsolateStylesModule.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,103 @@
+<?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" creationComplete="module1_creationCompleteHandler(event)">
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		s|ComboBox
+		{
+			fontStyle: italic;
+		}
+		
+		s|Button#gumboButton
+		{
+			fontStyle: italic;
+		}
+		
+		s|Panel s|Label
+		{
+			fontStyle: italic;
+		}
+		
+		s|Button.myStyle
+		{
+			fontStyle: italic;
+		}
+		
+		s|HGroup s|RichText
+		{
+			fontStyle: italic;
+		}
+		
+		.classOfStyle
+		{
+			fontStyle: italic;
+		}
+	</fx:Style>
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			import mx.collections.ArrayList;
+			
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			
+
+			protected function module1_creationCompleteHandler(event:FlexEvent):void
+			{
+				moduleList.dataProvider = listArr;
+			}
+
+		]]>
+	</fx:Script>
+	<s:VGroup>
+		<s:CheckBox id="checkBox" label="Check Box Module" />
+		<s:Label text="Label Outside Panel"  />
+		<s:HGroup rotation="-10">
+			<s:NumericStepper id="numericStepper" stepSize="1" minimum="1" maximum="10" />
+			<s:RichText text="This Text is Rich Module !!" />
+		</s:HGroup>
+		<s:RichText text="This Text is also Rich !!" />
+		<s:Panel title="Gumbo Module Panel" id="appPanel" rotation="-5">
+			<s:layout>
+				<s:VerticalLayout />
+			</s:layout>
+			
+			<s:Button id="gumboButton" label="Gumbo Module Button"  />
+			<s:Button id="gumboButton2" label="Second Gumbo Module Button" styleName="myStyle"  />
+			<s:Label text="Spark Module Label"  />
+			<s:Label text="Spark Label Module class selector" styleName="classOfStyle"  />
+			<s:ComboBox id="moduleList" height="24" width="147" />
+		</s:Panel>
+	</s:VGroup>	
+</mx:Module>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/LeftButtonSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/LeftButtonSkin.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/LeftButtonSkin.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/LeftButtonSkin.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,180 @@
+<?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:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+			 xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="21" minHeight="21" alpha.disabled="0.5">
+	
+	<!-- host component -->
+	<fx:Metadata>
+		<![CDATA[ 
+		[HostComponent("spark.components.Button")]
+		]]>
+	</fx:Metadata>
+	
+	<fx:Script fb:purpose="styling">
+		<![CDATA[         
+			static private const exclusions:Array = ["labelDisplay"];
+			
+			override public function get colorizeExclusions():Array {return exclusions;}
+			
+			override protected function initializationComplete():void
+			{
+				useChromeColor = true;
+				super.initializationComplete();
+			}  
+			
+			override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
+			{
+				var cr:Number = getStyle("cornerRadius");
+				
+				if (cornerRadius != cr)
+				{
+					cornerRadius = cr;
+					shadow.radiusX = cornerRadius;
+					fill.radiusX = cornerRadius;
+					lowlight.radiusX = cornerRadius;
+					highlight.radiusX = cornerRadius;
+					border.radiusX = cornerRadius;
+				}
+				
+				if (highlightStroke) highlightStroke.radiusX = cornerRadius;
+				
+				super.updateDisplayList(unscaledWidth, unscaledHeight);
+			}
+			
+			private var cornerRadius:Number = 2;
+		]]>        
+	</fx:Script>
+	
+	<!-- states -->
+	<s:states>
+		<s:State name="up" />
+		<s:State name="over" />
+		<s:State name="down" />
+		<s:State name="disabled" />
+	</s:states>
+	
+	<!-- layer 1: shadow -->
+	<s:Rect id="shadow" left="-1" right="-1" top="-1" bottom="-1" radiusX="2">
+		<s:fill>
+			<s:LinearGradient rotation="90">
+				<s:GradientEntry color="0x000000" 
+								 color.down="0xFFFFFF"
+								 alpha="0.01"
+								 alpha.down="0" />
+				<s:GradientEntry color="0x000000" 
+								 color.down="0xFFFFFF" 
+								 alpha="0.07"
+								 alpha.down="0.5" />
+			</s:LinearGradient>
+		</s:fill>
+	</s:Rect>
+	
+	<!-- layer 2: fill -->
+	<s:Rect id="fill" left="1" right="1" top="1" bottom="1" radiusX="2">
+		<s:fill>
+			<s:LinearGradient rotation="90">
+				<s:GradientEntry color="0xFFAAFF" 
+								 color.over="0xBBBDBD" 
+								 color.down="0xAAAAAA" 
+								 alpha="0.85" />
+				<s:GradientEntry color="0xD8D8D8" 
+								 color.over="0x9FA0A1" 
+								 color.down="0x929496" 
+								 alpha="0.85" />
+			</s:LinearGradient>
+		</s:fill>
+	</s:Rect>
+	
+	<!-- layer 3: fill lowlight -->
+	<s:Rect id="lowlight" left="1" right="1" bottom="1" height="9" radiusX="2">
+		<s:fill>
+			<s:LinearGradient rotation="90">
+				<s:GradientEntry color="0x000000" alpha="0.0099" />
+				<s:GradientEntry color="0x000000" alpha="0.0627" />
+			</s:LinearGradient>
+		</s:fill>
+	</s:Rect>
+	
+	<!-- layer 4: fill highlight -->
+	<s:Rect id="highlight" left="1" right="1" top="1" height="9" radiusX="2">
+		<s:fill>
+			<s:SolidColor color="0xFFFFFF" 
+						  alpha="0.33" 
+						  alpha.over="0.22" 
+						  alpha.down="0.12" />
+		</s:fill>
+	</s:Rect>
+	
+	<!-- layer 5: highlight stroke (all states except down) -->
+	<s:Rect id="highlightStroke" left="1" right="1" top="1" bottom="1" radiusX="2" excludeFrom="down">
+		<s:stroke>
+			<s:LinearGradientStroke rotation="90" weight="1">
+				<s:GradientEntry color="0xFFFFFF" alpha.over="0.22" />
+				<s:GradientEntry color="0xD8D8D8" alpha.over="0.22" />
+			</s:LinearGradientStroke>
+		</s:stroke>
+	</s:Rect>
+	
+	<!-- layer 6: highlight stroke (down state only) -->
+	<s:Rect left="1" top="1" bottom="1" width="1" includeIn="down">
+		<s:fill>
+			<s:SolidColor color="0x000000" alpha="0.07" />
+		</s:fill>
+	</s:Rect>
+	<s:Rect right="1" top="1" bottom="1" width="1" includeIn="down">
+		<s:fill>
+			<s:SolidColor color="0x000000" alpha="0.07" />
+		</s:fill>
+	</s:Rect>
+	<s:Rect left="2" top="1" right="2" height="1" includeIn="down">
+		<s:fill>
+			<s:SolidColor color="0x000000" alpha="0.25" />
+		</s:fill>
+	</s:Rect>
+	<s:Rect left="1" top="2" right="1" height="1" includeIn="down">
+		<s:fill>
+			<s:SolidColor color="0x000000" alpha="0.09" />
+		</s:fill>
+	</s:Rect>
+	
+	<!-- layer 7: border - put on top of the fill so it doesn't disappear when scale is less than 1 -->
+	<s:Rect id="border" left="0" right="0" top="0" bottom="0" width="69" height="20" radiusX="2">
+		<s:stroke>
+			<s:LinearGradientStroke rotation="90" weight="1">
+				<s:GradientEntry color="0x000000" 
+								 alpha="0.5625"
+								 alpha.down="0.6375" />
+				<s:GradientEntry color="0x000000" 
+								 alpha="0.75" 
+								 alpha.down="0.85" />
+			</s:LinearGradientStroke>
+		</s:stroke>
+	</s:Rect>
+	
+	<!-- layer 8: text -->
+	<s:Label id="labelDisplay"
+			 textAlign="left"
+			 verticalAlign="middle"
+			 maxDisplayedLines="1"
+			 horizontalCenter="0" verticalCenter="1"
+			 left="10" right="10" top="2" bottom="2">
+	</s:Label>
+	
+</s:SparkSkin>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/LoadStylesModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/LoadStylesModule.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/LoadStylesModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/LoadStylesModule.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,99 @@
+<?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" creationComplete="module1_creationCompleteHandler(event)">
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		mx|Button  {
+			fontAntiAliasType: "normal";
+			fontFamily: HaloVera;
+		}
+		
+	</fx:Style>
+	<fx:Script>
+		<![CDATA[
+			import mx.collections.ArrayList;
+			import mx.controls.Alert;
+			import mx.events.FlexEvent;
+			import mx.events.StyleEvent;
+			
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			
+			
+			protected function module1_creationCompleteHandler(event:FlexEvent):void
+			{
+				moduleList.dataProvider = listArr;
+				localStyleManager  = StyleManager.getStyleManager(this.moduleFactory);
+			}
+			
+			private var localStyleManager:IStyleManager2 = null;
+			
+			public var eventDispatcher:IEventDispatcher = null;
+			protected function loadStylesButton_clickHandler(event:MouseEvent):void
+			{
+				
+				eventDispatcher = localStyleManager.loadStyleDeclarations("assets/testStyles.swf");
+			}
+			
+			
+			protected function unloadStylesButton_clickHandler(event:MouseEvent):void
+			{
+				localStyleManager.unloadStyleDeclarations("assets/testStyles.swf");
+			}
+		]]>
+	</fx:Script>
+	<s:VGroup>
+		<s:CheckBox id="checkBox" label="Check Box Module" />
+		<s:Label text="Label Outside Panel"  />
+		<s:HGroup rotation="-10">
+			<s:NumericStepper id="numericStepper" stepSize="1" minimum="1" maximum="10" />
+			<s:RichText text="This Text is Rich Module !!" />
+		</s:HGroup>
+		<s:RichText text="This Text is also Rich !!" />
+		<s:Panel title="" id="appPanel" rotation="-5">
+			<s:layout>
+				<s:VerticalLayout />
+			</s:layout>
+			
+			<s:Button id="gumboButton" label="Gumbo Module Button"  />
+			<s:Button id="gumboButton2" label="Second Gumbo Module Button" styleName="myStyle"  />
+			<s:Label text="Spark Module Label"  />
+			<s:Label text="Spark Label Module class selector" styleName="classOfStyle"  />
+			<s:ComboBox id="moduleList" height="24" width="147" />
+		</s:Panel>
+	</s:VGroup>	
+	<mx:Button label="Load styles" id="loadStylesButton" click="loadStylesButton_clickHandler(event)" />
+	<mx:Button label="Unload styles" id="unloadStylesButton" click="unloadStylesButton_clickHandler(event)" />
+	
+</mx:Module>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/LoadStylesSubApp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/LoadStylesSubApp.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/LoadStylesSubApp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/LoadStylesSubApp.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,101 @@
+<?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" creationComplete="application1_creationCompleteHandler(event)"
+			   xmlns:mx="library://ns.adobe.com/flex/mx" >
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		
+		mx|Button  {
+			fontAntiAliasType: "normal";
+			fontFamily: HaloVera;
+		}
+		
+	</fx:Style>
+	<fx:Script>
+		<![CDATA[
+			import mx.collections.ArrayList;
+			import mx.controls.Alert;
+			import mx.events.FlexEvent;
+			import mx.events.StyleEvent;
+						
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			
+			private var localStyleManager:IStyleManager2 = null;
+			
+			public var eventDispatcher:IEventDispatcher = null;
+			protected function loadStylesButton_clickHandler(event:MouseEvent):void
+			{
+				
+				eventDispatcher = localStyleManager.loadStyleDeclarations("assets/testStyles.swf");
+			}
+			
+			
+			protected function unloadStylesButton_clickHandler(event:MouseEvent):void
+			{
+				localStyleManager.unloadStyleDeclarations("assets/testStyles.swf");
+			}
+
+			protected function application1_creationCompleteHandler(event:FlexEvent):void
+			{
+				appList.dataProvider = listArr;
+				localStyleManager  = StyleManager.getStyleManager(this.moduleFactory);
+			}
+
+		]]>
+	</fx:Script>
+	<s:layout>
+		<s:VerticalLayout />
+	</s:layout>
+	<s:VGroup>
+		<s:CheckBox id="checkBox" label="Check Box Module" />
+		<s:Label text="Label Outside Panel"  />
+		<s:HGroup rotation="-10">
+			<s:NumericStepper id="numericStepper" stepSize="1" minimum="1" maximum="10" />
+			<s:RichText text="This Text is Rich Module !!" />
+		</s:HGroup>
+		<s:RichText text="This Text is also Rich !!" />
+		<s:Panel title="" id="appPanel" rotation="-5">
+			<s:layout>
+				<s:VerticalLayout />
+			</s:layout>
+			
+			<s:Button id="gumboButton" label="Gumbo Module Button"  />
+			<s:Button id="gumboButton2" label="Second Gumbo Module Button" styleName="myStyle"  />
+			<s:Label text="Spark Module Label"  />
+			<s:Label text="Spark Label Module class selector" styleName="classOfStyle"  />
+			<s:ComboBox id="appList" height="24" width="147" />
+		</s:Panel>
+	</s:VGroup>	
+	<mx:Button label="Load styles" id="loadStylesButton" click="loadStylesButton_clickHandler(event)" />
+	<mx:Button label="Unload styles" id="unloadStylesButton" click="unloadStylesButton_clickHandler(event)" />
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/MP_SubApp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/MP_SubApp.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/MP_SubApp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/MP_SubApp.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,147 @@
+<?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" creationComplete="application1_creationCompleteHandler(event)"
+			   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="1024" minHeight="768">
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+			fontWeight: bold;
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+			fontStyle: italic;
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-BoldItalic.ttf");
+			fontWeight: bold;
+			fontStyle: italic;
+			fontFamily: SparkVera;
+
+			embedAsCFF: true;
+		}
+
+
+		global {
+			fontAntiAliasType: "normal";
+			fontFamily: SparkVera;
+			fontLookup: "embeddedCFF";
+		}
+		
+		
+		s|ComboBox
+		{
+			fontStyle: italic;
+		}
+		
+		s|Button#gumboButton
+		{
+			fontStyle: italic;
+		}
+		
+		s|Panel s|Label
+		{
+			fontStyle: italic;
+		}
+		
+		s|Button.myStyle
+		{
+			fontStyle: italic;
+		}
+		
+		s|HGroup s|RichText
+		{
+			fontStyle: italic;
+		}
+		
+		.classOfStyle
+		{
+			fontStyle: italic;
+		}
+		
+	</fx:Style>
+	<fx:Script>
+		<![CDATA[
+			import mx.collections.ArrayList;
+			import mx.controls.Alert;
+			import mx.events.FlexEvent;
+			import mx.events.StyleEvent;
+			import flash.system.ApplicationDomain;
+			
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			
+			
+			protected function application1_creationCompleteHandler(event:FlexEvent):void
+			{
+				appList.dataProvider = listArr;
+				
+			}
+			
+		]]>
+	</fx:Script>
+	<s:layout>
+		<s:VerticalLayout />
+	</s:layout>
+	<s:VGroup>
+		<s:CheckBox id="checkBox" label="Check Box Module" />
+		<s:Label text="Label Outside Panel"  />
+		<s:HGroup rotation="-10">
+			<s:NumericStepper id="numericStepper" stepSize="1" minimum="1" maximum="10" />
+			<s:RichText text="This Text is Rich Module !!" />
+		</s:HGroup>
+		<s:RichText text="This Text is also Rich !!" />
+		<s:Panel title="Gumbo Module Panel" id="appPanel" rotation="-5">
+			<s:layout>
+				<s:VerticalLayout />
+			</s:layout>
+			
+			<s:Button id="gumboButton" label="Gumbo Module Button"  />
+			<s:Button id="gumboButton2" label="Second Gumbo Module Button" styleName="myStyle"  />
+			<s:Label text="Spark Module Label"  />
+			<s:Label text="Spark Label Module class selector" styleName="classOfStyle"  />
+			<s:ComboBox id="appList" height="24" width="147" />
+		</s:Panel>
+	</s:VGroup>	
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/MP_SubApp_Untrusted.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/MP_SubApp_Untrusted.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/MP_SubApp_Untrusted.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/MP_SubApp_Untrusted.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,146 @@
+<?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" creationComplete="application1_creationCompleteHandler(event)"
+			   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="1024" minHeight="768">
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+			fontWeight: bold;
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+			fontStyle: italic;
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-BoldItalic.ttf");
+			fontWeight: bold;
+			fontStyle: italic;
+			fontFamily: SparkVera;
+
+			embedAsCFF: true;
+		}
+
+
+		global {
+			fontAntiAliasType: "normal";
+			fontFamily: SparkVera;
+			fontLookup: "embeddedCFF";
+		}
+		
+		s|ComboBox
+		{
+			fontStyle: italic;
+		}
+		
+		s|Button#gumboButton
+		{
+			fontStyle: italic;
+		}
+		
+		s|Panel s|Label
+		{
+			fontStyle: italic;
+		}
+		
+		s|Button.myStyle
+		{
+			fontStyle: italic;
+		}
+		
+		s|HGroup s|RichText
+		{
+			fontStyle: italic;
+		}
+		
+		.classOfStyle
+		{
+			fontStyle: italic;
+		}
+		
+	</fx:Style>
+	<fx:Script>
+		<![CDATA[
+			import mx.collections.ArrayList;
+			import mx.controls.Alert;
+			import mx.events.FlexEvent;
+			import mx.events.StyleEvent;
+			import flash.system.ApplicationDomain;
+			
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			
+			
+			protected function application1_creationCompleteHandler(event:FlexEvent):void
+			{
+				appList.dataProvider = listArr;
+				
+			}
+			
+		]]>
+	</fx:Script>
+	<s:layout>
+		<s:VerticalLayout />
+	</s:layout>
+	<s:VGroup>
+		<s:CheckBox id="checkBox" label="Check Box Module" />
+		<s:Label text="Label Outside Panel"  />
+		<s:HGroup rotation="-10">
+			<s:NumericStepper id="numericStepper" stepSize="1" minimum="1" maximum="10" />
+			<s:RichText text="This Text is Rich Module !!" />
+		</s:HGroup>
+		<s:RichText text="This Text is also Rich !!" />
+		<s:Panel title="Gumbo Module Panel" id="appPanel" rotation="-5">
+			<s:layout>
+				<s:VerticalLayout />
+			</s:layout>
+			
+			<s:Button id="gumboButton" label="Gumbo Module Button"  />
+			<s:Button id="gumboButton2" label="Second Gumbo Module Button" styleName="myStyle"  />
+			<s:Label text="Spark Module Label"  />
+			<s:Label text="Spark Label Module class selector" styleName="classOfStyle"  />
+			<s:ComboBox id="appList"  />
+		</s:Panel>
+	</s:VGroup>	
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModifyCSSDeclarationModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModifyCSSDeclarationModule.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModifyCSSDeclarationModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModifyCSSDeclarationModule.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,91 @@
+<?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" creationComplete="module1_creationCompleteHandler(event)">
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		s|List
+		{
+			fontStyle: italic;
+			color: #FF0000;
+		}
+		
+	</fx:Style>
+	<fx:Script>
+		<![CDATA[
+			import mx.collections.ArrayList;
+			import mx.events.FlexEvent;
+			
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			private var myStyleManager: IStyleManager2;
+			
+			
+			protected function module1_creationCompleteHandler(event:FlexEvent):void
+			{
+				moduleList.dataProvider = listArr;
+				myStyleManager = StyleManager.getStyleManager(this.moduleFactory);	
+			}
+
+			public function modifyStyleValue(  ):void
+			{
+				var cssDecl:CSSStyleDeclaration = myStyleManager.getStyleDeclaration(selector.text);
+				style.text =  cssDecl.getStyle(styleName.text);
+				cssDecl.setStyle(styleName.text, newStyle.text);
+			}
+
+
+			public function modifyMergedStyleValue( ):void
+			{
+				var cssDecl:CSSStyleDeclaration = myStyleManager.getMergedStyleDeclaration(selector.text);
+				style.text =  cssDecl.getStyle(styleName.text);
+				cssDecl.setStyle(styleName.text, newStyle.text);
+			}
+		]]>
+	</fx:Script>
+	<s:Label text="selector" />
+	<s:TextInput id="selector" height="20" />
+	<s:Label text="style name" />
+	<s:TextInput id="styleName" height="20" />
+	<s:Label text="New style Value" />	
+	<s:TextInput id="newStyle" height="20" />
+	
+	<s:Label text="current style Value" />	
+	<s:TextInput id="style" editable="false" height="20" />
+	
+	
+	
+	<s:List id="moduleList"  />
+	<s:Button id="localButton" label="Modify Local Style" click="modifyStyleValue( )" />
+	<s:Button id="mergedButton"  label="Modify Merged Style" click="modifyMergedStyleValue( )" />
+</mx:Module>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleApp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleApp.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleApp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleApp.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,94 @@
+<?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" creationComplete="iniit()">
+	
+	<fx:Style>
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+			fontFamily: HaloVera;
+			embedAsCFF: false;
+		}
+
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+			fontWeight: bold;
+			fontFamily: HaloVera;
+			embedAsCFF: false;
+		}
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+			fontStyle: italic;
+			fontFamily: HaloVera;
+			embedAsCFF: false;
+		
+		}
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-BoldItalic.ttf");
+			fontWeight: bold;
+			fontStyle: italic;
+			fontFamily: HaloVera;
+
+			embedAsCFF: false;
+		}
+
+		mx|ComboBox
+		{
+			fontAntiAliasType: "normal";
+			fontFamily: HaloVera;
+		}
+		
+		.myComboBox
+		{
+			fontAntiAliasType: "normal";
+			fontFamily: HaloVera;
+		}
+	</fx:Style>
+
+	<fx:Script>
+	<![CDATA[
+	    import mx.collections.*;
+
+	    public function iniit():void
+	    {
+		var arr:Array =
+		 [
+		   { label:'Apple', data:10.00},
+		   { label:'Banana', data:15.00 },
+		   { label:'Melon', data:3.50 },
+		   { label:'Kiwi', data:7.65},
+		   { label:'Strawberry',data:12.35 },
+		   { label:'Other', data:00.00}
+		 ];
+
+		 cb.dataProvider = arr;
+		 cbOne.dataProvider = arr;
+	    }
+	]]>
+	</fx:Script>
+	<mx:ComboBox id="cb" />
+	<mx:ComboBox id="cbOne" styleName="myComboBox" />
+</mx:Module>
\ No newline at end of file

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleApp.mxml
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppEight.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppEight.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppEight.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppEight.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,110 @@
+<?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" creationComplete="module1_creationCompleteHandler(event)" >
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+			fontWeight: bold;
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+			fontStyle: italic;
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-BoldItalic.ttf");
+			fontWeight: bold;
+			fontStyle: italic;
+			fontFamily: SparkVera;
+
+			embedAsCFF: true;
+		}
+
+
+		global {
+			fontAntiAliasType: "normal";
+			fontFamily: SparkVera;
+			fontLookup: "embeddedCFF";
+		}
+
+		s|List
+		{
+			color: #FFAAAA;
+			fontSize: 12;
+		}
+		
+		s|Button#gumboButton
+		{
+			cornerRadius: 10;
+		}
+		
+	</fx:Style>
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			import mx.collections.ArrayList;
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			
+			protected function module1_creationCompleteHandler(event:FlexEvent):void
+			{
+				moduleList.dataProvider = listArr;
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:Panel title="Gumbo Panel" id="appPanel">
+		<s:layout>
+			<s:VerticalLayout />
+		</s:layout>
+		
+		<s:List id="moduleList"  />
+		<s:Button id="gumboButton" label="Gumbo Button"  />
+		<mx:Label text="MX Label"  />
+	</s:Panel>
+	<mx:ModuleLoader id="subMod_loader" url="assets/ModuleAppNine.swf"/>
+</mx:Module>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppFive.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppFive.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppFive.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppFive.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,48 @@
+<?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="vertical" creationComplete="module1_completeHandler(event)">
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+
+		s|Button
+		{
+			skinClass: ClassReference("RightButtonSkin");
+		}
+	</fx:Style> 
+	<fx:Script>
+        <![CDATA[
+            import mx.events.FlexEvent;
+
+            protected function module1_completeHandler(event:FlexEvent):void
+            {
+               // subMod_loader.applicationDomain = new ApplicationDomain(moduleFactory.info()['currentDomain']);
+                subMod_loader.url = "assets/ModuleAppSix.swf";
+            }
+
+        ]]>
+    </fx:Script>
+
+	<s:Button label="Hello World !!" />
+	<mx:ModuleLoader id="subMod_loader"  />
+</mx:Module>

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppFour.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppFour.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppFour.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppFour.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,70 @@
+<?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">
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+			fontWeight: bold;
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+			fontStyle: italic;
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+
+		}
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-BoldItalic.ttf");
+			fontWeight: bold;
+			fontStyle: italic;
+			fontFamily: SparkVera;
+
+			embedAsCFF: true;
+		}
+
+
+		global {
+			fontAntiAliasType: "normal";
+			fontFamily: SparkVera;
+			fontLookup: "embeddedCFF";
+		}
+
+		s|Button
+		{
+			skinClass: ClassReference("RightButtonSkin");
+		}
+	</fx:Style>
+	<s:Button id="buttonId" label="Hello World !!" />
+</mx:Module>

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppLoadsSwfLoader.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppLoadsSwfLoader.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppLoadsSwfLoader.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppLoadsSwfLoader.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,110 @@
+<?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" creationComplete="module1_creationCompleteHandler(event)" >
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+			fontWeight: bold;
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+			fontStyle: italic;
+			fontFamily: SparkVera;
+			embedAsCFF: true;
+		}
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-BoldItalic.ttf");
+			fontWeight: bold;
+			fontStyle: italic;
+			fontFamily: SparkVera;
+
+			embedAsCFF: true;
+		}
+
+
+		global {
+			fontAntiAliasType: "normal";
+			fontFamily: SparkVera;
+			fontLookup: "embeddedCFF";
+		}
+
+		s|List
+		{
+			color: #FFAAAA;
+			fontSize: 12;
+		}
+		
+		s|Button#gumboButton
+		{
+			cornerRadius: 10;
+		}
+		
+	</fx:Style>
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			import mx.collections.ArrayList;
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			
+			protected function module1_creationCompleteHandler(event:FlexEvent):void
+			{
+				moduleList.dataProvider = listArr;
+				subMod_loader.load("assets/SwfLoaderAppThree.swf");
+			}
+		]]>
+	</fx:Script>
+	
+	<s:Panel title="Gumbo Panel Module" id="appPanel">
+		<s:layout>
+			<s:VerticalLayout />
+		</s:layout>
+		
+		<s:List id="moduleList"  />
+		<s:Button id="gumboButton" label="Gumbo Button"  />
+		<mx:Label text="MX Label"  />
+	</s:Panel>
+	<mx:SWFLoader id="subMod_loader" />
+</mx:Module>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppNine.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppNine.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppNine.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppNine.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,74 @@
+<?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" creationComplete="module1_creationCompleteHandler(event)" >
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		s|List
+		{
+			fontStyle: "italic";
+		}
+		
+		mx|Label
+		{
+			color: #0000FF;
+		}
+		
+		
+	</fx:Style>
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			import mx.collections.ArrayList;
+			private var arr:Array =
+				[
+					{ label:'Apple', data:10.00},
+					{ label:'Banana', data:15.00 },
+					{ label:'Melon', data:3.50 },
+					{ label:'Kiwi', data:7.65},
+					{ label:'Strawberry',data:12.35 },
+					{ label:'Other', data:00.00}
+				];
+			
+			private var listArr :ArrayList = new ArrayList(arr);
+			
+			protected function module1_creationCompleteHandler(event:FlexEvent):void
+			{
+				moduleList.dataProvider = listArr;
+				dispatchEvent(new FlexEvent("moduleAppNineLoaded"));
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:Panel title="Gumbo Panel" id="appPanel">
+		<s:layout>
+			<s:VerticalLayout />
+		</s:layout>
+		
+		<s:List id="moduleList"  />
+		<s:Button id="gumboButton" label="Gumbo Button"  />
+		<mx:Label text="MX Label"  />
+	</s:Panel>
+</mx:Module>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppOne.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppOne.mxml?rev=1369978&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppOne.mxml (added)
+++ incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppOne.mxml Mon Aug  6 20:22:48 2012
@@ -0,0 +1,89 @@
+<?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" creationComplete="iniit()">
+
+	<fx:Style>
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+			fontFamily: HaloVera;
+			embedAsCFF: false;
+		}
+
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+			fontWeight: bold;
+			fontFamily: HaloVera;
+			embedAsCFF: false;
+		}
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+			fontStyle: italic;
+			fontFamily: HaloVera;
+			embedAsCFF: false;
+		
+		}
+
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-BoldItalic.ttf");
+			fontWeight: bold;
+			fontStyle: italic;
+			fontFamily: HaloVera;
+
+			embedAsCFF: false;
+		}
+
+		mx|ComboBox  {
+			fontAntiAliasType: "normal";
+			fontFamily: HaloVera;
+			color: blue;
+			openDuration: 1000;
+		}
+		
+		
+	</fx:Style>
+	<fx:Script>
+	<![CDATA[
+	    import mx.collections.*;
+
+	    public function iniit():void
+	    {
+		var arr:Array =
+		 [
+		   { label:'Apple', data:10.00},
+		   { label:'Banana', data:15.00 },
+		   { label:'Melon', data:3.50 },
+		   { label:'Kiwi', data:7.65},
+		   { label:'Strawberry',data:12.35 },
+		   { label:'Other', data:00.00}
+		 ];
+
+		 cb.dataProvider = arr;
+	    }
+	]]>
+	</fx:Script>
+	<mx:ComboBox id="cb" />
+</mx:Module>
\ No newline at end of file

Propchange: incubator/flex/trunk/mustella/tests/PerModuleStyles/SWFs/assets/ModuleAppOne.mxml
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message