Transferred from the Adobe Open Source Subversion Repository

Revision: 4736
Author:   chaase@adobe.com
Date:     2009-01-29T19:31:04.898445Z

Log Message:
-----------
API improvements in some of the effects classes, such as:

- PropertyValuesHolder renamed to AnimationProperty
	- Also, values[] array changed to valueFrom and valueTo Objects
	- Also, 'delta' property changed to valueBy Object property
- FxAnimate.propertyValuesList renamed to FxAnimate.animationProperties
- Constant interpolator renamed Linear (old Linear interpolator went away)
- ColorInterpolator renamed RGBInterpolator
- HSBInterpolator now exists (not used by default: FxAnimateColor uses RGBInterpolator)
- HSBColor: new data structure in mx.utils for holding HSB colors and converting from/to RGB
- various changes to *Instance classes in effects (but these are not generally used externally)

QE Notes: Mustella tests will break due to class and property renames. QE is fixing these issues and a follow-up putback to Mustella is expected
Doc Notes: None
Bugs: -
Reviewer: Gordon
tests: checkintests, Mustella: tests/Effects tests/ListDataEffects

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotateInstance.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/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Constant.as" copyfrom-rev="4610" action="R">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Linear.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/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/ColorInterpolator.as" copyfrom-rev="4610" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/RGBInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/HSBColor.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/ColorInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/ArrayInterpolator.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/flex4/src/mx/effects/effectClasses/FxAnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateShaderTransitionInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Constant.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/IInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/EaseInOut.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/AnimationProperty.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
@@ -14,17 +14,18 @@
 import flash.events.TimerEvent;
 import flash.utils.Timer;

+import mx.core.ILayoutElement;
 import mx.core.IVisualElement;
 import mx.core.IVisualElementContainer;
 import mx.core.UIComponent;
 import mx.core.mx_internal;
 import mx.effects.Animation;
+import mx.effects.AnimationProperty;
 import mx.effects.EffectInstance;
-import mx.effects.PropertyValuesHolder;
 import mx.effects.interpolation.IEaser;
 import mx.effects.interpolation.IInterpolator;
+import mx.effects.interpolation.NumberInterpolator;
 import mx.events.AnimationEvent;
-import mx.core.ILayoutElement;
 import mx.layout.LayoutElementFactory;
 import mx.styles.IStyleClient;

@@ -75,24 +76,24 @@
     //
     //--------------------------------------------------------------------------

-    private var _propertyValuesList:Array;
-    /**
-     * An array of PropertyValuesHolder objects, each of which holds the
+    private var _animationProperties:Array;
+    /**
+     * An array of AnimationProperty objects, each of which holds the
      * name of the property being animated and the values that the property
      * will take on during the animation.
      */
