incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1350373 [18/23] - in /incubator/flex/trunk/samples/themes: ./ arcade/ arcade/src/ arcade/src/arcade/ arcade/src/arcade/skins/ arcade/src/arcade/skins/mediaClasses/ arcade/src/arcade/skins/mediaClasses/fullScreen/ arcade/src/arcade/skins/me...
Date Thu, 14 Jun 2012 18:53:56 GMT
Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/ScrubBarTrackSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/ScrubBarTrackSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarSkin.mxml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarSkin.mxml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarSkin.mxml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,80 @@
+<?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 the volume bar of a Spark VideoPlayer 
+      component while in the fullScreen state.  
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" alpha.disabled=".5"> 
+
+    <!-- host component -->
+    <fx:Metadata>
+        [HostComponent("spark.components.mediaClasses.VolumeBar")]
+    </fx:Metadata> 
+
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="open" />
+        <s:State name="disabled" />
+    </s:states>
+    
+	<s:PopUpAnchor id="popup"  displayPopUp.normal="false" displayPopUp.open="true" includeIn="open"
+				   left="0" right="0" top="0" bottom="0" popUpPosition="above" itemDestructionPolicy="auto">
+		<s:Group id="dropDown" width="38" height="84" horizontalCenter="0">
+			
+			<!-- dropshadow for the dropdown -->
+			<s:Rect left="0" top="0" right="0" bottom="0">
+				<s:filters>
+					<s:DropShadowFilter knockout="true" blurX="20" blurY="20" alpha="0.32" distance="11" angle="90" />   
+				</s:filters>    
+				<s:fill>    
+					<s:SolidColor color="0x000000" />   
+				</s:fill>   
+			</s:Rect>
+			
+			<!-- background for the popup -->
+			<s:Rect left="0" right="0" top="0" bottom="0">
+				<s:fill>
+					<s:LinearGradient rotation="90">
+						<s:GradientEntry color="0x929392"/>
+						<s:GradientEntry color="0x6A6B6A"/>
+					</s:LinearGradient>
+				</s:fill>
+				<s:stroke>
+					<s:SolidColorStroke color="0x7B7C7B" />
+				</s:stroke>
+			</s:Rect>
+			
+			<s:Button id="track" horizontalCenter="0" top="6" bottom="7"
+					  skinClass="graphite.skins.mediaClasses.normal.VolumeBarTrackSkin" />
+			
+			<s:Button id="thumb" horizontalCenter="0" width="11" height="11" 
+					  skinClass="graphite.skins.mediaClasses.normal.VolumeBarThumbSkin" />
+		</s:Group>
+	</s:PopUpAnchor>
+	
+	<s:MuteButton id="muteButton" left="0" right="0" top="0" bottom="0" focusEnabled="false"
+				  skinClass="graphite.skins.mediaClasses.fullScreen.MuteButtonSkin" />
+    
+</s:Skin>
\ No newline at end of file

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarThumbSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarThumbSkin.mxml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarThumbSkin.mxml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarThumbSkin.mxml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,77 @@
+<?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 the volume bar thumb part button of a Spark VideoPlayer 
+      component while in the fullScreen state.  
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
+
+    <fx:Metadata>
+        [HostComponent("spark.components.Button")]
+    </fx:Metadata> 
+    
+    <s:states>
+        <s:State name="up" />
+        <s:State name="over" />
+        <s:State name="down" />
+        <s:State name="disabled" />
+    </s:states>
+
+	<s:Group verticalCenter="0" width="16" height="10" left="-1">
+		
+		
+		<!-- Layer 1: border -->
+		<s:Rect id="border" left="0" right="0" top="0" bottom="0" radiusX="3">
+			<s:fill>
+				<s:LinearGradient rotation="90">
+					<s:GradientEntry color="0x7B7C7B" 
+									 color.over="0xBFBFBF" 
+									 color.down="0xBFBFBF" 
+									 alpha="1.0" />
+					<s:GradientEntry color="0x7B7C7B" 
+									 color.over="0x7B7C7B" 
+									 color.down="0x7B7C7B" 
+									 alpha="1.0" />
+				</s:LinearGradient>
+			</s:fill>
+		</s:Rect>
+		<!-- Layer 2: innerFill -->
+		<s:Rect id="innerFill" left="2" right="2" top="2" bottom="2" radiusX="3">
+			<s:fill>
+				<s:LinearGradient rotation="90">
+					<s:GradientEntry color="0x6A6B6A" 
+									 color.over="0x6A6B6A" 
+									 color.down="0xA0A0A0" 
+									 alpha="1.0" />
+					<s:GradientEntry color="0x282828" 
+									 color.over="0x282828" 
+									 color.down="0x787878"
+									 alpha="1.0" />
+				</s:LinearGradient>
+			</s:fill>
+		</s:Rect>
+	</s:Group>
+</s:Skin>

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarThumbSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarThumbSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarTrackSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarTrackSkin.mxml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarTrackSkin.mxml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarTrackSkin.mxml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,73 @@
+<?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 the volume bar track part of a Spark VideoPlayer 
+      component while in the fullScreen state.  
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
+
+    <fx:Metadata>
+        [HostComponent("spark.components.Button")]
+    </fx:Metadata> 
+    
+    <s:states>
+        <s:State name="up" />
+        <s:State name="down" />
+        <s:State name="over" />
+        <s:State name="disabled" />
+    </s:states>
+
+	<!-- border -->
+	<s:Rect left="3" right="3" top="0" bottom="0" radiusX="2" radiusY="2" width="5">
+		<s:fill>
+			<s:LinearGradient>
+				<s:GradientEntry color="0x000000" alpha="0.55" />
+				<s:GradientEntry color="0xFFFFFF" alpha="0.55" ratio="0.90" />
+			</s:LinearGradient>
+		</s:fill>
+	</s:Rect>
+	
+	<!-- fill -->
+	<s:Rect left="4" right="4" top="1" bottom="1" radiusX="2" radiusY="2">
+		<s:fill>
+			<s:SolidColor color="0xCACACA" />
+		</s:fill>
+	</s:Rect>
+	
+	<!-- shadow -->
+	<s:Rect top="2" bottom="2" left="4" width="1">
+		<s:fill>
+			<s:SolidColor color="0x9E9E9E" />
+		</s:fill>
+	</s:Rect>
+	
+	<!-- hit area -->
+	<s:Rect left="0" right="0" top="0" bottom="0">
+		<s:fill>
+			<s:SolidColor alpha="0"/>
+		</s:fill>
+	</s:Rect>
+</s:Skin>

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarTrackSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/fullScreen/VolumeBarTrackSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/FullScreenButtonSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/FullScreenButtonSkin.mxml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/FullScreenButtonSkin.mxml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/FullScreenButtonSkin.mxml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,193 @@
+<?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 the fullScreen button of a Spark VideoPlayer component.  
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled="0.5">
+
+    <!-- host component -->
+    <fx:Metadata>
+        [HostComponent("spark.components.Button")]
+    </fx:Metadata>
+    
+    <!-- states -->
+    <s:states>
+        <s:State name="up" />
+        <s:State name="over" />
+        <s:State name="down" />
+        <s:State name="disabled"/>
+    </s:states>
+        
+	<!-- layer 1: fill -->
+	<s:Rect left="0" right="0" top="0" bottom="0" width="38" height="24">
+		<s:stroke>
+			<s:SolidColorStroke color="0x7B7C7B"
+								weight="2"/>
+		</s:stroke>
+		<s:fill>
+			<s:LinearGradient rotation="90">
+				<s:GradientEntry color="0x6A6B6A" 
+								 color.over="0x5c5c5c" 
+								 color.down="0x5c5c5c" 
+								 alpha="1.0" />
+				<s:GradientEntry color="0x282828" 
+								 color.over="0x282828" 
+								 color.down="0x282828"
+								 alpha="1.0" />
+			</s:LinearGradient>
+		</s:fill>
+	</s:Rect>
+    
+	<!-- full screen symbol -->
+	<s:Group horizontalCenter="0" verticalCenter="0" id="fullScreenSymbol">
+		<!-- size of area so left, right, bottom, top work well -->
+		<s:Rect left="0" top="0" width="19" height="14">
+			<s:fill>
+				<s:SolidColor alpha="0" />
+			</s:fill>
+		</s:Rect>
+		
+		<!-- background for big rectangle -->
+		<s:Rect left="2" top="2" right="2" bottom="2">
+			<s:fill>
+				<s:SolidColor color="0xCCCCCC" id="fullScreenSymbolFill1"/>
+			</s:fill>
+		</s:Rect>
+		
+		<!-- inside rect1 -->
+		<s:Rect left="3" top="3" right="3" bottom="3">
+			<s:fill>
+				<s:SolidColor color="0x333333"/>
+			</s:fill>
+		</s:Rect>
+		
+		<!-- inside rect2 -->
+		<s:Rect left="4" top="4" right="4" bottom="4">
+			<s:fill>
+				<s:SolidColor color="0x666666" id="fullScreenSymbolFill2"/>
+			</s:fill>
+		</s:Rect>
+		
+	
+		
+		<!-- top-left -->
+		<!-- dropshadow -->
+		<s:Rect left="0" top="1" width="3" height="1">
+			<s:fill>
+				<s:SolidColor color="0x666666"/>
+			</s:fill>
+		</s:Rect>
+		<s:Rect left="0" top="2" width="1" height="2">
+			<s:fill>
+				<s:SolidColor color="0x666666"/>
+			</s:fill>
+		</s:Rect>
+		<!-- symbol -->
+		<s:Rect left="0" top="0" width="3" height="1">
+			<s:fill>
+				<s:SolidColor color="0xCCCCCC" id="fullScreenSymbolTopLeftFill1"/>
+			</s:fill>
+		</s:Rect>
+		<s:Rect left="0" top="1" width="1" height="2">
+			<s:fill>
+				<s:SolidColor color="0xCCCCCC" id="fullScreenSymbolTopLeftFill2"/>
+			</s:fill>
+		</s:Rect>
+		
+		<!-- top-right -->
+		<!-- dropshadow -->
+		<s:Rect right="0" top="1" width="3" height="1">
+			<s:fill>
+				<s:SolidColor color="0x666666"/>
+			</s:fill>
+		</s:Rect>
+		<s:Rect right="0" top="2" width="1" height="2">
+			<s:fill>
+				<s:SolidColor color="0x666666"/>
+			</s:fill>
+		</s:Rect>
+		<!-- symbol -->
+		<s:Rect right="0" top="0" width="3" height="1">
+			<s:fill>
+				<s:SolidColor color="0xCCCCCC" id="fullScreenSymbolTopRightFill1"/>
+			</s:fill>
+		</s:Rect>
+		<s:Rect right="0" top="1" width="1" height="2">
+			<s:fill>
+				<s:SolidColor color="0xCCCCCC" id="fullScreenSymbolTopRightFill2"/>
+			</s:fill>
+		</s:Rect>
+		
+		<!-- bottom-left -->
+		<!-- dropshadow -->
+		<s:Rect left="0" bottom="-1" width="3" height="1">
+			<s:fill>
+				<s:SolidColor color="0x666666"/>
+			</s:fill>
+		</s:Rect>
+		<s:Rect left="0" bottom="0" width="1" height="2">
+			<s:fill>
+				<s:SolidColor color="0x666666"/>
+			</s:fill>
+		</s:Rect>
+		<!-- symbol -->
+		<s:Rect left="0" bottom="0" width="3" height="1">
+			<s:fill>
+				<s:SolidColor color="0xCCCCCC" id="fullScreenSymbolBottomLeftFill1"/>
+			</s:fill>
+		</s:Rect>
+		<s:Rect left="0" bottom="1" width="1" height="2">
+			<s:fill>
+				<s:SolidColor color="0xCCCCCC" id="fullScreenSymbolBottomLeftFill2"/>
+			</s:fill>
+		</s:Rect>
+		
+		<!-- bottom-right -->
+		<!-- dropshadow -->
+		<s:Rect right="0" bottom="-1" width="3" height="1">
+			<s:fill>
+				<s:SolidColor color="0x666666"/>
+			</s:fill>
+		</s:Rect>
+		<s:Rect right="0" bottom="0" width="1" height="2">
+			<s:fill>
+				<s:SolidColor color="0x666666"/>
+			</s:fill>
+		</s:Rect>
+		<!-- symbol -->
+		<s:Rect right="0" bottom="0" width="3" height="1">
+			<s:fill>
+				<s:SolidColor color="0xCCCCCC" id="fullScreenSymbolBottomRightFill1"/>
+			</s:fill>
+		</s:Rect>
+		<s:Rect right="0" bottom="1" width="1" height="2">
+			<s:fill>
+				<s:SolidColor color="0xCCCCCC" id="fullScreenSymbolBottomRightFill2"/>
+			</s:fill>
+		</s:Rect>
+	</s:Group>
+</s:Skin>
\ No newline at end of file

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/FullScreenButtonSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/FullScreenButtonSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/MuteButtonSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/MuteButtonSkin.mxml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/MuteButtonSkin.mxml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/MuteButtonSkin.mxml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,194 @@
+<?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 the mute button of a Spark VideoPlayer component.  
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+   xmlns:fb="http://ns.adobe.com/flashbuilder/2009" creationComplete="init()"
+   alpha.disabled="0.5">
+
+    <!-- host component -->
+    <fx:Metadata>
+        [HostComponent("spark.components.mediaClasses.MuteButton")]
+    </fx:Metadata>
+    
+    
+    <fx:Script>
+        <![CDATA[
+            import mx.events.FlexEvent;
+            import spark.components.mediaClasses.VolumeBar;
+           
+            private function init():void
+            {
+                // this is essentially just binding code.  Anytime the volume changes, 
+                // let us know.
+                volume = hostComponent.volume;
+                hostComponent.addEventListener(FlexEvent.VALUE_COMMIT, valueCommitHandler);
+                hostComponent.addEventListener(FlexEvent.MUTED_CHANGE, valueCommitHandler);
+            }
+            
+            private function valueCommitHandler(event:Event):void
+            {
+                volume = hostComponent.volume;
+            }
+            
+            private var _volume:Number = 1;
+            
+            public function get volume():Number
+            {
+                return _volume;
+            }
+            
+            public function set volume(value:Number):void
+            {
+                if (value == _volume)
+                    return;
+                
+                _volume = value;
+                
+                var bar1:Array = [bar1_1, bar1_2, bar1_3]; // 0-.25
+                var bar2:Array = [bar2_1, bar2_2, bar2_3]; // .25-.5
+                var bar3:Array = [bar3_1, bar3_2, bar3_3]; // .5-.75
+                var bar4:Array = [bar4_1, bar4_2, bar4_3]; // .75-.1
+                var bars:Array = [bar1, bar2, bar3, bar4];
+                
+                var curValue:Number = 0;
+                for (var i:int = 0; i < bars.length; i++)
+                {
+                    if (value <= curValue)
+                        setAlphaTo(bars[i], 0);
+                    else if (value >= (curValue + 0.25))
+                        setAlphaTo(bars[i], 1);
+                    else
+                        setAlphaTo(bars[i], (value-curValue)*4);
+                    
+                    curValue += 0.25;
+                }
+            }
+            
+            private function setAlphaTo(bar:Array, alpha:Number):void
+            {
+                for (var i:int = 0; i < bar.length; i++)
+                {
+                    bar[i].alpha = alpha;
+                }
+            }
+        ]]>
+    </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: fill -->
+	<s:Rect left="0" right="0" top="0" bottom="0" width="38" height="24">
+		<s:stroke>
+			<s:SolidColorStroke color="0x7B7C7B"
+								weight="2"/>
+		</s:stroke>
+		<s:fill>
+			<s:LinearGradient rotation="90">
+				<s:GradientEntry color="0x6A6B6A" 
+								 color.over="0x5c5c5c" 
+								 color.down="0x5c5c5c" 
+								 alpha="1.0" />
+				<s:GradientEntry color="0x282828" 
+								 color.over="0x282828" 
+								 color.down="0x282828"
+								 alpha="1.0" />
+			</s:LinearGradient>
+		</s:fill>
+	</s:Rect>
+    
+    <!-- volume symbol -->
+    <s:Group horizontalCenter="0" verticalCenter="0" id="volumeSymbol">
+    
+        <!-- big trapezoid in center -->
+        <s:Path winding="evenOdd" data="M 9 13 L 9 0 L 4 4 L 4 9 L 9 13 Z">
+            <s:fill>
+                <s:SolidColor color="0xCCCCCC" alpha=".85" id="trapezoid1"/>
+            </s:fill>
+        </s:Path>
+        
+        <!-- small trapezoid on left -->
+        <s:Path winding="evenOdd" data="M 3 9 L 3 4 L 0 5 L 0 8 L 3 9 Z">
+            <s:fill>
+                <s:SolidColor color="0xCCCCCC" alpha=".75" id="trapezoid2"/>
+            </s:fill>
+        </s:Path>
+        
+        <!-- volume bars -->
+        
+        <!-- big volume bar representing volume values [.75, 1] -->
+        <s:Line yFrom="0" yTo="12" x="16">
+            <s:stroke>
+                <s:LinearGradientStroke rotation="90">
+                    <s:GradientEntry color="0x272727" ratio=".1" id="bar4_1" />
+                    <s:GradientEntry color="0xCCCCCC" ratio=".2" id="bar4_2" />
+                    <s:GradientEntry color="0xCCCCCC" ratio=".3" id="bar4_3" />
+                </s:LinearGradientStroke>
+            </s:stroke>
+        </s:Line>
+        
+        <!-- middle volume bar representing volume values [.5, .75] -->
+        <s:Line yFrom="2" yTo="10" x="14" id="bar3">
+            <s:stroke>
+                <s:LinearGradientStroke rotation="90">
+                    <s:GradientEntry color="0xCCCCCC" ratio=".1" id="bar3_1" />
+                    <s:GradientEntry color="0xCCCCCC" ratio=".2" id="bar3_2" />
+                    <s:GradientEntry color="0xCCCCCC" ratio=".3" id="bar3_3" />
+                </s:LinearGradientStroke>
+            </s:stroke>
+        </s:Line>
+        
+        <!-- middle volume bar representing volume values [.25, .5] -->
+        <s:Line yFrom="3" yTo="9" x="12" id="bar2">
+            <s:stroke>
+                <s:LinearGradientStroke rotation="90">
+                    <s:GradientEntry color="0xCCCCCC" ratio=".1" id="bar2_1" />
+                    <s:GradientEntry color="0xCCCCCC" ratio=".2" id="bar2_2" />
+                    <s:GradientEntry color="0xCCCCCC" ratio=".3" id="bar2_3" />
+                </s:LinearGradientStroke>
+            </s:stroke>
+        </s:Line>
+        
+        <!-- small volume bar representing volume values [0, .25] -->
+        <s:Line yFrom="5" yTo="7" x="10">
+            <s:stroke>
+                <s:LinearGradientStroke rotation="90">
+                    <s:GradientEntry color="0xCCCCCC" ratio=".1" id="bar1_1" />
+                    <s:GradientEntry color="0xCCCCCC" ratio=".2" id="bar1_2" />
+                    <s:GradientEntry color="0xCCCCCC" ratio=".3" id="bar1_3" />
+                </s:LinearGradientStroke>
+            </s:stroke>
+        </s:Line>
+    </s:Group>
+</s:Skin>
\ No newline at end of file

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/MuteButtonSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/MuteButtonSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/PlayPauseButtonSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/PlayPauseButtonSkin.mxml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/PlayPauseButtonSkin.mxml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/PlayPauseButtonSkin.mxml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,112 @@
+<?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 the play/pause button of a Spark VideoPlayer component.  
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabledStates="0.5">
+
+    <!-- host component -->
+    <fx:Metadata>
+        [HostComponent("spark.components.ToggleButton")]
+    </fx:Metadata>
+        
+    <!-- states -->
+    <s:states>
+        <s:State name="up" />
+        <s:State name="over" stateGroups="overStates" />
+        <s:State name="down" stateGroups="downStates" />
+        <s:State name="disabled" stateGroups="disabledStates" />
+        <s:State name="upAndSelected" stateGroups="selectedStates, selectedUpStates" />
+        <s:State name="overAndSelected" stateGroups="overStates, selectedStates" />
+        <s:State name="downAndSelected" stateGroups="downStates, selectedStates" />
+        <s:State name="disabledAndSelected" stateGroups="selectedUpStates, disabledStates, selectedStates" />
+    </s:states>
+        
+    <!-- layer 1: fill -->
+    <s:Rect left="0" right="0" top="0" bottom="0" width="38" height="24">
+		<s:stroke>
+			<s:SolidColorStroke color="0x7B7C7B"
+								weight="2"/>
+		</s:stroke>
+		<s:fill>
+			<s:LinearGradient rotation="90">
+				<s:GradientEntry color="0x6A6B6A" 
+								 color.over="0x5c5c5c" 
+								 color.down="0x5c5c5c"
+								 alpha="1.0" />
+				<s:GradientEntry color="0x282828" 
+								 color.over="0x282828" 
+								 color.down="0x282828"
+								 alpha="1.0" />
+			</s:LinearGradient>
+		</s:fill>
+    </s:Rect>
+    
+    <!-- play symbol -->
+    <s:Group horizontalCenter="0" verticalCenter="0" excludeFrom="selectedStates" id="playSymbol">
+        
+        <!-- triangle -->
+		<s:Path data="M 0.5 1.085 C 1.28 0.305 2.54 0.305 3.33 1.085 L 7.97 5.725 C 8.75 6.505 8.75 7.765 7.97 8.555 L 3.33 13.195 C 2.54 13.975 1.28 13.975 0.5 13.195 L 0.5 1.085 Z">
+            <s:fill>
+                <s:SolidColor color="0xCCCCCC"
+							  color.over="0xBFBFBF"
+							  color.down="0xBFBFBF"
+							  color.disabled="0x666666"
+							  alpha="1"
+							  id="playSymbolFill"/>
+            </s:fill>
+        </s:Path>
+        
+    </s:Group>
+    
+    <!-- pause symbol -->
+    <s:Group horizontalCenter="0" verticalCenter="0" includeIn="selectedStates" id="pauseSymbol">
+    
+        <!-- big line on left -->
+        <s:Rect left="0" top="0" height="11" width="3">
+            <s:fill>
+				<s:SolidColor color="0xCCCCCC"
+							  color.over="0xBFBFBF"
+							  color.down="0xBFBFBF"
+							  color.disabled="0x666666"
+							  alpha="1" />
+            </s:fill>
+        </s:Rect>
+        
+        <!-- big line on right -->
+        <s:Rect left="4" top="0" height="11" width="3">
+            <s:fill>
+				<s:SolidColor color="0xCCCCCC"
+							  color.over="0xBFBFBF"
+							  color.down="0xBFBFBF"
+							  color.disabled="0x666666"
+							  alpha="1" />
+            </s:fill>
+        </s:Rect>
+        
+    </s:Group>
+</s:Skin>
\ No newline at end of file

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/PlayPauseButtonSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/PlayPauseButtonSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarSkin.mxml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarSkin.mxml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarSkin.mxml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,129 @@
+<?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 the scrub bar of a Spark VideoPlayer component.  
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+      xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minHeight="14" minWidth="60"
+      alpha.disabled="0.5">
+
+    <fx:Metadata>
+        [HostComponent("spark.components.mediaClasses.ScrubBar")]
+    </fx:Metadata> 
+    
+    
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="disabled" />
+    </s:states>
+    
+    <fx:Declarations>
+        <fx:Component id="dataTip">     
+            <s:DataRenderer minHeight="24" minWidth="40" y="-34">
+                <s:RectangularDropShadow id="shadow" distance="3" 
+                    angle="90" color="#999999" left="0" top="0" right="0" bottom="0"/>
+                    
+                <s:Rect top="0" left="0" right="0" bottom="0">
+                    <s:fill>
+                        <s:SolidColor color="0x000000" alpha=".9"/>
+                    </s:fill>
+                </s:Rect>
+                
+                <s:Label id="labelDisplay" text="{data}"
+                         horizontalCenter="0" verticalCenter="1"
+                         left="5" right="5" top="5" bottom="5"
+                         textAlign="center" verticalAlign="middle"
+                         fontWeight="normal" color="white" fontSize="11">
+                </s:Label>
+            </s:DataRenderer>
+        </fx:Component>
+    </fx:Declarations>
+    
+    <s:Button id="track" left="0" right="0" top="0" height="11"
+              skinClass="graphite.skins.mediaClasses.normal.ScrubBarTrackSkin" />
+
+    <s:Group id="bufferedArea" x="0" y="0" height="11" includeInLayout="false">
+    
+        <!-- inset 7 and 6 pixels because that's thumbSize/2 -->
+        <s:Group left="7" right="6" top="0" bottom="0" minWidth="0">
+        
+            <!-- fill -->
+            <s:Rect left="1" right="1" top="1" bottom="1">
+                <s:fill>
+                    <s:SolidColor color="0xCCCCCC" />
+                </s:fill>
+            </s:Rect>
+            
+            <!-- inner glow -->
+            <!-- set height to 100%, maxHeight=1, minHeight=0 b/c only want this line to show up 
+                 if there's room for it -->
+<!--            <s:Rect left="1" top="1" bottom="1" width="100%" maxWidth="1" minWidth="0">
+                <s:fill>
+                    <s:SolidColor color="0x000000" alpha="0.12" />
+                </s:fill>
+            </s:Rect>
+            <s:Rect left="2" right="1" top="1" height="100%" maxHeight="1" minHeight="0">
+                <s:fill>
+                    <s:SolidColor color="0x000000" alpha="0.12" />
+                </s:fill>
+            </s:Rect>-->
+            
+        </s:Group>    
+    </s:Group>
+    
+    <s:Group id="playedArea" x="0" y="0" height="11" includeInLayout="false">
+    
+        <!-- inset 7 and 6 pixels because that's thumbSize/2 -->
+        <s:Group left="7" right="6" top="0" bottom="0" minWidth="0">
+        
+            <!-- inner glow -->
+            <s:Rect left="1" right="1" top="1" bottom="1">
+                <s:fill>
+                    <s:LinearGradient rotation="90">
+                        <s:GradientEntry color="0x939393"/>
+                        <s:GradientEntry color="0x666666"/>
+                    </s:LinearGradient>
+                </s:fill>
+            </s:Rect>
+            
+            <!-- fill -->
+            <s:Rect left="2" right="2" top="2" bottom="2">
+                <s:fill>
+                    <s:LinearGradient rotation="90">
+                        <s:GradientEntry color="0x6A6B6A" alpha="0.85"/>
+                        <s:GradientEntry color="0x282828" alpha="0.85"/>
+                    </s:LinearGradient>
+                </s:fill>
+            </s:Rect>
+            
+            
+        </s:Group>  
+    </s:Group>
+
+    <s:Button id="thumb" x="0" y="0" width="14" height="19" includeInLayout="false"
+              skinClass="graphite.skins.mediaClasses.normal.ScrubBarThumbSkin" />
+
+</s:Skin>

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarThumbSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarThumbSkin.mxml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarThumbSkin.mxml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarThumbSkin.mxml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,79 @@
+<?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 the scrub bar thumb part of a Spark VideoPlayer component.  
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
+
+    <fx:Metadata>
+        [HostComponent("spark.components.Button")]
+    </fx:Metadata>
+    
+    
+    <s:states>
+        <s:State name="up" />
+        <s:State name="over" />
+        <s:State name="down" />
+        <s:State name="disabled" />
+    </s:states>
+    
+	<s:Group width="8" height="16" bottom="5">
+		
+		
+		<!-- Layer 1: border -->
+		<s:Rect id="border" left="0" right="0" top="0" bottom="0" radiusX="3">
+			<s:fill>
+				<s:LinearGradient rotation="90">
+					<s:GradientEntry color="0x7B7C7B" 
+									 color.over="0xBFBFBF" 
+									 color.down="0xBFBFBF" 
+									 alpha="1.0" />
+					<s:GradientEntry color="0x7B7C7B" 
+									 color.over="0x7B7C7B" 
+									 color.down="0x7B7C7B" 
+									 alpha="1.0" />
+				</s:LinearGradient>
+			</s:fill>
+		</s:Rect>
+		<!-- Layer 2: innerFill -->
+		<s:Rect id="innerFill" left="1" right="1" top="1" bottom="1" radiusX="3">
+			<s:fill>
+				<s:LinearGradient rotation="90">
+					<s:GradientEntry color="0x6A6B6A" 
+									 color.over="0x6A6B6A" 
+									 color.down="0xA0A0A0" 
+									 alpha="1.0" />
+					<s:GradientEntry color="0x282828" 
+									 color.over="0x282828" 
+									 color.down="0x787878"
+									 alpha="1.0" />
+				</s:LinearGradient>
+			</s:fill>
+		</s:Rect>
+	</s:Group>
+    
+</s:Skin>

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarThumbSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarThumbSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarTrackSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarTrackSkin.mxml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarTrackSkin.mxml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarTrackSkin.mxml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+
+
+<!--- The default skin class for the scrub bar track part of a Spark VideoPlayer component.  
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
+
+    <fx:Metadata>
+        [HostComponent("spark.components.Button")]
+    </fx:Metadata> 
+    
+    
+    <s:states>
+        <s:State name="up" />
+        <s:State name="down" />
+        <s:State name="over" />
+        <s:State name="disabled" />
+    </s:states>
+    
+    <!-- inset 7 and 6 pixels because that's thumbSize/2 -->
+    <s:Group left="7" right="6" top="0" bottom="0">
+    
+        <!-- fill -->
+        <s:Rect left="0" right="0" top="0" bottom="0">
+            <s:fill>
+                <s:LinearGradient rotation="90">
+                    <s:GradientEntry color="0x333333"/>
+                    <s:GradientEntry color="0x000000"/>
+                </s:LinearGradient>
+            </s:fill>
+        </s:Rect>
+        
+        <!-- inset shadow -->
+        <s:Rect left="1" right="1" top="1" height="1">
+            <s:fill>
+                <s:SolidColor color="0x333333" />
+            </s:fill>
+        </s:Rect>
+        <s:Rect left="1" top="2" bottom="1" width="1">
+            <s:fill>
+                <s:SolidColor color="0x333333" />
+            </s:fill>
+        </s:Rect>
+        <s:Rect right="1" top="2" bottom="1" width="1">
+            <s:fill>
+                <s:SolidColor color="0x333333"  />
+            </s:fill>
+        </s:Rect>
+        
+        <!-- border -->
+        <s:Rect left="0" right="0" top="0" bottom="0">
+            <s:stroke>
+                <s:SolidColorStroke color="0x333333" weight="1" />
+            </s:stroke>
+        </s:Rect> 
+        
+        <!-- outside highlight -->
+        <s:Rect left="-1" right="-1" top="-1" bottom="-1">
+            <s:stroke>
+                <s:LinearGradientStroke rotation="90">
+                    <s:GradientEntry color="0x333333"/>
+                    <s:GradientEntry color="0x333333"/>
+                </s:LinearGradientStroke>
+            </s:stroke>
+        </s:Rect>
+        
+    </s:Group>
+</s:Skin>

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarTrackSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/ScrubBarTrackSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarSkin.mxml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarSkin.mxml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarSkin.mxml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,81 @@
+<?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 the volume bar of a Spark VideoPlayer component.  
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled=".5"> 
+
+    <!-- host component -->
+    <fx:Metadata>
+        [HostComponent("spark.components.mediaClasses.VolumeBar")]
+    </fx:Metadata>
+    
+
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="open" />
+        <s:State name="disabled" />
+    </s:states>
+    
+    <s:PopUpAnchor id="popup"  displayPopUp.normal="false" displayPopUp.open="true" includeIn="open"
+        left="0" right="0" top="0" bottom="0" popUpPosition="above" itemDestructionPolicy="auto">
+        <s:Group id="dropDown" width="38" height="84" horizontalCenter="0">
+        
+            <!-- dropshadow for the dropdown -->
+            <s:Rect left="0" top="0" right="0" bottom="0">
+                <s:filters>
+                    <s:DropShadowFilter knockout="true" blurX="20" blurY="20" alpha="0.32" distance="11" angle="90" />   
+                </s:filters>    
+                <s:fill>    
+                    <s:SolidColor color="0x000000" />   
+                </s:fill>   
+            </s:Rect>
+            
+            <!-- background for the popup -->
+            <s:Rect left="0" right="0" top="0" bottom="0">
+                <s:fill>
+                    <s:LinearGradient rotation="90">
+                        <s:GradientEntry color="0x929392"/>
+                        <s:GradientEntry color="0x5C5C5C"/>
+                    </s:LinearGradient>
+                </s:fill>
+                <s:stroke>
+                    <s:SolidColorStroke color="0x7B7C7B" />
+                </s:stroke>
+            </s:Rect>
+            
+            <s:Button id="track" horizontalCenter="0" top="6" bottom="7"
+                      skinClass="graphite.skins.mediaClasses.normal.VolumeBarTrackSkin" />
+            
+            <s:Button id="thumb" horizontalCenter="0" width="11" height="11" 
+                      skinClass="graphite.skins.mediaClasses.normal.VolumeBarThumbSkin" />
+        </s:Group>
+    </s:PopUpAnchor>
+        
+    <s:MuteButton id="muteButton" left="0" right="0" top="0" bottom="0" focusEnabled="false"
+              skinClass="graphite.skins.mediaClasses.normal.MuteButtonSkin" />
+    
+</s:Skin>
\ No newline at end of file

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarThumbSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarThumbSkin.mxml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarThumbSkin.mxml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarThumbSkin.mxml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,78 @@
+<?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 the volume bar thumb part of a Spark VideoPlayer component.  
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
+
+    <fx:Metadata>
+        [HostComponent("spark.components.Button")]
+    </fx:Metadata> 
+    
+    
+    <s:states>
+        <s:State name="up" />
+        <s:State name="over" />
+        <s:State name="down" />
+        <s:State name="disabled" />
+    </s:states>
+
+	<s:Group verticalCenter="0" width="16" height="10" left="-1">
+		
+		
+		<!-- Layer 1: border -->
+		<s:Rect id="border" left="0" right="0" top="0" bottom="0" radiusX="3">
+			<s:fill>
+				<s:LinearGradient rotation="90">
+					<s:GradientEntry color="0x7B7C7B" 
+									 color.over="0xBFBFBF" 
+									 color.down="0xBFBFBF" 
+									 alpha="1.0" />
+					<s:GradientEntry color="0x7B7C7B" 
+									 color.over="0x7B7C7B" 
+									 color.down="0x7B7C7B" 
+									 alpha="1.0" />
+				</s:LinearGradient>
+			</s:fill>
+		</s:Rect>
+		<!-- Layer 2: innerFill -->
+		<s:Rect id="innerFill" left="2" right="2" top="2" bottom="2" radiusX="3">
+			<s:fill>
+				<s:LinearGradient rotation="90">
+					<s:GradientEntry color="0x6A6B6A" 
+									 color.over="0x6A6B6A" 
+									 color.down="0xA0A0A0" 
+									 alpha="1.0" />
+					<s:GradientEntry color="0x282828" 
+									 color.over="0x282828" 
+									 color.down="0x787878"
+									 alpha="1.0" />
+				</s:LinearGradient>
+			</s:fill>
+		</s:Rect>
+	</s:Group>
+</s:Skin>

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarThumbSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarThumbSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarTrackSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarTrackSkin.mxml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarTrackSkin.mxml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarTrackSkin.mxml Thu Jun 14 18:53:27 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.
+
+-->
+
+
+<!--- The default skin class for the volume bar track part of a Spark VideoPlayer component.  
+        
+      @langversion 3.0
+      @playerversion Flash 10
+      @playerversion AIR 1.5
+      @productversion Flex 4
+-->
+<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:fb="http://ns.adobe.com/flashbuilder/2009">
+
+    <fx:Metadata>
+        [HostComponent("spark.components.Button")]
+    </fx:Metadata> 
+    
+    
+    <s:states>
+        <s:State name="up" />
+        <s:State name="down" />
+        <s:State name="over" />
+        <s:State name="disabled" />
+    </s:states>
+
+    <!-- border -->
+    <s:Rect left="3" right="3" top="0" bottom="0" radiusX="2" radiusY="2" width="5">
+        <s:fill>
+            <s:LinearGradient>
+                <s:GradientEntry color="0x000000" alpha="0.55" />
+                <s:GradientEntry color="0xFFFFFF" alpha="0.55" ratio="0.90" />
+            </s:LinearGradient>
+        </s:fill>
+    </s:Rect>
+
+    <!-- fill -->
+    <s:Rect left="4" right="4" top="1" bottom="1" radiusX="2" radiusY="2">
+        <s:fill>
+            <s:SolidColor color="0xCACACA" />
+        </s:fill>
+    </s:Rect>
+    
+    <!-- shadow -->
+    <s:Rect top="2" bottom="2" left="4" width="1">
+        <s:fill>
+            <s:SolidColor color="0x9E9E9E" />
+        </s:fill>
+    </s:Rect>
+    
+    <!-- hit area -->
+    <s:Rect left="0" right="0" top="0" bottom="0">
+        <s:fill>
+            <s:SolidColor alpha="0"/>
+        </s:fill>
+    </s:Rect>
+</s:Skin>

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarTrackSkin.mxml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/graphite/skins/mediaClasses/normal/VolumeBarTrackSkin.mxml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/metadata.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/metadata.xml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/graphite/src/metadata.xml (added)
+++ incubator/flex/trunk/samples/themes/graphite/src/metadata.xml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,25 @@
+<!--
+
+  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.
+
+-->
+<theme>
+<name>Graphite</name>
+<mainFile>graphite.swc</mainFile>
+<category>Flex 4 Samples</category>
+<baseTheme></baseTheme>
+<sourceLocation>src</sourceLocation>
+</theme>
\ No newline at end of file

