Transferred from the Adobe Open Source Subversion Repository

Revision: 14354
Author:   jimurphy@adobe.com
Date:     2010-02-23T15:05:48.761194Z

Log Message:
-----------
resetting the build number in version.as
The build automated process checked it in as 4.5.0.13964 when it should have been 4.5.0.0

QE notes: no
Doc notes: no
Bugs: https://bugs.adobe.com/jira/browse/SDK-25489
Reviewer: no
Tests run: ran version test included in the bug
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_air/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_flashflexkit/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_dmv/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Version.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1290453 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/advancedgrids/src/mx/core/Version.as
+++ frameworks/projects/advancedgrids/src/mx/core/Version.as
@@ -15,4 +15,4 @@
  *  @private
  *  Version string for this class.
  */
-mx_internal static const VERSION:String = "4.5.0.13964";
+mx_internal static const VERSION:String = "4.5.0.0";


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1258932 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/controls/ToolTip.as
+++ frameworks/projects/framework/src/mx/controls/ToolTip.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
+//  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
 //
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//      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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 8492
Author:   smgilson@adobe.com
Date:     2009-07-09T20:15:09.578058Z

Log Message:
-----------
- Fix icon in ASdoc example
- ASDoc update to UIComponent to show inherited transform property

QE Notes: None
Doc Notes: None
Bugs: -
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/controls/examples/ButtonExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/controls/examples/assets/logo.gif</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1259867 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -11437,7 +11437,7 @@
     }

     /**
-     * @inheritDoc
+     *  @private
      *
      *  @langversion 3.0
      *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 8458
Author:   smgilson@adobe.com
Date:     2009-07-08T18:35:15.696955Z

Log Message:
-----------
- Hide AdvancedLayoutFeatures.as from ASDoc
- ASDoc updates for IVisualElementContainer.as, UIComponent.as, IUIComponet
- Delete old ASDoc example and add a new one for RichEditableText.as

QE Notes: None
Doc Notes: None
Bugs: -
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElementContainer.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/TextViewExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1259866 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -1849,7 +1849,7 @@
     mx_internal var _owner:DisplayObjectContainer;

     /**
-     *  @inheritDoc
+     *  @copy mx.core.IVisualElement#owner
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -1997,7 +1997,24 @@
     }

     /**
-     *
+     *  Sets the x coordinate for the transform center of the component.
+     *
+     *
When this component is the target of a Spark transform effect,
+     *  you can override this property by setting
+     *  the AnimateTransform.autoCenterTransform property.
+     *  If autoCenterTransform is false, the transform
+     *  center is determined by the transformX,
+     *  transformY, and transformZ properties
+     *  of the effect target.
+     *  If autoCenterTransform is true,
+     *  the effect occurs around the center of the target,
+     *  (width/2, height/2).

+     *
+     *
Seeting this property on the Spark effect class
+     *  overrides the setting on the target component.

+     *
+     *  @see spark.effects.AnimateTransform#autoCenterTransform
+     *  @see spark.effects.AnimateTransform#transformX
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -2025,7 +2042,24 @@
     }

     /**
-     *
+     *  Sets the y coordinate for the transform center of the component.
+     *
+     *
When this component is the target of a Spark transform effect,
+     *  you can override this property by setting
+     *  the AnimateTransform.autoCenterTransform property.
+     *  If autoCenterTransform is false, the transform
+     *  center is determined by the transformX,
+     *  transformY, and transformZ properties
+     *  of the effect target.
+     *  If autoCenterTransform is true,
+     *  the effect occurs around the center of the target,
+     *  (width/2, height/2).

+     *
+     *
Seeting this property on the Spark effect class
+     *  overrides the setting on the target component.

+     *
+     *  @see spark.effects.AnimateTransform#autoCenterTransform
+     *  @see spark.effects.AnimateTransform#transformY
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -2053,7 +2087,24 @@
     }

     /**
-     *
+     *  Sets the z coordinate for the transform center of the component.
+     *
+     *
When this component is the target of a Spark transform effect,
+     *  you can override this property by setting
+     *  the AnimateTransform.autoCenterTransform property.
+     *  If autoCenterTransform is false, the transform
+     *  center is determined by the transformX,
+     *  transformY, and transformZ properties
+     *  of the effect target.
+     *  If autoCenterTransform is true,
+     *  the effect occurs around the center of the target,
+     *  (width/2, height/2).

+     *
+     *
Seeting this property on the Spark effect class
+     *  overrides the setting on the target component.

+     *
+     *  @see spark.effects.AnimateTransform#autoCenterTransform
+     *  @see spark.effects.AnimateTransform#transformZ
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -7179,10 +7230,15 @@
     }

     /**
-     *  @return Returns true when the measureSizes() code can skip the call to
-     *  measure(). For example this is usually true when both explicitWidth and
-     *  explicitHeight are set. For path, this is true when the bounds of the path
+     *  Returns true when the measureSizes() method
+     *  can skip the call to the measure() method.
+     *  This is usually the case when both the explicitWidth and
+     *  explicitHeight properties are set.
+     *  For path, this is true when the bounds of the path
      *  have not changed.
+     *
+     *  @return true when the measureSizes() method
+     *  can skip the call to the measure() method.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -8894,7 +8950,7 @@
     }

     /**
-     *  @inheritDoc
+     *  @copy mx.core.IStateClient2#hasState()
      */
     public function hasState(stateName:String):Boolean
     {
@@ -11808,6 +11864,14 @@
         return LayoutElementUIComponentUtils.getPreferredBoundsWidth(this,postLayoutTransform? nonDeltaLayoutMatrix():null);
     }

+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public function getPreferredBoundsHeight(postLayoutTransform:Boolean=true):Number
     {
         return LayoutElementUIComponentUtils.getPreferredBoundsHeight(this,postLayoutTransform? nonDeltaLayoutMatrix():null);
@@ -11826,6 +11890,14 @@
         return LayoutElementUIComponentUtils.getMinBoundsWidth(this,postLayoutTransform? nonDeltaLayoutMatrix():null);
     }

+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public function getMinBoundsHeight(postLayoutTransform:Boolean=true):Number
     {
         return LayoutElementUIComponentUtils.getMinBoundsHeight(this,postLayoutTransform? nonDeltaLayoutMatrix():null);


Transferred from the Adobe Open Source Subversion Repository

Revision: 7274
Author:   chaase@adobe.com
Date:     2009-05-26T17:35:32.210331Z

Log Message:
-----------
Fixed several feature-complete effects bugs, plus one ScrollBar bug.

QE Notes: None
Doc Notes: None
Bugs: sdk-21093, sdk-21130, sdk-21243, sdk-21128, sdk-20698, sdk-20125, sdk-21138
Reviewer: Jason
tests: checkintests mustella effects cyclone

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/AnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1259854 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -11647,6 +11647,11 @@
                 xformPt.x = transformCenter.x;
                 xformPt.y = transformCenter.y;
             }
+            else
+            {
+                xformPt.x = 0;
+                xformPt.y = 0;
+            }
             var tmp:Point = (super.transform.matrix != null) ?
                 super.transform.matrix.transformPoint(xformPt) :
                 xformPt;


