incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1369970 [13/16] - in /incubator/flex/trunk/mustella/tests/Managers: ./ CursorManager/ CursorManager/Methods/ CursorManager/Props/ CursorManager/SWFs/ CursorManager/SWFs/Assets/ DragManager/ DragManager/Events/ DragManager/Halo/ DragManager...
Date Mon, 06 Aug 2012 20:17:23 GMT
Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/MP_SimpleLoader.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/MP_SimpleLoader.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/MP_SimpleLoader.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/MP_SimpleLoader.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,58 @@
+<?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:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" xmlns:comps="comps.*"
+    backgroundColor="0xFFFFFF" backgroundImage="" width="750" height="650">
+<mx:Script>
+<![CDATA[
+     import mx.styles.StyleManager;
+]]>
+</mx:Script>
+<mx:Style>
+			@font-face{
+				src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+				fontFamily: myVerdana;
+				embedAsCFF: false;
+			}
+	
+			@font-face{
+				src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+				fontWeight: bold;
+				fontFamily: myVerdana;
+				embedAsCFF: false;
+			}
+	
+			@font-face{
+				src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+				fontStyle: italic;
+				fontFamily: myVerdana;
+				embedAsCFF: false;
+			}
+			
+			global{
+				fontAntiAliasType: "normal";
+				fontFamily: myVerdana;
+			}
+	
+	</mx:Style>
+<mx:TextInput id="control1" toolTip="TextInput ToolTip" />
+<mx:Button id="control2" />
+<mx:SWFLoader id="swf1" />
+
+</mx:Application>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/RuntimeCSS_CompatibilityVersion3.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/RuntimeCSS_CompatibilityVersion3.compile?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/RuntimeCSS_CompatibilityVersion3.compile (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/RuntimeCSS_CompatibilityVersion3.compile Mon Aug  6 20:17:09 2012
@@ -0,0 +1 @@
+-compatibility-version=3.0
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/RuntimeCSS_CompatibilityVersion3.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/RuntimeCSS_CompatibilityVersion3.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/RuntimeCSS_CompatibilityVersion3.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/RuntimeCSS_CompatibilityVersion3.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,83 @@
+<?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:Application xmlns:mx="http://www.adobe.com/2006/mxml" >
+<mx:Style>
+            @font-face{
+                src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+                fontFamily: myVerdana;
+                embedAsCFF: false;
+            }
+    
+            @font-face{
+                src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+                fontWeight: bold;
+                fontFamily: myVerdana;
+                embedAsCFF: false;
+            }
+    
+            @font-face{
+                src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+                fontStyle: italic;
+                fontFamily: myVerdana;
+                embedAsCFF: false;
+            }
+            
+            global{
+                fontAntiAliasType: "normal";
+                fontFamily: myVerdana;
+            }
+    
+    </mx:Style>
+<mx:Script>
+<![CDATA[
+    import mx.styles.StyleManager;
+    import mx.events.StyleEvent;
+
+   [Bindable]
+    private var myArray:Array = [{toy:"Snowman", data: 0}, {toy:"Christmas Ornament", data: 1}, {toy:"Christmas Tree", data: 0},
+      {toy:"Carols", data: 4}];
+      
+    public var myevent:IEventDispatcher;
+    public function init(): void
+    {
+       myevent = StyleManager.loadStyleDeclarations("assets/windowsXP2.swf");
+    }
+
+    public function doUnload(): void
+    {
+        StyleManager.unloadStyleDeclarations("assets/windowsXP2.swf");
+    }
+
+]]>
+</mx:Script>
+<mx:Button label="unload Windows styles" click="doUnload()" />
+<mx:Label text="Click on the button above. Ensure that all of the default styles return" />
+       <mx:List id="list1" width="400" >
+                <mx:dataProvider>
+                    <mx:String>Snowmen</mx:String>
+                    <mx:String>Candy Canes</mx:String>
+                    <mx:String>Ribbon</mx:String>
+                    <mx:String>Gingerbread</mx:String>
+                </mx:dataProvider>
+            </mx:List>
+
+<mx:Label id="label1" text="Here is a label that should be Blue." />
+
+</mx:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/StyleManager_Bugs_Main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/StyleManager_Bugs_Main.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/StyleManager_Bugs_Main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/StyleManager_Bugs_Main.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,60 @@
+<?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">
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+	</fx:Declarations>
+	<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: myVera;
+		}
+	
+		@font-face {
+                    src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+                    fontWeight: bold;
+                    fontFamily: myVera;
+		}
+	
+		@font-face {
+                    src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+                    fontStyle: italic;
+                    fontFamily: myVera;
+		}
+			
+		global {
+                    fontAntiAliasType: "normal";
+                    fontFamily: myVera;
+		}
+	
+	        s|DataGrid
+		{
+                    skinClass: ClassReference("skins.GreenDataGridSkin");    
+		}
+		
+	</fx:Style>
+	<mx:ModuleLoader id="moduleLoader1" />
+
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/MP_customStyles_embeddedImages.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/MP_customStyles_embeddedImages.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/MP_customStyles_embeddedImages.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/MP_customStyles_embeddedImages.mxml Mon Aug  6 20:17:09 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.
+
+-->
+
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
+    applicationComplete="initApp()" backgroundImage="" backgroundColor="#FFFFFF"
+    width="650">
+
+    <mx:Script>
+    <![CDATA[
+
+        import mx.styles.StyleManager;
+        import mx.events.StyleEvent;
+        import mx.utils.URLUtil;
+
+        private var myevent:IEventDispatcher;
+
+        public var portNumber :Number=80;
+        
+        private function initApp():void
+        {
+            if(parameters != null)
+            {
+                for (var i:String in parameters) {
+                    if(i == "port") {
+                        portNumber = Number(parameters[i]); 
+                    }
+                }
+            }
+                
+            if(URLUtil.getServerName(Application.application.loaderInfo.url)=="localhost")
+            {
+                myevent = StyleManager.loadStyleDeclarations("http://localhost:"+ portNumber +"/Managers/StyleManager/SWFs/assets/embeddedStyles.swf");
+            }
+            else
+            {
+                myevent = StyleManager.loadStyleDeclarations("assets/embeddedStyles.swf");
+            }
+            myevent.addEventListener(StyleEvent.COMPLETE, getImages);
+            myevent.addEventListener(StyleEvent.ERROR, loadCSS2);
+        }
+
+        private function loadCSS2(event:StyleEvent): void
+        {
+            var newevent:IEventDispatcher;
+            newevent = StyleManager.loadStyleDeclarations("embeddedStyles.swf");
+            newevent.addEventListener(StyleEvent.COMPLETE, getImages);
+        }
+
+        private function getImages(event:StyleEvent): void
+        {
+            map1.source = acb.getStyle("dottedMap");
+            map2.source = acb2.getStyle('dottedMap');
+        }
+
+
+    ]]>
+    </mx:Script>
+<mx:Style source="../../../../../Assets/Fonts/myStyles.css" />
+
+<mx:Label text="Using a class selector:" />
+<mx:ApplicationControlBar id="acb" width="250" styleName="homeMap">
+    <mx:Image id="map1" />
+    <mx:Button label="Submit" />
+</mx:ApplicationControlBar>
+
+<mx:Label text="Using a type selector:" />
+<mx:ApplicationControlBar id="acb2" width="250" >
+    <mx:Image id="map2" />
+    <mx:Button label="Submit" />
+</mx:ApplicationControlBar>
+
+<mx:HBox>
+    <mx:VBox>
+        <mx:Label text="Using a class selector:" />
+        <mx:Panel id="acb3" width="250" height="150" styleName="customPanel">
+            <mx:Button label="Submit" />
+        </mx:Panel>
+    </mx:VBox>
+    <mx:VBox>
+        <mx:Label text="Using a type selector:" />
+        <mx:Panel id="acb4" width="250" height="150" >
+            <mx:Button label="Submit" />
+        </mx:Panel>
+    </mx:VBox>
+</mx:HBox>
+
+</mx:Application>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/MyModule.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/MyModule.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/MyModule.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/MyModule.mxml Mon Aug  6 20:17:09 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:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+	</fx:Declarations>
+	<s:DataGrid id="resultsGrid" width="300" height="180" x="10" y="100" doubleClickEnabled="true">
+		<s:columns>
+			<s:ArrayList>
+				<s:GridColumn headerText="User Name" dataField="User_name"/>
+				<s:GridColumn headerText="Email" dataField="User_email"/>
+				
+				<s:GridColumn headerText="Node" dataField="Node_name"/>
+				
+				<s:GridColumn headerText="Role" dataField="Role_name"/>
+			</s:ArrayList>
+		</s:columns>
+	</s:DataGrid>
+</mx:Module>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/embeddedStyles.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/embeddedStyles.css?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/embeddedStyles.css (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/embeddedStyles.css Mon Aug  6 20:17:09 2012
@@ -0,0 +1,50 @@
+/*
+ *
+ * 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.
+ *
+ */
+@namespace s "library://ns.adobe.com/flex/spark";
+@namespace mx "library://ns.adobe.com/flex/mx";
+
+.homeMap
+{
+    borderStyle:     "solid";
+    cornerRadius:    10;
+    backgroundColor: #FF9933;
+    alpha:           1;
+    dottedMap:       Embed(source="../../../../../Assets/Images/redrect.jpg");
+}
+
+mx|ApplicationControlBar
+{
+    borderStyle:     "solid";
+    cornerRadius:    10;
+    backgroundColor: #FF9933;
+    alpha:           1;
+    dottedMap:       Embed(source="../../../../../Assets/Images/redrect.jpg");
+}
+
+.customPanel
+{
+    backgroundImage: Embed(source="../../../../../Assets/Images/greenrect.jpg");
+}
+
+mx|Panel
+{
+    backgroundImage: Embed(source="../../../../../Assets/Images/greenrect.jpg");
+}
+
+

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/windowsXP2.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/windowsXP2.css?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/windowsXP2.css (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/assets/windowsXP2.css Mon Aug  6 20:17:09 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.
+ *
+ */
+@namespace "http://www.adobe.com/2006/mxml";
+
+List {
+        color: #770000;
+    }
+    
+Label { 
+        color: #000077;
+        fontSize: 18;
+    }

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/pre_compile.sh
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/pre_compile.sh?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/pre_compile.sh (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/pre_compile.sh Mon Aug  6 20:17:09 2012
@@ -0,0 +1,26 @@
+#!/bin/sh
+################################################################################
+##
+##  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.
+##
+################################################################################
+cd assets
+
+echo "Removing previously compiled files..."
+rm -f `find . -name "*.swf"`
+
+
+

Propchange: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/pre_compile.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/skins/GreenDataGridSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/skins/GreenDataGridSkin.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/skins/GreenDataGridSkin.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SWFs/skins/GreenDataGridSkin.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,339 @@
+<?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.
+
+-->
+
+
+<!--- 
+The default skin class for a Spark DataGrid component.  
+
+<p>This skin defines all of the optional DataGrid skin parts except for rowBackground
+(by default, no per-row background visual element is displayed).
+It defines the default value for the grid's itemRenderer property as 
+spark.skins.spark.DefaultGridItemRenderer, and the default value of the 
+columnHeaderGroup's headerRenderer property as 
+<code>spark.skins.spark.DefaultGridHeaderRenderer</code>.</p>
+
+<p>The values of the following DataGrid skin parts are defined by declarations
+and can be overridden by subclasses of this class: <code>alternatingRowColors</code>,
+<code>caretIndicator</code>, <code>columnSeparator</code>, <code>editorIndicator</code>, 
+<code>headerColumnSeparator</code>, <code>hoverIndicator</code>, 
+<code>rowSeparator</code>, <code>selectionIndicator</code>.  All of these 
+declarations define DataGrid skin parts except <code>headerColumnSeparator</code> and
+<code>headerRenderer</code> which are used for the values of the columnHeaderGroup's 
+<code>columnSeparator</code> and <code>headerRenderer</code> properties.</p>
+
+@see spark.components.DataGrid
+-->
+
+<s:SparkSkin 
+    xmlns:fx="http://ns.adobe.com/mxml/2009" 
+    xmlns:s="library://ns.adobe.com/flex/spark" 
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
+    alpha.disabled="0.5" minWidth="89" minHeight="84">
+    
+    <fx:Metadata>
+    <![CDATA[
+        [HostComponent("spark.components.DataGrid")]
+    ]]>
+    </fx:Metadata>
+    
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="disabled" />
+    </s:states>
+    
+    <fx:Declarations>
+        <!--- @private -->        
+        <fx:Component id="alternatingRowColorsBackground">
+            <s:Rect implements="spark.components.gridClasses.IGridVisualElement">
+                <fx:Script>
+                    <![CDATA[
+                        import spark.components.DataGrid;
+                        import spark.components.Grid;
+                        
+                        /**
+                         * @private
+                         */
+                        public function prepareGridVisualElement(grid:Grid, rowIndex:int, columnIndex:int):void
+                        {
+                            const dataGrid:DataGrid = grid.dataGrid;
+                            if (!dataGrid)
+                                return;
+                            
+                            const colors:Array = dataGrid.getStyle("alternatingRowColors");
+                            if (colors && (colors.length > 0))
+                            {
+                                dataGrid.styleManager.getColorNames(colors); // lazily replace color names with ints
+                                rowBackgroundFillColor.color = colors[rowIndex % colors.length];
+                            }
+                            else
+                            {          
+                                // This should be the same as bgFill.color.
+                                rowBackgroundFillColor.color = 0xFFFFFF;
+                            }
+                        }
+                    ]]>
+                </fx:Script>  
+                <s:fill>
+                    <!--- @private -->   
+                    <s:SolidColor id="rowBackgroundFillColor" color="0x99CCCC" alpha="0.5"/>
+                </s:fill>
+            </s:Rect>
+        </fx:Component>
+        
+        <!--- @private -->        
+        <fx:Component id="caretIndicator">
+            <s:Rect implements="spark.components.gridClasses.IGridVisualElement">
+                <fx:Script>
+                    <![CDATA[
+                        import spark.components.DataGrid;
+                        import spark.components.Grid;
+                        
+                        /**
+                         * @private
+                         */
+                        public function prepareGridVisualElement(grid:Grid, rowIndex:int, columnIndex:int):void
+                        {
+                            const dataGrid:DataGrid = grid.dataGrid;
+                            if (!dataGrid)
+                                return;
+                            
+                            const color:uint = dataGrid.getStyle("caretColor");
+                            caretIndicatorFill.color = color;
+                        }
+                    ]]>
+                </fx:Script>
+                
+                <s:stroke>
+                    <!--- @private -->
+                    <s:SolidColorStroke id="caretIndicatorFill" color="0x0167FF" weight="1"/>
+                </s:stroke>
+            </s:Rect>
+        </fx:Component>
+        
+        <!--- @private -->
+        <fx:Component id="columnSeparator">
+            <s:Line>
+                <s:stroke>
+                    <s:SolidColorStroke color="0x339999" weight="2" caps="square"/>
+                </s:stroke>
+            </s:Line>
+        </fx:Component>
+        
+        <!--- Defines the value of the columnSeparator property for the columnHeaderGroup. -->
+        <fx:Component id="headerColumnSeparator">
+            <s:Line>
+                <s:stroke>
+                    <s:SolidColorStroke color="0x339999" weight="2" caps="square"/>
+                </s:stroke>
+            </s:Line>
+        </fx:Component>
+        
+        <!--- Defines the value of the headerRenderer property for the columnHeaderGroup. 
+              The default is spark.skins.spark.DefaultGridHeaderRenderer -->
+        <fx:Component id="headerRenderer">
+            <s:DefaultGridHeaderRenderer />
+        </fx:Component>
+        
+        <!--- @private -->
+        <fx:Component id="hoverIndicator">
+            <s:Rect implements="spark.components.gridClasses.IGridVisualElement">
+                <fx:Script>
+                    <![CDATA[
+                        import spark.components.DataGrid;
+                        import spark.components.Grid;
+                        
+                        /**
+                         * @private
+                         */
+                        public function prepareGridVisualElement(grid:Grid, rowIndex:int, columnIndex:int):void
+                        {
+                            const dataGrid:DataGrid = grid.dataGrid;
+                            if (!dataGrid)
+                                return;
+                            
+                            const color:uint = dataGrid.getStyle("rollOverColor");
+                            hoverIndicatorFill.color = color;
+                        }
+                    ]]>
+                </fx:Script>
+                
+                <s:fill>
+                    <!--- @private -->
+                    <s:SolidColor id="hoverIndicatorFill" color="0xCEDBEF"/>
+                </s:fill>
+            </s:Rect>
+        </fx:Component>
+        
+        <!--- @private -->
+        <fx:Component id="rowSeparator">
+            <s:Line>
+                <s:stroke>
+                    <s:SolidColorStroke color="0x669999" weight="1" caps="square"/>
+                </s:stroke>
+            </s:Line>
+        </fx:Component>
+        
+        <!--- @private -->
+        <fx:Component id="selectionIndicator">
+            <s:Rect implements="spark.components.gridClasses.IGridVisualElement">
+                <fx:Script>
+                    <![CDATA[
+                        import spark.components.DataGrid;
+                        import spark.components.Grid;
+                        
+                        /**
+                         * @private
+                         */
+                        public function prepareGridVisualElement(grid:Grid, rowIndex:int, columnIndex:int):void
+                        {
+                            const dataGrid:DataGrid = grid.dataGrid;
+                            if (!dataGrid)
+                                return;
+                            
+                            const color:uint = dataGrid.getStyle("selectionColor");
+                            selectionIndicatorFill.color = color;
+                        }
+                    ]]>
+                </fx:Script>
+                
+                <s:fill>
+                    <!--- @private -->
+                    <s:SolidColor id="selectionIndicatorFill" color="0xA8C6EE"/>
+                </s:fill>                
+            </s:Rect>
+        </fx:Component>
+        
+        <!--- @private -->
+        <fx:Component id="editorIndicator">
+            <s:Rect>
+                <s:fill>
+                    <s:SolidColor color="0xFFFFFF"/>
+                </s:fill>                
+            </s:Rect>
+        </fx:Component>                    
+        
+    </fx:Declarations>
+    
+    <fx:Script fb:purpose="styling">
+    <![CDATA[
+        static private const exclusions:Array = ["scroller", "background"];
+        static private const contentFill:Array = ["bgFill"];
+        
+        /**
+         * @private
+         */
+        override public function get colorizeExclusions():Array {return exclusions;}
+        
+        /**
+         * @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
+        {
+            if (getStyle("borderVisible") == true)
+            {
+                border.visible = true;
+                background.left = background.top = background.right = background.bottom = 1;
+                scroller.minViewportInset = 1;
+            }
+            else
+            {
+                border.visible = false;
+                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>
+    
+    <!-- column header, content -->
+    <s:VGroup horizontalAlign="justify" gap="0" left="0" right="0" top="0" bottom="0">
+        
+        <!--- @private -->
+        <s:GridColumnHeaderGroup id="columnHeaderGroup"
+            paddingLeft="1" paddingTop="1" paddingRight="1" minHeight="21" 
+            columnSeparator="{headerColumnSeparator}"
+            headerRenderer="{headerRenderer}"/>
+
+        <s:Group height="100%">
+            
+            <!--- @private -->
+            <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="0x99CCCC" alpha="0.5"/>
+                </s:fill>
+            </s:Rect>
+            
+            <!-- header separator, scroller and grid -->
+            <s:VGroup horizontalAlign="justify" height="100%" width="100%" gap="-1">
+                <!--- @private -->
+                <s:Line id="headerSeparator">
+                    <s:stroke>
+                        <s:SolidColorStroke color="0x696969" weight="1" caps="square"/>
+                    </s:stroke>
+                </s:Line>          
+                
+                <!--- @private -->
+                <s:Scroller id="scroller" minViewportInset="1" hasFocusableChildren="false" height="100%">
+                    <!--- @private -->
+                    <s:Grid id="grid" itemRenderer="spark.skins.spark.DefaultGridItemRenderer">
+                        <s:GridLayer name="backgroundLayer"/>
+                        <s:GridLayer name="selectionLayer"/>
+                        <s:GridLayer name="editorIndicatorLayer"/>                            
+                        <s:GridLayer name="rendererLayer"/>
+                        <s:GridLayer name="overlayLayer"/>
+                    </s:Grid>                    
+                </s:Scroller>
+            </s:VGroup>
+            
+        </s:Group>
+        
+    </s:VGroup>
+    
+    <!-- border -->
+    <!--- @private -->
+    <s:Rect left="0" right="0" top="0" bottom="0" id="border">
+        <s:stroke>
+            <!--- @private -->
+            <s:SolidColorStroke id="borderStroke" weight="1"/>
+        </s:stroke>
+    </s:Rect>    
+
+</s:SparkSkin>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/SparkStyles_Globals.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/SparkStyles_Globals.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/SparkStyles_Globals.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/SparkStyles_Globals.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,152 @@
+<?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:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" backgroundColor="0xFFFFFF" width="700" height="650">
+	<s:layout>
+		<s:VerticalLayout/>
+	</s:layout>
+    <fx:Script>
+        <![CDATA[
+	        import mx.styles.StyleManager;
+	        import mx.events.StyleEvent;
+	        import mx.collections.ArrayCollection;
+
+			public var eventDispatcher:IEventDispatcher;
+                        public var bytesLoaded:Number;
+                        public var bytesTotal:Number;
+                        
+			public function loadCSS(): void
+			{
+				eventDispatcher = StyleManager.loadStyleDeclarations("assets/globalStyles2.swf");
+				eventDispatcher.addEventListener("complete", complete_handler);
+			}
+			
+			public function complete_handler(event:StyleEvent): void
+			{
+			   bytesLoaded = event.bytesLoaded;
+			   bytesTotal = event.bytesTotal;
+			}
+
+        ]]>
+    </fx:Script>
+
+	<fx:Style>
+	@namespace s "library://ns.adobe.com/flex/spark";
+	@namespace mx "library://ns.adobe.com/flex/mx";
+		@font-face{
+			src: url("../../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Regular.ttf");
+			fontFamily: myArial;
+			embedAsCFF: true;
+		}
+
+
+		@font-face{
+			src: url("../../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Bold.ttf");
+			fontWeight: bold;
+			fontFamily: myArial;
+			embedAsCFF: true;
+		}
+
+		@font-face{
+			src: url("../../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Italic.ttf");
+			fontStyle: italic;
+			fontFamily: myArial;
+			embedAsCFF: true;
+
+		}
+
+		s|ButtonBase {
+			fontAntiAliasType: "normal";
+			fontFamily: myArial;
+			fontLookup: "embeddedCFF";
+		}
+
+		s|NumericStepper {
+			fontAntiAliasType: "normal";
+			fontFamily: myArial;
+			fontLookup: "embeddedCFF";
+		}
+
+		s|List {
+			fontAntiAliasType: "normal";
+			fontFamily: myArial;
+			fontLookup: "embeddedCFF";
+		}
+
+        s|Label {
+            fontAntiAliasType: "normal";
+		    fontFamily: myArial;
+			fontLookup: "embeddedCFF";
+        }
+
+		s|SkinnableComponent {
+			fontAntiAliasType: "normal";
+			fontFamily: myArial;
+			fontLookup: "embeddedCFF";
+		}
+    </fx:Style>
+
+    <fx:Style source="assets/globalStyles.css" />
+	<mx:Button id="defaultButton0" />
+	<!-- commented out for SDK-21982-->
+    <!--s:TextArea id="textarea1" text="Dispatched when a display _bject is about t_ be rem_ved fr_m the display list.play _bject is ab_ut t_ be rem_ved fr_m the display listplay _bject is ab_ut t_ be rem_ved fr_m the display list" height="90"/-->
+	<mx:Button id="defaultButton" />
+	<s:HGroup id="hgroup1">
+	    <mx:Box id="textinput_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <s:TextInput id="textinput1" text="FxTextInput" />
+	    </mx:Box>
+	    <mx:Button id="button_xyz" />
+	    <mx:Box id="button_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+		    <s:Button id="button1" label="FxButton" />
+	    </mx:Box>
+	    <mx:Box id="radiobutton_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <s:RadioButton id="radiobutton1" label="FxRadi_Butt_n" selected="true"/>
+	    </mx:Box>
+	    <mx:Box id="togglebutton_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <s:ToggleButton label="FxToggleButton" id="togglebutton1" width="100" height="45"/>
+	    </mx:Box>
+	    <s:VScrollBar maximum="10" minimum="0" id="vscrollbar1" />
+	    <mx:Box id="numericstepper_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <s:NumericStepper id="numericstepper1" />
+	    </mx:Box>
+	</s:HGroup>
+	<mx:Button id="defaultButton2" />
+	<s:HGroup id="hgroup2">
+	    <mx:Box id="checkbox_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+		    <s:CheckBox label="FxCheckBox" id="checkbox1" selected="true" />
+	    </mx:Box>
+	    <mx:Box id="hslider_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <s:HSlider maximum="20" minimum="0" id="hslider1" width="140" height="20" />
+	    </mx:Box>
+	    <mx:Box id="vslider_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <s:VSlider maximum="20" minimum="0" id="vslider1" />
+	    </mx:Box>
+	    <mx:Box id="list_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <s:List id="list1" selectedIndex="1" dataProvider="{new ArrayCollection(['J_an', 'Jac_b', 'R_b', 'J_ann', 'Lauren', 'Ella'])}" />
+	    </mx:Box>
+	</s:HGroup>
+    <s:HGroup>
+        <mx:Button id="defaultButton3" />
+	    <mx:Box id="buttonbar_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <s:ButtonBar id="buttonbar1" dataProvider="{new ArrayCollection(['Christmas', 'Hannukah', 'Kwanza', 'Snowman'])}" />
+	    </mx:Box>
+    </s:HGroup>
+<s:HScrollBar maximum="10" minimum="0" id="hscrollbar1"/>
+
+</s:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/SparkStyles_Globals_mxml.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/SparkStyles_Globals_mxml.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/SparkStyles_Globals_mxml.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/SparkStyles_Globals_mxml.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,121 @@
+<?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:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" backgroundColor="0xFFFFFF" width="700" height="650">
+    <s:layout>
+        <s:VerticalLayout/>
+    </s:layout>
+    <fx:Script>
+    <![CDATA[
+
+        import mx.collections.ArrayCollection;
+    ]]>
+    </fx:Script>
+
+    <fx:Style>
+    @namespace s "library://ns.adobe.com/flex/spark";
+    @namespace mx "library://ns.adobe.com/flex/mx";
+        @font-face{
+            src: url("../../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Regular.ttf");
+            fontFamily: myArial;
+            embedAsCFF: true;
+        }
+
+
+        @font-face{
+            src: url("../../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Bold.ttf");
+            fontWeight: bold;
+            fontFamily: myArial;
+            embedAsCFF: true;
+        }
+
+        @font-face{
+            src: url("../../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Italic.ttf");
+            fontStyle: italic;
+            fontFamily: myArial;
+            embedAsCFF: true;
+
+        }
+
+        s|ButtonBase {
+            fontAntiAliasType: "normal";
+            fontFamily: myArial;
+            fontLookup: "embeddedCFF";
+        }
+
+        s|NumericStepper {
+            fontAntiAliasType: "normal";
+            fontFamily: myArial;
+            fontLookup: "embeddedCFF";
+        }
+
+        s|List {
+            fontAntiAliasType: "normal";
+            fontFamily: myArial;
+            fontLookup: "embeddedCFF";
+        }
+
+        s|TextInput {
+            fontAntiAliasType: "normal";
+            fontFamily: myArial;
+            fontLookup: "embeddedCFF";
+        }
+
+        s|TextArea, s|Panel {
+            fontAntiAliasType: "normal";
+            fontFamily: myArial;
+            fontLookup: "embeddedCFF";
+        }
+
+    </fx:Style>
+
+    <fx:Style source="assets/globalStyles.css" />
+    <!-- commented out for SDK-21982
+    <s:TextArea id="textarea1" contentBackgroundColor="0xFFFF99" text="Dispatched when a display _bject is about t_ be rem_ved fr_m the display list.play _bject is ab_ut t_ be rem_ved fr_m the display listplay _bject is ab_ut t_ be rem_ved fr_m the display list" height="90"/>
+    -->
+    <s:HGroup id="hgroup1">
+        <mx:Box id="textinput_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+            <s:TextInput id="textinput1" text="FxTextInput" focusedTextSelectionColor="0x99FF66" height="21"/>
+        </mx:Box>
+        <mx:Box id="button_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+            <s:Button id="button1" label="FxButton" chromeColor="0x0066CC"/>
+        </mx:Box>
+        <mx:Box id="radiobutton_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+            <s:RadioButton id="radiobutton1" label="FxRadi_Butt_n" selected="true" symbolColor="0x6633CC"/>
+        </mx:Box>
+        <mx:Box id="togglebutton_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+            <s:ToggleButton label="ToggleButton" id="togglebutton1" width="110" height="45" focusColor="0x990000"/>
+        </mx:Box>
+    </s:HGroup>
+    <s:HGroup id="hgroup2">
+        <mx:Box id="list_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+            <s:List id="list1" selectedIndex="1" rollOverColor="0xCC6666" dataProvider="{new ArrayCollection(['J_an', 'Jac_b', 'R_b', 'J_ann', 'Lauren', 'Ella'])}" />
+        </mx:Box>
+    </s:HGroup>
+    <s:HGroup>
+        <mx:Box id="buttonbar_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+            <s:ButtonBar id="buttonbar1" dataProvider="{new ArrayCollection(['Christmas', 'Hannukah', 'Kwanza', 'Snowman'])}" color="0xFF0066"/>
+        </mx:Box>
+    </s:HGroup>
+    <s:Panel id="panel1" title="Red Panel" color="0x009900">
+        <s:NumericStepper id="ns1" x="10" y="5"/>
+        <s:Button label="I'm green" id="greenButton" x="10" y="35" />
+    </s:Panel>
+
+</s:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/SparkStyles_HaloComps.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/SparkStyles_HaloComps.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/SparkStyles_HaloComps.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/SparkStyles_HaloComps.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,97 @@
+<?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:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="0xFFFFFF" width="700" height="650">
+
+    <mx:Script>
+        <![CDATA[
+	        import mx.styles.StyleManager;
+	        import mx.collections.ArrayCollection;
+
+			public var eventDispatcher:IEventDispatcher;
+
+			public function loadCSS(): void
+			{
+				eventDispatcher = StyleManager.loadStyleDeclarations("assets/globalStyles2.swf");
+			}
+
+        ]]>
+    </mx:Script>
+
+    <mx:Style source="assets/globalStyles.css" />
+    <mx:HBox>
+        <mx:Button width="15" id="defaultButton1" />
+	    <mx:Box id="textarea_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	       <mx:TextArea id="textarea1" text="Dispatched when a display _bject is about t_ be rem_ved fr_m the display list.play _bject is ab_ut t_ be rem_ved fr_m the display listplay _bject is ab_ut t_ be rem_ved fr_m the display list" height="90"/>
+	    </mx:Box>
+	    <mx:Box id="textinput_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <mx:TextInput id="textinput1" text="TextInput" />
+	    </mx:Box>
+	    <mx:Box id="button_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+		    <mx:Button id="button1" label="Button" />
+	    </mx:Box>
+	</mx:HBox>
+	<mx:HBox id="hgroup1">
+	    <mx:Button width="15" id="defaultButton2" />
+	    <mx:Box id="radiobutton_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <mx:RadioButton id="radiobutton1" label="Radi_Butt_n" selected="true"/>
+	    </mx:Box>
+	    <mx:Box id="togglebutton_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <mx:Button label="ToggleButton" toggle="true" id="togglebutton1" width="100" height="45"/>
+	    </mx:Box>
+		<mx:Box id="datechooser_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+			 <mx:DateChooser id="datechooser1" />
+		</mx:Box>
+	    <mx:Box id="numericstepper_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <mx:NumericStepper id="numericstepper1" />
+	    </mx:Box>
+	</mx:HBox>
+	<mx:HBox id="hgroup2">
+	    <mx:Button width="15" id="defaultButton3" />
+	    <mx:Box id="checkbox_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+		    <mx:CheckBox label="CheckBox" id="checkbox1" selected="true" />
+	    </mx:Box>
+	    <mx:Box id="hslider_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <mx:HSlider maximum="20" minimum="0" id="hslider1" width="140" height="20" />
+	    </mx:Box>
+	    <mx:Box id="vslider_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <mx:VSlider maximum="20" minimum="0" id="vslider1" />
+	    </mx:Box>
+	    <mx:Box id="list_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <mx:List id="list1" selectedIndex="1"
+	            dataProvider="['Joan', 'Jacob', 'Rob', 'Joann', 'Lauren', 'Ella']" />
+	    </mx:Box>
+	</mx:HBox>
+    <mx:HBox>
+        <mx:Button width="15" id="defaultButton4" />
+		<mx:Box id="colorpicker_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+			<mx:ColorPicker id="cp" />
+		</mx:Box>
+	    <mx:Box id="buttonbar_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+	        <mx:ButtonBar id="buttonbar1" dataProvider="{new ArrayCollection(['Christmas', 'Hannukah', 'Kwanza', 'Snowman'])}" />
+	    </mx:Box>
+
+		<mx:Box id="datefield_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+			<mx:DateField id="dataField1"/>
+		</mx:Box>
+    </mx:HBox>
+		<mx:Box id="menubar_box" paddingRight="5" paddingLeft="5" paddingTop="5" paddingBottom="5" >
+			<mx:MenuBar id="menubar1" dataProvider="['Church', 'Ballroom', 'Flowers', 'Rings']" />
+		</mx:Box>
+</mx:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/assets/globalStyles.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/assets/globalStyles.css?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/assets/globalStyles.css (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/assets/globalStyles.css Mon Aug  6 20:17:09 2012
@@ -0,0 +1,51 @@
+/*
+ *
+ * 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 */
+global {
+    chromeColor: #FFCC99;
+    contentBackgroundColor: #CC6699;
+    symbolColor: #FF0066;
+    selectionColor: #00FF00;
+    rollOverColor: #FF9933;
+    focusColor: #B80000;
+    focusedTextSelectionColor: #00FF00;
+    fontAntiAliasType: "normal";
+	fontFamily: myVerdana;
+}
+
+@font-face{
+	src: url("../../../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+	fontFamily: myVerdana;
+	embedAsCFF: false;
+}
+
+@font-face{
+	src: url("../../../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+	fontWeight: bold;
+	fontFamily: myVerdana;
+	embedAsCFF: false;
+}
+
+@font-face{
+	src: url("../../../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+	fontStyle: italic;
+	fontFamily: myVerdana;
+	embedAsCFF: false;
+}
+

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/assets/globalStyles2.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/assets/globalStyles2.css?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/assets/globalStyles2.css (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/assets/globalStyles2.css Mon Aug  6 20:17:09 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 */
+global {
+    chromeColor: #9999FF;
+    contentBackgroundColor: #CC9966;
+    symbolColor: #66FF00;
+    selectionColor: #0099FF;
+    rollOverColor: #FF9933;
+    focusColor: #009900;
+    focusedTextSelectionColor: #0099FF;
+}

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/pre_compile.sh
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/pre_compile.sh?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/pre_compile.sh (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/pre_compile.sh Mon Aug  6 20:17:09 2012
@@ -0,0 +1,26 @@
+#!/bin/sh
+################################################################################
+##
+##  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.
+##
+################################################################################
+cd assets
+
+echo "Removing previously compiled files..."
+rm -f `find . -name "*.swf"`
+
+echo "Compiling css to swf..."
+$SDK_DIR/bin/mxmlc -static-link-runtime-shared-libraries=true globalStyles2.css
\ No newline at end of file

Propchange: incubator/flex/trunk/mustella/tests/Managers/StyleManager/SparkStyles/SWFs/pre_compile.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message