Propchange: incubator/flex/trunk/samples/themes/graphite/src/metadata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/graphite/src/metadata.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/graphite/src/preview.jpg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/graphite/src/preview.jpg?rev=1350373&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/samples/themes/graphite/src/preview.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: incubator/flex/trunk/samples/themes/spark_cobalt/preview.jpg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/spark_cobalt/preview.jpg?rev=1350373&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/samples/themes/spark_cobalt/preview.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: incubator/flex/trunk/samples/themes/spark_cobalt/spark_cobalt.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/spark_cobalt/spark_cobalt.css?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/spark_cobalt/spark_cobalt.css (added)
+++ incubator/flex/trunk/samples/themes/spark_cobalt/spark_cobalt.css Thu Jun 14 18:53:27 2012
@@ -0,0 +1,48 @@
+/*
+ *
+ *  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";
+
+global
+{
+	chrome-color: #294867;
+	color: #CEE7F4;
+	content-background-color: #39628C;
+	symbol-color: #000000;
+	roll-over-color: #355D89;
+	selection-color: #294867;
+	focus-color: #333300;
+	accent-color: #6589AD;
+}
+
+s|Application,s|Panel,mx|Panel,mx|TitleWindow,mx|TabNavigator,mx|SwatchPanel
+{
+	background-color: #294867;
+}
+
+mx|DataGrid
+{
+	alternating-item-colors: #39628C, #39628C;
+}
+
+mx|ToolTip
+{
+	color: #000000;
+}
\ No newline at end of file

Propchange: incubator/flex/trunk/samples/themes/spark_cobalt/spark_cobalt.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/spark_cobalt/spark_cobalt.css
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/spark_desert/preview.jpg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/spark_desert/preview.jpg?rev=1350373&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/samples/themes/spark_desert/preview.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: incubator/flex/trunk/samples/themes/spark_desert/spark_desert.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/spark_desert/spark_desert.css?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/spark_desert/spark_desert.css (added)
+++ incubator/flex/trunk/samples/themes/spark_desert/spark_desert.css Thu Jun 14 18:53:27 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";
+
+global
+{
+	chrome-color: #6F6750;
+	color: #4c2600;
+	content-background-color: #ffedb8;
+	symbol-color: #000000;
+	roll-over-color: #b2ad81;
+	selection-color: #938f6b;
+	focus-color: #999999;
+	accent-color:#B7AE93;
+}
+
+s|Application,s|Panel,mx|Panel,mx|TitleWindow,mx|TabNavigator,mx|SwatchPanel
+{
+	background-color: #6F6750;
+}
+
+s|RichEditableText
+{
+	focusedTextSelectionColor: #938f6b;
+	unfocusedTextSelectionColor: #938f6b;
+}
+
+mx|DataGrid
+{
+	alternating-item-colors: #ffedb8, #ffedb8;
+}
+

Propchange: incubator/flex/trunk/samples/themes/spark_desert/spark_desert.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/spark_desert/spark_desert.css
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/spark_graphite/preview.jpg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/spark_graphite/preview.jpg?rev=1350373&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/samples/themes/spark_graphite/preview.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: incubator/flex/trunk/samples/themes/spark_graphite/spark_graphite.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/spark_graphite/spark_graphite.css?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/spark_graphite/spark_graphite.css (added)
+++ incubator/flex/trunk/samples/themes/spark_graphite/spark_graphite.css Thu Jun 14 18:53:27 2012
@@ -0,0 +1,54 @@
+/*
+ *
+ *  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";
+
+global
+{
+	chrome-color: #333333;
+	color: #CCCCCC;
+	content-background-color: #777777;
+	symbol-color: #000000;
+	roll-over-color: #555555;
+	selection-color: #333333;
+	focus-color: #999999;
+	accent-color: #8C8C8C;
+}
+
+s|Application,s|Panel,mx|Panel,mx|TitleWindow,mx|TabNavigator,mx|SwatchPanel
+{
+	background-color: #666666;
+}
+
+s|RichEditableText
+{
+	focusedTextSelectionColor: #333333;
+	unfocusedTextSelectionColor: #333333;
+}
+
+mx|DataGrid
+{
+	alternating-item-colors: #777777, #777777;
+}
+
+mx|ToolTip
+{
+	color: #000000;
+}
\ No newline at end of file

Propchange: incubator/flex/trunk/samples/themes/spark_graphite/spark_graphite.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/spark_graphite/spark_graphite.css
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/spark_sage/preview.jpg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/spark_sage/preview.jpg?rev=1350373&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/samples/themes/spark_sage/preview.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: incubator/flex/trunk/samples/themes/spark_sage/spark_sage.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/spark_sage/spark_sage.css?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/spark_sage/spark_sage.css (added)
+++ incubator/flex/trunk/samples/themes/spark_sage/spark_sage.css Thu Jun 14 18:53:27 2012
@@ -0,0 +1,49 @@
+/*
+ *
+ *  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";
+
+global
+{
+	chrome-color: #93AE93;
+	color: #333333;
+	content-background-color: #afcfaf;
+	symbol-color: #000000;
+	roll-over-color: #ffffab;
+	selection-color: #EAEA9D;
+	focus-color: #B2D2B2;
+	accent-color: #B2D2B2;
+}
+
+s|Application,s|Panel,mx|Panel,mx|TitleWindow,mx|TabNavigator,mx|SwatchPanel
+{
+	background-color: #93AE93;
+}
+
+s|RichEditableText
+{
+	focusedTextSelectionColor: #EAEA9D;
+	unfocusedTextSelectionColor: #EAEA9D;
+}
+
+mx|DataGrid
+{
+	alternating-item-colors: #afcfaf, #afcfaf;
+}

Propchange: incubator/flex/trunk/samples/themes/spark_sage/spark_sage.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/spark_sage/spark_sage.css
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/spark_sky/preview.jpg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/spark_sky/preview.jpg?rev=1350373&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/samples/themes/spark_sky/preview.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: incubator/flex/trunk/samples/themes/spark_sky/spark_sky.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/spark_sky/spark_sky.css?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/spark_sky/spark_sky.css (added)
+++ incubator/flex/trunk/samples/themes/spark_sky/spark_sky.css Thu Jun 14 18:53:27 2012
@@ -0,0 +1,38 @@
+/*
+ *
+ *  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";
+
+global
+{
+	chrome-color: #DEEBFF;
+	color: #444444;
+	content-background-color: #FFFFFF;
+	symbol-color: #333333;
+	roll-over-color: #EBF4FF;
+	selection-color: #DEEBFF;
+	focus-color: #EEEEEE;
+	accent-color: #C0E3FF;
+}
+
+s|Application
+{
+	background-color: #EBF4FF;
+}
\ No newline at end of file

Propchange: incubator/flex/trunk/samples/themes/spark_sky/spark_sky.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/spark_sky/spark_sky.css
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/zen/build.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/zen/build.xml?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/zen/build.xml (added)
+++ incubator/flex/trunk/samples/themes/zen/build.xml Thu Jun 14 18:53:27 2012
@@ -0,0 +1,88 @@
+<?xml version="1.0"?>
+<!--
+
+  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.
+
+-->
+
+
+<project name="zen" default="main" basedir=".">
+
+	<property name="FLEX_HOME" location="${basedir}/../../.."/>
+	
+	<property name="THEME_NAME" value="zen" />
+
+	<property file="${FLEX_HOME}/build.properties"/>
+
+    <!-- If you change this, update <target-player/> in the <compc/> tasks. -->
+    <property name="local.playerglobal.version" value="11.1"/>
+
+	<target name="main" depends="clean,compile" description="Clean build of ${THEME_NAME}.swc"/>
+
+	<target name="clean">
+		<delete failonerror="false">
+			<fileset dir="${basedir}">
+				<include name="${THEME_NAME}.swc"/>
+				<include name="${THEME_NAME}.swc.incr"/>
+			</fileset>
+		</delete>
+	</target>
+
+	<target name="compile" description="Compiles ${THEME_NAME}.swc">
+		<echo message="Compiling samples/themes/${THEME_NAME}/${THEME_NAME}.swc"/>
+		<!-- Load the <compc> task. We can't do this at the <project> level -->
+		<!-- because targets that run before flexTasks.jar gets built would fail. Classpath is set up to work in dev and released environments -->
+		<taskdef resource="flexTasks.tasks">
+			<classpath>
+				<pathelement path="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
+				<pathelement path="${FLEX_HOME}/lib/flexTasks.jar"/>
+			</classpath>
+		</taskdef>
+		<!--
+			This project builds a theme SWC containing skin classes.
+			It has no MXML tags and therefore no manifest.
+			Link in all classes.
+			Compile against all of the SDK libs externally.
+			Link in accessibility support.
+			Include various CSS and asset files in the SWC.
+			Don't put any resources into the SWC. (The classes don't require any.)
+		-->		
+		<compc fork="true"
+			   output="${basedir}/${THEME_NAME}.swc">
+            <!-- If you change this, update ${local.playerglobal.version} above. -->
+            <target-player>10</target-player>
+			<jvmarg line="${compc.jvm.args}"/>
+			<include-classes>ZenClasses</include-classes>
+			<source-path path-element="${basedir}/src"/>
+			<library-path/>
+            <external-library-path dir="${FLEX_HOME}/frameworks/libs">
+                <include name="player/${local.playerglobal.version}/playerglobal.swc"/>
+				<include name="framework.swc"/>
+				<include name="spark.swc"/>
+                <include name="textLayout.swc"/>
+                <include name="osmf.swc"/>
+				<include name="mx/mx.swc"/>
+			</external-library-path>
+			<include-file name="defaults.css" path="${basedir}/src/defaults.css"/>
+			<include-file name="assets/flex_skins.swf" path="${basedir}/src/assets/flex_skins.swf"/>
+			<include-file name="preview.jpg" path="${basedir}/src/preview.jpg"/>
+			<include-file name="metadata.xml" path="${basedir}/src/metadata.xml"/>
+			<locale/>
+			<accessible>true</accessible>
+		</compc>
+	</target>
+	
+</project>

Propchange: incubator/flex/trunk/samples/themes/zen/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/zen/build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/zen/src/ZenClasses.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/zen/src/ZenClasses.as?rev=1350373&view=auto
==============================================================================
--- incubator/flex/trunk/samples/themes/zen/src/ZenClasses.as (added)
+++ incubator/flex/trunk/samples/themes/zen/src/ZenClasses.as Thu Jun 14 18:53:27 2012
@@ -0,0 +1,91 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package
+{
+
+/**
+ *  @private
+ *  In some projects, this class is used to link additional classes
+ *  into the SWC beyond those that are found by dependency analysis
+ *  starting from the classes specified in manifest.xml.
+ *  This project has no manifest file (because there are no MXML tags
+ *  corresponding to any classes in it) so all the classes linked into
+ *  the SWC are found by a dependency analysis starting from the classes
+ *  listed here.
+ */
+internal class ZenClasses
+{
+
+import zen.skins.ApplicationSkin; ApplicationSkin;
+import zen.skins.BorderSkin; BorderSkin;
+import zen.skins.ButtonBarFirstButtonSkin; ButtonBarFirstButtonSkin;
+import zen.skins.ButtonBarLastButtonSkin; ButtonBarLastButtonSkin;
+import zen.skins.ButtonBarMiddleButtonSkin; ButtonBarMiddleButtonSkin;
+import zen.skins.ButtonBarSkin; ButtonBarSkin;
+import zen.skins.ButtonSkin; ButtonSkin;
+import zen.skins.CheckBoxSkin; CheckBoxSkin;
+import zen.skins.ComboBoxButtonSkin; ComboBoxButtonSkin;
+import zen.skins.ComboBoxSkin; ComboBoxSkin;
+import zen.skins.ComboBoxTextInputSkin; ComboBoxTextInputSkin;
+import zen.skins.DefaultButtonSkin; DefaultButtonSkin;
+import zen.skins.DefaultComplexItemRenderer; DefaultComplexItemRenderer;
+import zen.skins.DefaultItemRenderer; DefaultItemRenderer;
+import zen.skins.DropDownListButtonSkin; DropDownListButtonSkin;
+import zen.skins.DropDownListSkin; DropDownListSkin;
+import zen.skins.HScrollBarSkin; HScrollBarSkin;
+import zen.skins.HScrollBarThumbSkin; HScrollBarThumbSkin;
+import zen.skins.HScrollBarTrackSkin; HScrollBarTrackSkin;
+import zen.skins.HSliderSkin; HSliderSkin;
+import zen.skins.HSliderThumbSkin; HSliderThumbSkin;
+import zen.skins.HSliderTrackSkin; HSliderTrackSkin;
+import zen.skins.ListSkin; ListSkin;
+import zen.skins.NumericStepperSkin; NumericStepperSkin;
+import zen.skins.NumericStepperTextInputSkin; NumericStepperTextInputSkin;
+import zen.skins.PanelSkin; PanelSkin;
+import zen.skins.RadioButtonSkin; RadioButtonSkin;
+import zen.skins.ScrollBarDownButtonSkin; ScrollBarDownButtonSkin;
+import zen.skins.ScrollBarLeftButtonSkin; ScrollBarLeftButtonSkin;
+import zen.skins.ScrollBarRightButtonSkin; ScrollBarRightButtonSkin;
+import zen.skins.ScrollBarUpButtonSkin; ScrollBarUpButtonSkin;
+import zen.skins.ScrollerSkin; ScrollerSkin;
+import zen.skins.SkinnableContainerSkin; SkinnableContainerSkin;
+import zen.skins.SkinnableDataContainerSkin; SkinnableDataContainerSkin;
+import zen.skins.SpinnerDecrButtonSkin; SpinnerDecrButtonSkin;
+import zen.skins.SpinnerIncrButtonSkin; SpinnerIncrButtonSkin;
+import zen.skins.SpinnerSkin; SpinnerSkin;
+import zen.skins.TabBarButtonSkin; TabBarButtonSkin;
+import zen.skins.TabBarSkin; TabBarSkin;
+import zen.skins.TextAreaBorderSkin; TextAreaBorderSkin;
+import zen.skins.TextAreaSkin; TextAreaSkin;
+import zen.skins.TextInputBorderSkin; TextInputBorderSkin;
+import zen.skins.TextInputSkin; TextInputSkin;
+import zen.skins.TitleWindowCloseButtonSkin; TitleWindowCloseButtonSkin;
+import zen.skins.TitleWindowSkin; TitleWindowSkin;
+import zen.skins.ToggleButtonSkin; ToggleButtonSkin;
+import zen.skins.VScrollBarSkin; VScrollBarSkin;
+import zen.skins.VScrollBarThumbSkin; VScrollBarThumbSkin;
+import zen.skins.VScrollBarTrackSkin; VScrollBarTrackSkin;
+import zen.skins.VSliderSkin; VSliderSkin;
+import zen.skins.VSliderThumbSkin; VSliderThumbSkin;
+import zen.skins.VSliderTrackSkin; VSliderTrackSkin;
+import zen.skins.VideoPlayerSkin; VideoPlayerSkin;
+
+}
+}
\ No newline at end of file

Propchange: incubator/flex/trunk/samples/themes/zen/src/ZenClasses.as
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/flex/trunk/samples/themes/zen/src/ZenClasses.as
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/flex/trunk/samples/themes/zen/src/assets/ZenTheme.fla
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/zen/src/assets/ZenTheme.fla?rev=1350373&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/samples/themes/zen/src/assets/ZenTheme.fla
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/samples/themes/zen/src/assets/flex_skins.swf
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/samples/themes/zen/src/assets/flex_skins.swf?rev=1350373&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/samples/themes/zen/src/assets/flex_skins.swf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message