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 00:22:53 UTC
svn commit: r1402703 - in
/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar:
SWFs/comps/ Styles/ Styles/baselines/
Author: aharui
Date: Fri Oct 26 22:22:52 2012
New Revision: 1402703
URL: http://svn.apache.org/viewvc?rev=1402703&view=rev
Log:
Get these tests to run on AIR
Added:
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_Disabled.png
- copied unchanged from r1401866, incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_Disabled_JPGIcon.png
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_Disabled@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseDown_NonselectedTab@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseDown_selectedTab@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseOver_NonselectedTab@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseOver_selectedTab@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_Disabled.png
- copied unchanged from r1401866, incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_Disabled_JPG.png
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_Disabled@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseDown_NonselectedTab@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseDown_selectedTab@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseOver_NonselectedTab@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseOver_selectedTab@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_JPG@air.png (with props)
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_JPGIcon@air.png (with props)
Removed:
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_Disabled_JPG.png
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_Disabled_JPGIcon.png
Modified:
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_gif_runtime.mxml
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_jpg_runtime.mxml
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_png_runtime.mxml
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_swf_runtime.mxml
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_gif_runtime.mxml
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_jpg_runtime.mxml
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_png_runtime.mxml
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_swf_runtime.mxml
incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/ToggleButtonBar_SkinStates_Basic.mxml
Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_gif_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_gif_runtime.mxml?rev=1402703&r1=1402702&r2=1402703&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_gif_runtime.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_gif_runtime.mxml Fri Oct 26 22:22:52 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/ToggleButtonBar/SWFs/comps/button_jpg_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_jpg_runtime.mxml?rev=1402703&r1=1402702&r2=1402703&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_jpg_runtime.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_jpg_runtime.mxml Fri Oct 26 22:22:52 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/ToggleButtonBar/SWFs/comps/button_png_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_png_runtime.mxml?rev=1402703&r1=1402702&r2=1402703&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_png_runtime.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_png_runtime.mxml Fri Oct 26 22:22:52 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/ToggleButtonBar/SWFs/comps/button_swf_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_swf_runtime.mxml?rev=1402703&r1=1402702&r2=1402703&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_swf_runtime.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/button_swf_runtime.mxml Fri Oct 26 22:22:52 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.swf" id="overImage" maintainAspectRatio="false" width="100%" height="100%"/>
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonOver.swf')}" id="overImage" 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.swf" id="downImage" maintainAspectRatio="false" width="100%" height="100%"/>
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonDown.swf')}" id="downImage" 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.swf" id="disabledImage" maintainAspectRatio="false" width="100%" height="100%"/>
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonDisabled.swf')}" id="disabledImage" 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.swf" id="selectedUpImage" maintainAspectRatio="false" width="100%" height="100%"/>
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedUp.swf')}" id="selectedUpImage" 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.swf" id="selectedOverImage" maintainAspectRatio="false" width="100%" height="100%"/>
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedOver.swf')}" id="selectedOverImage" 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.swf" id="selectedDownImage" maintainAspectRatio="false" width="100%" height="100%"/>
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedDown.swf')}" id="selectedDownImage" 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.swf" id="selectedDisabledImage" maintainAspectRatio="false" width="100%" height="100%"/>
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/buttonSelectedDown.swf')}" id="selectedDisabledImage" 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/ToggleButtonBar/SWFs/comps/icon_gif_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_gif_runtime.mxml?rev=1402703&r1=1402702&r2=1402703&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_gif_runtime.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_gif_runtime.mxml Fri Oct 26 22:22:52 2012
@@ -18,6 +18,28 @@
-->
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" paddingRight="0" paddingLeft="0" paddingTop="0" paddingBottom="0">
+ <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="notIconBase">
<mx:RemoveChild target="{baseIcon}"/>
@@ -25,39 +47,39 @@
<mx:State name="up" />
<mx:State name="over" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconOver.gif" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconOver.gif')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="down" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconDown.gif" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconDown.gif')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="disabled" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconDisabled.gif" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconDisabled.gif')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedUp" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedUp.gif" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedUp.gif')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedOver" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedOver.gif" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedOver.gif')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedDown" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedDown.gif" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedDown.gif')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedDisabled" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedDisabled.gif" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedDisabled.gif')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
</mx:states>
- <mx:Image id="baseIcon" source="../../../../Assets/Images/ButtonImages/iconUp.gif" maintainAspectRatio="false" width="13" height="13"/>
+ <mx:Image id="baseIcon" source="{airify('../../../../Assets/Images/ButtonImages/iconUp.gif')}" maintainAspectRatio="false" width="13" height="13"/>
</mx:VBox>
\ No newline at end of file
Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_jpg_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_jpg_runtime.mxml?rev=1402703&r1=1402702&r2=1402703&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_jpg_runtime.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_jpg_runtime.mxml Fri Oct 26 22:22:52 2012
@@ -18,6 +18,28 @@
-->
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" paddingRight="0" paddingLeft="0" paddingTop="0" paddingBottom="0">
+ <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="notIconBase">
<mx:RemoveChild target="{baseIcon}"/>
@@ -25,39 +47,39 @@
<mx:State name="up" />
<mx:State name="over" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconOver.jpg" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconOver.jpg')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="down" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconDown.jpg" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconDown.jpg')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="disabled" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconDisabled.jpg" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconDisabled.jpg')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedUp" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedUp.jpg" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedUp.jpg')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedOver" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedOver.jpg" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedOver.jpg')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedDown" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedDown.jpg" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedDown.jpg')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedDisabled" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedDisabled.jpg" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedDisabled.jpg')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
</mx:states>
- <mx:Image id="baseIcon" source="../../../../Assets/Images/ButtonImages/iconUp.jpg" maintainAspectRatio="false" width="13" height="13"/>
+ <mx:Image id="baseIcon" source="{airify('../../../../Assets/Images/ButtonImages/iconUp.jpg')}" maintainAspectRatio="false" width="13" height="13"/>
</mx:VBox>
\ No newline at end of file
Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_png_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_png_runtime.mxml?rev=1402703&r1=1402702&r2=1402703&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_png_runtime.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_png_runtime.mxml Fri Oct 26 22:22:52 2012
@@ -18,6 +18,28 @@
-->
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" paddingRight="0" paddingLeft="0" paddingTop="0" paddingBottom="0">
+ <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="notIconBase">
<mx:RemoveChild target="{baseIcon}"/>
@@ -25,39 +47,39 @@
<mx:State name="up" />
<mx:State name="over" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconOver.png" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconOver.png')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="down" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconDown.png" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconDown.png')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="disabled" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconDisabled.png" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconDisabled.png')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedUp" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedUp.png" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedUp.png')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedOver" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedOver.png" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedOver.png')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedDown" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedDown.png" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedDown.png')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedDisabled" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedDisabled.png" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedDisabled.png')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
</mx:states>
- <mx:Image id="baseIcon" source="../../../../Assets/Images/ButtonImages/iconUp.png" maintainAspectRatio="false" width="13" height="13"/>
+ <mx:Image id="baseIcon" source="{airify('../../../../Assets/Images/ButtonImages/iconUp.png')}" maintainAspectRatio="false" width="13" height="13"/>
</mx:VBox>
\ No newline at end of file
Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_swf_runtime.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_swf_runtime.mxml?rev=1402703&r1=1402702&r2=1402703&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_swf_runtime.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/SWFs/comps/icon_swf_runtime.mxml Fri Oct 26 22:22:52 2012
@@ -18,6 +18,28 @@
-->
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" paddingRight="0" paddingLeft="0" paddingTop="0" paddingBottom="0">
+ <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="notIconBase">
<mx:RemoveChild target="{baseIcon}"/>
@@ -25,39 +47,39 @@
<mx:State name="up" />
<mx:State name="over" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconOver.swf" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconOver.swf')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="down" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconDown.swf" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconDown.swf')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="disabled" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconDisabled.swf" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconDisabled.swf')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedUp" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedUp.swf" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedUp.swf')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedOver" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedOver.swf" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedOver.swf')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedDown" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedDown.swf" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedDown.swf')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
<mx:State name="selectedDisabled" basedOn="notIconBase">
<mx:AddChild creationPolicy="all">
- <mx:Image source="../../../../Assets/Images/ButtonImages/iconSelectedDisabled.swf" maintainAspectRatio="false" width="13" height="13" />
+ <mx:Image source="{airify('../../../../Assets/Images/ButtonImages/iconSelectedDisabled.swf')}" maintainAspectRatio="false" width="13" height="13" />
</mx:AddChild>
</mx:State>
</mx:states>
- <mx:Image id="baseIcon" source="../../../../Assets/Images/ButtonImages/iconUp.swf" maintainAspectRatio="false" width="13" height="13"/>
+ <mx:Image id="baseIcon" source="{airify('../../../../Assets/Images/ButtonImages/iconUp.swf')}" maintainAspectRatio="false" width="13" height="13"/>
</mx:VBox>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/ToggleButtonBar_SkinStates_Basic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/ToggleButtonBar_SkinStates_Basic.mxml?rev=1402703&r1=1402702&r2=1402703&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/ToggleButtonBar_SkinStates_Basic.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/ToggleButtonBar_SkinStates_Basic.mxml Fri Oct 26 22:22:52 2012
@@ -145,7 +145,9 @@
<SetStyle target="tbb" styleName="buttonStyleName" value="myToggleButtonBarJPG" waitEvent="updateComplete" waitTarget="tbb" />
</setup>
<body>
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseOver_selectedTab" keywords="[enabled, SkinStates,EmbedJPG, ToggleButtonBar]" >
@@ -157,7 +159,9 @@
<body>
<DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tbb" waitEvent="rollOver" waitTarget="tbb" />
<WaitForEffectsToEnd />
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseOver_selectedTab.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseOver_NonselectedTab" keywords="[enabled, SkinStates,EmbedJPG, ToggleButtonBar]" >
@@ -169,7 +173,9 @@
<body>
<DispatchMouseEvent type="rollOver" localX="109" localY="10" target="tbb" waitEvent="rollOver" waitTarget="tbb" />
<WaitForEffectsToEnd />
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseOver_NonselectedTab.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseDown_selectedTab" keywords="[enabled, SkinStates,EmbedJPG, ToggleButtonBar]" >
@@ -182,7 +188,9 @@
<DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tbb" waitEvent="rollOver" waitTarget="tbb" />
<DispatchMouseEvent type="mouseDown" localX="10" localY="10" target="tbb" waitEvent="mouseDown" waitTarget="tbb" />
<WaitForEffectsToEnd />
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseDown_selectedTab.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseDown_NonselectedTab" keywords="[enabled, SkinStates,EmbedJPG, ToggleButtonBar]" >
@@ -195,7 +203,9 @@
<DispatchMouseEvent type="rollOver" localX="109" localY="10" target="tbb" waitEvent="rollOver" waitTarget="tbb" />
<DispatchMouseEvent type="mouseDown" localX="109" localY="10" target="tbb" waitEvent="mouseDown" waitTarget="tbb" />
<WaitForEffectsToEnd />
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseDown_NonselectedTab.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_Embeding_JPG_Disabled" keywords="[disabled, SkinStates,EmbedJPG, ToggleButtonBar]" >
@@ -206,7 +216,9 @@
<SetProperty target="tbb" propertyName="enabled" value="false" waitEvent="updateComplete" waitTarget="tbb"/>
</setup>
<body>
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_Disabled_JPG.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_Embeding_PNG" keywords="[enabled, SkinStates,EmbedPNG, ToggleButtonBar]" >
@@ -431,7 +443,9 @@
<SetStyle target="tbb" styleName="buttonStyleName" value="myToggleButtonBarJPGRunTime" waitEvent="updateComplete" waitTarget="tbb" />
</setup>
<body>
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_JPG.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_runtime_PNG" keywords="[enabled, SkinStates,runtimePNG, ToggleButtonBar]" >
@@ -530,7 +544,9 @@
<SetStyle target="tbb" styleName="buttonStyleName" value="myToggleButtonBarJPGIcon" waitEvent="updateComplete" waitTarget="tbb" />
</setup>
<body>
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseOver_selectedTab" keywords="[enabled, SkinStates,EmbedJPGIcon, ToggleButtonBar]" >
@@ -543,7 +559,9 @@
<body>
<DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tbb" waitEvent="rollOver" waitTarget="tbb" />
<WaitForEffectsToEnd />
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseOver_selectedTab.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseOver_NonselectedTab" keywords="[enabled, SkinStates,EmbedJPGIcon, ToggleButtonBar]" >
@@ -556,7 +574,9 @@
<body>
<DispatchMouseEvent type="rollOver" localX="109" localY="10" target="tbb" waitEvent="rollOver" waitTarget="tbb" />
<WaitForEffectsToEnd />
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseOver_NonselectedTab.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseDown_selectedTab" keywords="[enabled, SkinStates,EmbedJPGIcon, ToggleButtonBar]" >
@@ -569,7 +589,9 @@
<DispatchMouseEvent type="rollOver" localX="10" localY="10" target="tbb" waitEvent="rollOver" waitTarget="tbb" />
<DispatchMouseEvent type="mouseDown" localX="10" localY="10" target="tbb" waitEvent="mouseDown" waitTarget="tbb" />
<WaitForEffectsToEnd />
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseDown_selectedTab.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseDown_NonselectedTab" keywords="[enabled, SkinStates,EmbedJPGIcon, ToggleButtonBar]" >
@@ -582,7 +604,9 @@
<DispatchMouseEvent type="rollOver" localX="109" localY="10" target="tbb" waitEvent="rollOver" waitTarget="tbb" />
<DispatchMouseEvent type="mouseDown" localX="109" localY="10" target="tbb" waitEvent="mouseDown" waitTarget="tbb" />
<WaitForEffectsToEnd />
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseDown_NonselectedTab.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_Disabled" keywords="[disabled, SkinStates,EmbedJPGIcon, ToggleButtonBar]" >
@@ -593,7 +617,9 @@
<SetProperty target="tbb" propertyName="enabled" value="false" waitEvent="updateComplete" waitTarget="tbb"/>
</setup>
<body>
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_Disabled_JPGIcon.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_Embeding_PNGIcon" keywords="[enabled, SkinStates,EmbedPNGIcon, ToggleButtonBar]" >
@@ -818,7 +844,9 @@
<SetStyle target="tbb" styleName="buttonStyleName" value="myToggleButtonBarJPGIconRunTime" waitEvent="updateComplete" waitTarget="tbb" />
</setup>
<body>
- <CompareBitmap target="tbb" url="../Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_JPGIcon.png" timeout="5000" />
+ <CompareBitmap target="tbb" url="../Styles/baselines/" timeout="5000" >
+ <ConditionalValue device="air" />
+ </CompareBitmap>
</body>
</TestCase>
<TestCase testID="ToggleButtonBar_Styles_SkinStates_runtime_PNGIcon" keywords="[enabled, SkinStates,runtimePNGIcon, ToggleButtonBar]" >
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_Disabled@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_Disabled%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_Disabled@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseDown_NonselectedTab@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseDown_NonselectedTab%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseDown_NonselectedTab@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseDown_selectedTab@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseDown_selectedTab%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseDown_selectedTab@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseOver_NonselectedTab@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseOver_NonselectedTab%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseOver_NonselectedTab@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseOver_selectedTab@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseOver_selectedTab%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPGIcon_mouseOver_selectedTab@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_Disabled@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_Disabled%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_Disabled@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseDown_NonselectedTab@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseDown_NonselectedTab%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseDown_NonselectedTab@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseDown_selectedTab@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseDown_selectedTab%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseDown_selectedTab@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseOver_NonselectedTab@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseOver_NonselectedTab%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseOver_NonselectedTab@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseOver_selectedTab@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseOver_selectedTab%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_Embeding_JPG_mouseOver_selectedTab@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_JPG@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_JPG%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_JPG@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_JPGIcon@air.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_JPGIcon%40air.png?rev=1402703&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/components/ToggleButtonBar/Styles/baselines/ToggleButtonBar_Styles_SkinStates_runtime_JPGIcon@air.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream