Fix ResultAttributes useUTC assignment.

Fix ResultAttributes useUTC assignment.

--- src/widgets/supportClasses/ResultAttributes.as
+++ src/widgets/supportClasses/ResultAttributes.as
@@ -91,7 +91,7 @@
                 var dateFormat:String;
                 if (fieldXML)
                 {
-                    useUTC = fieldXML.format.@useutc[0] || fieldXML.@useutc[0] == "true";
+                    useUTC = fieldXML.format.@useutc[0] == "true" || fieldXML.@useutc[0] == "true";
                     dateFormat = fieldXML.format.@dateformat[0] || fieldXML.@dateformat[0];
                     if (dateFormat)
                     {


F Fix major bug in Shader: when instances were spawned, the kill vector was not reset to zero length

--- src/aerys/minko/render/shader/Shader.as
+++ src/aerys/minko/render/shader/Shader.as
@@ -178,6 +178,7 @@
 			program			= Compiler.compileShader(_name, signature);
 			_meshBindings	= null;
 			_sceneBindings	= null;
+			_kills.length	= 0;

 			_programs.push(program);


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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkApplicationAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkApplicationAutomationImpl.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 spark.automation.delegates.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18964
Author:   mhorn@adobe.com
Date:     2010-12-02T17:28:48.948990Z

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

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -517,6 +517,8 @@
      *  If true, a data item must always be selected in the control.
      *  If the value is true, the selectedIndex property
      *  is always set to a value between 0 and (dataProvider.length - 1).
+     *
+     *
The default value is false for most subclasses, except TabBar. In that case, the default is true.

      *
      *  @default false
      *
@@ -643,14 +645,14 @@
     mx_internal function setSelectedIndex(value:int, dispatchChangeEvent:Boolean = false):void
     {
         if (value == selectedIndex)
-		{
-			// this should short-circuit, but we should check to make sure
-			// that caret doesn't need to be changed either, as that's a side
-			// effect of setting selectedIndex
-			setCurrentCaretIndex(selectedIndex);
-
+        {
+            // this should short-circuit, but we should check to make sure
+            // that caret doesn't need to be changed either, as that's a side
+            // effect of setting selectedIndex
+            setCurrentCaretIndex(selectedIndex);
+
             return;
-		}
+        }

         if (dispatchChangeEvent)
             dispatchChangeAfterSelection = (dispatchChangeAfterSelection || dispatchChangeEvent);


Transferred from the Adobe Open Source Subversion Repository

Revision: 6122
Author:   chaase@adobe.com
Date:     2009-04-10T14:30:17.762458Z

Log Message:
-----------
Various refactorings/renamings/changes from effects PARB review.

QE Notes: mx/effects and spark/effects currently broken (and disabled) due to these API changes. Matt is fixing.
Doc Notes: None
Bugs:
Reviewer: Hans
tests: checkintests, mustella tests/ListDataEffects

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOut.as" copyfrom-rev="5944" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOut.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EasingFraction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EffectEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/TweenEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/RepeatBehavior.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/NumberArrayInterpolator.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/framework/src/mx/effects/IEffect.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/supportClasses/Animate3DInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimationProperty.as" copyfrom-rev="5944" action="A">/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/supportClasses/AnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.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/supportClasses/AnimateFilterInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/Rotate3DInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/AnimationEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffectInstance.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/supportClasses/RotateInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimationProperty.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>

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

--- frameworks/projects/spark/src/spark/effects/animation/IAnimationTarget.as
+++ frameworks/projects/spark/src/spark/effects/animation/IAnimationTarget.as
@@ -0,0 +1,80 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.animation
+{
+/**
+ * This interface is implemented by classes that want to be called
+ * with the various events happening in an Animation instance.
+ * It is more typical to use th event listening mechanism on Animation,
+ * but an IAnimationTarget implementation approach can provide a lower
+ * overhead and higher performance means of getting update events
+ * in some situations.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public interface IAnimationTarget
+{
+    /**
+     * This function is called when an Animation instance starts. If there
+     * is a startDelay on the Animation, this function is called
+     * after that delay, when the animation actually begins playing.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    function animationStart(animation:Animation):void;
+
+    /**
+     * This function is called when an Animation instance ends.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    function animationEnd(animation:Animation):void;
+
+    /**
+     * This function is called when an Animation instance repeats. The
+     * Animation in question must have a repeatCount equal to 0 (infinitely
+     * repeating) or greater than 1.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    function animationRepeat(animation:Animation):void;
+
+    /**
+     * This function is called during every update of an Animation instance.
+     * If an implementation class is listening to an Animation specifically to
+     * be able to do something after the Animation values are calculated for
+     * a given time, this is the function in which those values should be used.
+     * The other functions in this interface are more informational, just to tell
+     * the listeners when the Animation is starting, stopping, or repeating; this
+     * function is called when values have been calculated and something can be
+     * done with them.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    function animationUpdate(animation:Animation):void;
+
+}
+}


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

--- frameworks/projects/automation/src/mx/automation/delegates/core/RepeaterAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/core/RepeaterAutomationImpl.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.automation.delegates.core
 {
 	import flash.display.DisplayObject;


Capitalized SOURCE, TARGET, DESTINATION in opcodes.

--- src/Values/OpcodeValue.as
+++ src/Values/OpcodeValue.as
@@ -36,20 +36,20 @@
 		}

 		public static const OP_NOOP:OpcodeValue = new OpcodeValue("NOOP", 0, "No action. Go to next instruction.", "No Operation");
-		public static const OP_ADD:OpcodeValue = new OpcodeValue("ADD", 1, "Add the source register to the target register, and store the sum in the destination register.", "Add");
-		public static const OP_SUB:OpcodeValue = new OpcodeValue("SUB", 2, "Subtract the target register from the source register, and store the difference in the destination register.", "Subtract");
-		public static const OP_MUL:OpcodeValue = new OpcodeValue("MUL", 3, "Multiply the source register with the target register, and store the product in the destination register.", "Multiply");
-		public static const OP_DIV:OpcodeValue = new OpcodeValue("DIV", 4, "Divide the source register by the target register, and store the quotient in the destination register.", "Divide");
-		public static const OP_SET:OpcodeValue = new OpcodeValue("SET", 5, "Set the target register to the source value.", "Set");
-		public static const OP_JMP:OpcodeValue = new OpcodeValue("JMP", 6, "Jump over the target value, to the instruction after.", "Jump");
-		public static const OP_SAV:OpcodeValue = new OpcodeValue("SAV", 7, "Set memory at the value of the target register to the value of the source register.", "Save");
+		public static const OP_ADD:OpcodeValue = new OpcodeValue("ADD", 1, "Add the SOURCE register to the TARGET register, and store the sum in the DESTINATION register.", "Add");
+		public static const OP_SUB:OpcodeValue = new OpcodeValue("SUB", 2, "Subtract the TARGET register from the SOURCE register, and store the difference in the DESTINATION register.", "Subtract");
+		public static const OP_MUL:OpcodeValue = new OpcodeValue("MUL", 3, "Multiply the SOURCE register with the TARGET register, and store the product in the DESTINATION register.", "Multiply");
+		public static const OP_DIV:OpcodeValue = new OpcodeValue("DIV", 4, "Divide the SOURCE register by the TARGET register, and store the quotient in the DESTINATION register.", "Divide");
+		public static const OP_SET:OpcodeValue = new OpcodeValue("SET", 5, "Set the TARGET register to the SOURCE value.", "Set");
+		public static const OP_JMP:OpcodeValue = new OpcodeValue("JMP", 6, "Jump over the TARGET value, to the instruction after.", "Jump");
+		public static const OP_SAV:OpcodeValue = new OpcodeValue("SAV", 7, "Set memory at the value of the TARGET register to the value of the SOURCE register.", "Save");
 		public static const OP_NOT:OpcodeValue = new OpcodeValue("NOT", 8);
 		public static const OP_AND:OpcodeValue = new OpcodeValue("AND", 9);
 		public static const OP_OR:OpcodeValue = new OpcodeValue("OR", 10);
 		public static const OP_GT:OpcodeValue = new OpcodeValue("GT", 11);
-		public static const OP_SAVI:OpcodeValue = new OpcodeValue("SETM", 12, "Set memory at the target value to the source value.", "Set Memory");
-		public static const OP_LD:OpcodeValue = new OpcodeValue("LD", 13, "Set the destination register to the value of memory at the value of the target register.", "Load");
-		public static const OP_ADDM:OpcodeValue = new OpcodeValue("ADDM", 14, "Set memory at the target value to the sum of the source value and the destination value.", "Add Memory");
+		public static const OP_SAVI:OpcodeValue = new OpcodeValue("SETM", 12, "Set memory at the TARGET value to the SOURCE value.", "Set Memory");
+		public static const OP_LD:OpcodeValue = new OpcodeValue("LD", 13, "Set the DESTINATION register to the value of memory at the value of the TARGET register.", "Load");
+		public static const OP_ADDM:OpcodeValue = new OpcodeValue("ADDM", 14, "Set memory at the TARGET value to the sum of the SOURCE value and the DESTINATION value.", "Add Memory");
 		public static const OPS:Array = [OP_NOOP, OP_ADD, OP_SUB, OP_MUL, OP_DIV, OP_SET, OP_JMP, OP_SAV, OP_NOT, OP_AND, OP_OR, OP_GT, OP_SAVI, OP_ADDM];

 	}


removed that; optional guard and action fsms

--- src/com/phylake/fsm/impl/Fsm.as
+++ src/com/phylake/fsm/impl/Fsm.as
@@ -9,10 +9,10 @@
         public var unmappedEventException:Boolean;
         public var noTransitionException:Boolean;

-        /*
-          key: IEvent.name
-        value: [ITransition]
-        */
+        /**
+         *   key: IEvent.name
+         * value: [ITransition]
+         */
         protected var _eventMap:Object = {};
         protected var _events:Vector.<IEvent> = new Vector.<IEvent>;
         protected var _states:Vector.<IState> = new Vector.<IState>;
@@ -20,14 +20,32 @@
         protected var _currentState:IState;
         protected var _inEventLoop:Boolean;
         protected var _destroyed:Boolean;
-        protected var _that:IFsm;
-
-        /**
-         * An optional IFsm to use instead of this.
-         */
-        public function set that(value:IFsm):void
-        {
-            _that = value;
+        protected var _actionFsm:IFsm;
+        protected var _guardFsm:IFsm;
+
+        /**
+         * An optional root IFsm to use for IGuard#evaluate and IAction#execute
+         */
+        public function set rootFsm(value:IFsm):void
+        {
+            actionFsm = value;
+            guardFsm = value;
+        }
+
+        /**
+         * An optional IFsm to use for IAction#execute
+         */
+        public function set actionFsm(value:IFsm):void
+        {
+            _actionFsm = value;
+        }
+
+        /**
+         * An optional IFsm to use for IGuard#evaluate
+         */
+        public function set guardFsm(value:IFsm):void
+        {
+            _guardFsm = value;
         }

         public function init(value:IState):void
@@ -114,7 +132,7 @@
         {
             if (action)
             {
-                action.execute(_that || this, event);
+                action.execute(_actionFsm || this, event);
             }
         }

@@ -124,11 +142,6 @@
             {
                 for each (var fsm:IFsm in state.subMachines)
                 {
-                    if (fsm is Fsm)
-                    {
-                        Fsm(fsm).that = this._that;
-                    }
-
                     fsm.pushEvent(event);
                 }
             }
@@ -171,7 +184,7 @@
                     {
                         for each (guard in transition.guards)
                         {
-                            if (guard.evaluate(_that || this, event))
+                            if (guard.evaluate(_guardFsm || this, event))
                             {
                                 if (trueGuard)
                                 {


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

--- frameworks/projects/automation_air/src/mx/automation/air/AirFunctionsHelper.as
+++ frameworks/projects/automation_air/src/mx/automation/air/AirFunctionsHelper.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 mx.automation.air
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 11675
Author:   hmuller@adobe.com
Date:     2009-11-12T00:25:39.300334Z

Log Message:
-----------
Added minValue,maxValue,etc Style/Inspectable metadata tags for tools.

QE notes:
Doc notes:
Bugs: sdk-24100
Reviewer: Glenn
Tests run:
Is noteworthy for integration: yes

Modified Paths:
--------------
<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/effects/easing/EaseInOutBase.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/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.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/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.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/components/SkinnableDataContainer.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/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColor.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/components/supportClasses/TextBase.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/framework/src/mx/graphics/GradientEntry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.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/styles/metadata/AdvancedInheritingTextStyles.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/components/supportClasses/Range.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as
@@ -99,7 +99,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="repeatDelay", type="Number", format="Time", inherit="no")]
+[Style(name="repeatDelay", type="Number", format="Time", inherit="no", minValue="0.0")]

 /**
  *  Number of milliseconds between page events
@@ -112,7 +112,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="repeatInterval", type="Number", format="Time", inherit="no")]
+[Style(name="repeatInterval", type="Number", format="Time", inherit="no", minValueExclusive="0.0")]

 /**
  * This style determines whether the scrollbar will animate
@@ -388,6 +388,8 @@

     private var pageSizeChanged:Boolean = false;

+    [Inspectable(minValue="0.0")]
+
     /**
      *  The change in the value of the value property
      *  when you call the changeValueByPage() method.


Ignore files with no filename component for XML parsing in EditorResourceBrowser. .gitignore etc.

--- bin/Data/Scripts/Editor/EditorResourceBrowser.as
+++ bin/Data/Scripts/Editor/EditorResourceBrowser.as
@@ -1327,6 +1327,8 @@

 bool GetXmlType(String path, StringHash &out fileType, bool useCache = false)
 {
+    if (GetFileName(path).length == 0)
+        return false; // .gitignore etc.
     String extension = GetExtension(path);
     if (extension == ".txt" || extension == ".json" || extension == ".icns" || extension == ".atlas")
         return false;


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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkRichEditableTextAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkRichEditableTextAutomationImpl.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.automation.delegates.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13046
Author:   hneelu@adobe.com
Date:     2009-12-17T12:34:07.695337Z

Log Message:
-----------
Updating automation sources..

Modified Paths:
--------------
451 paths were modified

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

--- frameworks/projects/automation/src/mx/automation/tabularData/ChartBaseTabularData.as
+++ frameworks/projects/automation/src/mx/automation/tabularData/ChartBaseTabularData.as
@@ -103,8 +103,7 @@
 			maxItems = 0;
 			// code modified to avoid the usage of numAutomationChildren and
 			// getAutomationChildAt in a loop
-			//var childList:Array  = delegate.getAutomationChildren();
-			var childList:Array  = Automation.automationManager2.getAutomationChildrenArray(delegate);
+			var childList:Array  = delegate.getAutomationChildren();
 			var n:int = childList?childList.length:0;
 			//for(var i:int = 0; i < delegate.numAutomationChildren; ++i)
 			for (var i:int = 0; i < n; ++i)
@@ -159,8 +158,7 @@

 			// code modified to avoid the usage of numAutomationChildren and
 			// getAutomationChildAt in a loop
-			//var childList:Array  = delegate.getAutomationChildren();
-			var childList:Array  = Automation.automationManager2.getAutomationChildrenArray(delegate);
+			var childList:Array  = delegate.getAutomationChildren();
 			if (childList)
 			{
 				end  = end > childList.length ? childList.length : end;


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

--- frameworks/projects/charts/src/mx/charts/series/renderData/BubbleSeriesRenderData.as
+++ frameworks/projects/charts/src/mx/charts/series/renderData/BubbleSeriesRenderData.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 mx.charts.series.renderData
 {


- change: Application now uses the loaderInfo of the swf the application resides in instead of stage.loaderInfo

git-svn-id: e38e7cdd6ace00d8230583a2d3b43e9a55f5c011@693 bc4816be-ef27-423a-9c4d-fc420be121a2

--- src/reprise/core/Application.as
+++ src/reprise/core/Application.as
@@ -133,7 +133,7 @@

 		protected function initialize() : void
 		{
-			m_appContext = new ApplicationContext(this, stage.loaderInfo);
+			m_appContext = new ApplicationContext(this, this.loaderInfo);
 			ApplicationRegistry.instance().registerApplication(this);
 			stage.align = StageAlign.TOP_LEFT;
 			stage.scaleMode = StageScaleMode.NO_SCALE;
@@ -163,7 +163,7 @@
 			{
 				return;
 			}
-			var cssURL:String = stage.loaderInfo.parameters.css_url ||
+			var cssURL:String = m_appContext.applicationParameters.css_url ||
 				Object(this).constructor['CSS_URL'] || CSS_URL;
 			m_css = new CSS(cssURL);
 			m_css.setBaseURL(applicationURL());


Transferred from the Adobe Open Source Subversion Repository

Revision: 18347
Author:   cframpto@adobe.com
Date:     2010-10-28T16:52:11.855675Z

Log Message:
-----------
Bit more of TLF2 integration.  Enabled the TLF EditManager delayedUpdate flag which delays any screen updates when interactively editing until the next ENTER_FRAME event.  This should not make any difference to us since our damageHandler invalidates the display list which causes a screen update every time a character is typed.  If the RichEditableText component has a contentMenu the first time the TextContainerManager needs one it will be used (and cached so it can't be changed) rather than one created by the TCM. This is still not a complete solution for contextMenus.  Ideally the contentMenu on the TextArea/TextInput component could be customized and the clipboard menu used.

QE notes: create custom context menu on RET component and try to cut/copy/paste/selectAll if text is editable
Doc notes:
Bugs:
Reviewer:
Tests run: cyclone - worked with Bill
Is noteworthy for integration:

Modified Paths:
--------------
<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/supportClasses/RichEditableTextContainerManager.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/RichEditableTextContainerManager.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/RichEditableTextContainerManager.as
@@ -103,14 +103,6 @@
      */
     private var textDisplay:RichEditableText;

-
-    /**
-     *  @private
-     *  TLF doesn't guarantee it won't touch the context menu.  It removes it
-     *  when it switches from the factory to the composer so we need to save it.
-     */
-    private var userContextMenu:ContextMenu;
-
     //--------------------------------------------------------------------------
     //
     //  Overridden methods
@@ -200,7 +192,7 @@
     /**
      *  @private
      *
-     * If the user specified a custom context menu then save it and use
+     * If the user specified a custom context menu then use
      * it rather than the default context menu. It must be set before the
      * first mouse over/mouse hover or foucsIn event to be used.
      *
@@ -209,22 +201,15 @@
      */
     override tlf_internal function getContextMenu():ContextMenu
     {
-        // ToDo(cframpto): can't differentiate between the user removing the
-        // context menu because they don't want it and TLF removing it and
-        // it is requesting it again.  Need additional API to support
-        // contextMenus correctly.  Ideally could specify the context
+        // ToDo(cframpto): Ideally could specify the context
         // menu on the TextArea or the TextInput and it wouldn't be obscured
         // by TLF's context menu.
-
-        if (textDisplay.contextMenu)
-            userContextMenu = textDisplay.contextMenu as ContextMenu;
-
-        if (!userContextMenu)
-            userContextMenu = super.getContextMenu();
-
-        return userContextMenu;
-    }
-
+
+        // Return null to use the existing contextMenu on the container.
+        // Otherwise the TCM will overwrite this contextMenu.
+        return textDisplay.contextMenu != null ? null : super.getContextMenu();
+    }
+
     /**
      *  @private
      */
@@ -310,6 +295,10 @@
         // Default is to batch text input.  If the component, like ComboBox
         // wants to act on each keystroke then set this to false.
         editManager.allowDelayedOperations = textDisplay.batchTextInput;
+
+        // RET doesn't need the EditManager to do any updates since its
+        // damageHandler forces an update every time the textFlow is modified.
+        editManager.delayUpdates = true;

         return editManager;
     }


FLEX-34837 Added another test function to test the basic functionality of sorting by complex fields. (Note that because the feature isn't yet implemented, this also fails currently.)

--- frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
+++ frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
@@ -21,11 +21,10 @@
     import mx.collections.ArrayList;
     import mx.collections.IList;
     import mx.collections.ListCollectionView;
+    import mx.collections.Sort;
+    import mx.collections.SortField;

     import org.flexunit.asserts.assertEquals;
-
-    import spark.collections.Sort;
-    import spark.collections.SortField;

     public class ListCollectionView_FLEX_34837_Tests {
         private var _sut:ListCollectionView;
@@ -43,10 +42,28 @@
         }

         [Test]
-        public function test_changing_sort_field_value_places_it_correctly_according_to_collection_sort():void
+        public function test_simple_ascending_sort_by_complex_fields():void
         {
             //given
-            var from1To4:IList = generateObjects(5);
+            var from4To0:IList = generateVOs(5, true);
+            _sut.addAll(from4To0); //values["address.street"]: Street4, Street3, Street2, Street1, Street0
+
+            const sortByIndexAscending:Sort = new Sort();
+            sortByIndexAscending.fields = [new SortField("address.street", false, false, false)];
+            _sut.sort = sortByIndexAscending;
+
+            //when
+            _sut.refresh(); //should be: Street0, Street1, Street2, Street3, Street4
+
+            //then
+            assertIndexesAre([0, 1, 2, 3, 4]);
+        }
+
+        [Test]
+        public function test_changing_simple_sort_field_value_places_it_correctly_according_to_collection_sort():void
+        {
+            //given
+            var from1To4:IList = generateVOs(5);
             from1To4.removeItemAt(0);
             _sut.addAll(from1To4);

@@ -69,7 +86,7 @@
         public function test_changing_complex_sort_field_value_places_it_correctly_according_to_collection_sort():void
         {
             //given
-            var from1To4:IList = generateObjects(5);
+            var from1To4:IList = generateVOs(5);
             from1To4.removeItemAt(0);
             _sut.addAll(from1To4);

@@ -85,24 +102,43 @@

             //then
             const newItemIndex:int = _sut.getItemIndex(newItem);
-            assertEquals("the new item should have been placed at the beginning of the list as soon as its name was changed", 0, newItemIndex);
+            assertEquals("the new item should have been placed at the beginning of the list as soon as its address's street name was changed", 0, newItemIndex);
             _sut.removeItemAt(_sut.getItemIndex(newItem)); //if the bug is present, this will throw an RTE
         }

-        private function generateObjects(no:int):IList
+        private function assertIndexesAre(indexes:Array):void
         {
-            var result:ArrayList = new ArrayList();
+            assertEquals(indexes.length, _sut.length);
+
+            for(var i:int = 0; i < _sut.length; i++)
+            {
+                assertEquals(ListCollectionView_FLEX_34837_VO(_sut.getItemAt(i)).index, indexes[i]);
+            }
+        }
+
+
+        private static function generateVOs(no:int, reverse:Boolean = false):IList
+        {
+            return generateObjects(no, reverse, generateOneObject);
+        }
+
+        private static function generateObjects(no:int, reverse:Boolean, generator:Function):IList
+        {
+            var result:Array = [];
             for(var i:int = 0; i < no; i++)
             {
-                result.addItem(generateOneObject(i));
+                result.push(generator(i));
             }

-            return result;
+            if(reverse)
+                result.reverse();
+
+            return new ArrayList(result);
         }

-        private static function generateOneObject(i:int):ListCollectionView_FLEX_34837_VO
+        private static function generateOneObject(index:Number):ListCollectionView_FLEX_34837_VO
         {
-            return new ListCollectionView_FLEX_34837_VO("Object"+i, "Street"+i);
+            return new ListCollectionView_FLEX_34837_VO(index, "Object", "Street");
         }
     }
 }
@@ -115,10 +151,14 @@
     [Bindable]
     public var address:ListCollectionView_FLEX_34837_AddressVO;

-    public function ListCollectionView_FLEX_34837_VO(name:String, street:String)
+    [Bindable]
+    public var index:Number;
+
+    public function ListCollectionView_FLEX_34837_VO(index:Number, namePrefix:String, streetPrefix:String)
     {
-        this.name = name;
-        this.address = new ListCollectionView_FLEX_34837_AddressVO(street);
+        this.index = index;
+        this.name = namePrefix + index;
+        this.address = new ListCollectionView_FLEX_34837_AddressVO(streetPrefix + index);
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 16675
Author:   chiedozi@adobe.com
Date:     2010-06-25T17:29:44.506652Z

Log Message:
-----------
Fixed an issue where ViewNavigator would crash if no sections were supplied

QE notes:
Doc notes:
Bugs: FXM-14
Reviewer: None - Will review later
Tests run: checkintests
Is noteworthy for integration:

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
@@ -857,6 +857,23 @@

     override protected function commitProperties():void
     {
+        // If the sections property is not set by this point, ViewNavigator will
+        // create a default section to be used by the navigator, and initialize it
+        // with the rootView and initialData defined by the application
+        if (sections == null || sections.length == 0)
+        {
+            // TODO: ViewNavigator should have a rootView and rootData convenience property
+            // Create the empty screen stack and initialize it with the
+            // desired rootView and initial data
+            var section:ViewNavigatorSection = new ViewNavigatorSection();
+            section.rootView = null;
+            section.initialData = null;
+
+            // Set the stacks of the navigator
+            var newSections:Vector.<ViewNavigatorSection> = Vector.<ViewNavigatorSection>([section]);
+            sections = newSections;
+        }
+
         if (currentViewChanged)
             executeViewChange();
         else
@@ -930,10 +947,14 @@
             if (currentViewData)
             {
                 currentView = currentViewData.instance;
-                currentView.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, view_propertyChangeHandler);

-                currentViewData.persistedData = currentView.getPersistenceData();
-                currentView.active = true;
+                if (currentView)
+                {
+                    currentView.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, view_propertyChangeHandler);
+
+                    currentViewData.persistedData = currentView.getPersistenceData();
+                    currentView.active = true;
+                }
             }
         }

@@ -961,7 +982,7 @@
         if (currentSection)
             pendingViewData = currentSection.top;

-        if (pendingViewData)
+        if (pendingViewData && pendingViewData.factory != null)
         {
             var view:View;

@@ -1099,7 +1120,19 @@
         if (!actionBar)
             return;

-        if (forceUpdate)
+        // If there is no view, update the actionBar should display the
+        // navigator defaults
+        if (view == null)
+        {
+            actionBar.actionContent = actionContent;
+            actionBar.actionGroupLayout = actionGroupLayout;
+            actionBar.navigationContent = navigationContent;
+            actionBar.navigationGroupLayout = navigationGroupLayout;
+            actionBar.title = title;
+            actionBar.titleContent = titleContent;
+            actionBar.titleGroupLayout = titleGroupLayout;
+        }
+        else if (forceUpdate)
         {
             actionBar.actionContent = view && view.actionContent ? view.actionContent : actionContent;
             actionBar.actionGroupLayout = view && view.actionGroupLayout ? view.actionGroupLayout : actionGroupLayout;


Transferred from the Adobe Open Source Subversion Repository

Revision: 19231
Author:   jszeto@adobe.com
Date:     2010-12-09T19:25:51.943016Z

Log Message:
-----------
Mobile Skin Fixes

Merging in revisions 18989-19158 from hero_skin_sandbox.

The following component skins have been updated and 320 DPI skins added:

Button
CheckBox
RadioButton
TextInput
TextArea
ActionBar
HSlider

Updating MobileSkins test project

QE notes: baseline regen
Doc notes: none
Bugs: none
Reviewer: Jason San Jose, Tom Krakit
Tests run: full cyclone
Is noteworthy for integration: yes, updated skins!

Modified Paths:
--------------
129 paths were modified

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as
@@ -23,16 +23,15 @@
 import spark.skins.mobile160.assets.HSliderThumb_pressed;
 import spark.skins.mobile240.assets.HSliderThumb_normal;
 import spark.skins.mobile240.assets.HSliderThumb_pressed;
+import spark.skins.mobile320.assets.HSliderThumb_normal;
+import spark.skins.mobile320.assets.HSliderThumb_pressed;

 /**
  *  Actionscript based skin for the HSlider thumb skin part on mobile applications.
- *
- *  Note that this particular implementation provides separate chromeColorEllipse*
- *  properties in order to handle a visible thumb image which is smaller than the
- *  actual thumb FXG asset being used. In this case, the FXG asset specifies a larger
- *  transparent background that acts as a larger "hit zone" for better usability on
- *  mobile screens.
  *
+ *  Note that this particular implementation defines a hit zone which is larger than
+ *  the visible thumb for better usability on mobile screens.
+ *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 2.5
@@ -63,34 +62,56 @@
         // set the right assets and dimensions to use based on the screen density
         switch (authorDensity)
         {
+			case DeviceDensity.PPI_320:
+			{
+				thumbImageWidth = 58;
+				thumbImageHeight = 58;
+
+				thumbNormalClass = spark.skins.mobile320.assets.HSliderThumb_normal;
+				thumbPressedClass = spark.skins.mobile320.assets.HSliderThumb_pressed;
+
+                hitZoneOffset = 10;
+                hitZoneSideLength = 80;
+
+				// chromeColor ellipse goes up to the thumb border
+				chromeColorEllipseWidth = chromeColorEllipseHeight = 54;
+				chromeColorEllipseX = 2;
+				chromeColorEllipseY = 2;
+
+				break;
+			}
             case DeviceDensity.PPI_240:
             {
-                thumbImageWidth = 65;
-                thumbImageHeight = 65;
+                thumbImageWidth = 44;
+                thumbImageHeight = 44;

                 thumbNormalClass = spark.skins.mobile240.assets.HSliderThumb_normal;
                 thumbPressedClass = spark.skins.mobile240.assets.HSliderThumb_pressed;

-                // the actual thumb ellipse is inset into the overall thumb FXG asset
-                chromeColorEllipseWidth = 42;
-                chromeColorEllipseHeight = 42;
-                chromeColorEllipseX = 11;
-                chromeColorEllipseY = 10;
+                hitZoneOffset = 10;
+                hitZoneSideLength = 65;
+
+                // chromeColor ellipse goes up to the thumb border
+                chromeColorEllipseWidth = chromeColorEllipseHeight = 42;
+                chromeColorEllipseX = chromeColorEllipseY = 1;

                 break;
             }
             default:
             {
                 // default PPI160
-                thumbImageWidth = 40;
-                thumbImageHeight = 40;
+                thumbImageWidth = 29;
+                thumbImageHeight = 29;

                 thumbNormalClass = spark.skins.mobile160.assets.HSliderThumb_normal;
                 thumbPressedClass = spark.skins.mobile160.assets.HSliderThumb_pressed;

-                // the actual thumb ellipse is inset into the overall thumb FXG asset
-                chromeColorEllipseWidth = chromeColorEllipseHeight = 28;
-                chromeColorEllipseX = chromeColorEllipseY = 6;
+                hitZoneOffset = 5;
+                hitZoneSideLength = 40;
+
+				// chromeColor ellipse goes up to the thumb border
+                chromeColorEllipseWidth = chromeColorEllipseHeight = 27;
+                chromeColorEllipseX = chromeColorEllipseY = 1;

                 break;
             }
@@ -228,6 +249,27 @@
     protected var chromeColorEllipseY:int;

     /**
+     *  Length of the sizes of the hitzone (assumed to be square)
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected var hitZoneSideLength:int;
+
+    /**
+     *  Distance between the left edge of the hitzone and the left edge
+     *  of the thumb
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected var hitZoneOffset:int;
+
+    /**
      *  @private
      *  Remember which state is currently being displayed
      */
@@ -244,7 +286,7 @@
      */
     override protected function commitCurrentState():void
     {
-        if (currentState == "up" || currentState == "disabled")
+        if (currentState == "up")
         {
             // show the normal button
             if (!thumbSkin_normal)
@@ -261,7 +303,7 @@
             // hide the pressed button
             if (thumbSkin_pressed)
                 thumbSkin_pressed.visible = false;
-        }
+		}
         else if (currentState == "down")
         {
             // show the pressed button
@@ -279,10 +321,6 @@
             // hide the normal button
             if (thumbSkin_normal)
                 thumbSkin_normal.visible = false;
-        }
-        else if (currentState == "disabled")
-        {
-            // TODO: (Tom) add opaque thumb in disabled state here
         }

         displayedState = currentState;
@@ -308,6 +346,12 @@
 		setElementPosition(currentThumbSkin, 0, 0)

         super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+        // put in a larger hit zone than the thumb
+        var g:Graphics = graphics;
+        g.beginFill(0xffffff, 0);
+        g.drawRect(-hitZoneOffset, -hitZoneOffset, hitZoneSideLength, hitZoneSideLength);
+        g.endFill();
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 5409
Author:   chaase@adobe.com
Date:     2009-03-19T04:48:06.909942Z

Log Message:
-----------
Fix to bug when binding to constraints. Setting real width/height values on ConstraintRow/Column should always register that object as being not content-sized.

QE Notes: None
Doc Notes: None
Bugs: SDK-19041
Reviewer: Deepa
Testing: checkintests, Mustella containers

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/ConstraintRow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/ConstraintColumn.as</path>

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

--- frameworks/projects/framework/src/mx/containers/utilityClasses/ConstraintRow.as
+++ frameworks/projects/framework/src/mx/containers/utilityClasses/ConstraintRow.as
@@ -146,6 +146,8 @@
     		if (_height != value)
     		{
     			_height = value;
+                if (!isNaN(_height))
+                    mx_internal::contentSize = false;
     			if (container)
     			{
     				container.invalidateSize();
@@ -363,6 +365,8 @@
             _explicitHeight = NaN;

         _percentHeight = value;
+        if (!isNaN(_percentHeight))
+            mx_internal::contentSize = false;

         if (container)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18714
Author:   smgilson@adobe.com
Date:     2010-11-18T20:19:29.573629Z

Log Message:
-----------
Remove "zero-based" extra comments from ASDoc

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/IGridItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/IGridItemRenderer.as
@@ -175,8 +175,7 @@
     function set column(value:GridColumn):void;

     /**
-     *  The column index for this item renderer's cell, typically just the value of
-     *  column.columnIndex.
+     *  The column index for this item renderer's cell.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Cart script uses trigger data to start braking before the lever.

--- Game/Scripts/Cart.as
+++ Game/Scripts/Cart.as
@@ -8,6 +8,7 @@
     float a;
     float b;
     float c;
+    bool hasHitPlane;

     Component::Physics @minecartPhysics;
     Component::Physics @stopPhysics;
@@ -18,6 +19,7 @@
         speed = 20.0f;
         stopTime = 0.0f;
         endTime = 7.5f;
+        hasHitPlane = false;

         // Calculate second grade equation.
         float t = endTime;
@@ -38,20 +40,23 @@
     void Update(float deltaTime){
         self.position.z -= speed*deltaTime;

-        if (self.position.z < 450.0f && stopTime < endTime){
+        // Braking phase
+        if (hasHitPlane && stopTime < endTime){
             stopTime += deltaTime;
             float t = stopTime;
             float zPos = a * t * t * t / 3.0f + b * t * t / 2.0f + c * t;
             self.position.z = 450.0f - zPos;
-        } else if (stopTime >= endTime && !trigger) {
+        }
+        // Stopping phase
+        else if (stopTime >= endTime && !trigger) {
             self.position.z = 400.0f;
             speed = 0.0f;
-        } else if (trigger){
+        }
+        // Start again after lever has been pulled
+        else if (trigger){
             if (speed < 20.0f)
                 speed += 0.0664f;
         }
-
-
     }

     void ReceiveMessage(int signal){
@@ -61,5 +66,6 @@

     void OnTrigger(Component::Physics @trigger, Component::Physics @enterer) {
         print("WOW! WHAT A COLLISION!");
+        hasHitPlane = true;
     }
 }


Name generated symbols ~libraryItem.

Name generated symbols ~libraryItem.

--- runtime/src/main/as/flump/xfl/XflLibrary.as
+++ runtime/src/main/as/flump/xfl/XflLibrary.as
@@ -53,7 +53,6 @@
             _libraryItems[movie.libraryItem] = movie;
         }

-        var generatedId :int = 0;
         for each (movie in movies) {
             for each (var layer :XflLayer in movie.layers) {
                 for each (var kf :XflKeyframe in layer.keyframes) {
@@ -61,9 +60,8 @@
                         var item :Object = _libraryItems[kf.libraryItem];
                         if (item.symbol == null) {
                             // This unexported movie was referenced, generate a symbol name for it
-                            item.symbol = IMPLICIT_PREFIX + generatedId;
+                            item.symbol = IMPLICIT_PREFIX + item.libraryItem;
                             _symbols[item.symbol] = item;
-                            ++generatedId;
                         }
                         kf.symbol = item.symbol;
                     }


Added optional evt argument to addCallbacks.

--- media/as3/ZeroClipboardPdf.as
+++ media/as3/ZeroClipboardPdf.as
@@ -81,7 +81,7 @@
 			ExternalInterface.call( 'ZeroClipboard_TableTools.dispatch', domId, 'load', null );
 		}

-		public function addCallbacks ():void {
+		public function addCallbacks (evt:Event = null):void {
 			ExternalInterface.addCallback("setHandCursor", setHandCursor);
 			ExternalInterface.addCallback("clearText", clearText);
 			ExternalInterface.addCallback("setText", setText);


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

--- frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.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.messaging.channels
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 21952
Author:   smgilson@adobe.com
Date:     2011-08-12T12:57:45.892892Z

Log Message:
-----------
ASDoc edits for ToggleSwitch

ASDoc bug fixes for: 2925508, 2912546, 2896762

QE notes:
Doc notes:
Bugs: 2925508, 2912546, 2896762
Reviewer:
Tests run: checkintests
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/ToggleSwitchSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/rpc/src/mx/utils/RpcClassAliasInitializer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ToggleSwitch.as</path>

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

--- frameworks/projects/rpc/src/mx/utils/RpcClassAliasInitializer.as
+++ frameworks/projects/rpc/src/mx/utils/RpcClassAliasInitializer.as
@@ -47,6 +47,8 @@
 import mx.utils.ObjectProxy;

 /**
+ *  The RpcClassAliasInitializer class registers all
+ * classes for AMF serialization needed by the Flex RPC library.
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -57,8 +59,8 @@
 {
     /**
      * In the event that an application does not use the Flex UI classes which processes
-     * the [RemoteClass(alias="")] bootstrap code, this function will register all the
-     * classes for AMF serialization needed by the flex rpc library.
+     * the <code>[RemoteClass(alias="")]</code> bootstrap code, this function registers all the
+     * classes for AMF serialization needed by the Flex RPC library.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 4885
Author:   jszeto@adobe.com
Date:     2009-02-07T00:12:32.609062Z

Log Message:
-----------
Flex SDK Framework - Update mx.filters API and class hierarchy

- Removed BaseFilter.as, BaseDimensionFilter.as, and GradientFilter.as
- Renamed IBitmapFilter.as to IFlexBitmapFilter.as
- Changed IBitmapFilter.clone to createBitmapFilter
- Moved properties and functions from base classes up to filter subclasses
- Changed ColorMatrixFilter constructor parameter from Array to Object
- Added Change metadata to all filter classes
- Changed notifyFilterChanged from public to private
- Added ASDoc comments
- Added copyright info
- Added a number of formatting and style fixes

QE Notes: Need to update tests based on API changes. Missing tests for DisplacementMapFilter.as.
Doc Notes: Need extensive ASDoc review. Consider using @copy for properties that match the flash.filters properties
Bugs: n/a
Reviewer: Gordon

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BevelFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Parser.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as" copyfrom-rev="4821" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IFlexBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateFilterInstance.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/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as
+++ frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as
@@ -1,12 +1,52 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-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 mx.filters
 {
+import flash.events.Event;
+import flash.events.EventDispatcher;
 import flash.filters.BitmapFilter;
 import flash.filters.ConvolutionFilter;
-import mx.filters.BaseFilter;
-import mx.filters.IBitmapFilter;
-
-public class ConvolutionFilter extends BaseFilter implements IBitmapFilter
+import mx.filters.IFlexBitmapFilter;
+
+/**
+ *  @review
+ *  Dispatched when a property value has changed.
+ */
+[Event(name="change", type="flash.events.Event")]
+
+/**
+ *  @review
+ *
+ * 	The mx.filters.ConvolutionFilter class is based on flash.filters.ConvolutionFilter but adds
+ *  support for dynamically updating property values.
+ *  When a property changes, it dispatches an event that tells the filter owner to
+ *  reapply the filter. Use this class instead of flash.filters.ConvolutionFilter if you plan
+ *  to dynamically change the filter property values.
+ *
+ *  @see flash.filters.ConvolutionFilter
+ */
+public class ConvolutionFilter extends EventDispatcher implements IFlexBitmapFilter
 {
+	include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 * @copy flash.filters.ConvolutionFilter
+	 */
 	public function ConvolutionFilter(matrixX:Number = 0, matrixY:Number = 0,
 	                                  matrix:Array = null, divisor:Number = 1.0,
 	                                  bias:Number = 0.0,
@@ -14,6 +54,8 @@
 	                                  clamp:Boolean = true, color:uint = 0,
 	                                  alpha:Number = 0.0)
 	{
+		super();
+
 		this.matrixX = matrixX;
 		this.matrixY = matrixY;
 		this.matrix = matrix;
@@ -24,6 +66,12 @@
 		this.color = color;
 		this.alpha = alpha;
 	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------

 	//----------------------------------
     //  alpha
@@ -260,13 +308,40 @@
 			notifyFilterChanged();
 		}
 	}
-
-	public function clone():BitmapFilter
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+     * @private
+     * Notify of a change to our filter, so that filter stack is ultimately
+     * re-applied by the framework.
+     */
+	private function notifyFilterChanged():void
+	{
+		dispatchEvent(new Event(Event.CHANGE));
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  IFlexBitmapFilter
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Creates a flash.filters.ConvolutionFilter instance using the current
+	 *  property values.
+	 *
+	 *  @return flash.filters.ConvolutionFilter instance
+	 */
+	public function createBitmapFilter():BitmapFilter
 	{
 		return new flash.filters.ConvolutionFilter(matrixX, matrixY, matrix, divisor,
 												   bias, preserveAlpha, clamp, color,
 												   alpha);
 	}
-
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 18514
Author:   dthakkar@adobe.com
Date:     2010-11-10T00:38:39.528767Z

Log Message:
-----------
QE notes: Some testcases in spark formatters are failing because of behavior change. These testcases are excluded prior to submission. Globalization QE team has been informed about this.
Doc notes: Spark Formatters ASDocs are updated and also added samples for the spark formatters.
Bugs: SDK-28145, SDK-28345 ,SDK-28320 ,SDK-28287,SDK-28314
Reviewer: Gordon , Craig, Masa, Xie
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/MatchingCollatorExample.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/NumberValidatorTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/CurrencyValidatorTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/NumberValidatorTests.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/CurrencyValidatorTests.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/NumberFormatterExample1.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/CurrencyFormatterExample1.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/bundles/en_US/validators.properties</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/SortingCollator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/SortingCollatorExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/StringToolsExample.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/validators/IValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/NumberValidatorBase.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationValidatorBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/NumberFormatterExample2.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/CurrencyFormatterExample2.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/NumberValidator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/validators/Validator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/GlobalizationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/formatters/IFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/DateTimeFormatterExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/LastOperationStatus.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberFormatterBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/MatchingCollator.as</path>

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

--- frameworks/projects/spark/src/spark/globalization/StringTools.as
+++ frameworks/projects/spark/src/spark/globalization/StringTools.as
@@ -27,19 +27,21 @@
  *
  *
This class is a wrapper class around the
  *  flash.globalization.StringTools.
- *  Therefore the case conversion functionality is provided by the
+ *  Therefore, the case conversion functionality is provided by the
  *  flash.globalization.StringTools class.
- *  However this StringTools class can be used in MXML
+ *  However, this StringTools class can be used in MXML
  *  declartions, uses the locale style for the requested Locale ID name, and
  *  has methods and properties that are bindable.
- *  Additionally events are generated if there is an error or warning
+ *  Additionally, events are generated if there is an error or warning
  *  generated by the flash.globalization class.

  *
- *
The flash.globalization.StringTools class use the
+ *
The flash.globalization.StringTools class uses the
  *  underlying operating system for the case conversion functionality and
- *  On some operating systems, the flash.globalization classes
+ *  on some operating systems, the flash.globalization classes
  *  are unsupported, this wrapper class provides fallback that makes use of
  *  the case conversion provided by the String class.

+ *
+ *  @includeExample examples/StringToolsExample.mxml
  *
  *  @see flash.globalization.StringTools
  */
@@ -61,11 +63,12 @@
      *  The locale style can be set in several ways:
      *
      *

-     *
Inheriting the style from a UIComponent by calling the
+     *
Inheriting the style from a UIComponent by calling the
      *  UIComponent's addStyleClient method.

      *
      *
By using the class in an MXML declaration and inheriting the
      *  locale from the document that contains the declaration.
+     *  Example:
      *  <listing version="3.0">
      *  <fx:Declarations>
      *         <s:StringTools id="st" />
@@ -75,6 +78,7 @@
      *
      *
By using an MXML declaration and specifying the locale value in
      *  the list of assignments.
+     *  Example:
      *  <listing version="3.0">
      *  <fx:Declarations>
      *      <s:StringTools id="st_turkish" locale="tr-TR" />
@@ -87,16 +91,17 @@
      *

      *
      *
If the locale style is not set by one of the above techniques, the
-     *  methods of this class that depend on the locale will throw an
-     *  error.

+     *  methods of this class that depend on the locale will set a
+     *  lastOperationStatus to LOCALE_UNDEFINED_ERROR.
+     *

      *
      *  @see flash.globalization.StringTools
-     *  @see mx.core.UIComponent.addStyleClient
-     *
-     *  @playerversion Flash 10.1
-     *  @langversion 3.0
-     *  @productversion Flex 4.5
-     *  @productversion Flash CS5
+     *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function StringTools()
     {
@@ -134,9 +139,9 @@
      *  @see flash.globalization.StringTools.actualLocaleIDName
      *  @see #StringTools()
      *
-     *  @playerversion Flash 10.1
-     *  @langversion 3.0
-     *  @productversion Flash CS5
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     override public function get actualLocaleIDName():String
@@ -165,9 +170,9 @@
     /**
      *  @inheritDoc
      *
-     *  @playerversion Flash 10.1
-     *  @langversion 3.0
-     *  @productversion Flash CS5
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     override public function get lastOperationStatus():String
@@ -241,7 +246,7 @@
     /**
      *  Converts a string to lowercase according to language conventions.
      *
-     *  Depending on the locale, the output strin length can differ from the
+     *  Depending on the locale, the output string length can differ from the
      *  input string length.
      *
      *  @param s String to convert to lowercase.
@@ -249,10 +254,10 @@
      *
      *  @see StringTools
      *
-     *  @playerversion Flash 10.1
-     *  @langversion 3.0
-     *  @productversion Flex 4.5
-     *  @productversion Flash CS5
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function toLowerCase(s:String):String
     {
@@ -276,7 +281,7 @@
     /**
      *  Converts a string to uppercase according to language conventions.
      *
-     *  Depending on the locale, the output strin length can differ from the
+     *  Depending on the locale, the output string length can differ from the
      *  input string length.
      *
      *  @param s String to convert to uppercase.
@@ -284,10 +289,10 @@
      *
      *  @see StringTools
      *
-     *  @playerversion Flash 10.1
-     *  @langversion 3.0
-     *  @productversion Flex 4.5
-     *  @productversion Flash CS5
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function toUpperCase(s:String):String
     {
@@ -307,11 +312,11 @@
     }

     /**
-     *  @copy spark.utils.Collator#getAvailableLocaleIDNames
-     *
-     *  @playerversion Flash 10.1
-     *  @langversion 3.0
-     *  @productversion Flash CS5
+     *  @copy spark.globalization.SupportedClasses.CollatorBase#getAvailableLocaleIDNames
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public static function getAvailableLocaleIDNames():Vector.<String>


Transferred from the Adobe Open Source Subversion Repository

Revision: 11151
Author:   klin@adobe.com
Date:     2009-10-26T17:41:10.135655Z

Log Message:
-----------
Various bug fixes.

Button.as
-Added some ASDocs for a previous fix where we made the icons property protected instead of private.

Skins.properties, components.properties, sparkEffects.properties
-Removed “Fx” prefix and cleaned up whitespace

SwatchPanel.as, defaults.css
-ColorPicker was drawing incorrectly with sparkskins because two halo specific styles were missing in the spark theme. Thus, I included highlightColor and shadowColor into the spark theme and added them to defaults.css.

TitleWindowSkin.mxml, wireframe/TitleWindowSkin.mxml
-The label skin part came too close to the close button so I added padding

DataGrid.as
-Added exclude metadata for columnWidth
-Column widths are now rounded down to avoid sub-pixel values in the initial rendering

QE notes: None
Doc notes: None
Bugs: SDK-23057, SDK-23695, SDK-23576, SDK-23791, SDK-22733, SDK-22757
Reviewer: Glenn
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/bundles/en_US/components.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TitleWindowSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/TitleWindowSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/bundles/en_US/sparkEffects.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/bundles/en_US/skins.properties</path>

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

--- frameworks/projects/mx/src/mx/controls/Button.as
+++ frameworks/projects/mx/src/mx/controls/Button.as
@@ -745,19 +745,21 @@
     mx_internal var currentSkin:IFlexDisplayObject;

     /**
-     *  @private
-     *  Skins for the various states (falseUp, trueOver, etc.)
-     *  are created just-in-time as they are needed.
-     *  Each icon is a child Sprite of this Button.
-     *  Each icon has a name property indicating which icon it is;
-     *  for example, the instance of the class specified by the falseUpIcon
+	 *  The icons array contains references to all icons
+	 *  that have been created. Since each icon is a child
+	 *  Sprite of this button, we need this array to keep
+	 *  track of which children are icons. Each icon has a
+	 *  name property indicating which icon it is; for example,
+	 *  the instance of the class specified by the falseUpIcon
      *  style has the name "falseUpIcon" and can be found using
      *  getChildByName(). Note that there is no falseUpIcon property
      *  of Button containing a reference to this icon instance.
-     *  This array contains references to all icons that have been created,
-     *  for looping over them; without this array we wouldn't know
-     *  which of the children are the icons.
      *  New icons are created and added to this array in viewIcon().
+	 *
+	 *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var icons:Array /* of Sprite */ = [];


Transferred from the Adobe Open Source Subversion Repository

Revision: 8679
Author:   jimurphy@adobe.com
Date:     2009-07-20T13:23:31.007823Z

Log Message:
-----------
These are Asdoc edit from 3.x rev 8623.  I somehow missed committing these when they were supposed to be committed during my previous merge.

bug: no
qa: no
doc: no
checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Consumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/CallResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ConfigMap.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/XMLLoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/IResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Producer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/IResponder.as
+++ frameworks/projects/rpc/src/mx/rpc/IResponder.as
@@ -27,30 +27,19 @@
 	 *  This method is called by a service when the return value
 	 *  has been received.
 	 *  While data is typed as Object, it is often
-	 *  (but not always) an mx.rpc.events.ResultEvent.
+     *  (but not always) an mx.rpc.events.ResultEvent object.
          *
-         * @param data Although typed as Object, data is often (but not always)
-         * an mx.rpc.events.ResultEvent.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @param data Contains the information returned from the request.
 	 */
 	function result(data:Object):void;

 	/**
 	 *  This method is called by a service when an error has been received.
 	 *  While info is typed as Object it is often
-	 *  (but not always) an mx.rpc.events.FaultEvent.
+     *  (but not always) an mx.rpc.events.FaultEvent object.
          *
-         * @param info Although typed as Object, info is often (but not always)
-         * an mx.rpc.events.FaultEvent.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @param info Contains the information about the error that
+     *  occured.
 	 */
 	function fault(info:Object):void;
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5099
Author:   gauravj@adobe.com
Date:     2009-02-27T03:43:02.639229Z

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

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

Modified Paths:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/rpc/xml/Schema.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/Schema.as
@@ -49,6 +49,11 @@
     /**
      * Maps a namespace prefix (as a String) to a
      * Namespace (i.e. this helps to resolve a prefix to a URI).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get namespaces():Object
     {
@@ -68,6 +73,11 @@
      * scope for the collection of type definitions and element declarations
      * to distinguish them from in-built XML Schema types and other collections
      * of types.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get targetNamespace():Namespace
     {
@@ -82,6 +92,11 @@
     /**
      * Constants for the particular version of XML Schema that was used
      * to define this Schema.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get schemaConstants():SchemaConstants
     {
@@ -95,6 +110,11 @@
     /**
      * Datatype constants for the particular version of XML Schema that was
      * used to define this Schema.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get schemaDatatypes():SchemaDatatypes
     {
@@ -107,6 +127,11 @@

     /**
      * The raw XML definition of this Schema.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get xml():XML
     {
@@ -175,6 +200,11 @@

         2. Also, check that the schema being added does not cause a cyclic
         relationship.
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 9
+    *  @playerversion AIR 1.1
+    *  @productversion Flex 3
     */
     public function addImport(targetNamespace:Namespace, schema:Schema):void
     {


fix possible endless loop

fix possible endless loop

--- kdp3Lib/src/com/kaltura/kdpfl/view/media/KMediaPlayerMediator.as
+++ kdp3Lib/src/com/kaltura/kdpfl/view/media/KMediaPlayerMediator.as
@@ -888,10 +888,10 @@
 				else
 				{
 					_changeMediaOccur = false;
-					player.addEventListener(MediaPlayerCapabilityChangeEvent.CAN_PLAY_CHANGE,function(event:Event):void
+					player.addEventListener(MediaPlayerCapabilityChangeEvent.CAN_PLAY_CHANGE,function(event:MediaPlayerCapabilityChangeEvent):void
 					{

-						if (!_changeMediaOccur)
+						if (!_changeMediaOccur && event.enabled)
 						{
 							sendNotification(NotificationType.DO_PLAY);
 						}


Transferred from the Adobe Open Source Subversion Repository

Revision: 18259
Author:   deeptika@adobe.com
Date:     2010-10-21T09:02:19.811454Z

Log Message:
-----------
Automation support for item-editing, column resize and header clicks in spark DG
(New xml should be taken from changelist 290001 in perforce)

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/tabularData/SparkDataGridTabularData.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkUITextFieldGridItemRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/manifest_automation_spark.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkComboBoxAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/AutomationSparkClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkDefaultGridHeaderRendererAutomationImpl.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/gridClasses</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/SparkRichEditableTextAutomationHelper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkDropDownListBaseAutomationImpl.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/gridClasses/SparkGridItemRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkDataGridAutomationImpl.as</path>

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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkUITextFieldGridItemRendererAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkUITextFieldGridItemRendererAutomationImpl.as
@@ -0,0 +1,118 @@
+package spark.automation.delegates.skins.spark
+{
+	import flash.display.DisplayObject;
+
+	import mx.automation.Automation;
+	import mx.automation.delegates.core.UITextFieldAutomationImpl;
+	import mx.core.mx_internal;
+
+	import spark.skins.spark.UITextFieldGridItemRenderer;
+
+	use namespace mx_internal;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines methods and properties required to perform instrumentation for the
+	 *  UITextFieldGridItemRenderer class for spark.
+	 *
+	 *  @see spark.skins.spark.UITextFieldGridItemRenderer
+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 4
+	 */
+	public class SparkUITextFieldGridItemRendererAutomationImpl extends UITextFieldAutomationImpl
+	{
+		include "../../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 4
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(spark.skins.spark.UITextFieldGridItemRenderer, SparkUITextFieldGridItemRendererAutomationImpl);
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Constructor
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Constructor.
+		 * @param obj UITextFieldGridItemRenderer object to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 4
+		 */
+		public function SparkUITextFieldGridItemRendererAutomationImpl(obj:UITextFieldGridItemRenderer)
+		{
+			super(obj);
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Variables
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  @private
+		 *  storage for the owner component
+		 */
+		protected function get gridItem():spark.skins.spark.UITextFieldGridItemRenderer
+		{
+			return uiTextField as spark.skins.spark.UITextFieldGridItemRenderer;
+		}
+
+
+		//--------------------------------------------------------------------------
+		//
+		//  Overridden properties
+		//
+		//--------------------------------------------------------------------------
+
+		//----------------------------------
+		//  automationName
+		//----------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function get automationName():String
+		{
+			return gridItem.label|| super.automationName;
+		}
+
+		//----------------------------------
+		//  automationValue
+		//----------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function get automationValue():Array
+		{
+			return [automationName];
+		}
+	}
+}