-    public function get propertyValuesList():Array
-    {
-        return _propertyValuesList;
-    }
-    public function set propertyValuesList(value:Array):void
+    public function get animationProperties():Array
+    {
+        return _animationProperties;
+    }
+    public function set animationProperties(value:Array):void
     {
         // Only set the list to the given value if we have a
         // null list to begin with. Otherwise, we've already
         // set up the list once and don't need to do it again
         // (for example, in a repeating effect).
-        if (!_propertyValuesList)
-            _propertyValuesList = value;
+        if (!_animationProperties)
+            _animationProperties = value;
     }

     /**
@@ -322,7 +323,7 @@
     {
         super.play();

-        if (!propertyValuesList || propertyValuesList.length == 0)
+        if (!animationProperties || animationProperties.length == 0)
         {
             // nothing to do; at least schedule the effect to end after
             // the specified duration
@@ -332,20 +333,19 @@
             return;
         }

-        isStyleMap = new Array(propertyValuesList.length);
+        isStyleMap = new Array(animationProperties.length);

         // These two temporary arrays will hold the values passed into the
         // Animation to be interpolated between during the animation. The order
         // of the values in these arrays must match the order of the property
-        // names in the propertyValuesList array, as we will assume during update
+        // names in the animationProperties array, as we will assume during update
         // events that the interpolated values in the array are in that same order.
         var fromVals:Array = [];
         var toVals:Array = [];
-        for (var i:int = 0; i < propertyValuesList.length; ++i)
-        {
-            var holder:PropertyValuesHolder = PropertyValuesHolder(propertyValuesList[i]);
+        for (var i:int = 0; i < animationProperties.length; ++i)
+        {
+            var holder:AnimationProperty = AnimationProperty(animationProperties[i]);
             var property:String = holder.property;
-            var propValues:Array = holder.values;
             var fromValue:Object = null;
             var toValue:Object = null;

@@ -354,17 +354,15 @@

             setupStyleMapEntry(property);

-            // Set any NaN from/to values to the current values in the target
-            if (!isNaN(propValues[0]) && propValues[0] != null)
-                fromValue = propValues[0];
-            if (!isNaN(propValues[1]) && propValues[1] != null)
-                toValue = propValues[1];
-            else if (propertyChanges &&
+            // For any invalid value, set the animating value to null
+            // null is a trigger for finalizing the value later on
+            fromValue = isValidValue(holder.valueFrom) ? holder.valueFrom : null;
+            toValue = isValidValue(holder.valueTo) ? holder.valueTo : null;
+            if (toValue === null && propertyChanges &&
                 propertyChanges.end[property] !== undefined)
-            {
                 toValue = propertyChanges.end[property];
-            }
-            if (propertyValuesList.length > 1)
+
+            if (animationProperties.length > 1)
             {
                 fromVals.push(fromValue);
                 toVals.push(toValue);
@@ -375,7 +373,7 @@
         // from/to values are the same. Not worth the cycles, but also want
         // to avoid triggering any side effects when we're not actually changing
         // values
-        if (propertyValuesList.length > 1)
+        if (animationProperties.length > 1)
         {
             // Create the single Animation that will interpolate all properties
             // simultaneously by interpolating the elements of the
@@ -413,31 +411,44 @@

     /**
      * Set the values in the given array on the properties held in our
-     * propertyValuesList array. This is called by the update and end
+     * animationProperties array. This is called by the update and end
      * functions, which are called by the Animation during the animation.
      */
     protected function applyValues(value:Object):void
     {
-        var holder:PropertyValuesHolder;
-
-        if (propertyValuesList.length == 1)
-        {
-            holder = PropertyValuesHolder(propertyValuesList[0]);
+        var holder:AnimationProperty;
+
+        if (animationProperties.length == 1)
+        {
+            holder = AnimationProperty(animationProperties[0]);
             setValue(holder.property, value);
         }
         else
         {
             var valueArray:Array = value as Array;
-            for (var i:int = 0; i < propertyValuesList.length; ++i)
-            {
-                holder = PropertyValuesHolder(propertyValuesList[i]);
+            for (var i:int = 0; i < animationProperties.length; ++i)
+            {
+                holder = AnimationProperty(animationProperties[i]);
                 setValue(holder.property, valueArray[i]);
             }
         }
     }

     /**
-     * Walk the propertyValuesList looking for null values. A null indicates
+     * @private
+     *
+     * Utility function to determine whether a given value is 'valid',
+     * which means it's either a Number and it's not NaN, or it's not
+     * a Number and it's not null
+     */
+    private function isValidValue(value:Object):Boolean
+    {
+        return ((value is Number && !isNaN(Number(value))) ||
+            (!(value is Number) && value !== null));
+    }
+
+    /**
+     * Walk the animationProperties looking for null values. A null indicates
      * that the value should be replaced by the current value or one that
      * is calculated from the other value and a supplied delta value.
      *
@@ -446,28 +457,38 @@
     private function finalizeValues():Boolean
     {
         var changedValues:Boolean = false;
-        for (var i:int = 0; i < propertyValuesList.length; ++i)
-        {
-            var holder:PropertyValuesHolder =
-                PropertyValuesHolder(propertyValuesList[i]);
+        for (var i:int = 0; i < animationProperties.length; ++i)
+        {
+            var holder:AnimationProperty =
+                AnimationProperty(animationProperties[i]);
             // Note that we use strict equality tests for null, as a simple
             // '0' value for a Number or int would look the same as a null
             // in a simple !value test.
-            if ((holder.values[0] === null) || (holder.values[1] === null))
-            {
-                if (holder.values[0] === null)
-                {
-                    if ((holder.values[1] !== null) && !isNaN(holder.delta))
-                        holder.values[0] = holder.values[1] - holder.delta;
+            // Let's hope they've set a reasonable interpolator by now,
+            // or otherwise we're just dealing with numbers
+            var interp:IInterpolator =
+                interpolator ?
+                interpolator :
+                NumberInterpolator.getInstance();
+            var fromValid:Boolean = isValidValue(holder.valueFrom);
+            var toValid:Boolean = isValidValue(holder.valueTo);
+            var byValid:Boolean = isValidValue(holder.valueBy);
+            if (!fromValid || !toValid)
+            {
+                if (!fromValid)
+                {
+                    if (toValid && byValid)
+                        holder.valueFrom = interp.decrement(holder.valueTo, holder.valueBy);
                     else
-                        holder.values[0] = getCurrentValue(holder.property);
-                }
-                if (holder.values[1] === null)
-                {
-                    if ((holder.values[0] !== null) && !isNaN(holder.delta))
-                        holder.values[1] = holder.values[0] + holder.delta;
+                        holder.valueFrom = getCurrentValue(holder.property);
+                    fromValid = isValidValue(holder.valueFrom);
+                }
+                if (!toValid)
+                {
+                    if (fromValid && byValid)
+                        holder.valueTo = interp.increment(holder.valueFrom, holder.valueBy);
                     else
-                        holder.values[1] = getCurrentValue(holder.property);
+                        holder.valueTo = getCurrentValue(holder.property);
                 }
                 changedValues = true;
             }
@@ -494,28 +515,28 @@
         var anim:Animation = Animation(event.target);
         if (finalizeValues())
         {
-            var holder:PropertyValuesHolder;
+            var holder:AnimationProperty;
             // Some of the values were updated; must now update
             // the respective values in the Animation
-            if (propertyValuesList.length == 1)
-            {
-                holder = PropertyValuesHolder(propertyValuesList[0]);
+            if (animationProperties.length == 1)
+            {
+                holder = AnimationProperty(animationProperties[0]);
                 if (anim.startValue === null)
-                    anim.startValue = holder.values[0];
+                    anim.startValue = holder.valueFrom;
                 if (anim.endValue === null)
-                    anim.endValue = holder.values[1];
+                    anim.endValue = holder.valueTo;
             }
             else
             {
                 var startValues:Array = anim.startValue as Array;
                 var endValues:Array = anim.endValue as Array;
-                for (var i:int = 0; i < propertyValuesList.length; ++i)
-                {
-                    holder = PropertyValuesHolder(propertyValuesList[i]);
+                for (var i:int = 0; i < animationProperties.length; ++i)
+                {
+                    holder = AnimationProperty(animationProperties[i]);
                     if (startValues[i] === null)
-                        startValues[i] = holder.values[0];
+                        startValues[i] = holder.valueFrom;
                     if (endValues[i] === null)
-                        endValues[i] = holder.values[1];
+                        endValues[i] = holder.valueTo;
                 }
             }
         }
@@ -564,7 +585,7 @@

     /**
      * Handles the end event from the animation. The value here is an Array of
-     * values, one for each 'property' in our propertyValuesList.
+     * values, one for each 'property' in our animationProperties.
      * If you override this method, ensure that you call the super method.
      */
     protected function endHandler(event:AnimationEvent):void
@@ -775,7 +796,7 @@
     /**
      * Utility function to handle situation where values may be queried or
      * set on the target prior to completely setting up the effect's
-     * propertyValuesList data values (from which the styleMap is created)
+     * animationProperties data values (from which the styleMap is created)
      */
     protected function setupStyleMapEntry(property:String):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@1284279 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 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.effects.supportClasses
 {


Cleanup

Cleanup

--- test/src/org/postgresql/pegasus/codec/decode/TestDecodeDate.as
+++ test/src/org/postgresql/pegasus/codec/decode/TestDecodeDate.as
@@ -33,9 +33,6 @@
 			];
 		}

-//		[Test]
-//		public function testFoo():void { trace('hello world'); }
-
 		[Test(dataProvider="getTestDates")]
 		public function testDecodeDate(bytes:ByteDataStream, format:IFieldInfo, serverParams:Object, expected:Date):void {
 			var result:Date = _decoder.decode(bytes, format, serverParams) as Date;


Flash: Change event target to moxie.core.EventTarget.instance (more future-proof).

--- src/flash/src/Moxie.as
+++ src/flash/src/Moxie.as
@@ -150,7 +150,7 @@
 		 */
 		private function _fireEvent(evt:*, obj:Object = null):void {
 			try {
-				ExternalInterface.call("mOxie.EventTarget.instance.dispatchEvent", evt, obj);
+				ExternalInterface.call("moxie.core.EventTarget.instance.dispatchEvent", evt, obj);
 			} catch(err:*) {
 				//_fireEvent("Exception", { name: 'RuntimeError', message: 4 });


fixed display bug when rectangle width or height was negative

--- WeaveUISpark/src/weave/visualization/plotters/RectanglePlotter.as
+++ WeaveUISpark/src/weave/visualization/plotters/RectanglePlotter.as
@@ -176,9 +176,9 @@
 			lineStyle.beginLineStyle(recordKey, graphics);
 			fillStyle.beginFillStyle(recordKey, graphics);
 			if (drawEllipse.value)
-				graphics.drawEllipse(tempBounds.getXMin(), tempBounds.getYMin(), tempBounds.getWidth(), tempBounds.getHeight());
+				graphics.drawEllipse(tempBounds.getXNumericMin(), tempBounds.getYNumericMin(), tempBounds.getXCoverage(), tempBounds.getYCoverage());
 			else
-				graphics.drawRect(tempBounds.getXMin(), tempBounds.getYMin(), tempBounds.getWidth(), tempBounds.getHeight());
+				graphics.drawRect(tempBounds.getXNumericMin(), tempBounds.getYNumericMin(), tempBounds.getXCoverage(), tempBounds.getYCoverage());
 			graphics.endFill();
 		}


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@1260136 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/effects/CompositeEffect.as
+++ frameworks/projects/framework/src/mx/effects/CompositeEffect.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: 12570
Author:   egeorgie@adobe.com
Date:     2009-12-05T00:37:35.278281Z

Log Message:
-----------
Fix http://bugs.adobe.com/jira/browse/SDK-23746 Side-effecting the x/y properties on a component and invalidating the properties causes parent display list invalidation and http://bugs.adobe.com/jira/browse/SDK-23986 make UIComponent.transformAround so it OPTIONALLY invalidates parent displayList

Problem: We are invalidating parent based on checks of x & y against oldX & oldY in validateProperties.
Fix: Move the checks to the x & y setters. Additionally add the optional parameter "invalidateLayout" to ILayoutElement.transformAround method.

QE notes: None
Doc notes: None
Bugs: SDK-2374, SDK-23986
Reviewer: Deepa
Tests run: checkintests, mustella gumbo/layout, gumbo/core/Group
Is noteworthy for integration: No

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/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<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/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
+++ frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
@@ -2230,8 +2230,18 @@
                                     translation:Vector3D = null,
                                     postLayoutScale:Vector3D = null,
                                     postLayoutRotation:Vector3D = null,
-                                    postLayoutTranslation:Vector3D = null):void
-    {
+                                    postLayoutTranslation:Vector3D = null,
+                                    invalidateLayout:Boolean = true):void
+    {
+        // Make sure that no transform setters will trigger parent invalidation.
+        // Reset the flag at the end of the method.
+        var oldIncludeInLayout:Boolean;
+        if (!invalidateLayout)
+        {
+            oldIncludeInLayout = _includeInLayout;
+            _includeInLayout = false;
+        }
+
         if (_layoutFeatures == null)
         {
             // TODO (chaase): should provide a way to return to having no
@@ -2259,6 +2269,9 @@
             _layoutFeatures.transformAround(transformCenter, scale, rotation, translation,
                 postLayoutScale, postLayoutRotation, postLayoutTranslation);
             invalidateTransform();
+
+            // Will not invalidate parent if we have set _includeInLayout to false
+            // in the beginning of the method
             invalidateParentSizeAndDisplayList();
         }
         else
@@ -2307,6 +2320,9 @@
                 }
             }
         }
