You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2012/10/27 17:05:27 UTC

svn commit: r1402803 - in /incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar: SWFs/comps/ Styles/ Styles/baselines/

Author: aharui
Date: Sat Oct 27 15:05:26 2012
New Revision: 1402803

URL: http://svn.apache.org/viewvc?rev=1402803&view=rev
Log:
Get these tests to run on AIR

Added:
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG@air.png   (with props)
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseDown_NonselectedTab@air.png   (with props)
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseDown_selectedTab@air.png   (with props)
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseOver_NonselectedTab@air.png   (with props)
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseOver_selectedTab@air.png   (with props)
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_runtime_JPG@air.png   (with props)
Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_gif_runtime.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_jpg_runtime.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_png_runtime.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_swf_runtime.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_gif_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_gif_runtime.mxml?rev=1402803&r1=1402802&r2=1402803&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_gif_runtime.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_gif_runtime.mxml Sat Oct 27 15:05:26 2012
@@ -18,6 +18,28 @@
 
 -->
 <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">	
+	<mx:Script>
+		<![CDATA[
+			private function airify(s:String):String
+			{
+				if (ApplicationDomain.currentDomain.hasDefinition("flash.filesystem.File"))
+				{
+					var c:Class = Class(ApplicationDomain.currentDomain.getDefinition("flash.filesystem.File"));
+					var f:Object = c.applicationDirectory;
+					var p:String = f.nativePath;
+					while (s.indexOf("../") == 0)
+					{
+						var dot:int = p.lastIndexOf("/");
+						p = p.substr(0, dot);
+						s = s.substr(3);
+					}
+					f.nativePath = p + "/" + s;
+					return f.url;
+				}
+				return s;				
+			}
+		]]>
+	</mx:Script>
 	<mx:states>
 		<mx:State name="notBase">
 			<mx:RemoveChild target="{baseButton}"/>
@@ -25,40 +47,40 @@
 		<mx:State name="up" />
 		<mx:State name="over" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonOver.gif" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonOver.gif')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="down" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonDown.gif" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonDown.gif')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="disabled" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonDisabled.gif" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonDisabled.gif')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedUp" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedUp.gif" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedUp.gif')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedOver" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedOver.gif" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedOver.gif')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedDown" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedDown.gif" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedDown.gif')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedDisabled" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedDown.gif" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedDown.gif')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 	</mx:states>
 		
-	<mx:Image id="baseButton" source="../../../../Assets/Images/ButtonImages/buttonUp.gif" maintainAspectRatio="false"  width="100%" height="100%"/>
+	<mx:Image id="baseButton" source="{airify('../../../../Assets/Images/ButtonImages/buttonUp.gif')}" maintainAspectRatio="false"  width="100%" height="100%"/>
 </mx:Canvas>
\ No newline at end of file

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_jpg_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_jpg_runtime.mxml?rev=1402803&r1=1402802&r2=1402803&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_jpg_runtime.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_jpg_runtime.mxml Sat Oct 27 15:05:26 2012
@@ -18,6 +18,28 @@
 
 -->
 <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
+	<mx:Script>
+		<![CDATA[
+			private function airify(s:String):String
+			{
+				if (ApplicationDomain.currentDomain.hasDefinition("flash.filesystem.File"))
+				{
+					var c:Class = Class(ApplicationDomain.currentDomain.getDefinition("flash.filesystem.File"));
+					var f:Object = c.applicationDirectory;
+					var p:String = f.nativePath;
+					while (s.indexOf("../") == 0)
+					{
+						var dot:int = p.lastIndexOf("/");
+						p = p.substr(0, dot);
+						s = s.substr(3);
+					}
+					f.nativePath = p + "/" + s;
+					return f.url;
+				}
+				return s;				
+			}
+		]]>
+	</mx:Script>
 	<mx:states>
 		<mx:State name="notBase">
 			<mx:RemoveChild target="{baseButton}"/>
@@ -25,39 +47,39 @@
 		<mx:State name="up" />
 		<mx:State name="over" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonOver.jpg" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonOver.jpg')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="down" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonDown.jpg" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonDown.jpg')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="disabled" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonDisabled.jpg" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonDisabled.jpg')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedUp" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedUp.jpg" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedUp.jpg')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedOver" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedOver.jpg" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedOver.jpg')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedDown" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedDown.jpg" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedDown.jpg')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedDisabled" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedDown.jpg" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedDown.jpg')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 	</mx:states>	
-	<mx:Image id="baseButton" source="../../../../Assets/Images/ButtonImages/buttonUp.jpg" maintainAspectRatio="false"  width="100%" height="100%"/>
+	<mx:Image id="baseButton" source="{airify('../../../../Assets/Images/ButtonImages/buttonUp.jpg')}" maintainAspectRatio="false"  width="100%" height="100%"/>
 </mx:Canvas>