Transferred from the Adobe Open Source Subversion Repository

Revision: 6609
Author:   gruehle@adobe.com
Date:     2009-05-04T22:47:31.285324Z

Log Message:
-----------
Add theme attribute to theme-specific style metadata.

Example of a halo-specific style:
[Style(name="cornerRadius", type="Number", format="Length", inherit="no", theme="halo")]

Example of a spark-specific style:
[Style(name="baseColor", type="uint", format="Color", inherit="yes", theme="spark")]

Style metadata without a theme attribute is theme-agnostic, and works with either spark or halo.

Bugs: SDK-20606

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/FillStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BarColorStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/IconColorStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SelectedFillColorsStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1268345 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/controls/NumericStepper.as
+++ frameworks/projects/mx/src/mx/controls/NumericStepper.as
@@ -94,7 +94,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes")]
+[Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
  *  Name of the class to use as the default skin for the down arrow.
@@ -169,7 +169,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="focusColor", type="uint", format="Color", inherit="yes")]
+[Style(name="focusColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
  *  Alphas used for the highlight fill of controls.
@@ -181,7 +181,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="highlightAlphas", type="Array", arrayType="Number", inherit="no")]
+[Style(name="highlightAlphas", type="Array", arrayType="Number", inherit="no", theme="halo")]

 /**
  *  Color of any symbol of a component. Examples include the check mark of a CheckBox or
@@ -194,7 +194,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="symbolColor", type="uint", format="Color", inherit="yes")]
+[Style(name="symbolColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
  *  Name of the class to use as the default skin for the up arrow.
@@ -607,6 +607,7 @@

     private static var _downArrowStyleFilters:Object =
     {
+        "borderColor" : "borderColor",
         "cornerRadius" : "cornerRadius",
         "highlightAlphas" : "highlightAlphas",
         "downArrowUpSkin" : "downArrowUpSkin",
@@ -1007,6 +1008,7 @@

     private static var _upArrowStyleFilters:Object =
     {
+        "borderColor" : "borderColor",
         "cornerRadius" : "cornerRadius",
         "highlightAlphas" : "highlightAlphas",
         "upArrowUpSkin" : "upArrowUpSkin",


Transferred from the Adobe Open Source Subversion Repository

Revision: 10872
Author:   cframpto@adobe.com
Date:     2009-10-05T19:39:47.041984Z

Log Message:
-----------
Most changes already approved by PARB and a few are pending.  Given the two reviewers are at MAX and then there is a shutdown week we decided to take a chance that these changes will actually stick.

TLFText.css -> MXFTEText.css
TLFTextField -> FTETextField
UITLFTextField -> UIFTETextField
TLFDataGridItemRenderer -> FTEDataGridItemRenderer
TLFTextInput -> MXFTETextInput

UITextFormat.useTLF -> UITextFormat.useFTE

QE notes:
Doc notes:
Bugs: SDK-22909
Reviewer: Gordon
Tests run: checkintests
Is noteworthy for integration: yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/TextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/TLFTextInput.as" copyfrom-rev="10865" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as" copyfrom-rev="10865" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UIFTETextField.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/TLFTextInput.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/TLFTextField.as" copyfrom-rev="10865" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/FTETextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/dataGridClasses/TLFDataGridItemRenderer.as" copyfrom-rev="10865" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/TextFieldFactory.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/TLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/CSSTextLayoutFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/dataGridClasses/TLFDataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ITextFieldFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/TLFText.css" copyfrom-rev="10865" action="A">/flex/sdk/trunk/frameworks/projects/spark/MXFTEText.css</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/TLFText.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1268358 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/controls/NumericStepper.as
+++ frameworks/projects/mx/src/mx/controls/NumericStepper.as
@@ -214,7 +214,7 @@
  *
  *
It can be set to either the mx.core.TextInput class
  *  (to use the classic Halo TextInput control)
- *  or the mx.controls.TLFTextInput class
+ *  or the mx.controls.MXFTETextInput class
  *  (to use the Spark TextInput component based on the Text Layout Framework
  *  to get improved text rendering, including bidirectional layout).

  *
@@ -1150,7 +1150,7 @@

         if (!inputField)
         {
-            // Mechanism to use TLFTextInput.
+            // Mechanism to use MXFTETextInput.
             var textInputClass:Class = getStyle("textInputClass");
             if (!textInputClass ||
                 FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1269569 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/events/ColorPickerEvent.as
+++ frameworks/projects/mx/src/mx/events/ColorPickerEvent.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2006 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////

 package mx.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5545
Author:   jimurphy@adobe.com
Date:     2009-03-25T19:00:52.330680Z

Log Message:
-----------
1st pass of rename according to the spec http://opensource.adobe.com/wiki/display/flexsdk/Dropping+the+Fx+Prefix

Flex now requires CSS Style declarations to declare @namespace rules and disambiguate between halo and spark components using CSS 3 namespace prefixes on type selectors. At compile time, this namespace information will be used to map type names to qualified ActionScript class names. At runtime, type selectors are matched on qualified ActionScript class name (for example mx.controls.Button rather than just Button). Flex 3 applications must be compiled with -compatibility-version=3.0.0 to get unqualified CSS type selector behavior.

QE: Yes, this build may help in updating test cases to use the new namespaces and class names.
Dev: Not yet
Doc: Not yet

Modified Paths:
--------------
748 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1284628 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/events/VideoEvent.as
+++ frameworks/projects/spark/src/spark/events/VideoEvent.as
@@ -28,7 +28,7 @@
  */
 public class VideoEvent extends Event
 {
-    include "../../mx/core/Version.as";
+    include "../core/Version.as";

     //--------------------------------------------------------------------------
     //


Cleaned up Flash GetPixel code...

Cleaned up Flash GetPixel code...

--HG--
extra : convert_revision : svn%3Ae934d3cd-0d57-f34a-94d0-9e8d31ae1c29/trunk%40309

--- src/diddy/native/diddy.flash.as
+++ src/diddy/native/diddy.flash.as
@@ -3,23 +3,13 @@
 class diddy
 {
 	static public function getPixel(x:int, y:int):int{
-		var alpha:Number = 0;
-		var red:Number = 0;
-		var green:Number = 0;
-		var blue:Number = 0;
-
 		var bmd:BitmapData = new BitmapData(1, 1);
 		var matrix:Matrix = new Matrix();
 		matrix.translate(-x, -y);
 		bmd.draw(game.stage, matrix);
-		var pixel:uint = bmd.getPixel(0, 0);
+		var pixel:uint = bmd.getPixel32(0, 0);

-		alpha = pixel >> 24 & 0xFF;
-		red = pixel >> 16 & 0xFF;
-		green = pixel >> 8 & 0xFF;
-		blue = pixel & 0xFF;
-
-		return pixel;//alpha << 24 | red << 16 | green << 8 | blue;
+		return pixel;
 	}

 	static public function systemMillisecs():Number


Add license header to flash/events/ShaderEvent.as

--- src/flash/events/ShaderEvent.as
+++ src/flash/events/ShaderEvent.as
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2014 Mozilla Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package flash.events {
 import flash.display.BitmapData;
 import flash.utils.ByteArray;


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1277836 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/mx/controls/MXFTETextInput.as
+++ frameworks/projects/spark/src/mx/controls/MXFTETextInput.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2009 Adobe Systems Incorporated
-//  All Rights Reserved.
+//  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
 //
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//      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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 20231
Author:   mhorn@adobe.com
Date:     2011-02-09T16:29:38.599327Z

Log Message:
-----------
ASDoc updates

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextArea.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1280981 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/TextInput.as
+++ frameworks/projects/spark/src/spark/components/TextInput.as
@@ -63,16 +63,15 @@
  *  TextInput is a text-entry control that lets users enter and edit
  *  a single line of uniformly-formatted text.
  *
- *
This Spark version of TextInput
- *  makes use of the Text Layout Framework (TLF) library,
- *  which in turn builds on the new Flash Text Engine (FTE) in Flash Player 10.
- *  In combination, they provide text editing with
- *  high-quality international typography.
- *  The MX version of TextInput displays text using the older
- *  TextField class.

+ *
The TextInput skin for the Spark theme
+ *  uses the RichEditableText class. This means that the Spark TextInput control supports
+ *  the Text Layout Framework (TLF) library,
+ *  which builds on the Flash Text Engine (FTE).
+ *  In combination, these layers provide text editing with
+ *  high-quality international typography and layout.

  *
- *
The mobile theme uses TextField-based text instead of RichEditableText.
- *  Some TLF-only features are not supported in the mobile theme including
+ *
The TextInput skin for the mobile theme uses the StyleableTextField class instead of RichEditableText.
+ *  As a result, TLF-only features are not supported in the mobile theme including
  *  TextFlow, right-to-left or bidirectional text, and advanced text
  *  styles.

  *
@@ -282,9 +281,9 @@
      *  a percent width, or both left and right
      *  constraints.

      *
-	 *
This property will also be ignored if the typicalText
-	 *  property is specified.

-	 *
+     *
This property will also be ignored if the typicalText
+     *  property is specified.

+     *
      *
For the Mobile theme, this is not supported.

      *
      *  @default 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 2464
Author:   jimurphy@adobe.com
Date:     2008-07-14T19:50:33.449468Z

Log Message:
-----------
add flex 4 to trunk

Modified Paths:
--------------
134 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1283205 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/core/IGraphicElement.as
+++ frameworks/projects/spark/src/spark/core/IGraphicElement.as
@@ -0,0 +1,205 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flex.graphics
+{
+import flash.display.DisplayObject;
+import flash.display.Graphics;
+
+import flash.geom.Matrix;
+import flash.geom.Rectangle;
+import flash.geom.Transform;
+
+/**
+ *  The IGraphicElement interface is implemented by all child tags of Graphic and Group.
+ */
+public interface IGraphicElement
+{
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  elementHost
+	//----------------------------------
+
+ 	/**
+	 *  @private
+	 */
+	function get elementHost():IGraphicElementHost;
+	function set elementHost(value:IGraphicElementHost):void;
+
+	//----------------------------------
+	//  alpha
+	//----------------------------------
+	/**
+     *  Specifies the alpha
+     *
+     *  @see flash.display.DisplayObject#Alpha
+     */
+	function get alpha():Number;
+	function set alpha(value:Number):void;
+
+	//----------------------------------
+	//  blendMode
+	//----------------------------------
+	/**
+     *  Specifies the blendMode
+     *
+     *  @see flash.display.DisplayObject#BlendMode
+     */
+	function get blendMode():String;
+	function set blendMode(value:String):void;
+
+ 	//----------------------------------
+	//  bounds
+	//----------------------------------
+
+    /**
+     *  Returns the pre-transform measured or explicit bounds,
+     *  excluding stroke, as drawn at position (0,0). This is read-only property.
+     */
+    function get bounds():Rectangle;
+
+	//----------------------------------
+	//  filters
+	//----------------------------------
+	/**
+	 *  The array of IBitmapFilter filters applied to the element
+	 */
+	function get filters():Array;
+	function set filters(value:Array):void;
+
+	//----------------------------------
+	//  maskType
+	//----------------------------------
+	/**
+	 *  Controls how the mask performs masking on the element.
+	 *  Possible values are MaskType.CLIP and MaskType.ALPHA
+	 *  A value of MaskType.CLIP means that the mask either displays the pixel
+	 *  or doesn't. Strokes and bitmap filters are not used.
+	 *  A value of MaskType.ALPHA means that the mask respects opacity and
+	 *  will use the strokes and bitmap filters of the mask.
+	 */
+	function get maskType():String;
+	function set maskType(value:String):void;
+
+	//----------------------------------
+	//  mask
+	//----------------------------------
+	/**
+	 * The mask applied to the element
+	 */
+
+	function set mask(value:DisplayObject):void;
+	function get mask():DisplayObject;
+
+	//----------------------------------
+	//  rotation
+	//----------------------------------
+	/**
+	 *  Indicates the rotation of the element, in degrees, from the transform point.
+	 */
+	function get rotation():Number;
+	function set rotation(value:Number):void;
+
+	//----------------------------------
+	//  scaleX
+	//----------------------------------
+	/**
+	 *  Indicates the horizontal scale (percentage) of the element as applied from the transform point.
+	 */
+	function get scaleX():Number;
+	function set scaleX(value:Number):void;
+
+	//----------------------------------
+	//  scaleY
+	//----------------------------------
+	/**
+	 *  Indicates the vertical scale (percentage) of the element as applied from the transform point.
+	 */
+	function get scaleY():Number;
+	function set scaleY(value:Number):void;
+
+	//----------------------------------
+	//  transform
+	//----------------------------------
+	/**
+	 *  An object with properties pertaining to an element's matrix,
+	 *  color transform, and pixel bounds.
+	 */
+	function get transform():Transform;
+	function set transform(value:Transform):void;
+
+	//----------------------------------
+	//  transformX
+	//----------------------------------
+	/**
+	 *  The x position transform point of the element.
+	 */
+	function get transformX():Number;
+	function set transformX(value:Number):void;
+
+	//----------------------------------
+	//  transformY
+	//----------------------------------
+	/**
+	 *  The y position transform point of the element.
+	 */
+	function get transformY():Number;
+	function set transformY(value:Number):void;
+
+	//----------------------------------
+	//  visible
+	//----------------------------------
+
+	/**
+	 *  Controls the visibility of the element.
+	 */
+	function get visible():Boolean;
+	function set visible(value:Boolean):void;
+
+	//----------------------------------
+	//  x
+	//----------------------------------
+	/**
+	 *  The x position of the element
+	 */
+	function get x():Number;
+	function set x(value:Number):void;
+
+	//----------------------------------
+	//  y
+	//----------------------------------
+	/**
+	 *  The y position of the element
+	 */
+	function get y():Number;
+	function set y(value:Number):void;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Draws the element.
+     *
+     *  @param g The graphics context where the element is drawn.
+     */
+	function draw(g:Graphics):void;
+
+	function applyMask():void;
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1284557 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/events/GridSortEvent.as
+++ frameworks/projects/spark/src/spark/events/GridSortEvent.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2010 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////

 package spark.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4931
Author:   egeorgie@adobe.com
Date:     2009-02-11T22:21:29.973417Z

Log Message:
-----------
A small fallout of the graphicsClasses -> baseClasses rename.

QE Notes: None
Doc Notes:
Bugs: None
Reviewer: Ryan
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1259386 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/ILayoutElement.as
+++ frameworks/projects/framework/src/mx/core/ILayoutElement.as
@@ -289,7 +289,7 @@
      *  @see #getLayoutMatrix3D
      *  @see #setLayoutMatrix3D
      *  @see mx.core.UIComponent#offsets
-     *  @see mx.graphics.graphicsClasses.GraphicElement#offsets
+     *  @see mx.graphics.baseClasses.GraphicElement#offsets
      */
     function getLayoutMatrix():Matrix;

@@ -323,7 +323,7 @@
      *  @see #getLayoutMatrix3D
      *  @see #setLayoutMatrix3D
      *  @see mx.core.UIComponent#offsets
-     *  @see mx.graphics.graphicsClasses.GraphicElement#offsets
+     *  @see mx.graphics.baseClasses.GraphicElement#offsets
      */
     function setLayoutMatrix(m:Matrix, triggerLayout:Boolean):void;

@@ -347,7 +347,7 @@
      *  @see #setLayoutMatrix
      *  @see #setLayoutMatrix3D
      *  @see mx.core.UIComponent#offsets
-     *  @see mx.graphics.graphicsClasses.GraphicElement#offsets
+     *  @see mx.graphics.baseClasses.GraphicElement#offsets
      */
     function getLayoutMatrix3D():Matrix3D;

@@ -382,7 +382,7 @@
      *  @see #setLayoutMatrix
      *  @see #getLayoutMatrix3D
      *  @see mx.core.UIComponent#offsets
-     *  @see mx.graphics.graphicsClasses.GraphicElement#offsets
+     *  @see mx.graphics.baseClasses.GraphicElement#offsets
      */
     function setLayoutMatrix3D(m:Matrix3D, triggerLayout:Boolean):void;
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
663 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1262568 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/styles/IStyleModule.as
+++ frameworks/projects/framework/src/mx/styles/IStyleModule.as
@@ -16,6 +16,11 @@
  * Simple interface that defines an unload() method.
  * You can cast an object to an IStyleModule type so that there is no dependency on the StyleModule
  * type in the loading application.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public interface IStyleModule
 {
@@ -27,6 +32,11 @@

     /**
      * Unloads the style module.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function unload():void;
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17429
Author:   cframpto@adobe.com
Date:     2010-08-20T19:02:00.631485Z

Log Message:
-----------
When setting the dataProvider, if there are exisiting virtual item renderers that can be recycled, they need to be added to the freed list.  This has the side effect of resetting their width and height so the new text will flow properly.

QE notes:
Doc notes:
Bugs: SDK-25403
Reviewer: Ryan, Hans
Tests run: checkintests, cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1278755 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -846,7 +846,17 @@
             removeAllItemRenderers();   // indexToRenderer.length = 0

         if (layout && layout.useVirtualLayout)
-        {
+        {
+            // Add any existing renderers to the free list.  A side-effect of
+            // this is that their layoutBoundsSize will be zero'ed so they will
+            // remeasure the new data correctly.
+            if (virtualRendererIndices != null &&
+                virtualRendererIndices.length > 0)
+            {
+                startVirtualLayout();
+                finishVirtualLayout();
+            }
+
             // The item renderers will be created lazily, at updateDisplayList() time
             invalidateSize();
             invalidateDisplayList();
@@ -1158,6 +1168,9 @@
     /**
      *  @private
      *  Called before super.updateDisplayList() if layout.useVirtualLayout=true.
+     *  Also called by createItemRenderers to ready existing renderers
+     *  to be recycled by the following call to finishVirtualLayout.
+     *
      *  Copies virtualRendererIndices to oldRendererIndices, clears virtualRendererIndices
      *  (which will be repopulated by subsequence getVirtualElementAt() calls), and
      *  calls ensureTypicalElement().
@@ -1185,7 +1198,10 @@

     /**
      *  @private
-     *  Called after super.updateDisplayList() finishes.
+     *  Called after super.updateDisplayList() finishes.  Also called by
+     *  createItemRenderers to recycle existing renderers that were added
+     *  to oldVirtualRendererIndices by the preceeding call to
+     *  startVirtualLayout.
      *
      *  Discard the ItemRenderers that aren't needed anymore, i.e. the ones
      *  not explicitly requested with getVirtualElementAt() during the most
@@ -1404,7 +1420,7 @@

                 indexToRenderer[index] = elt;
             }
-
+
             addItemRendererToDisplayList(DisplayObject(elt));
             setUpItemRenderer(elt, index, item);


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1284493 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/events/DropDownEvent.as
+++ frameworks/projects/spark/src/spark/events/DropDownEvent.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2006 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////

 package spark.events
 {


Fix wrong indentation depth.

Fix wrong indentation depth.


Transferred from the Adobe Open Source Subversion Repository

Revision: 18747
Author:   rfrishbe@adobe.com
Date:     2010-11-19T21:49:23.290523Z

Log Message:
-----------
A few MobileSkin changes

1) Added new protected methods to MobileSkin (getElementPreferredWidth(), getElementPreferredHeight())
2) Renamed MobileSkin resizePart(), positionPart() to resizeElement, positionElement().  This matches MobileItemRenderer but still needs to be PARBed
3) Fixed up multi-line resize in TextAreaSkin

QE notes:
Doc notes:
Bugs: -
Reviewer: Evtim
Tests run: checkintests, mustella cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1265909 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as
@@ -21,11 +21,13 @@
 import mx.core.IFlexDisplayObject;
 import mx.core.ILayoutElement;
 import mx.core.UIComponent;
+import mx.core.UITextField;
 import mx.core.mx_internal;
 import mx.utils.ColorUtil;
 import mx.utils.object_proxy;

 import spark.components.supportClasses.SkinnableComponent;
+import spark.components.supportClasses.StyleableTextField;
 import spark.core.DisplayObjectSharingMode;
 import spark.core.IGraphicElement;
 import spark.skins.IHighlightBitmapCaptureClient;
@@ -349,65 +351,155 @@
         chromeColorGraphics.drawRect(0, 0, unscaledWidth, unscaledHeight);
     }

-    /**
-     *  A helper method for positioning skin parts.
-     *
-     *  Developers can use this method instead of checking for and using
-     *  various interfaces such as ILayoutElement, IFlexDisplayObject, etc.
-     *
-     *  @see #resizePart
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    protected function positionPart(part:Object, x:Number, y:Number):void
-    {
-        if (part is ILayoutElement)
-        {
-            ILayoutElement(part).setLayoutBoundsPosition(x, y, false);
-        }
-        else if (part is IFlexDisplayObject)
-        {
-            IFlexDisplayObject(part).move(x, y);
-        }
-        else
-        {
-            part.x = x;
-            part.y = y;
-        }
-    }
-
-    /**
-     *  A helper method for resizing skin parts.
-     *
-     *  Developers can use this method instead of checking for and using
-     *  various interfaces such as ILayoutElement, IFlexDisplayObject, etc.
-     *
-     *  @see #positionPart
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    protected function resizePart(part:Object, width:Number, height:Number):void
-    {
-        if (part is ILayoutElement)
-        {
-            ILayoutElement(part).setLayoutBoundsSize(width, height, false);
-        }
-        else if (part is IFlexDisplayObject)
-        {
-            IFlexDisplayObject(part).setActualSize(width, height);
-        }
-        else
-        {
-            part.width = width;
-            part.height = height;
-        }
-    }
+	/**
+	 *  A helper method to position the children of this item renderer.
+	 *
+	 *
You can use this method instead of checking for and using
+	 *  various interfaces such as ILayoutElement or IFlexDisplayObject.

+	 *
+	 *  @param element The child to position.
+	 *
+	 *  @param x The x-coordinate of the child.
+	 *
+	 *  @param y The y-coordinate of the child.
+	 *
+	 *  @see #resizeElement
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.1
+	 *  @playerversion AIR 2.5
+	 *  @productversion Flex 4.5
+	 */
+	protected function positionElement(element:Object, x:Number, y:Number):void
+	{
+		if (element is ILayoutElement)
+		{
+			ILayoutElement(element).setLayoutBoundsPosition(x, y, false);
+		}
+		else if (element is IFlexDisplayObject)
+		{
+			IFlexDisplayObject(element).move(x, y);
+		}
+		else
+		{
+			element.x = x;
+			element.y = y;
+		}
+	}
+
+	/**
+	 *  A helper method to size the children of this item renderer.
+	 *
+	 *
You can use this method instead of checking for and using
+	 *  various interfaces such as ILayoutElement or IFlexDisplayObject.

+	 *
+	 *  @param element The child to position.
+	 *
+	 *  @param x The width of the child.
+	 *
+	 *  @param y The height of the child.
+	 *
+	 *  @see #positionElement
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.1
+	 *  @playerversion AIR 2.5
+	 *  @productversion Flex 4.5
+	 */
+	protected function resizeElement(element:Object, width:Number, height:Number):void
+	{
+		if (element is ILayoutElement)
+		{
+			ILayoutElement(element).setLayoutBoundsSize(width, height, false);
+		}
+		else if (element is IFlexDisplayObject)
+		{
+			IFlexDisplayObject(element).setActualSize(width, height);
+		}
+		else
+		{
+			element.width = width;
+			element.height = height;
+		}
+	}
+
+	/**
+	 *  A helper method to retrieve the preferred width of an element
+	 *
+	 *
You can use this method instead of checking for and using
+	 *  various interfaces such as ILayoutElement or IFlexDisplayObject.

+	 *
+	 *  @param element The child to retrieve the width for
+	 *
+	 *  @see #sizeElement
+	 *  @see #getElementPreferredHeight
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.1
+	 *  @playerversion AIR 2.5
+	 *  @productversion Flex 4.5
+	 */
+	protected function getElementPreferredWidth(element:Object):Number
+	{
+		if (element is ILayoutElement)
+		{
+			return ILayoutElement(element).getPreferredBoundsWidth();
+		}
+		else if (element is IFlexDisplayObject)
+		{
+			return IFlexDisplayObject(element).measuredWidth;
+		}
+		else if (element is StyleableTextField)
+		{
+			// commit styles to get an accurate measurement
+			StyleableTextField(element).commitStyles();
+
+			return StyleableTextField(element).measuredWidth;
+		}
+		else
+		{
+			return element.width;
+		}
+	}
+
+	/**
+	 *  A helper method to retrieve the preferred height of an element
+	 *
+	 *
You can use this method instead of checking for and using
+	 *  various interfaces such as ILayoutElement or IFlexDisplayObject.

+	 *
+	 *  @param element The child to retrieve the height for
+	 *
+	 *  @see #sizeElement
+	 *  @see #getElementPreferredWidth
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10.1
+	 *  @playerversion AIR 2.5
+	 *  @productversion Flex 4.5
+	 */
+	protected function getElementPreferredHeight(element:Object):Number
+	{
+		if (element is ILayoutElement)
+		{
+			return ILayoutElement(element).getPreferredBoundsHeight();
+		}
+		else if (element is IFlexDisplayObject)
+		{
+			return IFlexDisplayObject(element).measuredHeight;
+		}
+		else if (element is StyleableTextField)
+		{
+			// commit styles to get an accurate measurement
+			StyleableTextField(element).commitStyles();
+
+			return StyleableTextField(element).measuredHeight;
+		}
+		else
+		{
+			return element.height;
+		}
+	}

 	/**
 	 *  List of id's of items that should be excluded when rendering the focus ring.


Transferred from the Adobe Open Source Subversion Repository

Revision: 5545
Author:   jimurphy@adobe.com
Date:     2009-03-25T19:00:52.330680Z

Log Message:
-----------
1st pass of rename according to the spec http://opensource.adobe.com/wiki/display/flexsdk/Dropping+the+Fx+Prefix

Flex now requires CSS Style declarations to declare @namespace rules and disambiguate between halo and spark components using CSS 3 namespace prefixes on type selectors. At compile time, this namespace information will be used to map type names to qualified ActionScript class names. At runtime, type selectors are matched on qualified ActionScript class name (for example mx.controls.Button rather than just Button). Flex 3 applications must be compiled with -compatibility-version=3.0.0 to get unqualified CSS type selector behavior.

QE: Yes, this build may help in updating test cases to use the new namespaces and class names.
Dev: Not yet
Doc: Not yet

Modified Paths:
--------------
748 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1282701 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package mx.components.baseClasses
+package spark.components.supportClasses
 {

 import flash.display.DisplayObject;
@@ -18,7 +18,7 @@
 import flash.system.ApplicationDomain;
 import flash.utils.*;

-import mx.components.Skin;
+import spark.components.supportClasses.Skin;
 import mx.core.ClassFactory;
 import mx.core.IFactory;
 import mx.core.IFlexModuleFactory;
@@ -81,8 +81,8 @@
 [ResourceBundle("components")]

 /**
- *  The FxComponent class defines the base class for skinnable components.
- *  The skins used by a FxComponent class are child classes of the Skin class.
+ *  The SkinnableComponent class defines the base class for skinnable components.
+ *  The skins used by a SkinnableComponent class are child classes of the Skin class.
  *
  *
Associate a skin class with a component class by setting the skinClass style property of the
  *  component class. You can set the skinClass property in CSS, as the following example shows:

@@ -105,7 +105,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public class FxComponent extends UIComponent
+public class SkinnableComponent extends UIComponent
 {
     include "../../core/Version.as";

@@ -123,7 +123,7 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function FxComponent()
+    public function SkinnableComponent()
     {
         // Initially state is dirty
         skinStateIsDirty = true;
@@ -360,7 +360,7 @@
      *  Button component could return the String "up", "down", "over", or "disabled"
      *  to specify the state.
      *
-     *
A subclass of FxComponent must override this method to return a value.

+     *
A subclass of SkinnableComponent must override this method to return a value.

      *
      *  @return A string specifying the name of the state to apply to the skin.
      *
@@ -403,7 +403,7 @@
      *  You do not call this method directly.
      *  Flex calls it automatically when it calls
      *  the UIComponent.commitProperties() method.
-     *  Typically, a subclass of FxComponent does not override this method.
+     *  Typically, a subclass of SkinnableComponent does not override this method.
      *
      *
This method instantiates the skin for the component,
      *  adds the skin as a child of the component, and
@@ -469,7 +469,7 @@
      *  Find the skin parts in the skin class and assign them to the properties of the component.
      *  You do not call this method directly.
      *  Flex calls it automatically when it calls the loadSkin() method.
-     *  Typically, a subclass of FxComponent does not override this method.
+     *  Typically, a subclass of SkinnableComponent does not override this method.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -511,7 +511,7 @@
      *  You do not call this method directly.
      *  Flex calls it automatically when it calls the unloadSkin() method.
      *
-     *
Typically, subclasses of FxComponent do not override this method.

+     *
Typically, subclasses of SkinnableComponent do not override this method.

      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -555,7 +555,7 @@
      *
      *  This method removes the skin and clears all part associations.
      *
-     *
Typically, subclasses of FxComponent do not override this method.

+     *
Typically, subclasses of SkinnableComponent do not override this method.

      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1259324 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/IFlexModule.as
+++ frameworks/projects/framework/src/mx/core/IFlexModule.as
@@ -0,0 +1,34 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.core
+{
+
+/**
+ *  The IFlexModule interface is used as an optional contract with IFlexModuleFactory.
+ *  When an IFlexModule instance is created with the IFlexModuleFactory, the factory
+ *  stores a reference to itself after creation.
+ */
+public interface IFlexModule
+{
+    /**
+     *  @private
+     */
+    function set moduleFactory(factory:IFlexModuleFactory):void;
+
+    /**
+     * @private
+     */
+    function get moduleFactory():IFlexModuleFactory;
+
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 17165
Author:   cframpto@adobe.com
Date:     2010-08-03T14:10:22.792682Z

Log Message:
-----------
Fix pile of bugs.

- ASdoc is not happy if there is a private variable/getter and a mx_internal variable/getter with the same name in the same class because of bug ASC-4110.  Fix instances of this in UICompoments and Grid.
- SDK-27169. Update the metadata for DG selectionMode.
- SDK-26840.  Turn off the column resize icon until the resize functionality is implemented.
- SDK-26548.  When TI is disabled, also disable RET.
- SDK-26858.  Fix off-by-1 bug in RET.adjustContentBoundsForScroller().  Comment in header was correct, code was not.
- SDK-26951 - For cell mode, preserve selection when REFRESH collection change event.  There is the restriction that if the collection if filtered, the preservedSelection becomes whatever is selected in the filtered collection.  If the filter is then removed, the original selection is not preserved.

QE notes: see restriction on SDK-26951 above
Doc notes:
Bugs: SDK-27169, SDK-26840, SDK-26548, SDK-26868, SDK-26951
Reviewer: Hans
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ColumnHeaderBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1259985 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -8733,11 +8733,11 @@
     /**
      *  @private
      */
-    mx_internal var lastUnscaledWidth:Number;
-    /**
-     *  @private
-     */
-    mx_internal var lastUnscaledHeight:Number;
+    private var lastUnscaledWidth:Number;
+    /**
+     *  @private
+     */
+    private var lastUnscaledHeight:Number;

     /**
      *  @private


Transferred from the Adobe Open Source Subversion Repository

Revision: 4106
Author:   rfrishbe@adobe.com
Date:     2008-11-14T01:56:47.949068Z

Log Message:
-----------
Mostly rename changes.  IVisualItem -> IVisualElement.  IVisualContainer -> IVisualElementContainer.  Also changed the APIs so that it's addElement, removeElement, etc.. instead of addItem, removeItem, etc...  Moreover, all of these APIs have been added to IVisualElementContainer (not just the read-only ones).  Now there's a common interface for all containers (even Halo's Container class implements it).  There's no more need to do:

if (x is Group || x is FxContainer)

Just use the IVisualElementContainer interface.

Some classes, like FxScroller (and perhaps DataGroup/FxDataContainer), will only implement the "getter" part of the API.  For now, if you call the mutation methods, we will throw an exception.  Perhaps later we'll add a separate interface for the read-only portion and the mutator interface will extend that one.

There might be a few more places in the code that need to be updated to use the new names for the methods.  I know Mustella needs cleaning up so it doesn't use getItem and uses getElement instead.  I've left the old APIs in there exactly for this purpose, so we can gradually move over to the new names (esp. QA).

At some point soon, we will remove the old methods as well as type them more strictly to only accept IVisualElements, for example addElement(element:IVisualElement).  Part of this work is dependent on updating the Flash Component Kit so that it implements IVisualElement (and perhaps IVisualElementContainer for containers).

Ran checkintests and all gumbo mustella tests.

QE Notes: Please update your tests to use addElement, removeElement, etc... along with the new IVisualElementContainer interface.  The old APIs (addItem, removeItem, etc...) will be removed soon.
Doc Notes: None
Bugs: -
Reviewer: Hans (he patiently sat through all these files...)

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IVisualContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IUIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as" copyfrom-rev="4083" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IVisualContainer.as" copyfrom-rev="4083" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElementContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1259799 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -861,7 +861,7 @@
     IDeferredInstantiationUIComponent, IFlexDisplayObject, IFlexModule,
     IInvalidating, ILayoutManagerClient, IPropertyChangeNotifier,
     IRepeaterClient, IStateClient, IAdvancedStyleClient, IToolTipManagerClient,
-    IUIComponent, IValidatorListener, IVisualItem
+    IUIComponent, IValidatorListener, IVisualElement
 {
     include "../core/Version.as";

@@ -1549,6 +1549,8 @@
     }

     [Bindable("zChanged")]
+    [Inspectable(category="General")]
+
     /**
      *  @inheritDoc
      */
@@ -1930,12 +1932,7 @@

     //----------------------------------
     //  scaleX
-    //----------------------------------
-
-    /**
-     *  @private
-     *  Storage for the scaleX property.
-     */
+    //---------------------------------
     [Bindable("scaleXChanged")]
     [Inspectable(category="Size", defaultValue="1.0")]

@@ -2011,11 +2008,6 @@
     //----------------------------------
     //  scaleY
     //----------------------------------
-
-    /**
-     *  @private
-     *  Storage for the scaleY property.
-     */

     [Bindable("scaleYChanged")]
     [Inspectable(category="Size", defaultValue="1.0")]
@@ -7110,8 +7102,9 @@
         {
             if(_layoutFeatures == null)
                 super.x  = x;
-        else
-                _layoutFeatures.layoutX = x;
+            else
+                _layoutFeatures.layoutX = x;
+
             dispatchEvent(new Event("xChanged"));
             changed = true;
         }
@@ -7120,8 +7113,9 @@
         {
             if(_layoutFeatures == null)
                 super.y  = y;
-        else
+            else
                 _layoutFeatures.layoutY = y;
+
             dispatchEvent(new Event("yChanged"));
             changed = true;
         }
@@ -9702,14 +9696,14 @@

     private function assignTransformMatrices():void
     {
-            var m:Matrix = _transform.matrix;
-            var m3:Matrix3D =  _transform.matrix3D;
-            if(m != null)
-                layoutMatrix = m.clone();
-            else if(m3 != null)
-                layoutMatrix3D = m3.clone();
-
-            invalidateSize();
+        var m:Matrix = _transform.matrix;
+        var m3:Matrix3D =  _transform.matrix3D;
+        if(m != null)
+            layoutMatrix = m.clone();
+        else if(m3 != null)
+            layoutMatrix3D = m3.clone();
+
+        invalidateSize();
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1267721 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/containers/TabNavigator.as
+++ frameworks/projects/mx/src/mx/containers/TabNavigator.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////

 package mx.containers
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20555
Author:   smgilson@adobe.com
Date:     2011-03-02T21:32:19.735501Z

Log Message:
-----------
minor ASdoc edits for max row/column count and baseline align

QE notes:
Doc notes:
Bugs:
Reviewer:
Tests run: checkintests
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1279271 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/HGroup.as
+++ frameworks/projects/spark/src/spark/components/HGroup.as
@@ -50,6 +50,8 @@
  *    paddingRight="0"
  *    paddingTop="0"
  *    requestedColumnCount="-1"
+ *    requestedMaxColumnCount="-1"
+ *    requestedMinColumnCount="-1"
  *    variableColumnWidth"true"
  *    verticalAlign="top"
  *  />
@@ -278,8 +280,8 @@
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function get requestedMaxColumnCount():int
     {
@@ -307,8 +309,8 @@
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function get requestedMinColumnCount():int
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12280
Author:   smgilson@adobe.com
Date:     2009-11-30T17:45:36.448234Z

Log Message:
-----------
ASDoc updates in preperation for localization

QE notes: -
Doc notes: -
Bugs: -
Reviewer: -
Tests run: - checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/WipeDirection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/CrossFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/SetAction.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1283812 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/effects/SetAction.as
+++ frameworks/projects/spark/src/spark/effects/SetAction.as
@@ -46,6 +46,8 @@
  *  </pre>
  *
  *  @see spark.effects.supportClasses.SetActionInstance
+ *
+ *  @includeExample examples/SetActionEffectExample.mxml
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Change in constants value

Change in constants value

SVN-Revision: 8838

--- flexclient/dag/Components/DAGConstants.as
+++ flexclient/dag/Components/DAGConstants.as
@@ -16,13 +16,13 @@
 		public static  var SUCCESS:int=0;
 		public static  var EMPTY_DAG:int=1;
 		public static  var MULTIPLE_ROOT:int=2;
-		public static  var CYCLIC_GRAPH:int=3;
+		public static  var NO_RESULT_PRESENT:int=3;
 		public static  var SQL_EXCEPTION:int=4;
 		public static  var DAO_EXCEPTION:int=5;
-		public static  var DYNAMIC_EXTENSION_EXCEPTION:int=6;
+		public static var  CLASS_NOT_FOUND:int=6;
 		public static  var NO_PATHS_PRESENT:int=7;
-		public static  var NO_RESULT_PRESENT:int=8;
-		public static var  CLASS_NOT_FOUND:int=9;
+		public static  var DYNAMIC_EXTENSION_EXCEPTION:int=8;
+		public static  var CYCLIC_GRAPH:int=9;

 		//messages
 		public static var EMPTY_LIMIT_ERROR_MESSAGE:String = "
Please enter at least one condition to add a limit to limit set.
";


Backend changes to support party games.
This will force us to migrate soon to a OID-based player indexing system.

git-svn-id: a3e1eb16dde062992de22c830ed8045c8013209a@172 c613c5cb-e716-0410-b11b-feb51c14d237

--- src/as/com/threerings/ezgame/client/GameControlBackend.as
+++ src/as/com/threerings/ezgame/client/GameControlBackend.as
@@ -21,6 +21,7 @@

 import com.threerings.util.ClassUtil;
 import com.threerings.util.Integer;
+import com.threerings.util.Iterator;
 import com.threerings.util.MessageBundle;
 import com.threerings.util.Name;
 import com.threerings.util.StringUtil;
@@ -37,6 +38,7 @@
 import com.threerings.presents.dobj.MessageListener;

 import com.threerings.crowd.data.BodyObject;
+import com.threerings.crowd.data.OccupantInfo;
 import com.threerings.crowd.util.CrowdContext;

 import com.threerings.ezgame.data.EZGameObject;
@@ -203,21 +205,45 @@

     public function getPlayerCount_v1 () :int
     {
-        return _ezObj.getPlayerCount();
+        if (_ezObj.players.length == 0) {
+            // party game
+            return _ezObj.occupants.size();
+
+        } else {
+            return _ezObj.getPlayerCount();
+        }
     }

     public function getPlayerNames_v1 () :Array
     {
         var names :Array = new Array();
-        for each (var name :Name in _ezObj.players) {
-            names.push((name == null) ? null : name.toString());
+        if (_ezObj.players.length == 0) {
+            // party game, count all occupants
+            var itr :Iterator = _ezObj.occupantInfo.iterator();
+            while (itr.hasNext()) {
+                var occInfo :OccupantInfo = (itr.next() as OccupantInfo);
+                names.push(occInfo.username.toString());
+            }
+
+        } else {
+            for each (var name :Name in _ezObj.players) {
+                names.push((name == null) ? null : name.toString());
+            }
         }
         return names;
     }

     public function getMyIndex_v1 () :int
     {
-        return _ezObj.getPlayerIndex(getUsername());
+        if (_ezObj.players.length == 0) {
+            // party game
+            // TODO: this shouldn't be based off of the String form of the name.
+            var array :Array = getPlayerNames_v1();
+            return array.indexOf(getUsername().toString());
+
+        } else {
+            return _ezObj.getPlayerIndex(getUsername());
+        }
     }

     public function getTurnHolderIndex_v1 () :int


Transferred from the Adobe Open Source Subversion Repository

Revision: 2526
Author:   chaase@adobe.com
Date:     2008-07-18T21:42:56.518055Z

Log Message:
-----------
New Move effect, works with both UIComponent subclasses (halo and gumbo) and GraphicElement objects. Minor fixes needed in framework files (Effect, CompositeEffect) to make everything work properly.

Reviewer: Jason S
checkintests: PASS
Mustella Effects: PASS

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/NewEffects.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/MoveInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/AnimateProperties.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1260121 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/effects/CompositeEffect.as
+++ frameworks/projects/framework/src/mx/effects/CompositeEffect.as
@@ -104,6 +104,8 @@
         super(target);

         instanceClass = CompositeEffectInstance;
+
+        mx_internal::applyTransitionEndProperties = true;
     }

     //--------------------------------------------------------------------------
@@ -353,6 +355,31 @@
         }
     }

+    /**
+     *  @private
+     */
+    override mx_internal function applyEndValues(propChanges:Array,
+                                              targets:Array):void
+    {
+        var n:int = children.length;
+        for (var i:int = 0; i < n; i++)
+        {
+            var child:Effect = children[i];
+
+            var childTargets:Array = child.targets.length > 0 ?
+                                     child.targets :
+                                     targets;
+
+            if (child.mx_internal::filterObject == null &&
+                mx_internal::filterObject)
+            {
+                child.mx_internal::filterObject = mx_internal::filterObject;
+            }
+
+            child.applyEndValues(propChanges, childTargets);
+        }
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Methods
@@ -405,7 +432,7 @@
                 for (j = 0; j < m; j++)
                 {
                     if (childTargets[j] != null) // Don't include null targets
-                        results[childTargets[j].toString()] = childTargets[j];
+                        resultsArray.push(childTargets[j]);
                 }
             }
             else if (child.targets != null)
@@ -414,7 +441,7 @@
                 for (j = 0; j < m; j++)
                 {
                     if (child.targets[j] != null) // Don't include null targets
-                        results[child.targets[j].toString()] = child.targets[j];
+                        resultsArray.push(child.targets[j]);
                 }
             }
         }
@@ -424,13 +451,7 @@
         for (i = 0; i < n; i++)
         {
             if (targets[i] != null) // Don't include null targets
-                results[targets[i].toString()] = targets[i];
-        }
-
-        // Return the results as an array.
-        for (var p:String in results)
-        {
-            resultsArray.push(results[p]);
+                resultsArray.push(targets[i]);
         }

         return resultsArray;


Transferred from the Adobe Open Source Subversion Repository

Revision: 12930
Author:   egeorgie@adobe.com
Date:     2009-12-15T00:23:58.803039Z

Log Message:
-----------
Optimize transformSize and transformBounds, reduce allocation of Point objects.

This change addresses a couple of FIXMEs I had put in the internal MatrixUtil class. The parameters were changed to numbers instead of points and I unrolled the matrix multiplication to significantly reduce the number of multiplications and additions. Both methods now return reference to the same internal static Point object to further reduce dynamic object allocation.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Deepa
Tests run: checkintests, mustella tests/gumbo/layout
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/sparkTest/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1283335 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
+++ frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
@@ -1903,7 +1903,7 @@
             return x;

         var topLeft:Point = new Point(0, 0);
-        MatrixUtil.transformBounds(new Point(width, height), m, topLeft);
+        MatrixUtil.transformBounds(width, height, m, topLeft);
         return topLeft.x;
     }

@@ -1922,7 +1922,7 @@
             return y;

         var topLeft:Point = new Point(0, 0);
-        MatrixUtil.transformBounds(new Point(width, height), m, topLeft);
+        MatrixUtil.transformBounds(width, height, m, topLeft);
         return topLeft.y;
     }

@@ -2045,7 +2045,7 @@
             return x;

         var topLeft:Point = new Point(0, 0);
-        MatrixUtil.transformBounds(new Point(preferredWidth, preferredHeight), m, topLeft);
+        MatrixUtil.transformBounds(preferredWidth, preferredHeight, m, topLeft);
         return topLeft.x;
     }

@@ -2064,7 +2064,7 @@
             return y;

         var topLeft:Point = new Point(0, 0);
-        MatrixUtil.transformBounds(new Point(preferredWidth, preferredHeight), m, topLeft);
+        MatrixUtil.transformBounds(preferredWidth, preferredHeight, m, topLeft);
         return topLeft.y;
     }

@@ -2495,10 +2495,7 @@
         {
             var m:Matrix = nonDeltaLayoutMatrix();
             if (m)
-            {
-                var size:Point = new Point(width, height);
-                width = MatrixUtil.transformSize(size, m).x;
-            }
+                width = MatrixUtil.transformSize(width, height, m).x;
         }

         return width;
@@ -2527,10 +2524,7 @@
         {
             var m:Matrix = nonDeltaLayoutMatrix();
             if (m)
-            {
-                var size:Point = new Point(width, height);
-                height = MatrixUtil.transformSize(size, m).y;
-            }
+                height = MatrixUtil.transformSize(width, height, m).y;
         }

         return height;


Transferred from the Adobe Open Source Subversion Repository

Revision: 8131
Author:   chaase@adobe.com
Date:     2009-06-23T23:08:25.193334Z

Log Message:
-----------
Fix for 2 gumbo_priority bugs. One was a miscalculation of a Parallel effect's duration when it had zero-duration child effects, causing a problem when seeking into that parallel effect. The other was a fix to the easing model for transform effects. Now a transform effect will handle easing through its internal keyframes, preserving the behavior specified by the caller (or by the default easing behavior).

QE Notes: None. Behavior for AnimateTransform should be as before, although the way easing is applied to the subclasses has changed (and is now correct)
Doc Notes: None
Bugs: sdk-21477, sdk-21422
Reviewer: Jason
Tests: checkintests, Mustella spark/effects

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1283490 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/effects/AnimateTransform.as
+++ frameworks/projects/spark/src/spark/effects/AnimateTransform.as
@@ -28,6 +28,8 @@
 import spark.core.IGraphicElement;
 import spark.effects.animation.Keyframe;
 import spark.effects.animation.MotionPath;
+import spark.effects.easing.IEaser;
+import spark.effects.easing.Linear;
 import spark.effects.supportClasses.AnimateTransformInstance;

 use namespace mx_internal;
@@ -161,6 +163,20 @@
     //
     //--------------------------------------------------------------------------

+    // By default, the overall AnimateTransform effect (when instantiated by
+    // the leaf-node subclasses Move, Move3D, Rotate, etc.) uses Linear easing,
+    // but each keyframe pair uses the regular Sine(.5) easing. This mimics the
+    // behavior of other effects that just have Sine(.5) easing for their motion.
+    private static var linearEaser:Linear = new Linear();
+
+    // This variable is used to detect whether the transform effect was created
+    // via one of the known subclasses (Move, Move3D, Rotate, etc.) or whether it
+    // was created directly (AnimateTransform or AnimateTransform3D). If created
+    // directly, assume the developer knows what they're doing and pass the
+    // easer onto the effect instance. Otherwise, use the easing approach
+    // described in the comment for linearEaser above.
+    mx_internal var transformEffectSubclass:Boolean = false;
+
     // FIXME (chaase): Is weak Dictionary sufficient to hold these values and then
     // dispense with them appropriately? What if we get interrupted before we
     // clear the map?
@@ -917,7 +933,12 @@
         var mp:MotionPath = new MotionPath(property);
         mp.keyframes = new <Keyframe>[new Keyframe(0, valueFrom),
             new Keyframe(duration, valueTo, valueBy)];
-
+        // For transform effect subclasses (Move, Move3D, Rotate, etc.), we
+        // set the easing on the keyframes and leave the overall effect easing
+        // Linear. Otherwise, we end up with artifacts like including the
+        // startDelay in the easing because startDelay happens via keyframes
+        mp.keyframes[1].easer = easer;
+
         // Finally, integrate this MotionPath in with the existing
         // MotionPath objects, if there are any
         if (motionPaths)
@@ -1061,6 +1082,11 @@
         super.initInstance(instance);
         startDelay = tmpStartDelay;
         motionPaths = tmpAnimProps;
+        // For transform effect subclasses (Move, Move3D, Rotate, etc.),
+        // override default easer on the instance. We want the overall easing
+        // to be Linear, with the Keyframes controlling the per-interval easing
+        if (transformEffectSubclass)
+            transformInstance.easer = linearEaser;
     }

     /**