+
+        if (!invalidateLayout)
+            _includeInLayout = oldIncludeInLayout;
     }

     /**


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@1248783 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/advancedgrids/src/mx/olap/OLAPQuery.as
+++ frameworks/projects/advancedgrids/src/mx/olap/OLAPQuery.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 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.olap
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4307
Author:   dloverin@adobe.com
Date:     2008-12-15T19:58:22.615045Z

Log Message:
-----------
Change use of Application.application to ApplicationGlobals.application.

QE Notes: None
Doc Notes: None
Bugs: N/A
Reviewer: Alex
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/src/haloclassic/ActivatorSkin.as</path>

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

--- frameworks/projects/mx/src/mx/controls/RadioButtonGroup.as
+++ frameworks/projects/mx/src/mx/controls/RadioButtonGroup.as
@@ -16,7 +16,7 @@
 import flash.display.DisplayObjectContainer;
 import flash.events.Event;
 import flash.events.EventDispatcher;
-import mx.core.Application;
+import mx.core.ApplicationGlobals;
 import mx.core.IFlexDisplayObject;
 import mx.core.IMXMLObject;
 import mx.core.IRawChildrenContainer;
@@ -374,7 +374,7 @@
     {
         this.document = document ?
                         IFlexDisplayObject(document) :
-                        IFlexDisplayObject(Application.application);
+                        IFlexDisplayObject(ApplicationGlobals.application);
     }

     /**


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@1269397 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/effects/RemoveChildAction.as
+++ frameworks/projects/mx/src/mx/effects/RemoveChildAction.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2006 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: 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@1269414 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/effects/SetPropertyAction.as
+++ frameworks/projects/mx/src/mx/effects/SetPropertyAction.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-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.effects
 {


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@1274140 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as
+++ frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as
@@ -0,0 +1,75 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.rpc.events
+{
+
+import flash.events.Event;
+import mx.rpc.wsdl.WSDL;
+
+[ExcludeClass]
+
+/**
+ * This event is dispatched when a WSDL XML document has loaded sucessfully.
+ * @private
+ */
+public class WSDLLoadEvent extends XMLLoadEvent
+{
+    /**
+     * Creates a new SchemaLoadEvent.
+     */
+    public function WSDLLoadEvent(type:String, bubbles:Boolean = false,
+        cancelable:Boolean = true, wsdl:WSDL = null, location:String = null)
+    {
+        super(type == null ? LOAD : type,
+            bubbles,
+            cancelable,
+            wsdl == null ? null : wsdl.xml,
+            location);
+
+        this.wsdl = wsdl;
+    }
+
+    /**
+     * The full WSDL document.
+     */
+    public var wsdl:WSDL
+
+    /**
+     * Returns a copy of this WSDLLoadEvent.
+     */
+    override public function clone():Event
+    {
+        return new WSDLLoadEvent(type, bubbles, cancelable, wsdl, location);
+    }
+
+    /**
+     * Returns a String representation of this WSDLLoadEvent.
+     */
+    override public function toString():String
+    {
+        return formatToString("WSDLLoadEvent", "location", "type", "bubbles",
+            "cancelable", "eventPhase");
+    }
+
+    /**
+     * A helper method to create a new WSDLLoadEvent.
+     * @private
+     */
+    public static function createEvent(wsdl:WSDL, location:String = null):WSDLLoadEvent
+    {
+        return new WSDLLoadEvent(LOAD, false, true, wsdl, location);
+    }
+
+    public static const LOAD:String = "wsdlLoad";
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 18990
Author:   klin@adobe.com
Date:     2010-12-03T01:38:08.791332Z

Log Message:
-----------
Add ASDoc for DataGrid not supporting transitions. The transitions property will also not be code hinted in FB.

QE notes: No
Doc notes: No
Bugs: N/A
Reviewer: Carol, Darrell
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<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/gridClasses/GridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>

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

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -509,6 +509,9 @@
  *  used as indicators, separators, and backgrounds.
  *  The DataGrid skin also defines a default item renderer,
  *  used to display the contents of each cell.

+ *
+ *
Transitions in DataGrid item renderers aren't supported. The GridItemRenderer class
+ *  has disabled its transitions property so setting it will have no effect.

  *
  *  @mxml
The <s:DataGrid> tag inherits all of the tag
  *  attributes of its superclass and adds the following tag attributes:


Transferred from the Adobe Open Source Subversion Repository

Revision: 8207
Author:   smgilson@adobe.com
Date:     2009-06-24T22:55:28.494485Z

Log Message:
-----------
Fix ASDoc version tags

QE Notes: None
Doc Notes: None
Bugs: -

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/frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/DropDownEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/TrackBaseEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as</path>

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

--- frameworks/projects/airspark/src/spark/components/Window.as
+++ frameworks/projects/airspark/src/spark/components/Window.as
@@ -87,7 +87,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="applicationActivate", type="mx.events.AIREvent")]

@@ -98,7 +98,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="applicationDeactivate", type="mx.events.AIREvent")]

@@ -109,7 +109,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="windowActivate", type="mx.events.AIREvent")]

@@ -120,7 +120,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="windowDeactivate", type="mx.events.AIREvent")]

@@ -133,7 +133,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="close", type="flash.events.Event")]

@@ -147,7 +147,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="closing", type="flash.events.Event")]

@@ -159,7 +159,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="displayStateChange", type="flash.events.NativeWindowDisplayStateEvent")]

@@ -171,7 +171,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="displayStateChanging", type="flash.events.NativeWindowDisplayStateEvent")]

@@ -183,7 +183,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="moving", type="flash.events.NativeWindowBoundsEvent")]

@@ -194,7 +194,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="networkChange", type="flash.events.Event")]

@@ -206,7 +206,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="resizing", type="flash.events.NativeWindowBoundsEvent")]

@@ -218,7 +218,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="windowComplete", type="mx.events.AIREvent")]

@@ -229,7 +229,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="windowMove", type="mx.events.FlexNativeWindowBoundsEvent")]

@@ -240,7 +240,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Event(name="windowResize", type="mx.events.FlexNativeWindowBoundsEvent")]

@@ -253,7 +253,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Effect(name="closeEffect", event="windowClose")]

@@ -262,7 +262,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Effect(name="minimizeEffect", event="windowMinimize")]

@@ -271,7 +271,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Effect(name="unminimizeEffect", event="windowUnminimize")]

@@ -317,7 +317,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 [Frame(factoryClass="mx.managers.WindowedSystemManager")]