\ No newline at end of file

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_png_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_png_runtime.mxml?rev=1402803&r1=1402802&r2=1402803&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_png_runtime.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_png_runtime.mxml Sat Oct 27 15:05:26 2012
@@ -18,6 +18,28 @@
 
 -->
 <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
+	<mx:Script>
+		<![CDATA[
+			private function airify(s:String):String
+			{
+				if (ApplicationDomain.currentDomain.hasDefinition("flash.filesystem.File"))
+				{
+					var c:Class = Class(ApplicationDomain.currentDomain.getDefinition("flash.filesystem.File"));
+					var f:Object = c.applicationDirectory;
+					var p:String = f.nativePath;
+					while (s.indexOf("../") == 0)
+					{
+						var dot:int = p.lastIndexOf("/");
+						p = p.substr(0, dot);
+						s = s.substr(3);
+					}
+					f.nativePath = p + "/" + s;
+					return f.url;
+				}
+				return s;				
+			}
+		]]>
+	</mx:Script>
 	<mx:states>
 		<mx:State name="notBase">
 			<mx:RemoveChild target="{baseButton}"/>
@@ -25,39 +47,39 @@
 		<mx:State name="up" />
 		<mx:State name="over" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonOver.png" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonOver.png')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="down" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonDown.png" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonDown.png')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="disabled" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonDisabled.png" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonDisabled.png')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedUp" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedUp.png" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedUp.png')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedOver" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedOver.png" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedOver.png')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedDown" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedDown.png" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedDown.png')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedDisabled" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image source="../../../../Assets/Images/ButtonImages/buttonSelectedDown.png" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedDown.png')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 	</mx:states>	
-	<mx:Image id="baseButton" source="../../../../Assets/Images/ButtonImages/buttonUp.png" maintainAspectRatio="false"  width="100%" height="100%"/>
+	<mx:Image id="baseButton" source="{airify('../../../../Assets/Images/ButtonImages/buttonUp.png')}" maintainAspectRatio="false"  width="100%" height="100%"/>
 </mx:Canvas>
\ No newline at end of file

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_swf_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_swf_runtime.mxml?rev=1402803&r1=1402802&r2=1402803&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_swf_runtime.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/SWFs/comps/button_swf_runtime.mxml Sat Oct 27 15:05:26 2012
@@ -18,6 +18,28 @@
 
 -->
 <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">	
+	<mx:Script>
+		<![CDATA[
+			private function airify(s:String):String
+			{
+				if (ApplicationDomain.currentDomain.hasDefinition("flash.filesystem.File"))
+				{
+					var c:Class = Class(ApplicationDomain.currentDomain.getDefinition("flash.filesystem.File"));
+					var f:Object = c.applicationDirectory;
+					var p:String = f.nativePath;
+					while (s.indexOf("../") == 0)
+					{
+						var dot:int = p.lastIndexOf("/");
+						p = p.substr(0, dot);
+						s = s.substr(3);
+					}
+					f.nativePath = p + "/" + s;
+					return f.url;
+				}
+				return s;				
+			}
+		]]>
+	</mx:Script>
 	<mx:states>
 		<mx:State name="notBase">
 			<mx:RemoveChild target="{baseButton}"/>
@@ -25,40 +47,40 @@
 		<mx:State name="up" />
 		<mx:State name="over" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image id="overImage" source="../../../../Assets/Images/ButtonImages/buttonOver.swf" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image id="overImage" source="{airify('../../../../Assets/Images/ButtonImages/buttonOver.swf')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="down" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image id="downImage" source="../../../../Assets/Images/ButtonImages/buttonDown.swf" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image id="downImage" source="{airify('../../../../Assets/Images/ButtonImages/buttonDown.swf')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="disabled" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image id="disabledImage" source="../../../../Assets/Images/ButtonImages/buttonDisabled.swf" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image id="disabledImage" source="{airify('../../../../Assets/Images/ButtonImages/buttonDisabled.swf')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedUp" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image id="selectedUpImage" source="../../../../Assets/Images/ButtonImages/buttonSelectedUp.swf" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image id="selectedUpImage" source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedUp.swf')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedOver" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image id="selectedOverImage" source="../../../../Assets/Images/ButtonImages/buttonSelectedOver.swf" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image id="selectedOverImage" source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedOver.swf')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedDown" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image id="selectedDownImage" source="../../../../Assets/Images/ButtonImages/buttonSelectedDown.swf" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image id="selectedDownImage" source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedDown.swf')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 		<mx:State name="selectedDisabled" basedOn="notBase">
 			<mx:AddChild creationPolicy="all">
-				<mx:Image id="selectedDisabledImage" source="../../../../Assets/Images/ButtonImages/buttonSelectedDown.swf" maintainAspectRatio="false" width="100%" height="100%"/> 
+				<mx:Image id="selectedDisabledImage" source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedDown.swf')}" maintainAspectRatio="false" width="100%" height="100%"/> 
 			</mx:AddChild>
 		</mx:State>
 	</mx:states>
 		
-	<mx:Image id="baseButton" source="../../../../Assets/Images/ButtonImages/buttonUp.swf" maintainAspectRatio="false"  width="100%" height="100%"/>
+	<mx:Image id="baseButton" source="{airify('../../../../Assets/Images/ButtonImages/buttonUp.swf')}" maintainAspectRatio="false"  width="100%" height="100%"/>
 </mx:Canvas>
\ No newline at end of file

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates.mxml?rev=1402803&r1=1402802&r2=1402803&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/TabBar_Styles_SkinStates.mxml Sat Oct 27 15:05:26 2012
@@ -96,7 +96,9 @@
                 <WaitForEffectsToEnd />
             </setup>
             <body>
-                <CompareBitmap target="tb" url="../Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG.png" timeout="5000" />
+                <CompareBitmap target="tb" url="../Styles/baselines/" timeout="5000" >
+					<ConditionalValue device="air" />
+				</CompareBitmap>
             </body>
         </TestCase> 
         <TestCase testID="TabBar_Styles_SkinStates_Embeding_JPG_mouseOver_selectedTab" keywords="[enabled, SkinStates,EmbedJPG, TabBar]" >
@@ -109,7 +111,9 @@
             </setup>
             <body>
 
-                <CompareBitmap target="tb" url="../Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseOver_selectedTab.png" timeout="5000" />
+                <CompareBitmap target="tb" url="../Styles/baselines/" timeout="5000" >
+					<ConditionalValue device="air" />
+				</CompareBitmap>
             </body>
         </TestCase>
         <TestCase testID="TabBar_Styles_SkinStates_Embeding_JPG_mouseOver_NonselectedTab" keywords="[enabled, SkinStates,EmbedJPG, TabBar]" >
@@ -121,7 +125,10 @@
                 <WaitForEffectsToEnd />
             </setup>
             <body>
-                <CompareBitmap target="tb" url="../Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseOver_NonselectedTab.png" timeout="5000" />
+                <CompareBitmap target="tb" url="../Styles/baselines/" timeout="5000" >
+					<ConditionalValue device="air" />
+				</CompareBitmap>
+
             </body>
         </TestCase>     
         <TestCase testID="TabBar_Styles_SkinStates_Embeding_JPG_mouseDown_selectedTab" keywords="[enabled, SkinStates,EmbedJPG, TabBar]" >
@@ -134,7 +141,9 @@
                 <WaitForEffectsToEnd />
             </setup>
             <body>
-                <CompareBitmap target="tb" url="../Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseDown_selectedTab.png" timeout="5000" />
+                <CompareBitmap target="tb" url="../Styles/baselines/" timeout="5000" >
+					<ConditionalValue device="air" />
+				</CompareBitmap>
             </body>
         </TestCase>
         <TestCase testID="TabBar_Styles_SkinStates_Embeding_JPG_mouseDown_NonselectedTab" keywords="[enabled, SkinStates,EmbedJPG, TabBar]" >
@@ -147,7 +156,9 @@
                 <WaitForEffectsToEnd />
             </setup>
             <body>
-                <CompareBitmap target="tb" url="../Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseDown_NonselectedTab.png" timeout="5000" />
+                <CompareBitmap target="tb" url="../Styles/baselines/" timeout="5000" >
+					<ConditionalValue device="air" />
+				</CompareBitmap>
             </body>
         </TestCase>
         <TestCase testID="TabBar_Styles_SkinStates_Embeding_JPG_Disabled" keywords="[disabled, SkinStates,EmbedJPG, TabBar]" >
@@ -391,7 +402,9 @@
                 <WaitForEffectsToEnd />
             </setup>
             <body>
-                <CompareBitmap target="tb" url="../Styles/baselines/TabBar_Styles_SkinStates_runtime_JPG.png" timeout="5000" />
+                <CompareBitmap target="tb" url="../Styles/baselines/" timeout="5000" >
+					<ConditionalValue device="air" />
+				</CompareBitmap>
             </body>
         </TestCase> 
 

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG%40air.png?rev=1402803&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG@air.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseDown_NonselectedTab@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseDown_NonselectedTab%40air.png?rev=1402803&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseDown_NonselectedTab@air.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseDown_selectedTab@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseDown_selectedTab%40air.png?rev=1402803&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseDown_selectedTab@air.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseOver_NonselectedTab@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseOver_NonselectedTab%40air.png?rev=1402803&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseOver_NonselectedTab@air.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseOver_selectedTab@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseOver_selectedTab%40air.png?rev=1402803&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_Embeding_JPG_mouseOver_selectedTab@air.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_runtime_JPG@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_runtime_JPG%40air.png?rev=1402803&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/TabBar/Styles/baselines/TabBar_Styles_SkinStates_runtime_JPG@air.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream