incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370370 [29/43] - in /incubator/flex/trunk/mustella/tests/mx: ./ binding/ binding/utils/ binding/utils/BindingUtils/ binding/utils/BindingUtils/SWFs/ binding/utils/BindingUtils/SWFs/assets/ binding/utils/BindingUtils/method/ binding/utils/...
Date Tue, 07 Aug 2012 17:13:35 GMT
Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_rotation_as_neg.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_rotation_mxml.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_rotation_mxml.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_rotation_mxml.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_spreadMethod_default.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_spreadMethod_default.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_spreadMethod_default.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_spreadMethod_reflect.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_spreadMethod_reflect.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_spreadMethod_reflect.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_spreadMethod_repeat.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_spreadMethod_repeat.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/Properties/baselines/LinearGradient_Properties_spreadMethod_repeat.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/SWFs/LinearGradient_Main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/SWFs/LinearGradient_Main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/SWFs/LinearGradient_Main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/SWFs/LinearGradient_Main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:local="comps.*">
+
+<local:RectComp id="rectComp1" />
+
+<fx:Declarations>
+    <s:LinearGradient id="gradient1" rotation="45">
+		<s:GradientEntry color="#FFCCFF" alpha=".8" />
+		<s:GradientEntry color="#9933CC" alpha="1" />
+		<s:GradientEntry color="#00FF00" alpha="1" />
+	</s:LinearGradient>
+</fx:Declarations>
+
+<s:Graphic id="rect_angle" y="70">
+	<s:Rect width="40" height="40">
+		<s:stroke>
+			<s:SolidColorStroke  />
+		</s:stroke>
+		<s:fill>
+			<s:LinearGradient id="gradient2" angle="45">
+				<s:GradientEntry color="#FFFFFF" alpha=".8" />
+				<s:GradientEntry color="#3399CC" alpha="1" />
+				<s:GradientEntry color="#0000FF" alpha="1" />
+			</s:LinearGradient>
+	   </s:fill>
+	</s:Rect>
+</s:Graphic>
+
+<s:Graphic id="rect_rotation" y="140">
+	<s:Rect width="50" height="50">
+		<s:stroke>
+			<s:SolidColorStroke  />
+		</s:stroke>
+	</s:Rect>
+</s:Graphic>
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/SWFs/comps/RectComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/SWFs/comps/RectComp.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/SWFs/comps/RectComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradient/SWFs/comps/RectComp.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    x="200" y="20">
+
+    <s:Rect id="path1" width="60" height="60">
+        <s:stroke>
+            <s:SolidColorStroke  />
+        </s:stroke>
+        <s:fill>
+	       <s:LinearGradient id="gradient1">
+				<s:GradientEntry color="#FF0000" alpha="1" />
+				<s:GradientEntry color="#0000FF" alpha="1" />
+			</s:LinearGradient>
+        </s:fill>
+
+    </s:Rect>
+
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/LinearGradientStroke_Properties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/LinearGradientStroke_Properties.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/LinearGradientStroke_Properties.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/LinearGradientStroke_Properties.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,157 @@
+<UnitTester
+    testDir="mx/graphics/LinearGradientStroke/Properties/"
+    xmlns:mx="http://www.adobe.com/2006/mxml"
+    xmlns="*"
+    testSWF="../SWFs/LinearGradientStroke_Main.mxml">
+
+    <!--Default Script-->
+    <mx:Script>
+        <![CDATA[
+        import spark.components.VideoDisplay;
+
+        public static function init(o:DisplayObject):void{}
+        ]]>
+    </mx:Script>
+
+    <!--Default Metadata-->
+    <mx:Metadata><![CDATA[[Mixin]]]></mx:Metadata>
+
+    <!--Test Cases-->
+    <testCases>
+    <!-- Note, no event triggers when you update a filter at runtime -->
+
+        <TestCase testID="LinearGradientStroke_Properties_angle_mxml" keywords="[LinearGradientStroke, angle]"
+            description="Test using angle in mxml">
+            <body>
+                <CompareBitmap numColorVariances="4" maxColorVariance="7" url="../Properties/baselines/$testID.png" target="rect_angle" />
+            </body>
+        </TestCase>
+        <TestCase testID="LinearGradientStroke_Properties_angle_as_int" keywords="[LinearGradientStroke, angle]"
+            description="Test the default value of the alpha property.">
+            <setup>
+                <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                    waitTarget="rectComp1" />
+            </setup>
+            <body>
+                <SetProperty propertyName="angle" value="40" target="rectComp1.gradient1" waitEvent="updateComplete"
+                    waitTarget="rectComp1" />
+                <CompareBitmap numColorVariances="4" maxColorVariance="7" url="../Properties/baselines/$testID.png" target="rectComp1" />
+            </body>
+        </TestCase>
+        <TestCase testID="LinearGradientStroke_Properties_angle_as_neg" keywords="[LinearGradientStroke, angle]"
+            description="Test the default value of the alpha property.">
+            <setup>
+                <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                    waitTarget="rectComp1" />
+            </setup>
+            <body>
+                <SetProperty propertyName="angle" value="-40" target="rectComp1.gradient1" waitEvent="updateComplete"
+                    waitTarget="rectComp1" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+            </body>
+        </TestCase>
+        <TestCase testID="LinearGradientStroke_Properties_rotation_mxml" keywords="[LinearGradientStroke, rotation]"
+              description="Test using rotation in mxml">
+              <body>
+                  <SetProperty target="rect_rotation.getElementAt(0)" propertyName="stroke" valueExpression="value=application.gradient1"
+                      waitTarget="rect_rotation.getElementAt(0)" waitEvent="updateComplete" />
+                  <CompareBitmap numColorVariances="4" maxColorVariance="7" url="../Properties/baselines/$testID.png" target="rect_rotation" />
+              </body>
+          </TestCase>
+          <TestCase testID="LinearGradientStroke_Properties_rotation_as_int" keywords="[LinearGradientStroke, rotation]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="rotation" value="40" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <CompareBitmap numColorVariances="4" maxColorVariance="7" url="../Properties/baselines/$testID.png" target="rectComp1" />
+              </body>
+          </TestCase>
+          <TestCase testID="LinearGradientStroke_Properties_rotation_as_neg" keywords="[LinearGradientStroke, rotation]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="rotation" value="-40" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+              </body>
+        </TestCase>
+        <TestCase testID="LinearGradientStroke_Properties_spreadMethod_reflect" keywords="[LinearGradientStroke, spreadMethod]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="scaleX" value="20" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <SetProperty propertyName="spreadMethod" value="reflect" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+              </body>
+          </TestCase>
+        <TestCase testID="LinearGradientStroke_Properties_spreadMethod_repeat" keywords="[LinearGradientStroke, spreadMethod]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="scaleX" value="20" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <SetProperty propertyName="spreadMethod" value="repeat" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+              </body>
+          </TestCase>
+        <TestCase testID="LinearGradientStroke_Properties_spreadMethod_default" keywords="[LinearGradientStroke, spreadMethod]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="scaleX" value="20" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <AssertPropertyValue propertyName="spreadMethod" value="pad" target="rectComp1.gradient1" />
+                  <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+              </body>
+          </TestCase>
+        <TestCase testID="LinearGradientStroke_Properties_interpolationMethod_default" keywords="[LinearGradientStroke, interpolationMethod]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="scaleX" value="20" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <SetProperty propertyName="spreadMethod" value="reflect" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <AssertPropertyValue propertyName="interpolationMethod" value="rgb" target="rectComp1.gradient1" />
+              </body>
+          </TestCase>
+        <TestCase testID="LinearGradientStroke_Properties_interpolationMethod_linearRGB" keywords="[LinearGradientStroke, interpolationMethod]"
+              description="Test the default value of the alpha property.">
+              <setup>
+                  <ResetComponent target="rectComp1" className="comps.RectComp" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+              </setup>
+              <body>
+                  <SetProperty propertyName="scaleX" value="20" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <SetProperty propertyName="spreadMethod" value="reflect" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <SetProperty propertyName="interpolationMethod" value="linearRGB" target="rectComp1.gradient1" waitEvent="updateComplete"
+                      waitTarget="rectComp1" />
+                  <CompareBitmap url="../Properties/baselines/$testID.png" target="rectComp1" />
+              </body>
+          </TestCase>
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_angle_as_int.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_angle_as_int.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_angle_as_int.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_angle_as_neg.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_angle_as_neg.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_angle_as_neg.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_angle_mxml.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_angle_mxml.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_angle_mxml.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_interpolationMethod_linearRGB.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_interpolationMethod_linearRGB.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_interpolationMethod_linearRGB.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_rotation_as_int.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_rotation_as_int.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_rotation_as_int.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_rotation_as_neg.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_rotation_as_neg.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_rotation_as_neg.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_rotation_mxml.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_rotation_mxml.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_rotation_mxml.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_spreadMethod_default.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_spreadMethod_default.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_spreadMethod_default.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_spreadMethod_reflect.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_spreadMethod_reflect.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_spreadMethod_reflect.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_spreadMethod_repeat.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_spreadMethod_repeat.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/Properties/baselines/LinearGradientStroke_Properties_spreadMethod_repeat.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/SWFs/LinearGradientStroke_Main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/SWFs/LinearGradientStroke_Main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/SWFs/LinearGradientStroke_Main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/SWFs/LinearGradientStroke_Main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:local="comps.*">
+
+<local:RectComp id="rectComp1" y="20"/>
+
+<fx:Declarations>
+    <s:LinearGradientStroke id="gradient1" rotation="45" weight="10">
+		<s:GradientEntry color="#FFCCFF" alpha=".8" />
+		<s:GradientEntry color="#9933CC" alpha="1" />
+		<s:GradientEntry color="#00FF00" alpha="1" />
+	</s:LinearGradientStroke>
+</fx:Declarations>
+
+<s:Graphic id="rect_angle" y="110"  width="70" height="80">
+	<s:Rect width="40" height="40" horizontalCenter="0" verticalCenter="0">
+		<s:fill>
+			<s:SolidColor color="0x220044"/>
+		</s:fill>
+		<s:stroke>
+			<s:LinearGradientStroke id="gradient2" angle="45" weight="10">
+				<s:GradientEntry color="#FFFFFF" alpha=".8" />
+				<s:GradientEntry color="#3399CC" alpha="1" />
+				<s:GradientEntry color="#0000FF" alpha="1" />
+			</s:LinearGradientStroke>
+	   </s:stroke>
+	</s:Rect>
+</s:Graphic>
+
+<s:Graphic id="rect_rotation" y="240" width="80" height="70">
+	<s:Rect width="50" height="50" horizontalCenter="0" verticalCenter="0">
+		<s:fill>
+			<s:SolidColor color="0x000000"  />
+		</s:fill>
+	</s:Rect>
+</s:Graphic>
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/SWFs/comps/RectComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/SWFs/comps/RectComp.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/SWFs/comps/RectComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/LinearGradientStroke/SWFs/comps/RectComp.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    width="85" height="85">
+
+    <s:Rect id="path1" width="60" height="60" horizontalCenter="0" verticalCenter="0">
+        <s:fill>
+            <s:SolidColor color="0xFF00FF" />
+        </s:fill>
+        <s:stroke>
+	       <s:LinearGradientStroke id="gradient1" weight="20">
+				<s:GradientEntry color="#FF0000" alpha="1" />
+				<s:GradientEntry color="#0000FF" alpha="1" />
+			</s:LinearGradientStroke>
+        </s:stroke>
+
+    </s:Rect>
+
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/SolidColor_Properties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/SolidColor_Properties.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/SolidColor_Properties.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/SolidColor_Properties.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,123 @@
+<UnitTester
+    testDir="mx/graphics/SolidColorStroke/Properties/"
+    xmlns:mx="http://www.adobe.com/2006/mxml"
+    xmlns="*"
+    testSWF="../SWFs/SolidColorStroke_Main.mxml">
+
+    <!--Default Script-->
+    <mx:Script>
+        <![CDATA[
+        import spark.components.VideoDisplay;
+
+        public static function init(o:DisplayObject):void{}
+        ]]>
+    </mx:Script>
+
+    <!--Default Metadata-->
+    <mx:Metadata><![CDATA[[Mixin]]]></mx:Metadata>
+
+    <!--Test Cases-->
+    <testCases>
+    <!-- Note, no event triggers when you update a filter at runtime -->
+
+        <TestCase testID="SolidColorStroke_Properties_color_default" keywords="[SolidColorStroke, color]"
+            description="Test the default value of the color property.">
+            <body>
+                <AssertPropertyValue target="lineComp.getElementAt(0).stroke" propertyName="color" value="0x000000" />
+            </body>
+        </TestCase>
+        <TestCase testID="SolidColorStroke_Properties_alpha_default" keywords="[SolidColorStroke, alpha]"
+            description="Test the default value of the alpha property.">
+            <body>
+                <AssertPropertyValue target="lineComp.getElementAt(0).stroke" propertyName="alpha" value="1" />
+            </body>
+        </TestCase>
+        <TestCase testID="SolidColorStroke_Properties_caps_default" keywords="[SolidColorStroke, caps]"
+            description="Test the default value of the caps property.">
+            <!--bugs>
+                <Bug bugID="SDK-18373" />
+            </bugs-->
+            <body>
+                <AssertPropertyValue target="lineComp.getElementAt(0).stroke" propertyName="caps" value="round" />
+            </body>
+        </TestCase>
+        <!-- SDK-21785 -->
+        <!--TestCase testID="SolidColorStroke_Properties_weight_default" keywords="[SolidColorStroke, weight]"
+            description="Test the default value of the weight property.">
+            <body>
+                <AssertPropertyValue target="lineComp.getElementAt(0).stroke" propertyName="weight" value="0" />
+            </body>
+        </TestCase-->
+        <TestCase testID="SolidColorStroke_Properties_joints_default" keywords="[SolidColorStroke, joints]"
+            description="Test the default value of the joints property.">
+            <body>
+                <AssertPropertyValue target="lineComp.getElementAt(0).stroke" propertyName="joints" value="round" />
+            </body>
+        </TestCase>
+        <TestCase testID="SolidColorStroke_Properties_miterLimit_default" keywords="[SolidColorStroke, miterLimit]"
+            description="Test the default value of the miterLimit property.">
+            <body>
+                <AssertPropertyValue target="lineComp.getElementAt(0).stroke" propertyName="miterLimit" value="3" />
+            </body>
+        </TestCase>
+        <TestCase testID="SolidColorStroke_Properties_pixelHinting_default" keywords="[SolidColorStroke, pixelHinting]" description="Test the default value of the pixelHinting property.">
+            <body>
+                <AssertPropertyValue target="lineComp.getElementAt(0).stroke" propertyName="pixelHinting" value="false" />
+            </body>
+        </TestCase>
+        <TestCase testID="SolidColorStroke_Properties_joints_miter" keywords="[SolidColorStroke, joints]"
+            description="Test the value miter for the joints property.">
+            <setup>
+                <ResetComponent target="pathComp" className="comps.PathComp" waitEvent="updateComplete" waitTarget="pathComp" />
+            </setup>
+            <body>
+                <SetProperty target="pathComp.path1.stroke" propertyName="color" value="0xFF0000"/>
+                <SetProperty target="pathComp.path1.stroke" propertyName="weight" value="7"/>
+                <SetProperty target="pathComp.path1.stroke" propertyName="joints" value="miter" />
+                <Pause timeout="300" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="pathComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="SolidColorStroke_Properties_joints_bevel" keywords="[SolidColorStroke, joints]"
+            description="Test the value miter for the joints property.">
+            <setup>
+                <ResetComponent target="pathComp" className="comps.PathComp" waitEvent="updateComplete" waitTarget="pathComp" />
+            </setup>
+            <body>
+                <SetProperty target="pathComp.getElementAt(0).stroke" propertyName="color" value="0xFF0000"/>
+                <SetProperty target="pathComp.getElementAt(0).stroke" propertyName="weight" value="7"/>
+                <SetProperty target="pathComp.getElementAt(0).stroke" propertyName="joints" value="bevel"/>
+                <Pause timeout="300" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="pathComp" timeout="2000"/>
+            </body>
+        </TestCase>
+        <TestCase testID="SolidColorStroke_Properties_miterLimit_0" keywords="[SolidColorStroke, miterLimit]"
+            description="Test the value 0 for the miterLimit property.">
+            <setup>
+                <ResetComponent target="pathComp" className="comps.PathComp" waitEvent="updateComplete" waitTarget="pathComp" />
+            </setup>
+            <body>
+                <SetProperty target="pathComp.getElementAt(0).stroke" propertyName="color" value="0x00FF00"/>
+                <SetProperty target="pathComp.getElementAt(0).stroke" propertyName="weight" value="7"/>
+                <SetProperty target="pathComp.getElementAt(0).stroke" propertyName="joints" value="miter"/>
+                <SetProperty target="pathComp.getElementAt(0).stroke" propertyName="miterLimit" value="0"  />
+                <Pause timeout="300" />
+                <CompareBitmap url="../Properties/baselines/$testID.png" target="pathComp" timeout="2000"/>
+            </body>
+        </TestCase>
+         <TestCase testID="SolidColorStroke_Properties_miterLimit_10" keywords="[SolidColorStroke, miterLimit]"
+             description="Test the value 10 for the miterLimit property.">
+             <setup>
+                 <ResetComponent target="pathComp" className="comps.PathComp" waitEvent="updateComplete" waitTarget="pathComp" />
+             </setup>
+             <body>
+                 <SetProperty target="pathComp.getElementAt(0).stroke" propertyName="color" value="0x00FF00"/>
+                <SetProperty target="pathComp.getElementAt(0).stroke" propertyName="weight" value="7"/>
+                <SetProperty target="pathComp.getElementAt(0).stroke" propertyName="joints" value="miter"/>
+                <SetProperty target="pathComp.getElementAt(0).stroke" propertyName="miterLimit" value="10"  />
+                <Pause timeout="300" />
+                 <CompareBitmap url="../Properties/baselines/$testID.png" target="pathComp" timeout="2000"/>
+             </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/baselines/SolidColorStroke_Properties_joints_bevel.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/baselines/SolidColorStroke_Properties_joints_bevel.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/baselines/SolidColorStroke_Properties_joints_bevel.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/baselines/SolidColorStroke_Properties_joints_miter.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/baselines/SolidColorStroke_Properties_joints_miter.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/baselines/SolidColorStroke_Properties_joints_miter.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/baselines/SolidColorStroke_Properties_miterLimit_0.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/baselines/SolidColorStroke_Properties_miterLimit_0.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/baselines/SolidColorStroke_Properties_miterLimit_0.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/baselines/SolidColorStroke_Properties_miterLimit_10.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/baselines/SolidColorStroke_Properties_miterLimit_10.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/Properties/baselines/SolidColorStroke_Properties_miterLimit_10.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/SWFs/SolidColorStroke_Main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/SWFs/SolidColorStroke_Main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/SWFs/SolidColorStroke_Main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/SWFs/SolidColorStroke_Main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:local="comps.*">
+
+<local:LineComp id="lineComp" />
+
+<local:PathComp id="pathComp" />
+
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/SWFs/comps/LineComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/SWFs/comps/LineComp.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/SWFs/comps/LineComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/SWFs/comps/LineComp.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    width="100" height="30">
+
+	<s:Line id="line1" xFrom="15" yFrom="10" xTo="80" yTo="15" >
+	    <s:stroke>
+	        <s:SolidColorStroke id="stroke1" />
+	    </s:stroke>
+	</s:Line>
+
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/SWFs/comps/PathComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/SWFs/comps/PathComp.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/SWFs/comps/PathComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/graphics/SolidColorStroke/SWFs/comps/PathComp.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    x="200" y="20">
+
+    <s:Path id="path1" data="M 15 15 L 30 90 L 45 67 Z">
+        <s:stroke>
+            <s:SolidColorStroke  />
+        </s:stroke>
+    </s:Path>
+
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/AccordionComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/AccordionComp.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/AccordionComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/AccordionComp.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Accordion xmlns:fx="http://ns.adobe.com/mxml/2009" 
+         xmlns:s="library://ns.adobe.com/flex/spark" 
+         xmlns:mx="library://ns.adobe.com/flex/mx" 
+         xmlns:comps="comps.*" width="100%"  height="100%" >
+         
+        <s:NavigatorContent label="AnimateColor" id="animateColorNav" width="400" height="300">
+            <comps:AnimateColorComponents id="animateColorComp" x="5" y="15" />
+        </s:NavigatorContent>   
+        <s:NavigatorContent label="Move" id="moveNav" width="400" height="300">
+            <comps:MoveComponents id="moveComp" x="5" y="15" />
+        </s:NavigatorContent>   
+        <s:NavigatorContent label="Move3D" id="move3DNav" width="400" height="300">
+            <comps:Move3DComponents id="move3DComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="Fade" id="fadeNav" width="400" height="300">
+            <comps:FadeComponents id="fadeComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="Rotate" id="rotateNav" width="400" height="300">
+            <comps:RotateComponents id="rotateComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="Rotate3D" id="rotate3DNav" width="400" height="300">
+            <comps:Rotate3DComponents id="rotate3DComp" x="5" y="15" />
+        </s:NavigatorContent>           
+        <s:NavigatorContent label="Scale" id="scaleNav" width="400" height="300">
+            <comps:ScaleComponents id="scaleComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="Scale3D" id="scale3DNav" width="400" height="300">
+            <comps:Scale3DComponents id="scale3DComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="CrossFade" id="crossFadeNav" width="400" height="300">
+            <comps:CrossFadeComponents id="crossFadeComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="AnimateTransitionShader" id="shaderNav" width="400" height="300">
+            <comps:ShaderComponents id="shaderComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="Wipe" id="wipeNav" width="400" height="300">
+            <comps:WipeComponents id="wipeComp" x="5" y="15" />
+        </s:NavigatorContent>
+        <s:NavigatorContent label="Resize" id="resizeNav" width="400" height="300">
+            <comps:ResizeComponents id="resizeComp" x="5" y="15" />
+        </s:NavigatorContent>
+        
+</mx:Accordion>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_AutoReverse.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_AutoReverse.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_AutoReverse.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_AutoReverse.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
+			   xmlns:s="library://ns.adobe.com/flex/spark" 
+			   xmlns="*"
+			   xmlns:c="comps.*"
+			   xmlns:mx="library://ns.adobe.com/flex/mx" width="500" height="300"
+			   preinitialize="forceLoad()" xmlns:modules="comps.modules.*">
+	<fx:Script>
+		<![CDATA[
+			import comps.AddRemoveTemplate;
+			import comps.AnimateColorTemplate;
+			import comps.DelayStartTemplate;
+			import comps.FadeTemplate;
+			import comps.Move3DScale3DTemplate;
+			import comps.Move3DTemplate;
+			import comps.MoveRotateTemplate;
+			import comps.MoveTemplate;
+			import comps.RepeatCountTemplate;
+			import comps.ResizeAnimateColorTemplate;
+			import comps.ResizeTemplate;
+			import comps.Rotate3DFadeTemplate;
+			import comps.Rotate3DTemplate;
+			import comps.RotateTemplate;
+			import comps.Scale3DTemplate;
+			import comps.ScaleTemplate;
+			import comps.ScaleWipeTemplate;
+			import comps.TransitionTemplate;
+			import comps.WipeTemplate;
+			import comps.modules.AddRemoveMonitor;
+			import comps.modules.AutoReverseFalseChecker;
+			import comps.modules.ExplicitReturnChecker;
+			import comps.modules.Monitor;
+			import comps.modules.RepeatChecker;
+			import comps.modules.SymmetryChecker;
+			
+			import spark.effects.Move3D;
+			
+			private var surroTemplate:TransitionTemplate;
+			private var surroMonitor:Monitor;
+			
+			protected function forceLoad() : void {
+				surroTemplate = new MoveTemplate();
+				surroTemplate = new Move3DTemplate();
+				surroTemplate = new RotateTemplate();
+				surroTemplate = new Rotate3DTemplate();
+				surroTemplate = new ScaleTemplate();
+				surroTemplate = new Scale3DTemplate();
+				surroTemplate = new FadeTemplate();
+				surroTemplate = new ResizeTemplate();
+				surroTemplate = new WipeTemplate();
+				surroTemplate = new AnimateColorTemplate();
+				surroTemplate = new MoveRotateTemplate();
+				surroTemplate = new Move3DScale3DTemplate();
+				surroTemplate = new Rotate3DFadeTemplate();
+				surroTemplate = new ScaleWipeTemplate();
+				surroTemplate = new ResizeAnimateColorTemplate();
+				surroTemplate = new AddRemoveTemplate();
+				surroTemplate = new DelayStartTemplate();
+				surroTemplate = new RepeatCountTemplate();
+				
+				surroMonitor = new SymmetryChecker();
+				surroMonitor = new ExplicitReturnChecker();
+				surroMonitor = new AutoReverseFalseChecker();
+				surroMonitor = new AddRemoveMonitor();
+				surroMonitor = new RepeatChecker();
+			}
+		]]>
+	</fx:Script>
+	<s:states>
+		<s:State name="One"/>
+		<s:State name="Two"/>
+	</s:states>
+	<c:TransitionTemplate id="transTemplate"/>
+	<s:Group visible="false">
+		<modules:Monitor id="monitor"/>
+	</s:Group>
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_AutoReverse_Integration.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_AutoReverse_Integration.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_AutoReverse_Integration.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_AutoReverse_Integration.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		 xmlns:s="library://ns.adobe.com/flex/spark" 
+		 xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300" xmlns:comps="comps.*"
+		 preinitialize="forceLoad()">
+	<fx:Script>
+		<![CDATA[
+			import comps.AbsentInStateTemplate;
+			import comps.InterruptedARTemplate;
+			import comps.MultiStateTemplate;
+			import comps.modules.SymmetryChecker;
+			
+			private var surroTemplate:IntegrationTemplate;
+			
+			protected function forceLoad() : void {
+				surroTemplate = new MultiStateTemplate();
+				surroTemplate = new InterruptedARTemplate();
+				surroTemplate = new AbsentInStateTemplate();
+			}
+		]]>
+	</fx:Script>
+	<fx:Declarations>
+		<!-- Place non-visual elements (e.g., services, value objects) here -->
+	</fx:Declarations>
+	<s:states>
+		<s:State name="One"/>
+		<s:State name="Two"/>
+		<s:State name="Three"/>
+		<s:State name="Four"/>
+	</s:states>
+	<comps:IntegrationTemplate id="integrationTemplate"/>
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_Properties_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_Properties_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_Properties_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_Properties_main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application
+    xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:comps="comps.*" xmlns="*"
+    width="1200" height="600" >
+
+
+
+    <fx:Style>
+    @namespace s "library://ns.adobe.com/flex/spark";
+    @namespace mx "library://ns.adobe.com/flex/mx";
+        @font-face
+        {
+        src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+        fontFamily: EmbeddedVerdana;
+        }
+
+        @font-face
+        {
+        src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+        fontWeight: bold;
+        fontFamily: EmbeddedVerdana;
+        }
+
+        @font-face
+        {
+        src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+        fontStyle: italic;
+        fontFamily: EmbeddedVerdana;
+        }
+
+        global
+        {
+        fontFamily: EmbeddedVerdana;
+        fontAntiAliasType: normal;
+        }
+    </fx:Style>
+
+    <fx:Script>
+        <![CDATA[
+            import mx.managers.PopUpManager;
+            import mx.core.IFlexDisplayObject;
+            import comps.TitleWindowComp;
+            
+            public var newPopUp:IFlexDisplayObject;
+            
+            public function openPopUp(): void
+            {
+                newPopUp = PopUpManager.createPopUp(this, TitleWindowComp, false);    
+            }
+            
+            public function closePopUp(): void
+            {
+                if(newPopUp)
+                    PopUpManager.removePopUp(newPopUp);
+            }
+        
+        ]]>
+    </fx:Script>
+
+<mx:Accordion id="myAccordion" width="100%"  height="100%" selectedIndex="12">
+         
+        <s:NavigatorContent label="AnimateColor" id="animateColorNav" width="400" height="300">
+            <comps:AnimateColorComponents id="animateColorComp" x="5" y="15" />
+        </s:NavigatorContent>   
+        <s:NavigatorContent label="Move" id="moveNav" width="400" height="300">
+            <comps:MoveComponents id="moveComp" x="5" y="15" />
+        </s:NavigatorContent>   
+        <s:NavigatorContent label="Move3D" id="move3DNav" width="400" height="300">
+            <comps:Move3DComponents id="move3DComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="Fade" id="fadeNav" width="400" height="300">
+            <comps:FadeComponents id="fadeComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="Rotate" id="rotateNav" width="400" height="300">
+            <comps:RotateComponents id="rotateComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="Rotate3D" id="rotate3DNav" width="400" height="300">
+            <comps:Rotate3DComponents id="rotate3DComp" x="5" y="15" />
+        </s:NavigatorContent>           
+        <s:NavigatorContent label="Scale" id="scaleNav" width="400" height="300">
+            <comps:ScaleComponents id="scaleComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="Scale3D" id="scale3DNav" width="400" height="300">
+            <comps:Scale3DComponents id="scale3DComp" x="5" y="15" />
+        </s:NavigatorContent> 
+        <s:NavigatorContent label="Resize" id="resizeNav" width="400" height="300">
+            <comps:ResizeComponents id="resizeComp" x="5" y="15" />
+        </s:NavigatorContent>         
+        <s:NavigatorContent label="CrossFade" id="crossFadeNav" width="400" height="300">
+            <comps:CrossFadeComponents id="crossFadeComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="AnimateTransitionShader" id="shaderNav" width="400" height="300">
+            <comps:ShaderComponents id="shaderComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="Wipe" id="wipeNav" width="400" height="300">
+            <comps:WipeComponents id="wipeComp" x="5" y="15" />
+        </s:NavigatorContent>      
+        <s:NavigatorContent label="Blank" id="blankNav" width="400" height="300">
+            <s:Group/>
+        </s:NavigatorContent>        
+        <s:NavigatorContent label="Parallel - Move/Fade" id="moveFadeNav" width="400" height="300">
+            <comps:MoveFadeComponents id="moveFadeComp" x="5" y="15" />
+        </s:NavigatorContent>        
+        <s:NavigatorContent label="Parallel - Rotate/Scale" id="rotateScaleNav" width="400" height="300">
+            <comps:RotateScaleComponents id="rotateScaleComp" x="5" y="15" />
+        </s:NavigatorContent>        
+        <s:NavigatorContent label="Sequence - Resize/AnimateColor" id="resizeAnimateNav" width="400" height="300">
+            <comps:ResizeAnimateComponents id="resizeAnimateComp" x="5" y="15" />
+        </s:NavigatorContent>        
+        <s:NavigatorContent label="Sequence - Rotate3D/Fade" id="rotate3DFadeNav" width="400" height="300">
+            <comps:Rotate3DFadeComponents id="rotate3DFadeComp" x="5" y="15" />
+        </s:NavigatorContent>      
+        <s:NavigatorContent label="MX Component - Resize" id="mxNav" width="400" height="300">
+            <comps:MXComponents id="mxComp" x="5" y="15" />
+        </s:NavigatorContent>      
+        <s:NavigatorContent label="StateGroups and Excluded Components" id="groupsNav" width="400" height="300">
+            <comps:AddComponents id="groupsComp" x="5" y="15" />
+        </s:NavigatorContent>       
+        <s:NavigatorContent label="Transition with Easing" id="easingNav" width="400" height="300">
+            <comps:EasingComponents id="easingComp" x="5" y="15" />
+        </s:NavigatorContent> 
+        
+</mx:Accordion>
+
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_Properties_main2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_Properties_main2.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_Properties_main2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_Properties_main2.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application
+    xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:comps="comps.*" xmlns="*"
+    width="1200" height="600" >
+
+
+
+    <fx:Style>
+    @namespace s "library://ns.adobe.com/flex/spark";
+    @namespace mx "library://ns.adobe.com/flex/mx";
+        @font-face
+        {
+        src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+        fontFamily: EmbeddedVerdana;
+        }
+
+        @font-face
+        {
+        src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+        fontWeight: bold;
+        fontFamily: EmbeddedVerdana;
+        }
+
+        @font-face
+        {
+        src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+        fontStyle: italic;
+        fontFamily: EmbeddedVerdana;
+        }
+
+        global
+        {
+        fontFamily: EmbeddedVerdana;
+        fontAntiAliasType: normal;
+        }
+    </fx:Style>
+
+<mx:Accordion id="myAccordion" width="100%"  height="100%" selectedIndex="12">
+                
+        <s:NavigatorContent label="Blank" id="blankNav" width="400" height="300">
+            <s:Group>
+               <s:Button />
+            </s:Group>
+        </s:NavigatorContent> 
+        <s:NavigatorContent id="scaleToEmptyNav" width="400" height="300">
+            <comps:ScaleToEmptyComponents id="scaleToEmptyComp" x="5" y="15" />
+        </s:NavigatorContent>   
+        <s:NavigatorContent id="resizeToMoveNav" width="400" height="300">
+            <comps:ResizeToMoveComponents id="resizeToMoveComp" x="5" y="15" />
+        </s:NavigatorContent>
+        <s:NavigatorContent id="resizeToFadeNav" width="400" height="300">
+            <comps:ResizeToFadeComponents id="resizeToFadeComp" x="5" y="15" />
+        </s:NavigatorContent>
+        <s:NavigatorContent id="fadeToCompositeNav" width="400" height="300">
+            <comps:FadeToCompositeComponents id="fadeToCompositeComp" x="5" y="15" />
+        </s:NavigatorContent>
+        <s:NavigatorContent id="compositeToResizeNav" width="400" height="300">
+            <comps:CompositeToResizeComponents id="compositeToResizeComp" x="5" y="15" />
+        </s:NavigatorContent>        
+
+        
+</mx:Accordion>
+
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/Transition_main.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,234 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Application
+	xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
+	xmlns:assets="assets.*"
+    layout="absolute"
+	width="1200" height="600"
+    backgroundColor="0xFFFFFF" >
+
+
+
+    <fx:Style>
+	@namespace s "library://ns.adobe.com/flex/spark";
+	@namespace mx "library://ns.adobe.com/flex/mx";
+        @font-face
+        {
+        src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+        fontFamily: EmbeddedVerdana;
+        embedAsCFF:true;
+        }
+
+        @font-face
+        {
+        src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+        fontWeight: bold;
+        fontFamily: EmbeddedVerdana;
+			embedAsCFF: false;
+        }
+
+        @font-face
+        {
+        src: url("../../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+        fontStyle: italic;
+        fontFamily: EmbeddedVerdana;
+			embedAsCFF: false;
+        }
+
+        global
+        {
+        fontFamily: EmbeddedVerdana;
+        fontAntiAliasType: normal;
+        }
+    </fx:Style>
+
+    <fx:Script>
+        <![CDATA[
+        import flash.utils.*;
+        
+        
+        private var startTime:int;
+        private var stopTime:int;
+        public var elapsed:int;
+        
+        
+        public function StartTimer():void
+        {
+            this.startTime = flash.utils.getTimer();
+        }
+        
+        public function StopTimer():void
+        {
+            this.stopTime = flash.utils.getTimer();
+            this.elapsed = this.stopTime - this.startTime;
+        }
+        
+        public function IsElapsedLess(value:int):Boolean
+        {
+            this.elapsed = this.stopTime - this.startTime;
+            
+            return (elapsed < value);
+        }
+
+        public function IsElapsedGreater(value:int):Boolean
+        {
+            this.elapsed = this.stopTime - this.startTime;
+            
+            return (elapsed > value);
+        }
+
+        public function IsElapsedIn(low:int, high:int):Boolean
+        {
+            this.elapsed = this.stopTime - this.startTime;
+            
+            return (((this.elapsed >= low) && (this.elapsed <= high)));
+        }
+        ]]>
+    </fx:Script>
+
+    <mx:states>
+        <!-- Parallel states -->
+        <s:State name="State1"/>
+        <s:State name="State2"/>
+        <s:State name="State3"/>
+        <s:State name="State4"/>
+        <s:State name="State5"/>
+        <s:State name="State6"/>
+        <s:State name="State7"/>
+
+        <!-- Sequence states -->
+        <s:State name="State8"/>
+
+        <!-- Transitive state -->
+        <s:State name="Empty"/>
+    </mx:states>
+
+    <mx:transitions>
+        <!-- Parallel transitions -->
+        <mx:Transition id="t_s1s2" fromState="State1" toState="State2" effect="{p_s1s2}" autoReverse="true"/>
+        <mx:Transition id="t_s2s1" fromState="State2" toState="State1" effect="{p_s2s1}"/>
+
+        <mx:Transition id="t_s1s3" fromState="State1" toState="State3"/>
+
+        <mx:Transition id="t_s1s4" fromState="State1" toState="State4" effect="{s1s4}" autoReverse="true"/>
+        <mx:Transition id="t_s4s1" fromState="State4" toState="State1" effect="{s4s1}"/>
+
+        <mx:Transition id="t_s1s5" fromState="State1" toState="State5" effect="{p_s1s5}" autoReverse="true"/>
+        <mx:Transition id="t_s5s1" fromState="State5" toState="State1" effect="{p_s5s1}"/>
+
+        <mx:Transition id="t_s1s6" fromState="State1" toState="State6" effect="{p_s1s6}" autoReverse="true"/>
+        <mx:Transition id="t_s6s1" fromState="State6" toState="State1" effect="{p_s6s1}"/>
+
+        <mx:Transition id="t_s1s7" fromState="State1" toState="State7" effect="{p_s1s7}" autoReverse="true"/>
+        <mx:Transition id="t_s7s1" fromState="State7" toState="State1" effect="{p_s7s1}"/>
+
+        <!-- Sequence transitions -->
+        <mx:Transition id="t_s1s8" fromState="State1" toState="State8" effect="{s_s1s8}" autoReverse="true"/>
+        <mx:Transition id="t_s8s1" fromState="State8" toState="State1" effect="{s_s8s1}"/>
+    </mx:transitions>
+
+    <fx:Declarations>
+        <mx:Parallel id="p_s1s2" target="{btn}" duration="2000">
+            <s:Move/>
+        </mx:Parallel>
+        <mx:Parallel id="p_s2s1" target="{btn}" duration="2000">
+            <s:Move/>
+        </mx:Parallel>
+
+        <s:Move id="s1s4" target="{btn}" duration="1000" startDelay="500"/>
+        <s:Move id="s4s1" target="{btn}" duration="1000"/>
+
+        <mx:Parallel id="p_s1s5" target="{fxbtn}">
+            <s:Move/>
+            <s:Fade startDelay="1000" duration="1000"/>
+        </mx:Parallel>
+        <mx:Parallel id="p_s5s1" target="{fxbtn}">
+            <s:Fade id="s5s1_FxFade" duration="1000"/>
+            <s:Move startDelay="1500"/>
+        </mx:Parallel>
+
+        <mx:Parallel id="p_s1s6" target="{fxbtn}">
+            <s:Move/>
+            <s:Fade startDelay="1000" duration="1000" repeatCount="3" repeatBehavior="reverse"/>
+        </mx:Parallel>
+        <mx:Parallel id="p_s6s1" target="{fxbtn}">
+            <s:Fade duration="1000" repeatCount="3" repeatBehavior="reverse"/>
+            <s:Move startDelay="3500"/>
+        </mx:Parallel>
+
+        <mx:Parallel id="p_s1s7" target="{btn2}">
+            <s:Move startDelay="500" duration="1000"/>
+            <s:Resize startDelay="1000" duration="1000"/>
+            <s:Fade startDelay="2000" duration="1000"/>
+        </mx:Parallel>
+        <mx:Parallel id="p_s7s1" target="{btn2}">
+            <s:Fade duration="1000"/>
+            <s:Resize startDelay="1000" duration="1000"/>
+            <s:Move startDelay="1500" duration="1000"/>
+        </mx:Parallel>
+
+        
+        <mx:Sequence id="s_s1s8" target="{btn3}">
+            <s:Move startDelay="500" duration="1000"/>
+            <s:Resize startDelay="500" duration="1000"/>
+            <s:Fade startDelay="500" duration="1000"/>
+        </mx:Sequence>
+        <mx:Sequence id="s_s8s1" target="{btn3}">
+            <s:Fade duration="1000"/>
+            <s:Resize startDelay="500" duration="1000"/>
+            <s:Move startDelay="500" duration="1000"/>
+            <mx:Pause duration="500"/>
+        </mx:Sequence>
+    </fx:Declarations>
+
+    <mx:Label id="lbl"
+        x="0"
+        y="0"
+        text="Launching..."/>
+
+    <mx:Button id="btn"
+        y="20"
+        x="0" x.State2="100" x.State3="200" x.State4="100"
+        width="100"
+        label="Button"/>
+
+    <s:Button id="fxbtn"
+        y="50"
+        x="0" x.State5="100"
+        alpha="1" alpha.State5="0" alpha.State6="0"
+        width="100"
+        label="Button"/>
+
+    <mx:Button id="btn2"
+        y="80"
+        x="0" x.State7="100"
+        width="100" width.State7="200"
+        alpha="1" alpha.State7="0"
+        click="{this.currentState == 'State1'? this.currentState='State7' : this.currentState='State1';}"
+        label="Button"/>
+
+    <s:Button id="btn3"
+        y="110"
+        x="0" x.State8="100"
+        width="100" width.State8="200"
+        alpha="1" alpha.State8="0"
+        click="{this.currentState == 'State1'? this.currentState='State8' : this.currentState='State1';}"
+        label="Button"/>
+</mx:Application>

Added: incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/assets/twist_path.fxg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/assets/twist_path.fxg?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/assets/twist_path.fxg (added)
+++ incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/assets/twist_path.fxg Tue Aug  7 17:13:06 2012
@@ -0,0 +1,30 @@
+<?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.
+
+-->
+<Graphic version="1.0" xmlns="http://ns.adobe.com/fxg/2008">
+     <Path winding="nonZero" data="M  210 130      C  145 130     110  80     110  80       S  75  25      10  25          m    0 105      c   65   0      100 -50     100 -50       s   35 -55     100 -55 " >
+        <fill>
+          <SolidColor color="#ff0000"/>
+        </fill>
+        <stroke>
+          <SolidColorStroke color="#00c000" caps="none" weight="1" joints="miter" miterLimit="4"/>
+        </stroke>
+      </Path>
+  
+</Graphic>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/comps/AbsentInStateTemplate.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/comps/AbsentInStateTemplate.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/comps/AbsentInStateTemplate.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/comps/AbsentInStateTemplate.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,100 @@
+<?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.
+
+-->
+<comps:IntegrationTemplate xmlns:fx="http://ns.adobe.com/mxml/2009" 
+						   xmlns:s="library://ns.adobe.com/flex/spark" 
+						   xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:comps="comps.*" width="400" height="300"
+						   initialize="onInit()">
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			
+			import mx.events.EffectEvent;
+			
+			protected function onInit():void
+			{
+				this.valueFunction = getY;
+				this.toValue = 50;
+				this.fromValue = 150;
+			}
+			
+			protected function getY() : Number {
+				return target.y;
+			}
+			
+			public function performTest(event:EffectEvent) : void {
+				this.enableCheck();
+				this.effectStart(event);
+			}
+		]]>
+	</fx:Script>
+	<comps:transitions>
+		<s:Transition id="oneTwo" fromState="One" toState="Two" autoReverse="true">
+			<s:Move target="{target}" duration="1000"  
+					effectStart="effectStart(event)"
+					effectEnd="effectEnd(event)"
+					effectUpdate="effectUpdate(event)"
+					effectStop="effectStop(event)"
+					effectRepeat="effectRepeat(event)"
+					/>
+		</s:Transition>
+		<s:Transition id="twoThree" fromState="Two" toState="Three" autoReverse="true">
+			<s:Move target="{target}" duration="1000"  
+					effectStart="effectStart(event)"
+					effectEnd="effectEnd(event)"
+					effectUpdate="effectUpdate(event)"
+					effectStop="effectStop(event)"
+					effectRepeat="effectRepeat(event)"
+					/>
+		</s:Transition>
+		<s:Transition id="threeFour" fromState="Three" toState="Four" autoReverse="true">
+			<s:Move target="{target}" duration="1000"  
+					effectStart="effectStart(event)"
+					effectEnd="effectEnd(event)"
+					effectUpdate="effectUpdate(event)"
+					effectStop="effectStop(event)"
+					effectRepeat="effectRepeat(event)"
+					/>
+		</s:Transition>
+		<s:Transition id="oneFour" fromState="One" toState="Four" autoReverse="true">
+			<s:Move target="{target}" duration="1000"  
+					effectStart="effectStart(event)"
+					effectEnd="effectEnd(event)"
+					effectUpdate="effectUpdate(event)"
+					effectStop="effectStop(event)"
+					effectRepeat="effectRepeat(event)"
+					/>
+		</s:Transition>
+	</comps:transitions>
+	<comps:states>
+		<s:State name="One"/>
+		<s:State name="Two"/>
+		<s:State name="Three"/>
+		<s:State name="Four"/>
+	</comps:states>
+	<s:Rect id="target" width="50" height="50"
+			y.One="50" x.One="50" includeIn="Two,Four"
+			y.Two="50" x.Two="150"
+			y.Three="150" x.Three="150" 
+			y.Four="150" x.Four="50">
+		<s:fill>
+			<s:SolidColor color="#FF0000"/>
+		</s:fill>
+	</s:Rect>
+</comps:IntegrationTemplate>

Added: incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/comps/AddComponents.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/comps/AddComponents.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/comps/AddComponents.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/comps/AddComponents.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" 
+         xmlns:s="library://ns.adobe.com/flex/spark" 
+         xmlns:mx="library://ns.adobe.com/flex/mx" 
+         xmlns:d="assets.*" width="400" height="300"
+         currentState="State1">
+     <s:states>
+        <s:State name="State1"/>
+        <s:State name="State2" stateGroups="StateGroup1"/>
+        <s:State name="State3" stateGroups="StateGroup1"/>
+    </s:states>
+
+    
+    <s:Group id="group1" clipAndEnableScrolling="true" width.State1="900" height.State1="700" >
+        <s:Rect id="rect1" width="250" height="250" 
+                width.State2="100" height.State2="150" width.State3="200" height.State3="330" >
+            <s:fill>
+                <s:SolidColor id="sc" color="0x00FF00"/>
+            </s:fill>
+        </s:Rect>       
+        <mx:Canvas id="rect2" width="250" height="250" x="350" backgroundColor="0xFF0000" includeIn="StateGroup1" />
+
+    </s:Group>
+    
+    <s:transitions>
+        <s:Transition id="mainTransition" fromState="*" toState="State2">
+            <s:Parallel startDelay="50">
+                <s:Resize id="resizeEffect" duration="1300" targets="{[rect1]}" />
+                <s:AddAction target="{rect2}" />
+                <s:Fade duration="1000" 
+                        target="{rect2}"/> 
+            </s:Parallel>
+        </s:Transition>   
+        <s:Transition id="mainTransition2" fromState="*" toState="State3">
+            <s:Parallel startDelay="50">
+                <s:Resize duration="1300" targets="{[rect1]}" />
+                <s:AddAction target="{rect2}" />
+                <s:Fade duration="1000" 
+                        target="{rect2}"/> 
+            </s:Parallel>
+        </s:Transition>  
+        <s:Transition id="mainTransition3" toState="State1">
+            <s:Parallel>
+                <s:Resize id="resizeEffect66" duration="1300" targets="{[rect1]}" />
+            </s:Parallel>
+        </s:Transition>
+    </s:transitions>
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/comps/AddRemoveTemplate.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/comps/AddRemoveTemplate.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/comps/AddRemoveTemplate.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/states/Transition/SWFs/comps/AddRemoveTemplate.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<c:TransitionTemplate xmlns:fx="http://ns.adobe.com/mxml/2009"
+					   xmlns:s="library://ns.adobe.com/flex/spark"
+					   xmlns:mx="library://ns.adobe.com/flex/mx"
+					   xmlns:c="comps.*"
+					   width="500" height="300" initialize="onInit()">
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			
+			protected function onInit():void
+			{
+				this.valueFunction = getX;
+				this.initTrans = initMove;
+				this.returnTrans = returnMove;
+				this.currentState = "One";
+			}
+			
+			protected function getX() : Number {
+				var visible:Number = target.parent != null ? 1 : 0;
+				visible = visible + (target2.parent != null ? 2 : 0);
+				visible = visible + (target3.parent != null ? 4 : 0);
+				return visible;
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<s:Transition id="initMove" fromState="One" toState="Two" autoReverse="true">
+			<s:Parallel>
+				<s:AddAction target="{target3}" duration="1000"
+							 effectStart="effectStart(event)"
+							 effectEnd="effectEnd(event)"
+							 effectStop="effectStop(event)"
+							 />
+				<s:RemoveAction target="{target}" duration="1000"  
+							 effectStart="effectStart(event)"
+							 effectEnd="effectEnd(event)"
+							 effectStop="effectStop(event)"
+							 />
+			</s:Parallel>
+		</s:Transition>
+		<s:Transition id="returnMove" fromState="Two" toState="One" autoReverse="true">
+			<s:Parallel>
+				<s:AddAction target="{target}"
+							 effectStart="effectStart(event)"
+							 effectEnd="effectEnd(event)"
+							 effectStop="effectStop(event)"
+							 />
+				<s:RemoveAction target="{target3}" 
+								effectStart="effectStart(event)"
+								effectEnd="effectEnd(event)"
+								effectStop="effectStop(event)"
+								/>
+			</s:Parallel>
+		</s:Transition>
+	</fx:Declarations>
+	<c:states>
+		<s:State name="One"/>
+		<s:State name="Two"/>		
+	</c:states>
+	<mx:HBox>
+		<s:Group id="target" includeIn="One">
+			<s:Rect width="50" height="50">
+				<s:fill>
+					<s:SolidColor color="#FF0000"/>
+				</s:fill>
+			</s:Rect>
+		</s:Group>
+		<s:Group id="target2">
+			<s:Rect width="50" height="50" >
+				<s:fill>
+					<s:SolidColor color="#00FF00"/>
+				</s:fill>
+			</s:Rect>
+		</s:Group>
+		<s:Group id="target3" includeIn="Two">
+			<s:Rect width="50" height="50">
+				<s:fill>
+					<s:SolidColor color="#0000FF"/>
+				</s:fill>
+			</s:Rect>
+		</s:Group>
+	</mx:HBox>
+</c:TransitionTemplate>



Mime
View raw message