@@ -423,7 +423,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 1.5
- *  @productversion Flex 3
+ *  @productversion Flex 4
  */
 public class Window extends SkinnableContainer implements IWindow
 {
@@ -465,7 +465,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public static function getWindow(component:UIComponent):IWindow
     {
@@ -486,7 +486,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function Window()
     {
@@ -634,7 +634,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     [SkinPart (required="false")]
     public var statusText:TextGraphicElement;
@@ -735,7 +735,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     override public function set maxHeight(value:Number):void
     {
@@ -783,7 +783,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     override public function set maxWidth(value:Number):void
     {
@@ -819,7 +819,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     override public function get minHeight():Number
     {
@@ -867,7 +867,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     override public function get minWidth():Number
     {
@@ -911,7 +911,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     override public function get visible():Boolean
     {
@@ -1020,7 +1020,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get alwaysInFront():Boolean
     {
@@ -1124,7 +1124,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get closed():Boolean
     {
@@ -1198,7 +1198,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get maximizable():Boolean
     {
@@ -1237,7 +1237,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     override public function get cursorManager():ICursorManager
     {
@@ -1265,7 +1265,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function set menu(value:FlexNativeMenu):void
     {
@@ -1290,7 +1290,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get minimizable():Boolean
     {
@@ -1319,7 +1319,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get nativeWindow():NativeWindow
     {
@@ -1346,7 +1346,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get resizable():Boolean
     {
@@ -1376,7 +1376,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     private var _showStatusBar:Boolean = true;

@@ -1396,7 +1396,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get showStatusBar():Boolean
     {
@@ -1442,7 +1442,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get status():String
     {
@@ -1488,7 +1488,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get systemChrome():String
     {
@@ -1533,7 +1533,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get title():String
     {
@@ -1579,7 +1579,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get titleIcon():Class
     {
@@ -1620,7 +1620,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get transparent():Boolean
     {
@@ -1664,7 +1664,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function get type():String
     {
@@ -1951,7 +1951,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function close():void
     {
@@ -1976,10 +1976,10 @@
         if (sm.isTopLevel())
         {
             focusManager = new FocusManager(this);
-			var awm:IActiveWindowManager =
-				IActiveWindowManager(sm.getImplementation("mx.managers::IActiveWindowManager"));
-			if (awm)
-           		awm.activate(this);
+            var awm:IActiveWindowManager =
+                IActiveWindowManager(sm.getImplementation("mx.managers::IActiveWindowManager"));
+            if (awm)
+                awm.activate(this);
             else
                 focusManager.activate();
             _cursorManager = new CursorManagerImpl(sm);
@@ -1991,7 +1991,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function maximize():void
     {
@@ -2018,7 +2018,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function minimize():void
     {
@@ -2043,7 +2043,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function restore():void
     {
@@ -2079,7 +2079,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function activate():void
     {
@@ -2096,7 +2096,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function open(openWindowActive:Boolean = true):void
     {
@@ -2118,7 +2118,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function orderInBackOf(window:IWindow):Boolean
     {
@@ -2141,7 +2141,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function orderInFrontOf(window:IWindow):Boolean
     {
@@ -2159,7 +2159,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function orderToBack():Boolean
     {
@@ -2177,7 +2177,7 @@
      *
      *  @langversion 3.0
      *  @playerversion AIR 1.5
-     *  @productversion Flex 3
+     *  @productversion Flex 4
      */
     public function orderToFront():Boolean
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 16530
Author:   jszeto@adobe.com
Date:     2010-06-10T23:55:18.585019Z

Log Message:
-----------
Form Bug Fixes

http://bugs.adobe.com/jira/browse/SDK-26526 - Spark Form doesnt return to correct state when there is an error and you toggle the enabled property

In Form.getCurrentSkinState, we now return the error state if we have any invalid children

http://bugs.adobe.com/jira/browse/SDK-26521 - Spark Form loses helpContent when changing skins at runtime

When the helpContentGroup skin part was added a second time to the new skin, it wasn't attaching the helpContent to the helpContentGroup. Also, I had to remove the helpContent from the previous skin so that it could be added to the new skin.

QE notes: none
Doc notes: none
Bugs: SDK-26526, SDK-26521
Reviewer: Corey
Tests run: checkintests
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/FormItem.as
+++ frameworks/projects/spark/src/spark/components/FormItem.as
@@ -343,12 +343,25 @@
         else if (instance == errorTextDisplay)
             updateErrorTextDisplay();
         else if (instance == helpContentGroup)
+        {
+            helpContentChanged = true;
             createHelpContent();
+        }
         else if (instance == contentGroup)
         {
             contentGroup.addEventListener(FlexEvent.VALID, contentGroup_validHandler, true);
             contentGroup.addEventListener(FlexEvent.INVALID, contentGroup_invalidHandler, true);
         }
+    }
+
+    override protected function partRemoved(partName:String, instance:Object) : void
+    {
+        super.partRemoved(partName, instance);
+
+        // Remove the helpContent from the helpContentGroup so that it can be parented
+        // by a different skin's helpContentGroup
+        if (instance == helpContentGroup)
+            helpContentGroup.removeAllElements();
     }

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


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@1269910 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/skins/halo/ScrollArrowSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ScrollArrowSkin.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-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.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3725
Author:   gosmith@adobe.com
Date:     2008-10-17T21:50:05.154403Z

Log Message:
-----------
If both 'text' and 'content' are set on TextGraphic, TextView, or FxTextArea during the same invalidation cycle, the last one set now wins. This is similar to how 'text' and 'htmlText' work in Halo components. Previously 'content' won over 'text', but this caused problems such as SDK-17023.

You should not set both 'text' and 'content' on an MXML tag. It makes no sense to do so, and the result is unpredictable because the compiler doesn't guarantee the order in which MXML attributes get applied to a component.

Reviewer: Ryan
Bugs: SDK-17023
QA: No
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextArea.as
+++ frameworks/projects/spark/src/spark/components/TextArea.as
@@ -92,11 +92,6 @@
 	 */
     override public function set text(value:String):void
     {
-		// If 'text' is being set after 'content', ignore it
-        // because 'content' has precedence.
-        if (contentChanged)
-            return;
-
         // Setting 'text' temporarily causes 'content' to become null.
         // Later, after the 'text' has been committed into the TextFlow,
         // getting 'content' will return the TextFlow.


Transferred from the Adobe Open Source Subversion Repository

Revision: 3473
Author:   smgilson@adobe.com
Date:     2008-10-03T15:56:14.737037Z

Log Message:
-----------
update ASDoc comment

Checkin Test Passed: Yes
QA: No
Bug:
Doc: No

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as

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

--- frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as
+++ frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as
@@ -48,6 +48,7 @@

 [ResourceBundle("rpc")]

+[DefaultProperty("operationList")]
 /**
  *  You use the <mx:HTTPMultiService> tag to represent a
  *  collection of http operations.  Each one has a URL, method, parameters and
@@ -70,7 +71,6 @@
  *  not generate user-friendly error messages when using GET and not using a proxy.

  *  @see mx.rpc.http.mxml.HTTPMultiService, mx.rpc.http.HTTPService, mx.rpc.http.HTTPOperation
  */
-[DefaultProperty("operationList")]
 public dynamic class HTTPMultiService extends AbstractService
 {
     //--------------------------------------------------------------------------


Transferred from the Adobe Open Source Subversion Repository

Revision: 19330
Author:   klin@adobe.com
Date:     2010-12-13T21:11:45.439252Z

Log Message:
-----------
Fix for DataGroup and List baselinePosition calculations. DataGroup now uses the typicalItem's renderer to calculate its baselinePosition. To do this, DataGroup delegates the calculations to the layout. ListBase uses the baselinePosition of the DataGroup to calculate its own.

QE notes: No
Doc notes: No
Bugs: SDK-28596
Reviewer: Hans
Tests run: cyclone server, checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.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@1278760 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -25,8 +25,8 @@
 import mx.core.IInvalidating;
 import mx.core.ILayoutElement;
 import mx.core.IVisualElement;
+import mx.core.UIComponentGlobals;
 import mx.core.mx_internal;
-import mx.core.UIComponentGlobals;
 import mx.events.CollectionEvent;
 import mx.events.CollectionEventKind;
 import mx.events.PropertyChangeEvent;
@@ -202,10 +202,12 @@
         if (!validateBaselinePosition())
             return NaN;

-        if (numElements == 0)
-            return super.baselinePosition;
-
-        return getElementAt(0).baselinePosition + getElementAt(0).y;
+        ensureTypicalLayoutElement();
+
+        if (layout)
+            return layout.typicalLayoutElementBaselinePosition;
+
+        return super.baselinePosition;
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 16937
Author:   smgilson@adobe.com
Date:     2010-07-15T16:35:17.543693Z

Log Message:
-----------
Add ASDoc comment about using component in an item renderer

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/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Image.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/CheckBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextInput.as
+++ frameworks/projects/spark/src/spark/components/TextInput.as
@@ -146,6 +146,12 @@
  *  unlimited undo/redo within one editing session.
  *  An editing session starts when the control gets keyboard focus
  *  and ends when the control loses focus.

+ *
+ *
To use this component in a list-based component, such as a List or DataGrid,
+ *  create an item renderer.
+ *  For information about creating an item renderer, see
+ *
+ *  Custom Spark item renderers.

  *
  *
The TextInput control has the following default characteristics:

  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 3756
Author:   gruehle@adobe.com
Date:     2008-10-20T21:38:18.681299Z

Log Message:
-----------
Adding placeholder icons for the Gumbo components that appear in the FB components panel. Where possible, these are simply copies of the Halo icons. There were some that didn't have a direct Halo counterpart, so the closest match was chosen.

QE Notes: None
Doc Notes: None
Bugs: SDK-17668
Reviewer: -

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.png</path>

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

--- frameworks/projects/spark/src/spark/components/TextInput.as
+++ frameworks/projects/spark/src/spark/components/TextInput.as
@@ -41,6 +41,8 @@
  *  The built-in set of states for the TextInput component.
  */
 [SkinStates("normal", "disabled")]
+
+[IconFile("FxTextInput.png")]

 /**
  *  Documentation is not currently available.


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/advancedgrids/src/mx/olap/IOLAPQueryAxis.as
+++ frameworks/projects/advancedgrids/src/mx/olap/IOLAPQueryAxis.as
@@ -0,0 +1,111 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 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.olap
+{
+/**
+ *  The IOLAPQueryAxis interface represents an axis of an OLAP query.
+ *
+ *  @see mx.olap.OLAPQuery
+ *  @see mx.olap.OLAPQueryAxis
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public interface IOLAPQueryAxis
+{
+    //--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  tuples
+	//----------------------------------
+
+    /**
+     *  All the tuples added to the query axis, as an Array of IOLAPTuple instances.
+     *  This Array includes tuples added by the addMember()
+     *  and addSet() methods.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get tuples():Array;
+
+    //----------------------------------
+	//  sets
+	//----------------------------------
+
+    /**
+     *  All the sets of the query axis, as an Array of IOLAPSet instances.
+     *  This Array includes sets added by the addMember()
+     *  and addTuple() methods.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get sets():Array;
+
+    //--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  Adds a set to the query axis.
+     *  The set define the members and tuples that provide the information for the query axis.
+     *
+     *  @param s The set to add to the query.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function addSet(s:IOLAPSet):void;
+
+    /**
+     *  Adds a tuple to the query axis.
+     *  The tuple is automatically converted to an IOLPASet instance.
+     *
+     *  @param t The tuple to add to the query.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function addTuple(t:IOLAPTuple):void;
+
+    /**
+     *  Adds a single member to the query axis.
+     *  The member is automatically converted to an IOLPASet instance.
+     *  This method is useful when adding a member to a slicer axis.
+     *
+     *  @param s The member to add to the query.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function addMember(s:IOLAPMember):void;
+}
+}


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@1261545 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/managers/HistoryManager.as
+++ frameworks/projects/framework/src/mx/managers/HistoryManager.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: 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@1283358 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
+++ frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2009 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.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 22187
Author:   aharui@adobe.com
Date:     2011-08-24T20:27:29.376194Z

Log Message:
-----------
Fix interface names we for looking up marshall plan classes
Handle modules during drag/drop in marshall plan configs

QE notes: none
Doc notes: none
Bugs: SDK-30687
Reviewer: Altman
Tests run: Mustella Cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as

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

--- frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as
+++ frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as
@@ -40,6 +40,7 @@
 import mx.managers.DragManager;
 import mx.managers.ISystemManager;
 import mx.managers.SystemManager;
+import mx.modules.ModuleManager;
 import mx.styles.CSSStyleDeclaration;
 import mx.styles.IStyleManager2;
 import mx.styles.StyleManager;
@@ -406,6 +407,9 @@
 		if (swfRoot)
 			return true;

+        if (ModuleManager.getAssociatedFactory(target))
+            return true;
+
 		var me:InterManagerRequest = new InterManagerRequest(InterManagerRequest.SYSTEM_MANAGER_REQUEST);
 		me.name = "hasSWFBridges";
 		sandboxRoot.dispatchEvent(me);


Transferred from the Adobe Open Source Subversion Repository

Revision: 8615
Author:   dsubrama@adobe.com
Date:     2009-07-16T00:06:27.325362Z

Log Message:
-----------
Added in enumerations to Inspectable metadata for a bunch of properties.

Reviewer: Ryan
QA: Yes, regress
Doc: No
Checkintests: Pass

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/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.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/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -503,7 +503,7 @@
      */
     private var _variableColumnWidth:Boolean = true;

-    [Inspectable(category="General")]
+    [Inspectable(category="General", enumeration="true,false")]

     /**
      *  If true, specifies that layout elements are to be allocated their


Transferred from the Adobe Open Source Subversion Repository

Revision: 6215
Author:   smgilson@adobe.com
Date:     2009-04-23T17:12:57.259499Z

Log Message:
-----------
ASDoc updates for effect classes

Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.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/AnimateTransformMove.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/effects/KeyFrame.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/WipeDirection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SetAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>

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

--- frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as
+++ frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as
@@ -95,8 +95,7 @@
  *
  *  @see flash.display.BitmapData
  *  @see spark.effects.supportClasses.AnimateShaderTransitionInstance
- *  @see spark.primitives.GraphicElement
- *  @see flash.display.DisplayObject
+ *  @see spark.primitives.supportClasses.GraphicElement
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -274,6 +273,8 @@
      *  Creates the bitmap image for either the before or after stateof the target, if necessary.
      *
      *  @param target The Object to animate with this effect.
+     *
+     *  @return A BitmapData object containing the image.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 3028
Author:   hmuller@adobe.com
Date:     2008-08-28T18:57:45.553703Z

Log Message:
-----------
Added doc for the new "Group as Viewport" API.

Provisional fix for bug 16609, BasicLayout's contentWidth,Height
computation now uses actualSize.x,y.

Removed unused gapChanged, columnCountChanged, columnWidthChanged and
rowCountChanged, rowHeightChanged internal variables from
Horizontal,VerticalLayout.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -86,15 +86,7 @@
     //  gap
     //----------------------------------

-    /**
-     *  @private
-     */
     private var _gap:int = 6;
-
-    /**
-     *  @private
-     */
-    private var gapChanged:Boolean = false;

     [Inspectable(category="General")]

@@ -119,7 +111,6 @@
  	   	var layoutTarget:Group = target;
     	if (layoutTarget != null)
     	{
-			gapChanged = true;
         	layoutTarget.invalidateSize();
             layoutTarget.invalidateDisplayList();
     	}
@@ -139,22 +130,19 @@
     //  columnCount
     //----------------------------------

-    /**
-     *  @private
-     */
     private var _columnCount:int = -1;

-    /**
-     *  @private
-     */
-    private var columnCountChanged:Boolean = false;
-
     [Inspectable(category="General")]

     /**
-     *  Number of columns to be displayed.
-     *  If the width of the component has been explicitly set,
-     *  this property might not have any effect.
+     *  Specifies the number of items to display.
+     *
+     *  If columnCount is -1, then all of them items are displayed.
+     *
+     *  This value implies the layout's measuredWidth.
+     *
+     *  If the width of the target has been explicitly set,
+     *  then this property has no effect.
      *
      *  @default -1
      */
@@ -176,7 +164,6 @@
  	   	var layoutTarget:Group = target;
     	if (layoutTarget != null)
     	{
-    		columnCountChanged = true;
         	layoutTarget.invalidateSize();
             layoutTarget.invalidateDisplayList();
     	}
@@ -208,22 +195,15 @@
     //  columnWidth
     //----------------------------------

-    /**
-     *  @private
-     */
     private var _columnWidth:Number = 20;
-
-    /**
-     *  @private
-     */
-    private var columnWidthChanged:Boolean = false;

     [Inspectable(category="General")]

     /**
-     *  The width of the columns in pixels.
-     *  Unless the variableColumnWidth property is
-     *  true, all columns are the same width.
+     *  Specifies the width of the columns if variableColumnWidth
+     *  is false.
+     *
+     *  @default 20
      */
     public function get columnWidth():Number
     {
@@ -243,7 +223,6 @@
  		   	var layoutTarget:Group = target;
         	if (layoutTarget != null)
         	{
-        		columnWidthChanged = true;
             	layoutTarget.invalidateSize();
 	            layoutTarget.invalidateDisplayList();
         	}
@@ -275,6 +254,18 @@
     [Inspectable(category="General")]

     /**
+     *  If false, i.e. "fixed column width" is specified, the width of
+     *  each item is set to the value of columnWidth.
+     *
+     *  If the columnWidth property wasn't explicitly set,
+     *  then it's initialized with the measuredWidth of
+     *  the first item.
+     *
+     *  The items' includeInLayout,
+     *  measuredWidth, minWidth,
+     *  and percentWidth properties are ignored when
+     *  variableColumnWidth is false.
+     *
      *  @default true
      */
     public function get variableColumnWidth():Boolean


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@1261256 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurnShader.as
+++ frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurnShader.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: 13296
Author:   jszeto@adobe.com
Date:     2010-01-06T01:31:52.563455Z

Log Message:
-----------
Change event split into change and valueCommit for list based components

http://bugs.adobe.com/jira/browse/SDK-24803 - When selectedItem/selectedIndex is set programatically, list should dispatch a valueCommit event, not a change event

Refactored selection properties into helper functions which parameterize dispatching changing/change events. Changed all internal setting of the selection properties to use these helper functions.

Updated binding metadata for selection properties.

QE notes: Update tests
Doc notes: Docs should mention valueCommit versus change/changing
Bugs: SDK-24803
Reviewer: Ryan
Tests run: checkintests, ButtonBar, List, ComboBox, DropDownList
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as
@@ -424,10 +424,10 @@
         if (newIndex == selectedIndex)
         {
             if (!requireSelection)
-                selectedIndex = NO_SELECTION;
+                setSelectedIndex(NO_SELECTION, true);
         }
         else
-            selectedIndex = newIndex;
+            setSelectedIndex(newIndex, true);

         // Changing the selectedIndex typically causes a call to itemSelected() at
         // commitProperties() time.   We'll update the caretIndex then.  If this


Transferred from the Adobe Open Source Subversion Repository

Revision: 12769
Author:   chaase@adobe.com
Date:     2009-12-10T05:31:49.752081Z

Log Message:
-----------
Workaround for player issue. The bounds used internally by the player do not match the bounds returned from getBounds(), so it is tough to create a bitmap snapshot of a component that has the same location/bounds as the player would use. This makes it problematic to use bitmaps with ShaderFilter to substitute for the real object, and causes some objects to shift during the effects (Wipe, CrossFade, AnimateTransitionShader). This is particularly true for objects with filtered children (where the filters run outside the bounds of the parent) and objects with text areas that border the left/top of the component. The workaround is to draw the object into a bitmap with an opaque background and measure the resulting colored pixels with BitmapData.getColorBoundsRect() to get the true bounds as seen by the player.

Also changed some FIXME comments to TODOs in ScrollBarBase, as those comments were more about future work than must-fix items in Flex 4.

QE notes: No
Doc notes: No
Bugs: SDK-20250
Reviewer: Jason
Tests run: checkintests, Mustella spark/effects/AnimateTransitionShader|CrossFade|Wipe
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/BitmapUtil.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as
@@ -318,18 +318,18 @@
     private static var easyInLinearEaser:IEaser = new Linear(.1);
     private static var deceleratingSineEaser:IEaser = new Sine(0);

-    // FIXME (hmuller): transient?
+    // TODO (hmuller): transient?
     // Direction indicator for current track-scrolling operations
     private var trackScrollDown:Boolean;

     // Timer used for repeated scrolling when mouse is held down on track
     private var trackScrollTimer:Timer;

-    // FIXME (hmuller): transient?
+    // TODO (hmuller): transient?
     // Cache current position on track for scrolling operations
     private var trackPosition:Point = new Point();

-    // FIXME (hmuller): transient?
+    // TODO (hmuller): transient?
     // Flag to indicate whether track-scrolling is in process
     private var trackScrolling:Boolean = false;

@@ -818,7 +818,7 @@
         // called repeatedly here due to the button's autoRepeat
         if (!steppingDown && !steppingUp)
         {
-            // FIXME (chaase): first step is non-animated, just to simplify the delayed
+            // TODO (chaase): first step is non-animated, just to simplify the delayed
             // start of the animated stepping. Seems okay, but worth thinking
             // about whether we should animate the first step too
             changeValueByStep(increment);
@@ -889,7 +889,7 @@
      */
     override protected function track_mouseDownHandler(event:MouseEvent):void
     {
-        // FIXME (chaase): We might want a different event mechanism eventually
+        // TODO (chaase): We might want a different event mechanism eventually
         // which would push this enabled check into the child/skin components
         if (!enabled)
             return;
@@ -955,7 +955,7 @@
         systemManager.getSandboxRoot().addEventListener(SandboxMouseEvent.MOUSE_UP_SOMEWHERE,
             track_mouseUpHandler);

-        // FIXME (chaase): consider using the repeat behavior of Button
+        // TODO (chaase): consider using the repeat behavior of Button
         // to handle track-down repetition, instead of doing it with a
         // custom Timer. As long as we can distinguish the first
         // down event from subsequent ones, we may be able to just let
@@ -1001,7 +1001,7 @@
     protected function animatePaging(newValue:Number, pageSize:Number):void
     {
         animatingOnce = false;
-        // FIXME (chaase): hard-coding easing behavior, how to style it?
+        // TODO (chaase): hard-coding easing behavior, how to style it?
         startAnimation(
             getStyle("repeatInterval") * (Math.abs(newValue - value) / pageSize),
             newValue, linearEaser);
@@ -1040,10 +1040,10 @@
             easer = new Linear(500/duration);
         else
             easer = easyInLinearEaser;
-        // FIXME (chaase): we're using ScrollBarBase's repeatInterval for animated
+        // TODO (chaase): we're using ScrollBarBase's repeatInterval for animated
         // stepping, but Button's repeatInterval for non-animated stepping
-        // FIXME (chaase): think about the total duration for the animation.
-        // FIXME (chaase): hard-coding easing behavior, how to style it?
+        // TODO (chaase): think about the total duration for the animation.
+        // TODO (chaase): hard-coding easing behavior, how to style it?
         startAnimation(duration, newValue, easer, getStyle("repeatDelay"));
     }


Logger code cleanup, added warn(), err(), error()

--- src/metafas3/Logger.as
+++ src/metafas3/Logger.as
@@ -5,6 +5,8 @@

 	public class Logger
 	{
+		public static var debug:Function = err;
+		public static var error:Function = err;
 		public static var verbose:Boolean = true;

 		public static function dump (o:Object, depth:int = 0) :void
@@ -19,12 +21,12 @@
 			}

 			// trace the string value
-			if (depth == 0) log(pad + o, 'dump');
+			if (depth == 0) info(pad + o, 'dump');

 			// process properties
 			for (var p:String in o)
 			{
-				log(pad + ' ' + p + ': ' + o[p], 'dump');
+				info(pad + ' ' + p + ': ' + o[p], 'dump');
 				if ((typeof o[p]) == 'object' || (typeof o[p]) == 'xml')
 				{
 					dump(o[p], (depth + 1));
@@ -32,7 +34,7 @@
 			}
 		}

-		public static function debug (str:String) :void
+		public static function err (str:String) :void
 		{
 			if (verbose && Capabilities.playerType == 'StandAlone')
 			{
@@ -40,18 +42,23 @@
 			}
 			else
 			{
-				log(str, 'debug');
+				warn(str, 'ERROR');
 			}
 		}

-		public static function info (str:String) :void
+		public static function info (str:String, level:String = 'info') :void
 		{
-			log(str);
+			log('[' + level + '] ' + str);
 		}

-		private static function log (str:String, level:String = 'info') :void
+		public static function warn (str:String, level:String = 'WARNING') :void
 		{
-			if (verbose) trace('[' + level + '] ' + str);
+			log('>>> ' + level + ': ' + str);
+		}
+
+		private static function log (str:String) :void
+		{
+			if (verbose) trace(str);
 		}
 	}
 }