You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2012/08/07 19:13:35 UTC
svn commit: r1370370 [13/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/...
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_DateChooser.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_DateField.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_DateField.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_DateField.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_HRule.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_HRule.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_HRule.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_HScrollBar.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_HScrollBar.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_HScrollBar.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_HSlider.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_HSlider.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_HSlider.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_HorizontalList.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_HorizontalList.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_HorizontalList.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Image.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Image.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Image.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Label.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Label.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Label.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_LinkBar.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_LinkBar.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_LinkBar.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_LinkButton.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_LinkButton.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_LinkButton.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_List.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_List.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_List.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_MenuBar.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_MenuBar.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_MenuBar.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_NumericStepper.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_NumericStepper.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_NumericStepper.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_PopUpButton.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_PopUpButton.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_PopUpButton.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_PopUpMenuButton.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_PopUpMenuButton.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_PopUpMenuButton.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_ProgressBar.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_ProgressBar.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_ProgressBar.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_RadioButton.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_RadioButton.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_RadioButton.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_RichTextEditor.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_RichTextEditor.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_RichTextEditor.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_TabBar.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_TabBar.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_TabBar.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Text.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Text.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Text.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_TextArea.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_TextArea.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_TextArea.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_TextInput.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_TextInput.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_TextInput.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_TileList.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_TileList.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_TileList.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_ToggleButtonBar.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_ToggleButtonBar.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_ToggleButtonBar.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Tree.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Tree.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Tree.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Triangle.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Triangle.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_Triangle.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_VRule.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_VRule.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_VRule.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_VScrollBar.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_VScrollBar.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_VScrollBar.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_VSlider.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_VSlider.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Baselines/Blur_VSlider.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Blur_object.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Blur_object.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Blur_object.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Blur/object/Blur_object.mxml Tue Aug 7 17:13:06 2012
@@ -0,0 +1,339 @@
+<UnitTester
+ testSWF="../SWFs/Blur_main.mxml"
+ testDir="mx/effects/Blur/object/"
+ xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*">
+ <mx:Script>
+ <![CDATA[
+ import mx.core.Application;
+
+ public static function init(o:DisplayObject):void{}
+
+ ]]>
+ </mx:Script>
+ <mx:Metadata><![CDATA[[Mixin]]]></mx:Metadata>
+ <testCases>
+
+ <TestCase testID="Blur_Button" keywords="[Blur, object, Button]" description="Test Blur on a Button.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('Button', application.eff_Blur_X, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_ButtonBar" keywords="[Blur, object, ButtonBar]" description="Test Blur on a ButtonBar.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('ButtonBar', application.eff_Blur_Y, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_CheckBox" keywords="[Blur, object, CheckBox]" description="Test Blur on a CheckBox.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('CheckBox', application.eff_Blur_XY, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_ColorPicker" keywords="[Blur, object, ColorPicker]" description="Test Blur on a ColorPicker.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('ColorPicker', application.eff_Blur_X, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_ComboBox" keywords="[Blur, object, ComboBox]" description="Test Blur on a ComboBox.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('ComboBox', application.eff_Blur_Y, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_DataGrid" keywords="[Blur, object, DataGrid]" description="Test Blur on a DataGrid.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('DataGrid', application.eff_Blur_XY, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_DateChooser" keywords="[Blur, object, DateChooser]" description="Test Blur on a DateChooser.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('DateChooser', application.eff_Blur_X, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_DateField" keywords="[Blur, object, DateField]" description="Test Blur on a DateField.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('DateField', application.eff_Blur_Y, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_HorizontalList" keywords="[Blur, object, HorizontalList]" description="Test Blur on a HorizontalList.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('HorizontalList', application.eff_Blur_XY, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_HRule" keywords="[Blur, object, HRule]" description="Test Blur on a HRule.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('HRule', application.eff_Blur_X, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_HScrollBar" keywords="[Blur, object, HScrollBar]" description="Test Blur on a HScrollBar.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('HScrollBar', application.eff_Blur_Y, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_HSlider" keywords="[Blur, object, HSlider]" description="Test Blur on a HSlider.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('HSlider', application.eff_Blur_XY, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_Image" keywords="[Blur, object, Image]" description="Test Blur on a Image.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('Image', application.eff_Blur_X, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_Label" keywords="[Blur, object, Label]" description="Test Blur on a Label.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('Label', application.eff_Blur_Y, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_List" keywords="[Blur, object, List]" description="Test Blur on a List.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('List', application.eff_Blur_XY, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_MenuBar" keywords="[Blur, object, MenuBar]" description="Test Blur on a MenuBar.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('MenuBar', application.eff_Blur_X, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_NumericStepper" keywords="[Blur, object, NumericStepper]" description="Test Blur on a NumericStepper.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('NumericStepper', application.eff_Blur_Y, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_PopUpButton" keywords="[Blur, object, PopUpButton]" description="Test Blur on a PopUpButton.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('PopUpButton', application.eff_Blur_XY, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_PopUpMenuButton" keywords="[Blur, object, PopUpMenuButton]" description="Test Blur on a PopUpMenuButton.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('PopUpMenuButton', application.eff_Blur_X, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_ProgressBar" keywords="[Blur, object, ProgressBar]" description="Test Blur on a ProgressBar.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('ProgressBar', application.eff_Blur_Y, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_RadioButton" keywords="[Blur, object, RadioButton]" description="Test Blur on a RadioButton.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('RadioButton', application.eff_Blur_XY, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_RichTextEditor" keywords="[Blur, object, RichTextEditor]" description="Test Blur on a RichTextEditor.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('RichTextEditor', application.eff_Blur_X, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_TabBar" keywords="[Blur, object, TabBar]" description="Test Blur on a TabBar.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="2000"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('TabBar', application.eff_Blur_Y, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_Text" keywords="[Blur, object, Text]" description="Test Blur on a Text.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('Text', application.eff_Blur_XY, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_TextArea" keywords="[Blur, object, TextArea]" description="Test Blur on a TextArea.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('TextArea', application.eff_Blur_X, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_TextInput" keywords="[Blur, object, TextInput]" description="Test Blur on a TextInput.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('TextInput', application.eff_Blur_Y, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_TileList" keywords="[Blur, object, TileList]" description="Test Blur on a TileList.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('TileList', application.eff_Blur_XY, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_ToggleButtonBar" keywords="[Blur, object, ToggleButtonBar]" description="Test Blur on a ToggleButtonBar.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('ToggleButtonBar', application.eff_Blur_X, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_Tree" keywords="[Blur, object, Tree]" description="Test Blur on a Tree.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('Tree', application.eff_Blur_Y, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_VRule" keywords="[Blur, object, VRule]" description="Test Blur on a VRule.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('VRule', application.eff_Blur_XY, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_VScrollBar" keywords="[Blur, object, VScrollBar]" description="Test Blur on a VScrollBar.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('VScrollBar', application.eff_Blur_X, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+ <TestCase testID="Blur_VSlider" keywords="[Blur, object, VSlider]" description="Test Blur on a VSlider.">
+ <setup>
+ <RunCode code="application.Reset()" />
+ <Pause timeout="1500"/>
+ </setup>
+ <body>
+ <RunCode code="application.SeekControl('VSlider', application.eff_Blur_Y, 1000, 0, 1, 0, 500)" waitTarget="timer" waitEvent="timerComplete" />
+ <CompareBitmap target="currentCanvas" url="../object/Baselines/$testID.png" />
+ </body>
+ </TestCase>
+
+ </testCases>
+</UnitTester>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/mx/effects/Blur/variable/Blur_variable.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Blur/variable/Blur_variable.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Blur/variable/Blur_variable.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Blur/variable/Blur_variable.mxml Tue Aug 7 17:13:06 2012
@@ -0,0 +1,58 @@
+<UnitTester
+ testSWF="../SWFs/Blur_main.mxml"
+ testDir="mx/effects/Blur/variable/"
+ xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*">
+ <mx:Script>
+ <![CDATA[
+ import mx.effects.Blur;
+
+ public static function init(o:DisplayObject):void{}
+
+ ]]>
+ </mx:Script>
+ <mx:Metadata><![CDATA[
+
+[Mixin]
+
+]]></mx:Metadata>
+ <testCases>
+
+ <!-- suspendBackgroundProcessing -->
+ <TestCase testID="Blur_suspendBackgroundProcessing_Default" keywords="[Blur, variable, suspendBackgroundProcessing]" description="Test the default value of the suspendBackgroundProcessing variable.">
+ <body>
+ <AssertMethodValue method="value=(new Blur()).suspendBackgroundProcessing" value="false"/>
+ </body>
+ </TestCase>
+
+
+ <!-- instanceClass -->
+ <TestCase testID="Blur_instanceClass_Default" keywords="[Blur, variable, instanceClass]" description="Test the default value of the instanceClass variable.">
+ <body>
+ <AssertMethodValue method="value=(new Blur()).instanceClass.toString().replace('[class ', '').replace(']','')" value="BlurInstance"/>
+ </body>
+ </TestCase>
+
+ <!-- repeatDelay -->
+ <TestCase testID="Blur_repeatDelay_Default" keywords="[Blur, variable, repeatDelay]" description="Test the default value of the repeatDelay variable.">
+ <body>
+ <AssertMethodValue method="value=(new Blur()).repeatDelay" value="0"/>
+ </body>
+ </TestCase>
+
+
+ <!-- startDelay -->
+ <TestCase testID="Blur_startDelay_Default" keywords="[Blur, variable, startDelay]" description="Test the default value of the startDelay variable.">
+ <body>
+ <AssertMethodValue method="value=(new Blur()).startDelay" value="0"/>
+ </body>
+ </TestCase>
+
+ <!-- repeatCount -->
+ <TestCase testID="Blur_repeatCount_Default" keywords="[Blur, variable, repeatCount]" description="Test the default value of the repeatCount variable.">
+ <body>
+ <AssertMethodValue method="value=(new Blur()).repeatCount" value="1"/>
+ </body>
+ </TestCase>
+
+ </testCases>
+</UnitTester>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/SWFs/Dissolve_main.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/SWFs/Dissolve_main.compile?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/SWFs/Dissolve_main.compile (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/SWFs/Dissolve_main.compile Tue Aug 7 17:13:06 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc
Added: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/SWFs/Dissolve_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/SWFs/Dissolve_main.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/SWFs/Dissolve_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/SWFs/Dissolve_main.mxml Tue Aug 7 17:13:06 2012
@@ -0,0 +1,568 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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.*"
+ width="1200" height="600"
+ backgroundColor="0xFFFFFF" backgroundGradientColors="[0xFFFFFF, 0xFFFFFF]"
+ creationComplete="Reset()">
+
+ <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 assets.ObjectTabs;
+ import mx.effects.Effect;
+ import mx.events.EffectEvent;
+ import mx.events.TweenEvent;
+ import mx.containers.Canvas;
+ import mx.containers.TabNavigator;
+ import flash.events.TimerEvent;
+ import mx.controls.Alert;
+ import mx.events.StateChangeEvent;
+
+ //Privies
+ public var currentTabNavigator:TabNavigator;
+ public var currentAccordion:Accordion;
+ public var currentCanvas:Canvas;
+ public var currentEffect:Effect;
+ public var timer:Timer = new Timer(500, 1);
+
+
+
+
+ private function ResetEffectAndGauges(effect:Effect):void
+ {
+ if(effect.hasEventListener(EffectEvent.EFFECT_START))
+ effect.removeEventListener(EffectEvent.EFFECT_START, this.HandleEffectStart);
+
+ if(effect.hasEventListener(TweenEvent.TWEEN_START))
+ effect.removeEventListener(TweenEvent.TWEEN_START, this.HandleTweenStart);
+
+ if(effect.hasEventListener(TweenEvent.TWEEN_UPDATE))
+ effect.removeEventListener(TweenEvent.TWEEN_UPDATE, this.HandleTweenUpdate);
+
+ if(effect.hasEventListener(TweenEvent.TWEEN_END))
+ effect.removeEventListener(TweenEvent.TWEEN_END, this.HandleTweenEnd);
+
+ if(effect.hasEventListener(EffectEvent.EFFECT_END))
+ effect.removeEventListener(EffectEvent.EFFECT_END, this.HandleEffectEnd);
+
+
+ //Reattach listeners
+ effect.addEventListener(EffectEvent.EFFECT_START, HandleEffectStart);
+
+ effect.addEventListener(TweenEvent.TWEEN_START, HandleTweenStart);
+ effect.addEventListener(TweenEvent.TWEEN_UPDATE, HandleTweenUpdate);
+ effect.addEventListener(TweenEvent.TWEEN_END, HandleTweenEnd);
+
+ effect.addEventListener(EffectEvent.EFFECT_END, HandleEffectEnd);
+
+ //Reset labels
+ this.ResetEventLabels();
+ }
+
+ private function HandleEffectStart(event:EffectEvent):void
+ {
+ this.lbl_EffectStart.setStyle("color", "0x00FF00");
+ }
+
+ private function HandleTweenStart(event:TweenEvent):void
+ {
+ this.lbl_TweenStart.setStyle("color", "0x00FF00");
+ }
+
+ private function HandleTweenUpdate(event:TweenEvent):void
+ {
+ this.lbl_TweenUpdate.setStyle("color", "0x00FF00");
+ }
+
+ private function HandleTweenEnd(event:TweenEvent):void
+ {
+ this.lbl_TweenEnd.setStyle("color", "0x00FF00");
+ }
+
+ private function HandleEffectEnd(event:EffectEvent):void
+ {
+ this.lbl_EffectEnd.setStyle("color", "0x00FF00");
+ }
+
+ //Init and reset
+ public function Reset():void
+ {
+ //Remove the object tab
+ if(this.mainBox.getChildren().length == 3)
+ {
+ this.mainBox.removeChildAt(2);
+ }
+
+ this.currentTabNavigator = new ObjectTabs();
+ this.currentTabNavigator.addEventListener("updateComplete", this.HandleTabUpdate);
+
+ //Reset labels
+ this.ResetEventLabels();
+
+ //Readd a new one
+ this.mainBox.addChildAt(this.currentTabNavigator, 2);
+ }
+
+ private function HandleTabUpdate(event:Event):void
+ {
+ this.dispatchEvent(new Event("tabUpdate", true));
+ }
+
+ private function ResetEventLabels():void
+ {
+ //Reset styles
+ this.lbl_EffectStart.setStyle("color", "0x00000");
+ this.lbl_TweenStart.setStyle("color", "0x00000");
+ this.lbl_TweenUpdate.setStyle("color", "0x00000");
+ this.lbl_TweenEnd.setStyle("color", "0x00000");
+ this.lbl_AnimationStart.setStyle("color", "0x00000");
+ this.lbl_AnimationUpdate.setStyle("color", "0x00000");
+ this.lbl_AnimationRepeat.setStyle("color", "0x00000");
+ this.lbl_AnimationEnd.setStyle("color", "0x00000");
+ this.lbl_EffectEnd.setStyle("color", "0x00000");
+ }
+
+ public function SelectCanvas(controlName:String):void
+ {
+ if(this.currentTabNavigator)
+ {
+ var accordions:Array = this.currentTabNavigator.getChildren();
+
+ for(var i:int = 0; i < accordions.length; i++)
+ {
+ var canvases:Array = (accordions[i] as Accordion).getChildren();
+
+ for(var j:int = 0; j < canvases.length; j++)
+ {
+ if(canvases[j].label == controlName)
+ {
+ this.currentTabNavigator.selectedIndex = i;
+ accordions[i].selectedIndex = j;
+ this.currentAccordion = accordions[i];
+ this.currentCanvas = accordions[i].getChildAt(j) as Canvas;
+ }
+ }
+ }
+ }
+
+ this.currentTabNavigator.dispatchEvent(new Event("selectEvent", true, false));
+ }
+
+ private function GetTarget():Object
+ {
+ if(this.currentTabNavigator)
+ {
+ var accord:Accordion = this.currentTabNavigator.getChildAt(this.currentTabNavigator.selectedIndex) as Accordion;
+ var canvas:mx.containers.Canvas = accord.selectedChild as mx.containers.Canvas;
+ var target:Object = canvas.getChildAt(0);
+
+ return(target);
+ }
+
+ return(null);
+ }
+
+ private function GetTargets():Array
+ {
+ if(this.currentTabNavigator)
+ {
+ var accord:Accordion = this.currentTabNavigator.getChildAt(this.currentTabNavigator.selectedIndex) as Accordion;
+ var canvases:Array = accord.getChildren();
+ var targets:Array = new Array();
+
+ for(var i:int = 0; i < canvases.length; i++)
+ {
+ var canvas:mx.containers.Canvas = canvases[i];
+
+ if(canvas)
+ {
+ var target:Object = canvas.getChildAt(0);
+
+ if(target)
+ {
+ targets.push(target);
+ }
+ }
+ }
+
+ return(targets);
+ }
+
+ return(null);
+ }
+
+ public function PlayEffectTarget(effect:Effect, duration:int, startDelay:int, repeatCount:int, repeatDelay:int, playReversed:Boolean = false):void
+ {
+ effect.resume();
+ effect.stop();
+
+ this.currentEffect = effect;
+
+ ResetEffectAndGauges(effect);
+
+ effect.target = this.GetTarget();
+ effect.duration = duration;
+ effect.startDelay = startDelay;
+ effect.repeatCount = repeatCount;
+ effect.repeatDelay = repeatDelay;
+ effect.play(null, playReversed);
+ }
+
+ public function PlayEffectTargets(effect:Effect, duration:int, startDelay:int, repeatCount:int, repeatDelay:int):void
+ {
+ effect.resume();
+ effect.stop();
+
+ this.currentEffect = effect;
+
+ ResetEffectAndGauges(effect);
+
+ effect.targets = this.GetTargets();
+ effect.duration = duration;
+ effect.startDelay = startDelay;
+ effect.repeatCount = repeatCount;
+ effect.repeatDelay = repeatDelay;
+ effect.play();
+ }
+
+ public function SeekEffectTarget(effect:Effect, duration:int, startDelay:int, repeatCount:int, repeatDelay:int, seekTo:Number):void
+ {
+ effect.resume();
+ effect.stop();
+
+ this.currentEffect = effect;
+
+ effect.target = this.GetTarget();
+ effect.duration = duration;
+ effect.startDelay = startDelay;
+ effect.repeatCount = repeatCount;
+ effect.repeatDelay = repeatDelay;
+ effect.play();
+
+ effect.playheadTime = seekTo;
+ effect.pause();
+ timer.start();
+ }
+
+ public function SeekEffectTargets(effect:Effect, duration:int, startDelay:int, repeatCount:int, repeatDelay:int, seekTo:Number):void
+ {
+ effect.resume();
+ effect.stop();
+
+ this.currentEffect = effect;
+
+ effect.targets = this.GetTargets();
+ effect.duration = duration;
+ effect.startDelay = startDelay;
+ effect.repeatCount = repeatCount;
+ effect.repeatDelay = repeatDelay;
+ effect.play();
+
+ effect.playheadTime = seekTo;
+ effect.pause();
+ timer.start();
+ }
+
+ public function SeekControl(control:String, effect:Effect, duration:int, startDelay:int, repeatCount:int, repeatDelay:int, seekTo:Number):void
+ {
+ this.SelectCanvas(control);
+ this.SeekEffectTarget(effect, duration, startDelay, repeatCount, repeatDelay, seekTo);
+ }
+
+ public function SeekControls(control:String, effect:Effect, duration:int, startDelay:int, repeatCount:int, repeatDelay:int, seekTo:Number):void
+ {
+ this.SelectCanvas(control);
+ this.SeekEffectTargets(effect, duration, startDelay, repeatCount, repeatDelay, seekTo);
+ }
+
+ public function PlayEffectControl(control:String, effect:Effect, duration:int, startDelay:int, repeatCount:int, repeatDelay:int, playReversed:Boolean = false):void
+ {
+ this.SelectCanvas(control);
+ this.PlayEffectTarget(effect, duration, startDelay, repeatCount, repeatDelay, playReversed);
+ }
+
+ public function PlayEffectControls(control:String, effect:Effect, duration:int, startDelay:int, repeatCount:int, repeatDelay:int):void
+ {
+ this.SelectCanvas(control);
+ this.PlayEffectTargets(effect, duration, startDelay, repeatCount, repeatDelay);
+ }
+ ]]>
+ </fx:Script>
+
+ <fx:Declarations>
+ <!-- Simple dissolve effect -->
+ <mx:Dissolve id="eff_Dissolve" alphaFrom="1" alphaTo=".1"/>
+
+
+ <!-- Simple parallels -->
+ <mx:Parallel id="p_Dissolve">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ </mx:Parallel>
+
+ <!-- Complex parallel with Thermo-Style Delays -->
+ <mx:Parallel id="p_Dissolve_Thermo">
+ <mx:Blur blurXFrom="0" blurXTo="5" startDelay="0" duration="500"/>
+ <mx:Dissolve alphaFrom="1" alphaTo=".5" startDelay="500" duration="500"/>
+ </mx:Parallel>
+
+ <mx:Parallel id="p_Dissolve_Fade">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:Fade alphaFrom="1" alphaTo=".3"/>
+ </mx:Parallel>
+ <mx:Parallel id="p_Dissolve_Glow">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:Glow alphaFrom="0.3" alphaTo="1.0" blurXFrom="0" blurXTo="5" blurYFrom="0" blurYTo="5" color="0x0000FF"/>
+ </mx:Parallel>
+ <mx:Parallel id="p_Dissolve_Iris">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:Iris showTarget="true"/>
+ </mx:Parallel>
+ <mx:Parallel id="p_Dissolve_MaskEffect">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:MaskEffect scaleXFrom="0" scaleXTo="1" scaleYFrom="0" scaleYTo="1"/>
+ </mx:Parallel>
+ <mx:Parallel id="p_Dissolve_Move">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:Move xBy="100"/>
+ </mx:Parallel>
+ <mx:Parallel id="p_Dissolve_Resize">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:Resize widthBy="30" heightBy="30"/>
+ </mx:Parallel>
+ <mx:Parallel id="p_Dissolve_WipeDown">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:WipeDown/>
+ </mx:Parallel>
+ <mx:Parallel id="p_Dissolve_WipeLeft">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:WipeLeft/>
+ </mx:Parallel>
+ <mx:Parallel id="p_Dissolve_WipeRight">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:WipeRight/>
+ </mx:Parallel>
+ <mx:Parallel id="p_Dissolve_WipeUp">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:WipeUp/>
+ </mx:Parallel>
+ <mx:Parallel id="p_Dissolve_Zoom">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:Zoom zoomWidthFrom="0" zoomWidthTo="1" zoomHeightFrom="0" zoomHeightTo="1"/>
+ </mx:Parallel>
+
+ <mx:Parallel id="p_Dissolve_SetAction">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <s:SetAction property="x" value="200"/>
+ </mx:Parallel>
+
+ <!-- Simple sequences -->
+ <mx:Sequence id="s_Dissolve">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ </mx:Sequence>
+
+ <!-- Complex sequence with Thermo-Style Delays -->
+ <mx:Sequence id="s_Dissolve_Thermo">
+ <mx:Blur blurXFrom="0" blurXTo="5" startDelay="0" duration="500"/>
+ <mx:Dissolve alphaFrom="1" alphaTo=".5" startDelay="500" duration="500"/>
+ </mx:Sequence>
+
+ <mx:Sequence id="s_Dissolve_Fade">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:Fade alphaFrom="1" alphaTo=".3"/>
+ </mx:Sequence>
+ <mx:Sequence id="s_Dissolve_Glow">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:Glow alphaFrom="0.3" alphaTo="1.0" blurXFrom="0" blurXTo="5" blurYFrom="0" blurYTo="5" color="0x0000FF"/>
+ </mx:Sequence>
+ <mx:Sequence id="s_Dissolve_Iris">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:Iris showTarget="true"/>
+ </mx:Sequence>
+ <mx:Sequence id="s_Dissolve_MaskEffect">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:MaskEffect scaleXFrom="0" scaleXTo="1" scaleYFrom="0" scaleYTo="1"/>
+ </mx:Sequence>
+ <mx:Sequence id="s_Dissolve_Move">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:Move xBy="100"/>
+ </mx:Sequence>
+ <mx:Sequence id="s_Dissolve_Resize">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:Resize widthBy="30" heightBy="30"/>
+ </mx:Sequence>
+ <mx:Sequence id="s_Dissolve_WipeDown">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:WipeDown/>
+ </mx:Sequence>
+ <mx:Sequence id="s_Dissolve_WipeLeft">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:WipeLeft/>
+ </mx:Sequence>
+ <mx:Sequence id="s_Dissolve_WipeRight">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:WipeRight/>
+ </mx:Sequence>
+ <mx:Sequence id="s_Dissolve_WipeUp">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:WipeUp/>
+ </mx:Sequence>
+ <mx:Sequence id="s_Dissolve_Zoom">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <mx:Zoom zoomWidthFrom="0" zoomWidthTo="1" zoomHeightFrom="0" zoomHeightTo="1"/>
+ </mx:Sequence>
+
+ <mx:Sequence id="s_Dissolve_SetAction">
+ <mx:Dissolve alphaFrom="1" alphaTo=".5"/>
+ <s:SetAction property="x" value="200"/>
+ </mx:Sequence>
+
+ </fx:Declarations>
+
+
+ <mx:HBox id="mainBox">
+ <mx:VBox width="170" height="540" verticalScrollPolicy="off" creationPolicy="all">
+ <mx:Label width="100%" text="Properties"/>
+ <mx:HRule width="100%"/>
+ <s:Button id="btn_Reset" label="Reset" width="100%" click="Reset()"/>
+ <s:Button id="btn_Pause" label="Pause" width="100%" click="currentEffect.pause()"/>
+ <s:Button id="btn_Resume" label="Resume" width="100%" click="currentEffect.resume()"/>
+ <s:Button id="btn_Stop" label="Stop" width="100%" click="currentEffect.stop()"/>
+ <mx:Spacer/>
+ <mx:Label width="100%" text="Events"/>
+ <mx:HRule width="100%"/>
+ <mx:VBox id="eventBox">
+ <mx:Label id="lbl_EffectStart" width="100%" text="EffectStart" color="0x000000" fontWeight="bold"/>
+ <mx:Label id="lbl_TweenStart" width="100%" text="TweenStart" color="0x000000" fontWeight="bold"/>
+ <mx:Label id="lbl_TweenUpdate" width="100%" text="TweenUpdate" color="0x000000" fontWeight="bold"/>
+ <mx:Label id="lbl_TweenEnd" width="100%" text="TweenEnd" color="0x000000" fontWeight="bold"/>
+ <mx:Label id="lbl_AnimationStart" width="100%" text="AnimationStart" color="0x000000" fontWeight="bold"/>
+ <mx:Label id="lbl_AnimationUpdate" width="100%" text="AnimationUpdate" color="0x000000" fontWeight="bold"/>
+ <mx:Label id="lbl_AnimationRepeat" width="100%" text="AnimationRepeat" color="0x000000" fontWeight="bold"/>
+ <mx:Label id="lbl_AnimationEnd" width="100%" text="AnimationEnd" color="0x000000" fontWeight="bold"/>
+ <mx:Label id="lbl_EffectEnd" width="100%" text="EffectEnd" color="0x000000" fontWeight="bold"/>
+ </mx:VBox>
+ </mx:VBox>
+ <mx:VBox width="250" height="540" verticalScrollPolicy="off" creationPolicy="all">
+ <mx:Label width="100%" text="Effects"/>
+ <mx:HRule width="100%"/>
+ <mx:Accordion width="100%" height="467" creationPolicy="all" verticalScrollPolicy="off">
+
+ <mx:VBox width="100%" height="100%" label="Dissolve Objects">
+ <mx:LinkButton label="Button" width="100%" click="SeekControl('Button', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="ButtonBar" width="100%" click="SeekControl('ButtonBar', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="CheckBox" width="100%" click="SeekControl('CheckBox', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="ColorPicker" width="100%" click="SeekControl('ColorPicker', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="ComboBox" width="100%" click="SeekControl('ComboBox', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="DataGrid" width="100%" click="SeekControl('DataGrid', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="DateChooser" width="100%" click="SeekControl('DateChooser', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="DateField" width="100%" click="SeekControl('DateField', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="HorizontalList" width="100%" click="SeekControl('HorizontalList', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="HRule" width="100%" click="SeekControl('HRule', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="HScrollBar" width="100%" click="SeekControl('HScrollBar', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="HSlider" width="100%" click="SeekControl('HSlider', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="Image" width="100%" click="SeekControl('Image', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="Label" width="100%" click="SeekControl('Label', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="LinkBar" width="100%" click="SeekControl('LinkBar', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="LinkButton" width="100%" click="SeekControl('LinkButton', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="List" width="100%" click="SeekControl('List', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="MenuBar" width="100%" click="SeekControl('MenuBar', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="NumericStepper" width="100%" click="SeekControl('NumericStepper', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="PopUpButton" width="100%" click="SeekControl('PopUpButton', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="PopUpMenuButton" width="100%" click="SeekControl('PopUpMenuButton', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="ProgressBar" width="100%" click="SeekControl('ProgressBar', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="RadioButton" width="100%" click="SeekControl('RadioButton', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="RichTextEditor" width="100%" click="SeekControl('RichTextEditor', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="TabBar" width="100%" click="SeekControl('TabBar', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="Text" width="100%" click="SeekControl('Text', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="TextArea" width="100%" click="SeekControl('TextArea', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="TextInput" width="100%" click="SeekControl('TextInput', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="TileList" width="100%" click="SeekControl('TileList', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="ToggleButtonBar" width="100%" click="SeekControl('ToggleButtonBar', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="Tree" width="100%" click="SeekControl('Tree', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="VRule" width="100%" click="SeekControl('VRule', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="VScrollBar" width="100%" click="SeekControl('VScrollBar', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ <mx:LinkButton label="VSlider" width="100%" click="SeekControl('VSlider', eff_Dissolve, 1000, 0, 1, 0, 500)"/>
+ </mx:VBox>
+
+ <mx:VBox width="100%" height="100%" label="Dissolve Functionality">
+ <mx:LinkButton label="Just Dissolve" width="100%" click="PlayEffectControl('Button', eff_Dissolve, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Dissolve+SD" width="100%" click="PlayEffectControl('Button', eff_Dissolve, 1000, 500, 1, 0)"/>
+ <mx:LinkButton label="Dissolve+RC+RD" width="100%" click="PlayEffectControl('Button', eff_Dissolve, 1000, 0, 2, 500)"/>
+ <mx:LinkButton label="Dissolve+SD+RC+RD" width="100%" click="PlayEffectControl('Button', eff_Dissolve, 1000, 500, 2, 500)"/>
+ <mx:LinkButton label="Play Reversed" width="100%" click="eff_Dissolve.play([this.GetTarget()], true)"/>
+ </mx:VBox>
+
+ <mx:VBox width="100%" height="100%" label="Dissolve Parallel">
+ <mx:LinkButton label="Parallel Dissolve" width="100%" click="PlayEffectControl('Button', p_Dissolve, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+Thermo" width="100%" click="PlayEffectControl('Button', p_Dissolve_Thermo, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+Fade" width="100%" click="PlayEffectControl('Button', p_Dissolve_Fade, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+Glow" width="100%" click="PlayEffectControl('Button', p_Dissolve_Glow, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+Iris" width="100%" click="PlayEffectControl('Button', p_Dissolve_Iris, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+MaskEffect" width="100%" click="PlayEffectControl('Button', p_Dissolve_MaskEffect, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+Move" width="100%" click="PlayEffectControl('Button', p_Dissolve_Move, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+Resize" width="100%" click="PlayEffectControl('Button', p_Dissolve_Resize, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+SetAction" width="100%" click="PlayEffectControl('Button', p_Dissolve_SetAction, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+WipeDown" width="100%" click="PlayEffectControl('Button', p_Dissolve_WipeDown, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+WipeLeft" width="100%" click="PlayEffectControl('Button', p_Dissolve_WipeLeft, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+WipeRight" width="100%" click="PlayEffectControl('Button', p_Dissolve_WipeRight, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+WipeUp" width="100%" click="PlayEffectControl('Button', p_Dissolve_WipeUp, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Dissolve+Zoom" width="100%" click="PlayEffectControl('Button', p_Dissolve_Zoom, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Parallel Multi Targets" width="100%" click="PlayEffectControls('Button', p_Dissolve, 1000, 0, 1, 0)"/>
+ </mx:VBox>
+
+ <mx:VBox width="100%" height="100%" label="Dissolve Sequence">
+ <mx:LinkButton label="Sequence Dissolve" width="100%" click="PlayEffectControl('Button', s_Dissolve, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+Thermo" width="100%" click="PlayEffectControl('Button', s_Dissolve_Thermo, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+Fade" width="100%" click="PlayEffectControl('Button', s_Dissolve_Fade, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+Glow" width="100%" click="PlayEffectControl('Button', s_Dissolve_Glow, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+Iris" width="100%" click="PlayEffectControl('Button', s_Dissolve_Iris, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+MaskEffect" width="100%" click="PlayEffectControl('Button', s_Dissolve_MaskEffect, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+Move" width="100%" click="PlayEffectControl('Button', s_Dissolve_Move, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+Resize" width="100%" click="PlayEffectControl('Button', s_Dissolve_Resize, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+SetAction" width="100%" click="PlayEffectControl('Button', s_Dissolve_SetAction, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+WipeDown" width="100%" click="PlayEffectControl('Button', s_Dissolve_WipeDown, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+WipeLeft" width="100%" click="PlayEffectControl('Button', s_Dissolve_WipeLeft, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+WipeRight" width="100%" click="PlayEffectControl('Button', s_Dissolve_WipeRight, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+WipeUp" width="100%" click="PlayEffectControl('Button', s_Dissolve_WipeUp, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Dissolve+Zoom" width="100%" click="PlayEffectControl('Button', s_Dissolve_Zoom, 1000, 0, 1, 0)"/>
+ <mx:LinkButton label="Sequence Multi Targets" width="100%" click="PlayEffectControls('Button', s_Dissolve, 1000, 0, 1, 0)"/>
+ </mx:VBox>
+
+ </mx:Accordion>
+ </mx:VBox>
+ <assets:ObjectTabs/>
+ </mx:HBox>
+</mx:Application>
Added: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/SWFs/assets/ObjectTabs.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/SWFs/assets/ObjectTabs.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/SWFs/assets/ObjectTabs.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/SWFs/assets/ObjectTabs.mxml Tue Aug 7 17:13:06 2012
@@ -0,0 +1,179 @@
+<?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:TabNavigator
+ 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="600" height="500" creationPolicy="all">
+
+ <fx:Script>
+ <![CDATA[
+ private function raiseOpen(event:Event):void
+ {
+ this.dispatchEvent(new Event('openComplete', true));
+ }
+ ]]>
+ </fx:Script>
+
+ <mx:Accordion label="Controls 1" width="100%" height="100%" creationPolicy="all">
+ <mx:Canvas id="can_Button" label="Button" width="100%" height="100%">
+ <mx:Button id="control_Button" width="100" height="30" x="20" y="20" label="Hello World"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_ButtonBar" label="ButtonBar" width="100%" height="100%">
+ <mx:ButtonBar id="control_ButtonBar" width="200" height="30" x="20" y="20">
+ <fx:String>1</fx:String>
+ <fx:String>2</fx:String>
+ <fx:String>3</fx:String>
+ </mx:ButtonBar>
+ </mx:Canvas>
+ <mx:Canvas id="can_CheckBox" label="CheckBox" width="100%" height="100%">
+ <mx:CheckBox id="control_CheckBox" x="20" y="20" label="Hello World"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_ColorPicker" label="ColorPicker" width="100%" height="100%">
+ <mx:ColorPicker id="control_ColorPicker" x="20" y="20" />
+ </mx:Canvas>
+ <mx:Canvas id="can_ComboBox" label="ComboBox" width="100%" height="100%">
+ <mx:ComboBox id="control_ComboBox" width="200" x="20" y="20" />
+ </mx:Canvas>
+ <mx:Canvas id="can_DataGrid" label="DataGrid" width="100%" height="100%">
+ <mx:DataGrid id="control_DataGrid" width="200" x="20" y="20"
+ dataProvider="[1,2,3,4,5]"
+ selectedIndex="2">
+ <mx:columns>
+ <mx:DataGridColumn headerText="Left" />
+ <mx:DataGridColumn headerText="Right" />
+ </mx:columns>
+ </mx:DataGrid>
+ </mx:Canvas>
+ <mx:Canvas id="can_DateChooser" label="DateChooser" width="100%" height="100%">
+ <mx:DateChooser id="control_DateChooser" width="200" x="20" y="20" selectedDate="{new Date(2007, 0, 1)}"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_DateField" label="DateField" width="100%" height="100%">
+ <mx:DateField id="control_DateField" width="200" x="20" y="20" />
+ </mx:Canvas>
+ <mx:Canvas id="can_HorizontalList" label="HorizontalList" width="100%" height="100%">
+ <mx:HorizontalList id="control_HorizontalList" width="200" x="20" y="20">
+ <s:Button label="1"/>
+ <s:Button label="2"/>
+ <s:Button label="3"/>
+ </mx:HorizontalList>
+ </mx:Canvas>
+ <mx:Canvas id="can_HRule" label="HRule" width="100%" height="100%">
+ <mx:HRule id="control_HRule" width="200" x="20" y="20"/>
+ </mx:Canvas>
+ </mx:Accordion>
+ <mx:Accordion label="Controls 2" width="100%" height="100%" creationPolicy="all">
+ <mx:Canvas id="can_HScrollBar" label="HScrollBar" width="100%" height="100%">
+ <mx:HScrollBar id="control_HScrollBar" width="200" height="20" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_HSlider" label="HSlider" width="100%" height="100%">
+ <mx:HSlider id="control_HSlider" width="200" height="20" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_Image" label="Image" width="100%" height="100%">
+ <mx:Image id="control_Image" width="50" height="50" x="20" y="20" source="assets/../../../../../../Assets/Images/bluerect.jpg"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_Label" label="Label" width="100%" height="100%">
+ <mx:Label id="control_Label" width="200" text="Hello World" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_LinkBar" label="LinkBar" width="100%" height="100%">
+ <mx:LinkBar id="control_LinkBar" height="30">
+ <fx:String>1</fx:String>
+ <fx:String>2</fx:String>
+ <fx:String>3</fx:String>
+ </mx:LinkBar>
+ </mx:Canvas>
+ <mx:Canvas id="can_LinkButton" label="LinkButton" width="100%" height="100%">
+ <mx:LinkButton id="control_LinkButton" width="200" height="30" label="Hello World" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_List" label="List" width="100%" height="100%">
+ <mx:List id="control_List" width="200" height="50" x="20" y="20">
+ <s:Button label="1"/>
+ <s:Button label="2"/>
+ <s:Button label="3"/>
+ </mx:List>
+ </mx:Canvas>
+ <mx:Canvas id="can_MenuBar" label="MenuBar" width="100%" height="100%">
+ <mx:MenuBar id="control_MenuBar" width="200" height="40" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_NumericStepper" label="NumericStepper" width="100%" height="100%">
+ <mx:NumericStepper id="control_NumericStepper" width="200" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_PopUpButton" label="PopUpButton" width="100%" height="100%">
+ <mx:PopUpButton id="control_PopUpButton" width="200" height="30" label="Hello World" x="20" y="20"/>
+ </mx:Canvas>
+ </mx:Accordion>
+ <mx:Accordion label="Controls 3" width="100%" height="100%" creationPolicy="all">
+ <mx:Canvas id="can_PopUpMenuButton" label="PopUpMenuButton" width="100%" height="100%">
+ <mx:PopUpMenuButton id="control_PopUpMenuButton" width="200" height="30" label="Hello World" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_ProgressBar" label="ProgressBar" width="100%" height="100%">
+ <mx:ProgressBar id="control_ProgressBar" width="200" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_RadioButton" label="RadioButton" width="100%" height="100%">
+ <mx:RadioButton id="control_RadioButton" width="200" label="Hello World" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_RichTextEditor" label="RichTextEditor" width="100%" height="100%">
+ <mx:RichTextEditor id="control_RichTextEditor" width="200" height="200" text="Hello World" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_TabBar" label="TabBar" width="100%" height="100%">
+ <mx:TabBar id="control_TabBar" width="200" x="20" y="20">
+ <fx:String>1</fx:String>
+ <fx:String>2</fx:String>
+ <fx:String>3</fx:String>
+ </mx:TabBar>
+ </mx:Canvas>
+ <mx:Canvas id="can_Text" label="Text" width="100%" height="100%">
+ <mx:Text id="control_Text" width="200" text="Hello World" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_TextArea" label="TextArea" width="100%" height="100%">
+ <mx:TextArea id="control_TextArea" width="200" height="50" text="Hello World" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_TextInput" label="TextInput" width="100%" height="100%">
+ <mx:TextInput id="control_TextInput" width="200" height="50" text="Hello World" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_TileList" label="TileList" width="100%">
+ <mx:TileList id="control_TileList" width="200" height="50">
+ <s:Button label="1"/>
+ <s:Button label="2"/>
+ <s:Button label="3"/>
+ </mx:TileList>
+ </mx:Canvas>
+ <mx:Canvas id="can_ToggleButtonBar" label="ToggleButtonBar" width="100%" height="100%">
+ <mx:ToggleButtonBar id="control_ToggleButtonBar" width="200" x="20" y="20">
+ <fx:String>1</fx:String>
+ <fx:String>2</fx:String>
+ <fx:String>3</fx:String>
+ </mx:ToggleButtonBar>
+ </mx:Canvas>
+ </mx:Accordion>
+ <mx:Accordion label="Controls 4" width="100%" height="100%" creationPolicy="all">
+ <mx:Canvas id="can_Tree" label="Tree" width="100%" height="100%">
+ <mx:Tree id="control_Tree" width="200" height="50" x="20" y="20" dataProvider="[One, Two, Three, Four, Five]"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_VRule" label="VRule" width="100%" height="100%">
+ <mx:VRule id="control_VRule" width="200" height="50" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_VScrollBar" label="VScrollBar" width="100%" height="50">
+ <mx:VScrollBar id="control_VScrollBar" width="200" height="20" x="20" y="20"/>
+ </mx:Canvas>
+ <mx:Canvas id="can_VSlider" label="VSlider" width="100%" height="100%">
+ <mx:VSlider id="control_VSlider" width="200" height="50" x="20" y="20"/>
+ </mx:Canvas>
+ </mx:Accordion>
+
+</mx:TabNavigator>
Added: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/accessor/Dissolve_accessor.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/accessor/Dissolve_accessor.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/accessor/Dissolve_accessor.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/accessor/Dissolve_accessor.mxml Tue Aug 7 17:13:06 2012
@@ -0,0 +1,110 @@
+<UnitTester
+ testSWF="../SWFs/Dissolve_main.mxml"
+ testDir="mx/effects/Dissolve/accessor/"
+ xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*">
+
+ <mx:Script>
+ <![CDATA[
+ import mx.effects.Dissolve;
+
+ public static function init(o:DisplayObject):void{}
+ ]]>
+ </mx:Script>
+
+ <mx:Metadata><![CDATA[[Mixin]]]></mx:Metadata>
+
+ <testCases>
+
+ <!-- triggerEvent -->
+ <TestCase testID="Dissolve_triggerEvent_Default" keywords="[Dissolve, accessor, triggerEvent]" description="Test the default value of the triggerEvent property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).triggerEvent" value="null"/>
+ </body>
+ </TestCase>
+
+ <!-- relevantStyles -->
+ <TestCase testID="Dissolve_relevantStyles_Default" keywords="[Dissolve, accessor, relevantStyles]" description="Test the default value of the relevantStyles property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).relevantStyles" value=""/>
+ </body>
+ </TestCase>
+
+ <!-- relevantProperties -->
+ <TestCase testID="Dissolve_relevantProperties_Default" keywords="[Dissolve, accessor, relevantProperties]" description="Test the default value of the relevantProperties property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).relevantProperties" value="visible,alpha"/>
+ </body>
+ </TestCase>
+
+ <!-- target -->
+ <TestCase testID="Dissolve_target_Default" keywords="[Dissolve, accessor, target]" description="Test the default value of the target property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).target" value="null"/>
+ </body>
+ </TestCase>
+
+ <!-- filter -->
+ <TestCase testID="Dissolve_filter_Default" keywords="[Dissolve, accessor, filter]" description="Test the default value of the filter property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).filter" value="null"/>
+ </body>
+ </TestCase>
+
+ <!-- isPlaying -->
+ <TestCase testID="Dissolve_isPlaying_Default" keywords="[Dissolve, accessor, isPlaying]" description="Test the default value of the isPlaying property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).isPlaying" value="false"/>
+ </body>
+ </TestCase>
+
+ <!-- hideFocusRing -->
+ <TestCase testID="Dissolve_hideFocusRing_Default" keywords="[Dissolve, accessor, hideFocusRing]" description="Test the default value of the hideFocusRing property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).hideFocusRing" value="false"/>
+ </body>
+ </TestCase>
+
+ <!-- customFilter -->
+ <TestCase testID="Dissolve_customFilter_Default" keywords="[Dissolve, accessor, customFilter]" description="Test the default value of the customFilter property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).customFilter" value="null"/>
+ </body>
+ </TestCase>
+
+ <!-- DissolveTargetHost -->
+ <TestCase testID="Dissolve_effectTargetHost_Default" keywords="[Dissolve, accessor, effectTargetHost]" description="Test the default value of the effectTargetHost property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).effectTargetHost" value="null"/>
+ </body>
+ </TestCase>
+
+ <!-- targets -->
+ <TestCase testID="Dissolve_targets_Default" keywords="[Dissolve, accessor, targets]" description="Test the default value of the targets property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).targets" value=""/>
+ </body>
+ </TestCase>
+
+ <!-- duration -->
+ <TestCase testID="Dissolve_duration_Default" keywords="[Dissolve, accessor, duration]" description="Test the default value of the duration property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).duration" value="500"/>
+ </body>
+ </TestCase>
+
+ <!-- perElementOffset -->
+ <TestCase testID="Dissolve_perElementOffset_Default" keywords="[Dissolve, accessor, perElementOffset]" description="Test the default value of the perElementOffset property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).perElementOffset" value="0"/>
+ </body>
+ </TestCase>
+
+ <!-- className -->
+ <TestCase testID="Dissolve_className_Default" keywords="[Dissolve, accessor, className]" description="Test the default value of the className property.">
+ <body>
+ <AssertMethodValue method="value=(new Dissolve()).className" value="Dissolve"/>
+ </body>
+ </TestCase>
+
+ </testCases>
+</UnitTester>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_effectEnd.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_effectEnd.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_effectEnd.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_effectStart.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_effectStart.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_effectStart.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_tweenEnd.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_tweenEnd.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_tweenEnd.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_tweenStart.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_tweenStart.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_tweenStart.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_tweenUpdate.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_tweenUpdate.png?rev=1370370&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/mx/effects/Dissolve/event/Baselines/Dissolve_tweenUpdate.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream