Transferred from the Adobe Open Source Subversion Repository

Revision: 20329
Author:   klin@adobe.com
Date:     2011-02-15T22:29:36.562117Z

Log Message:
-----------
Fix double click event dispatching in Grid. Similar to fixing the click event, FP's double click doesn't account for the case where we might have display objects changing beneath so Grid should not listen for the FP's double click. Instead, we just check if the second click is within a certain time span.

Also, fix typo in SandboxMouseEvent and remove outdated TODO from FormLayout.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/FormLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/FormLayout.as
+++ frameworks/projects/spark/src/spark/layouts/FormLayout.as
@@ -324,10 +324,9 @@
                     columnMaxWidths[j] = 0;
             }

-            // TODO (jszeto) grab this error message from a resource bundle
+            // TODO (jszeto): grab this error message from a resource bundle
             if (lastColumnCount != colWidths.length)
                 throw new Error("The Form must have form items with the same number of constraint columns");
-            // TODO add logic to throw RTE if column lengths don't match

             for (var k:int = 0; k < colWidths.length; k++)
             {


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

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3734
Author:   pfarland@adobe.com
Date:     2008-10-18T05:13:34.132420Z

Log Message:
-----------
Fixing advanced CSS descendant selectors for the alpha release.

- We now check descendant types against any superclass.

- Removed StyleProtoChain.getClassStyleDeclarations()'s recursive "Class" lookup for each superclass of an IStyleClient during the search for type selectors in the hierarchy. This was replaced with a simple describeType-based description (called once per type).

- Added a method to report whether any advanced styles had been registered with the StyleManager to optimize style declaration matching for the default case of simple style declarations.

- Removed advanced selector cache key calculation from StyleProtoChain in favor of the legacy simple type level cache. Future work may be required to cache advanced, display list sensitive style information.

- Fixed the specificity calculation for global selectors.

QE: Yes
Doc: No.
Checkintests: Pass
mxunit styles tests: Pass
select mustella styles tests: Pass
Reviewer: Glenn

Bugs:
SDK-17351 - [Advanced CSS] Descendant selectors don't work for Application
SDK-17361 - [Advanced CSS] If you use descendant and id selectors together, the id selector doesn't work correctly
SDK-17385 - [Advanced CSS] If you use descendant and class selectors together, the class selector doesn't work correctly

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/NameUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</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/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager3.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>

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

--- frameworks/projects/framework/src/mx/utils/NameUtil.as
+++ frameworks/projects/framework/src/mx/utils/NameUtil.as
@@ -136,7 +136,11 @@
      */
     public static function getUnqualifiedClassName(object:Object):String
     {
-        var name:String = getQualifiedClassName(object);
+        var name:String;
+        if (object is String)
+            name = object as String;
+        else
+            name = getQualifiedClassName(object);

         // If there is a package name, strip it off.
         var index:int = name.indexOf("::");
@@ -145,7 +149,6 @@

         return name;
     }
-
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3057
Author:   jimurphy@adobe.com
Date:     2008-09-02T15:18:38.819662Z

Log Message:
-----------
Merged 3.0.x revisions [2966,2969,2995,3004,3018-3019,3023,3029-3030,3046,3049,3052] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ModalWindowRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as" copyfrom-rev="3052" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/PopUpRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SizeRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InterManagerRequest.as" copyfrom-rev="3052" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterManagerRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FocusRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDL.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/dividedBoxClasses/BoxDivider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxRootDragEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.as" copyfrom-rev="3052" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxRootRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/EventUtil.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxRootMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as</path>

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

--- frameworks/projects/mx/src/mx/containers/DividedBox.as
+++ frameworks/projects/mx/src/mx/containers/DividedBox.as
@@ -967,7 +967,8 @@

 		computeMinAndMaxDelta();

-		systemManager.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, true);
+		systemManager.getSandboxRoot().addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, true);
+		systemManager.deployMouseShields(true);
 	}

 	/**
@@ -1055,11 +1056,15 @@

 	/**
 	 *  @private
+	 *
+	 *  @param trigger May be null if the event is not a MouseEvent but
+	 *  a mouse event from another sandbox.
 	 */
 	mx_internal function stopDividerDrag(divider:BoxDivider,
                                          trigger:MouseEvent):void
 	{
-		dragDelta = limitDelta(getMousePosition(trigger) - dragStartPosition);
+	    if (trigger)
+		  dragDelta = limitDelta(getMousePosition(trigger) - dragStartPosition);

 		var event:DividerEvent =
             new DividerEvent(DividerEvent.DIVIDER_RELEASE);
@@ -1083,7 +1088,8 @@
 		}

 		resetDividerTracking();
-		systemManager.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, true);
+		systemManager.getSandboxRoot().removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, true);
+        systemManager.deployMouseShields(false);
 	}

 	/**


Transferred from the Adobe Open Source Subversion Repository

Revision: 17370
Author:   klin@adobe.com
Date:     2010-08-18T22:37:24.607666Z

Log Message:
-----------
Fix for two DataGrid bugs.

-Use preferredHeight/Width for column and row separators instead of 1. This fixes the separators being crooked when the stroke's weight is greater than one.
-Added clearGridLayoutCache() method to Grid which is used by Grid and GridColumn to clear the layout's renderers and grid dimensions cache.

QE notes: No
Doc notes: No
Bugs: SDK-27421, SDK-27446
Reviewer: Hans
Tests run: checkintests, DataGrid
Is noteworthy for integration: No

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

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -2752,17 +2752,7 @@
                     gridSelection.requireSelection = savedRequireSelection;
                 }

-                gridLayout.clearVirtualLayoutCache();
-
-                if (gridDimensions)
-                {
-                    gridDimensions.clear();
-                    // clearing the gridDimensions resets rowCount
-                    if (_dataProvider)
-                        gridDimensions.rowCount = _dataProvider.length;
-                    if (columnsChanged && _columns)
-                        gridDimensions.columnCount = _columns.length;
-                }
+                clearGridLayoutCache(false);

                 if (!caretChanged)
                     initializeCaretPosition();
@@ -3440,6 +3430,29 @@

         /**
          *  @private
+         *  Clears the layout's renderers and cached sizes. Also clears
+         *  the typical item's size if clearTypicalSizes is true.
+         */
+        mx_internal function clearGridLayoutCache(clearTypicalSizes:Boolean):void
+        {
+            gridLayout.clearVirtualLayoutCache();
+
+            if (gridDimensions)
+            {
+                if (clearTypicalSizes)
+                    gridDimensions.clearTypicalCellWidthsAndHeights();
+
+                gridDimensions.clear();
+                // clearing the gridDimensions resets rowCount
+                if (_dataProvider)
+                    gridDimensions.rowCount = _dataProvider.length;
+                if (_columns)
+                    gridDimensions.columnCount = _columns.length;
+            }
+        }
+
+        /**
+         *  @private
          */
         private function initializeCaretPosition():void
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17316
Author:   klin@adobe.com
Date:     2010-08-13T19:04:51.716189Z

Log Message:
-----------
Fix batch of bugs in DataGrid and also add basic border and background styles.

DataGrid.as - Added style metadata for borderAlpha, borderColor, borderVisible, contentBackgroundAlpha, and contentBackgroundColor.
Grid.as - Add backing variable for variableRowHeight so it doesn't depend on gridDimensions.fixedRowHeight anymore.
GridLayout.as - Modified updateTypicalCellSizes() to set the fixedRowHeight to the maximum height of the typical cells when no rowHeight is set and variableRowHeight is false. Also, measuredHeight is now calculated only using the typical item instead of the content.
GridDimensions.as - Added getTypicalContentHeight() for GridLayout to calculate the measuredHeight. Also, we now reset the data structure when the columnCount is 0.
GridColumn.as - Invalidate the grid when dataField and labelFunction are set.
GridEvent.as - Fixed misspelled event constants.
DataGridSkin.mxml - Changed background color to white, caret color to dark blue, and removed the rowBackground.

QE notes: No
Doc notes: No
Bugs: SDK-26895, SDK-26897, SDK-26934, SDK-27166, SDK-27170, SDK-27176, SDK-27216, SDK-27264
Reviewer: Hans
Tests run: checkintests, DataGrid
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridDimensions.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DataGridSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -1888,7 +1888,9 @@
         //  variableRowHeight
         //----------------------------------

-        [Bindable("variableRowHeightChanged")]
+        private var _variableRowHeight:Boolean = true;
+
+        [Bindable("variableRowHeightChanged")]

         /**
          *  If true, each row's height is the maximum of preferred heights of the cells displayed so far.
@@ -1904,7 +1906,7 @@
          */
         public function get variableRowHeight():Boolean
         {
-            return isNaN(gridDimensions.fixedRowHeight);
+            return _variableRowHeight;
         }

         /**
@@ -1915,7 +1917,7 @@
             if (value == variableRowHeight)
                 return;

-            gridDimensions.fixedRowHeight = (value) ? NaN : rowHeight;
+            _variableRowHeight = value;

             invalidateSize();
             invalidateDisplayList();


Transferred from the Adobe Open Source Subversion Repository

Revision: 16729
Author:   hmuller@adobe.com
Date:     2010-06-29T22:37:23.013026Z

Log Message:
-----------
The following changes apply to Spark DataGrid only.   Code reviews have been deferred until the implementation is closer to completion.

Added Grid requestedRowCount, requestedColumnCount, requestedMinRowCount, requestedMinColumnCount properties.   They're similar to the Vertical,HorizontalLayout properties of the same name and are used by GridLayout/measure().   Added covers for same to DataGrid and made requestedRowCount=10 by default.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridDimensions.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/GridContainerBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ColumnHeaderBarLayout.as</path>

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -963,6 +963,175 @@
         {
             gridSelection.preserveSelection = value;
         }
+
+
+		//----------------------------------
+		//  requestedMinRowCount
+		//----------------------------------
+
+		private var _requestedMinRowCount:int = -1;
+
+		[Inspectable(category="General", minValue="-1")]
+
+		/**
+		 *  The measured height of this grid will be large enough to display
+		 *  at least requestedMinRowCount rows.
+		 *
+		 *
If requestedRowCount is set, then
+		 *  this property has no effect.

+		 *
+		 *
If the actual size of the grid has been explicitly set,
+		 *  then this property has no effect.

+		 *
+		 *  @default -1
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10
+		 *  @playerversion AIR 1.5
+		 *  @productversion Flex 4.5
+		 */
+		public function get requestedMinRowCount():int
+		{
+			return _requestedMinRowCount;
+		}
+
+		/**
+		 *  @private
+		 */
+		public function set requestedMinRowCount(value:int):void
+		{
+			if (_requestedMinRowCount == value)
+				return;
+
+			_requestedMinRowCount = value;
+			invalidateSize();
+		}
+
+		//----------------------------------
+		//  requestedRowCount
+		//----------------------------------
+
+		private var _requestedRowCount:int = -1;
+
+		[Inspectable(category="General", minValue="-1")]
+
+		/**
+		 *  The measured height of this grid will be large enough to display
+		 *  the first requestedRowCount rows.
+		 *
+		 *
If requestedRowCount is -1, then the measured
+		 *  size will be big enough for all of the layout elements.

+		 *
+		 *
If the actual size of the grid has been explicitly set,
+		 *  then this property has no effect.

+		 *
+		 *  @default -1
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10
+		 *  @playerversion AIR 1.5
+		 *  @productversion Flex 4
+		 */
+		public function get requestedRowCount():int
+		{
+			return _requestedRowCount;
+		}
+
+		/**
+		 *  @private
+		 */
+		public function set requestedRowCount(value:int):void
+		{
+			if (_requestedRowCount == value)
+				return;
+
+			_requestedRowCount = value;
+            invalidateSize();
+		}
+
+
+		//----------------------------------
+		//  requestedMinColumnCount
+		//----------------------------------
+
+		private var _requestedMinColumnCount:int = -1;
+
+		[Inspectable(category="General", minValue="-1")]
+
+		/**
+		 *  The measured width of this grid will be large enough to display
+		 *  at least requestedMinColumnCount columns.
+		 *
+		 *
If requestedColumnCount is set, then
+		 *  this property has no effect.

+		 *
+		 *
If the actual size of the grid has been explicitly set,
+		 *  then this property has no effect.

+		 *
+		 *  @default -1
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10
+		 *  @playerversion AIR 1.5
+		 *  @productversion Flex 4.5
+		 */
+		public function get requestedMinColumnCount():int
+		{
+			return _requestedMinColumnCount;
+		}
+
+		/**
+		 *  @private
+		 */
+		public function set requestedMinColumnCount(value:int):void
+		{
+			if (_requestedMinColumnCount == value)
+				return;
+
+			_requestedMinColumnCount = value;
+	        invalidateSize();
+		}
+
+		//----------------------------------
+		//  requestedColumnCount
+		//----------------------------------
+
+		private var _requestedColumnCount:int = -1;
+
+		[Inspectable(category="General", minValue="-1")]
+
+		/**
+		 *  The measured width of this grid will be large enough to display
+		 *  the first requestedColumnCount columns.
+		 *  If requestedColumnCount is -1, then the measured
+		 *  width will be big enough for all of the columns.
+		 *
+		 *
If the actual size of the grid has been explicitly set,
+		 *  then this property has no effect.

+		 *
+		 *  @default -1
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 10
+		 *  @playerversion AIR 1.5
+		 *  @productversion Flex 4.5
+		 */
+		public function get requestedColumnCount():int
+		{
+			return _requestedColumnCount;
+		}
+
+		/**
+		 *  @private
+		 */
+		public function set requestedColumnCount(value:int):void
+		{
+			if (_requestedColumnCount == value)
+				return;
+
+			_requestedColumnCount = value;
+		    invalidateSize();
+		}

         //----------------------------------
         //  requireSelection
@@ -1283,7 +1452,7 @@
         }

         //----------------------------------
-        //  selection for rows and TBD columns
+        //  selection for rows
         //----------------------------------

         /**
@@ -1872,10 +2041,10 @@

         //--------------------------------------------------------------------------
         //
-        //  GridLayout Cover Methods
+        //  GridLayout Cover Methods, Properties
         //
         //--------------------------------------------------------------------------
-
+
         /**
          *  @copy spark.components.supportClasses.GridLayout#getVisibleRowIndices()
          *
@@ -2060,7 +2229,7 @@
         private function getGridColumn(columnIndex:int):GridColumn
         {
             const columns:IList = columns;
-            if ((columns == null) || (columnIndex >= columns.length))
+            if ((columns == null) || (columnIndex <= 0) || (columnIndex >= columns.length))
                 return null;

             return columns.getItemAt(columnIndex) as GridColumn;


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

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

 package mx.managers
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 1584
Author:   dloverin@adobe.com
Date:     2008-05-06T21:21:05.357014Z

Log Message:
-----------
FocusManager will work with one level of children. A child can be a normal application load, a compatible application, or an untrusted application.

Added some new methods check access rights to:
IChildAccess
IParentAccess
ISandboxBridgeAccess

Fixed exception in ScrollThumb.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/events/SandboxBridgeEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/core/ProxyEventDispatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/sandbox/IParentAccess.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/sandbox/ISandboxBridgeAccess.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/sandbox/SandboxBridgeGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/events/SandboxBridgeRequest.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/sandbox/IChildAccess.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollThumb.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as
+++ frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as
@@ -228,8 +228,11 @@
 									  _systemManager.sandboxBridgeGroup.parentBridge : null;
 		if (bridge)
 		{
-			var bridgeEvent:SandboxBridgeEvent = new SandboxBridgeEvent(SandboxBridgeEvent.ACTIVATE_WINDOW);
-			bridgeEvent.data = this;
+			var bridgeEvent:SandboxBridgeEvent = new SandboxBridgeEvent(SandboxBridgeEvent.ACTIVATE_WINDOW,
+																		false,
+																		false,
+																		_systemManager.sandboxBridgeGroup.parentBridge,
+																		this);
 			bridge.dispatchEvent(bridgeEvent);
 		}
 	}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/skins/halo/DefaultDragImage.as
+++ frameworks/projects/framework/src/mx/skins/halo/DefaultDragImage.as
@@ -20,6 +20,11 @@
  *  The default drag proxy image for a drag and drop operation.
  *
  *  @see mx.managers.DragManager
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class DefaultDragImage extends SpriteAsset implements IFlexDisplayObject
 {
@@ -33,6 +38,11 @@

 	/**
 	 *  Constructor.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function DefaultDragImage()
 	{


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

--- frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as
@@ -58,9 +58,9 @@
      *  connected and begins polling, it will issue a poll request once every three seconds
      *  by default.
      *
- 	 *  Note: The PollingChannel type should not be constructed directly. Instead
+     *
Note: The PollingChannel type should not be constructed directly. Instead
 	 *  create instances of protocol specific subclasses such as HTTPChannel or
-	 *  AMFChannel that extend it.
+     *  AMFChannel that extend it.

      *
 	 *  @param id The id of this Channel.
 	 *


Transferred from the Adobe Open Source Subversion Repository

Revision: 12062
Author:   smgilson@adobe.com
Date:     2009-11-20T20:27:52.148318Z

Log Message:
-----------
Fix for FLEXDOCS-1033 - hasFocusableChildren and tabChildren properties sound very similar, but only hasFocusableChildren works as expected, tabChildren is ignored

And a localization issue, FLEXDOCS-1119

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/BaseListData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.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/core/IDisplayObjectContainerInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as
+++ frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as
@@ -148,26 +148,7 @@
     [Inspectable(defaultValue="true")]

     /**
-     *  A flag that indicates whether child objects can receive focus
-     *
-     *
This is similar to the tabChildren property
-     *  used by the Flash Player.

-     *
-     *
This is usually false because most components
-     *  either receive focus themselves or delegate focus to a single
-     *  internal sub-component and appear as if the component has
-     *  received focus.  For example, a TextInput contains a focusable
-     *  child RichEditableText control, but while the RichEditableText
-     *  sub-component actually receives focus, it appears as if the
-     *  TextInput has focus.  TextInput sets hasFocusableChildren
-     *  to false because TextInput is considered the
-     *  component that has focus.  Its internal structure is an
-     *  abstraction.

-     *
-     *
Usually only navigator components like TabNavigator and
-     *  Accordion have this flag set to true because they
-     *  receive focus on Tab but focus goes to components in the child
-     *  containers on further Tabs

+     *  @copy mx.core.UIComponent#hasFocusableChildren
      *
      *  @default false
      *


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/binding/BindingManager.as
+++ frameworks/projects/framework/src/mx/binding/BindingManager.as
@@ -43,6 +43,11 @@
      *  @param destStr The destination field of this binding.
 	 *
      *  @param b The binding itself.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function addBinding(document:Object, destStr:String,
 									  b:Binding):void
@@ -61,6 +66,11 @@
      *  Set isEnabled for all bindings associated with a document.
      *
      *  @param document The document that contains the bindings.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function setEnabled(document:Object, isEnabled:Boolean):void
     {
@@ -85,6 +95,11 @@
 	 *
      *  @param destObj The actual destination object
 	 *  (used for RepeatableBinding).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function executeBindings(document:Object,
                                            destStr:String,
@@ -173,6 +188,11 @@
      *  destination string.
      *
      *  @param destinationString The Binding's destination string.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function debugBinding(destinationString:String):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12339
Author:   clucier@adobe.com
Date:     2009-12-01T22:28:31.107685Z

Log Message:
-----------
Reducing some of the event dispatching noise in the SDK.  Seeing pretty good results in our runtime performance tests and startup times... 5%-15% improvement over all.  This is about all we'll be able to commit to for Flex 4.0.  Added hasEventListener test before dispatching more of our lifecycle events.  Modified compiler binding code-gen to do the same.  Documented all public facing events where applicable to denote that they are no longer capturable by default.

QE notes: No
Doc notes: No
Bugs: SDK-24249
Reviewer: Alex
Tests run: Mustella, Checkin
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/BorderContainerSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.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/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.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/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.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/framework/src/mx/states/State.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableSecondPassEvaluator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableProperty.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/GradientEntry.as
+++ frameworks/projects/framework/src/mx/graphics/GradientEntry.as
@@ -205,8 +205,9 @@
 	private function dispatchEntryChangedEvent(prop:String,
 											   oldValue:*, value:*):void
 	{
-		dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, prop,
-															oldValue, value));
+        if (hasEventListener("propertyChange"))
+		    dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, prop,
+				oldValue, value));
 	}
 }


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

--- frameworks/projects/framework/src/mx/logging/AbstractTarget.as
+++ frameworks/projects/framework/src/mx/logging/AbstractTarget.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.logging
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 9033
Author:   jszeto@adobe.com
Date:     2009-08-04T00:16:21.093735Z

Log Message:
-----------
MouseWheel behavior in TrackBase and Spinner

http://bugs.adobe.com/jira/browse/SDK-20154 - awkward mouse wheel behavior on Gumbo Sliders

When Slider is in focus, it listens for the mouseWheel event on the systemManager in the capture phase. Added the same support to Spinner (and thus NumericStepper). I decided against moving the functionality into Range because range is an abstract class that has no user interaction code in it. Thus it didn’t seem correct to put mouse handling code into it.

I updated some of the Halo classes to use the preventDefault/isDefaultPrevented functions instead of using stopPropagation in their mouseWheel handlers.

QE notes: Add test cases for Spinner and NumericStepper
Doc notes: Mention mouse wheel support in Spinner and NumericStepper
Bugs: SDK-20157
Reviewer: Hans
Tests run: Spinner, NumericStepper, Slider
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
@@ -9097,9 +9097,8 @@
      */
     override protected function mouseWheelHandler(event:MouseEvent):void
     {
-        if (verticalScrollBar && verticalScrollBar.visible)
-        {
-            event.stopPropagation();
+        if (!event.isDefaultPrevented() && verticalScrollBar && verticalScrollBar.visible)
+        {
             var oldPosition:Number = verticalScrollPosition;
             var newPos:int = verticalScrollPosition;
             newPos -= event.delta * verticalScrollBar.lineScrollSize;
@@ -9114,6 +9113,8 @@
                 scrollEvent.delta = verticalScrollPosition - oldPosition;
                 dispatchEvent(scrollEvent);
             }
+
+            event.preventDefault();
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17051
Author:   dloverin@adobe.com
Date:     2010-07-23T22:08:24.490733Z

Log Message:
-----------
Fix RTE from OSMF when autoPlay="false".

OSMF threw an RTE when the VideoDisplay component made an OSMF api call that changed OSMF's load state from with an OSMF event handler. Changed the code to defer the call of the OSMF api to the next frame.

QE notes: None.
Doc notes: None.
Bugs: SDK-27028
Reviewer: Ryan
Tests run: checkintests
Is noteworthy for integration: No.

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

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

--- frameworks/projects/spark/src/spark/components/VideoDisplay.as
+++ frameworks/projects/spark/src/spark/components/VideoDisplay.as
@@ -2185,7 +2185,7 @@
             }

             // call play(), here, then wait to call pause() and seek(0) in the
-            // dimensionChangeHandler
+            // mediaSizeChangeHandler
             videoPlayer.play();
         }
     }
@@ -2204,12 +2204,11 @@
             {
                 inLoadingState3 = true;

-                // the seek(0) is asynchronous so let's add an event listener to see when it's finsished:
-                videoPlayer.addEventListener(SeekEvent.SEEKING_CHANGE, videoPlayer_seekChangeHandler);
-
-                // called play(), now call pause() and seek(0);
-                videoPlayer.pause();
-                videoPlayer.seek(0);
+                // Don't call pause and seek inside this handler because OSMF is
+                // not expecting us to change its HTTPStreamingState value in
+                // HTTPNetStream.onMainTimer as a result of dispatching this
+                // event (see SDK-27028).
+                callLater(pauseAndSeekCallBack);
             }
             else
             {
@@ -2221,6 +2220,17 @@
         }
     }

+    private function pauseAndSeekCallBack():void
+    {
+        // the seek(0) is asynchronous so let's add an event listener to see when it's finsished:
+        videoPlayer.addEventListener(SeekEvent.SEEKING_CHANGE, videoPlayer_seekChangeHandler);
+
+        // called play(), now call pause() and seek(0);
+        videoPlayer.pause();
+        videoPlayer.seek(0);
+
+    }
+
     /**
      *  @private
      *  Wait until the media is seekable before we call pause() and seek().
@@ -2237,12 +2247,11 @@
             {
                 inLoadingState3 = true;

-                // the seek(0) is asynchronous so let's add an event listener to see when it's finsished:
-                videoPlayer.addEventListener(SeekEvent.SEEKING_CHANGE, videoPlayer_seekChangeHandler);
-
-                // called play(), now call pause() and seek(0);
-                videoPlayer.pause();
-                videoPlayer.seek(0);
+                // Don't call pause and seek inside this handler because OSMF is
+                // not expecting us to change its HTTPStreamingState value in
+                // HTTPNetStream.onMainTimer as a result of dispatching this
+                // event (see SDK-27028).
+                callLater(pauseAndSeekCallBack);
             }
         }
     }


fwr: fix for getServeUrl - add params to url

git-svn-id: 8a2ccb88241e16c78017770bc38d91d6d5396a5a@70978 6b8eccd3-e8c5-4e7d-8186-e12b5326b719

--- generator/sources/as3/com/kaltura/delegates/WebDelegateBase.as
+++ generator/sources/as3/com/kaltura/delegates/WebDelegateBase.as
@@ -294,10 +294,13 @@
 		public function getServeUrl(call:KalturaCall):URLRequest
 		{
 			var url : String = _config.protocol + _config.domain +"/"+_config.srvUrl+"?service="+call.service+"&action="+call.action;
+			for (var key:String in call.args) {
+				url += "&" + key + "=" + call.args[key];
+			}
 			var req:URLRequest = new URLRequest( url );
 			req.contentType = "application/x-www-form-urlencoded";
 			req.method = call.method;
-			req.data = call.args;
+//			req.data = call.args;
 			return req;
 		}
 	}


remove useless (and broken) call to lightLocalToWorldTransformChangedHandler() in LightController.lightRemovedFromScene()

--- src/aerys/minko/scene/controller/light/LightController.as
+++ src/aerys/minko/scene/controller/light/LightController.as
@@ -102,7 +102,6 @@

 		protected function lightRemovedFromScene(scene : Scene) : void
 		{
-            lightLocalToWorldTransformChangedHandler(_light, null);
             _light.localToWorldTransformChanged.remove(lightLocalToWorldTransformChangedHandler);

 			sortLights(scene);


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/sliderClasses/SliderThumb.as
+++ frameworks/projects/mx/src/mx/controls/sliderClasses/SliderThumb.as
@@ -0,0 +1,367 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2004-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.controls.sliderClasses
+{
+
+import flash.events.KeyboardEvent;
+import flash.events.MouseEvent;
+import flash.geom.Point;
+import flash.ui.Keyboard;
+import mx.controls.Button;
+import mx.controls.ButtonPhase;
+import mx.core.mx_internal;
+import mx.events.SliderEvent;
+
+use namespace mx_internal;
+
+/**
+ *  The SliderThumb class represents a thumb of a Slider control.
+ *  The SliderThumb class can only be used within the context
+ *  of a Slider control.
+ *  You can create a subclass of the SliderThumb class,
+ *  and use it with a Slider control by setting the thumbClass
+ *  property of the Slider control to your subclass.
+ *
+ *  @see mx.controls.HSlider
+ *  @see mx.controls.VSlider
+ *  @see mx.controls.sliderClasses.Slider
+ *  @see mx.controls.sliderClasses.SliderDataTip
+ *  @see mx.controls.sliderClasses.SliderLabel
+ */
+public class SliderThumb extends Button
+{
+	include "../../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 */
+	public function SliderThumb()
+	{
+		super();
+
+		stickyHighlighting = true;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  The zero-based index number of this thumb.
+	 */
+	mx_internal var thumbIndex:int;
+
+	/**
+	 *  @private
+	 *  x-position offset.
+	 */
+	private var xOffset:Number;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  x
+	//----------------------------------
+
+	/**
+	 *  @private
+	 *  Handle changes to the x-position value of the thumb.
+	 */
+	override public function set x(value:Number):void
+	{
+		var result:Number = moveXPos(value);
+
+		updateValue();
+
+		super.x = result;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  xPosition
+	//----------------------------------
+
+	/**
+	 *  Specifies the position of the center of the thumb on the x-axis.
+	 */
+	public function get xPosition():Number
+	{
+		return $x + width / 2;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function set xPosition(value:Number):void
+	{
+		$x = value - width / 2;
+
+		Slider(owner).drawTrackHighlight();
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: UIComponent
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function measure():void
+	{
+		super.measure();
+
+		measuredWidth = 12;
+		measuredHeight = 12;
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function drawFocus(isFocused:Boolean):void
+	{
+		phase =  isFocused ? ButtonPhase.DOWN : ButtonPhase.UP;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: Button
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override mx_internal function buttonReleased():void
+	{
+		super.buttonReleased();
+
+		if (enabled)
+		{
+			systemManager.removeEventListener(
+				MouseEvent.MOUSE_MOVE, mouseMoveHandler, true);
+
+			// in case we go offscreen
+			stage.removeEventListener(MouseEvent.MOUSE_MOVE,
+							stage_mouseMoveHandler);
+
+			Slider(owner).onThumbRelease(this);
+		}
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Move the thumb into the correct position.
+	 */
+	private function moveXPos(value:Number,
+                              overrideSnap:Boolean = false,
+                              noUpdate:Boolean = false):Number
+	{
+		var result:Number = calculateXPos(value, overrideSnap);
+
+		xPosition = result;
+
+		if (!noUpdate)
+			updateValue();
+
+		return result;
+	}
+
+	/**
+	 *  @private
+	 *  Ask the Slider if we should be moving into a snap position
+	 *  and make sure we haven't exceeded the min or max position
+	 */
+	private function calculateXPos(value:Number,
+								   overrideSnap:Boolean = false):Number
+	{
+		var bounds:Object = Slider(owner).getXBounds(thumbIndex);
+
+		var result:Number = Math.min(Math.max(value, bounds.min), bounds.max);
+
+		if (!overrideSnap)
+			result = Slider(owner).getSnapValue(result, this);
+
+		return result;
+	}
+
+	/**
+	 *	@private
+	 *	Used by the Slider for animating the sliding of the thumb.
+	 */
+	mx_internal function onTweenUpdate(value:Number):void
+	{
+		moveXPos(value, true, true);
+	}
+
+	/**
+	 *	@private
+	 *	Used by the Slider for animating the sliding of the thumb.
+	 */
+	mx_internal function onTweenEnd(value:Number):void
+	{
+		moveXPos(value);
+	}
+
+	/**
+	 *  @private
+	 *  Tells the Slider to update its value for the thumb based on the thumb's
+	 *  current position
+	 */
+	private function updateValue():void
+	{
+		Slider(owner).updateThumbValue(thumbIndex);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden event handlers: UIComponent
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Handle key presses when focus is on the thumb.
+	 */
+	override protected function keyDownHandler(event:KeyboardEvent):void
+	{
+		var multiThumbs:Boolean = Slider(owner).thumbCount > 1;
+		var currentVal:Number = xPosition;
+		var moveInterval:Number = Slider(owner).snapInterval > 0 ?
+								  Slider(owner).getSnapIntervalWidth() :
+								  1;
+		var isHorizontal:Boolean =
+			Slider(owner).direction == SliderDirection.HORIZONTAL;
+
+		var newVal:Number;
+		if ((event.keyCode == Keyboard.DOWN && !isHorizontal) ||
+			(event.keyCode == Keyboard.LEFT && isHorizontal))
+		{
+			newVal = currentVal - moveInterval;
+		}
+		else if ((event.keyCode == Keyboard.UP && !isHorizontal) ||
+				 (event.keyCode == Keyboard.RIGHT && isHorizontal))
+		{
+			newVal = currentVal + moveInterval;
+		}
+		else if ((event.keyCode == Keyboard.PAGE_DOWN && !isHorizontal) ||
+				 (event.keyCode == Keyboard.HOME && isHorizontal))
+		{
+			newVal = Slider(owner).getXFromValue(Slider(owner).minimum);
+		}
+		else if ((event.keyCode == Keyboard.PAGE_UP && !isHorizontal) ||
+				 (event.keyCode == Keyboard.END && isHorizontal))
+		{
+			newVal = Slider(owner).getXFromValue(Slider(owner).maximum);
+		}
+
+		if (!isNaN(newVal))
+		{
+			event.stopPropagation();
+			//mark last interaction as key
+			Slider(owner).keyInteraction = true;
+			moveXPos(newVal);
+		}
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden event handlers: Button
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function mouseDownHandler(event:MouseEvent):void
+	{
+		super.mouseDownHandler(event);
+
+		if (enabled)
+		{
+			// Store where the mouse is positioned
+			// relative to the thumb when first pressed.
+			xOffset = event.localX;
+
+			systemManager.addEventListener(
+				MouseEvent.MOUSE_MOVE, mouseMoveHandler, true);
+
+			// in case we go offscreen
+			stage.addEventListener(MouseEvent.MOUSE_MOVE,
+							stage_mouseMoveHandler);
+
+			Slider(owner).onThumbPress(this);
+		}
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Event handlers
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Internal function to handle mouse movements
+	 *  when the thumb is in a pressed state
+	 *  We want the thumb to follow the x-position of the mouse.
+	 */
+	private function mouseMoveHandler(event:MouseEvent):void
+	{
+		if (enabled)
+		{
+			var pt:Point = new Point(event.stageX, event.stageY);
+			pt = Slider(owner).innerSlider.globalToLocal(pt);
+
+			// Place the thumb in the correct position.
+			moveXPos(pt.x - xOffset + width / 2, false, true);
+
+			// Callback to the Slider to handle tooltips and update its value.
+			Slider(owner).onThumbMove(this);
+		}
+	}
+
+	private function stage_mouseMoveHandler(event:MouseEvent):void
+	{
+		if (event.target != stage)
+			return;
+
+		mouseMoveHandler(event);
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 11088
Author:   hhillen@paciellogroup.com
Date:     2009-10-22T20:14:16.491190Z

Log Message:
-----------
Spark AccImpl Classes

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextAreaAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SpinnerAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBarAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SliderAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextInputAccImpl.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SkinnableTextBaseAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/DropDownListAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/SpinnerAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/SpinnerAccImpl.as
@@ -0,0 +1,284 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.accessibility
+{
+
+import flash.accessibility.Accessibility;
+import flash.events.Event;
+
+import mx.accessibility.AccImpl;
+import mx.core.UIComponent;
+import mx.core.mx_internal;
+
+import spark.components.Spinner;
+
+use namespace mx_internal;
+
+
+/**
+ *  SpinnerAccImpl is a subclass of AccessibilityImplementation
+ *  which implements accessibility for the Spinner class.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public class SpinnerAccImpl extends AccImpl
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private static const EVENT_OBJECT_VALUECHANGE:uint = 0x800E;
+
+    /**
+     *  @private
+     */
+    private static const EVENT_OBJECT_STATECHANGE:uint = 0x800a;
+
+    /**
+     *  @private
+     */
+    private static const ROLE_SYSTEM_PUSHBUTTON:uint = 0x2B;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Enables accessibility in the Spinner class.
+     *
+     *
This method is called by application startup code
+     *  that is autogenerated by the MXML compiler.
+     *  Afterwards, when instances of Spinner are initialized,
+     *  their accessibilityImplementation property
+     *  will be set to an instance of this class.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static function enableAccessibility():void
+    {
+        Spinner.createAccessibilityImplementation =
+            createAccessibilityImplementation;
+    }
+
+    /**
+     *  @private
+     *  Creates a Spinner's AccessibilityImplementation object.
+     *  This method is called from UIComponent's
+     *  initializeAccessibility() method.
+     */
+    mx_internal static function createAccessibilityImplementation(
+                                component:UIComponent):void
+    {
+        component.accessibilityImplementation =
+            new SpinnerAccImpl(component);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param master The UIComponent instance that this AccImpl instance
+     *  is making accessible.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function SpinnerAccImpl(master:UIComponent)
+    {
+        super(master);
+
+        role = 0x34; //ROLE_SYSTEM_SPINBUTTON
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden properties: AccImpl
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  eventsToHandle
+    //----------------------------------
+
+    /**
+     *  @private
+     *    Array of events that we should listen for from the master component.
+     */
+    override protected function get eventsToHandle():Array
+    {
+        return super.eventsToHandle.concat(["change"]);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: AccessibilityImplementation
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Gets the role for the component.
+     *
+     *  @param childID children of the component
+     */
+    override public function get_accRole(childID:uint):uint
+    {
+        return childID == 0 ? role : ROLE_SYSTEM_PUSHBUTTON;
+    }
+
+     /**
+     *  @private
+     *  Method to return an array of childIDs. For the Spinner component the IDs
+     *  for the decrement and increment buttons are returned.
+     *
+     *  @return Array
+     */
+    override public function getChildIDArray():Array
+    {
+        return createChildIDArray(2);
+    }
+
+    /**
+     *  @private
+     *  IAccessible method for returning the bounding box of the spinbutton parts.
+     *
+     *  @param childID uint
+     *
+     *  @return Location Object
+     */
+    override public function accLocation(childID:uint):*
+    {
+        switch(childID)
+        {
+            case 0:
+            {
+                return master;
+                break;
+            }
+            case 1:
+            {
+                return Spinner(master).incrementButton;
+                break
+            }
+            case 2:
+            {
+                return Spinner(master).decrementButton;
+                break
+            }
+        }
+    }
+
+    /**
+     *  @private
+     *  IAccessible method for returning the state of the SPinner.
+     *  States are predefined for all the components in MSAA.
+     *  Values are assigned to each state.
+     *
+     *  @param childID uint
+     *
+     *  @return State uint
+     */
+    override public function get_accState(childID:uint):uint
+    {
+        var accState:uint = getState(childID);
+        return accState;
+    }
+
+
+    /**
+     *  @private
+     *  IAccessible method for returning the numeric value of the Spinner
+     *
+     *  @param childID uint
+     *
+     *  @return Value String
+     */
+    override public function get_accValue(childID:uint):String
+    {
+        return Spinner(master).value.toString();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden event handlers: AccImpl
+    //
+    //--------------------------------------------------------------------------
+
+     /**
+     *  Returns the name of the accessible component.
+     *  All subclasses must implement this
+     *  instead of implementing get_accName().
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    override protected function getName(childID:uint):String
+    {
+        if (childID == 1)
+            return "More";
+        if (childID == 2)
+            return "Less";
+        else
+            return "";
+    }
+
+    /**
+     *  @private
+     *  Override the generic event handler.
+     *  All AccImpl must implement this
+     *  to listen for events from its master component.
+     */
+    override protected function eventHandler(event:Event):void
+    {
+        // Let AccImpl class handle the events
+        // that all accessible UIComponents understand.
+        $eventHandler(event);
+
+        switch (event.type)
+        {
+            case "change":
+            {
+                Accessibility.sendEvent(master, 0,
+                                        EVENT_OBJECT_VALUECHANGE, true);
+                Accessibility.sendEvent(master, 0,
+                                        EVENT_OBJECT_STATECHANGE, true);
+                break;
+            }
+        }
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 5770
Author:   gruehle@adobe.com
Date:     2009-03-30T20:58:54.529722Z

Log Message:
-----------
Add [Alternative] metadata to the Halo components that have a Gumbo replacement.

Bugs: SDK-20190
QA notes: none
Doc notes: Additional ASDoc comments added for many of the classes. These should all be reviewed.
Reviewer: Chet

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TileList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Zoom.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToggleButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Cubic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/RemoveChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/TweenEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeRight.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quartic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeLeft.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quintic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quadratic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/AddChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeDown.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/SetPropertyAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Blur.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HorizontalList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeUp.as</path>

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

--- frameworks/projects/mx/src/mx/effects/Glow.as
+++ frameworks/projects/mx/src/mx/effects/Glow.as
@@ -15,6 +15,11 @@
 import mx.core.FlexGlobals;
 import mx.effects.effectClasses.GlowInstance;
 import mx.styles.StyleManager;
+
+/**
+ *  In Flex 4, use an AnimateFilter effect with a Glow bitmap filter.
+ */
+[Alternative(replacement="spark.effects.AnimateFilter", since="4.0")]

 /**
  *  The Glow effect lets you apply a visual glow effect to a component.


Added color and alpha managment for Sprite3D particles

--- src/org/flintparticles/threeD/away3d/away4/Away3D4Renderer.as
+++ src/org/flintparticles/threeD/away3d/away4/Away3D4Renderer.as
@@ -117,19 +117,12 @@
 						Mesh( o ).material["alpha"] = particle.alpha;
 					}
 				}
-				else
-				{
-					// can't do color transform
-					// will try alpha - only works if objects have own canvas
-					//@Michael:no alpha property on Object3D
-				//	Object3D( o ).alpha = particle.alpha;
-
-				}
+
 			}

 			// display object rendering

-			else if( o is Sprite3D )
+			if( o is Sprite3D )
 			{
 				Sprite3D( o ).x = particle.position.x;
 				Sprite3D( o ).y = particle.position.y;
@@ -138,12 +131,17 @@
 				Sprite3D( o ).scaleX = particle.scale;
 				Sprite3D( o ).scaleY = particle.scale;
 				Sprite3D( o ).scaleZ = particle.scale;
-
-				///@michael:currently there is no MovieClipSprite class
-				/*if( o is MovieClipSprite )
-				{
-					MovieClipSprite( o ).movieClip.transform.colorTransform = particle.colorTransform;
-				}*/
+
+			if( Sprite3D( o ).material["hasOwnProperty"]( "color" ) )
+					{
+						Sprite3D( o ).material["color"] = particle.color & 0xFFFFFF;
+					}
+					if( Sprite3D( o ).material["hasOwnProperty"]( "alpha" ) )
+					{
+						Sprite3D( o ).material["alpha"] = particle.alpha;
+					}
+				//	trace(Sprite3D( o ).material["color"]);
+
 			}

 			// others


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

--- frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
+++ frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
@@ -59,6 +59,11 @@
  *
  *
The exact way in which the HTTP operation arguments is put into the HTTP body is determined
  * by the serializationFilter used.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class AbstractOperation extends mx.rpc.AbstractOperation
 {
@@ -68,6 +73,11 @@

     /**
      * Creates a new Operation.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function AbstractOperation(service:AbstractService=null, name:String=null)
     {
@@ -80,17 +90,32 @@

     /**
      *  The result format "e4x" specifies that the value returned is an XML instance, which can be accessed using ECMAScript for XML (E4X) expressions.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     mx_internal static const RESULT_FORMAT_E4X:String = "e4x";

     /**
      *  The result format "flashvars" specifies that the value returned is text containing name=value pairs
      *  separated by ampersands, which is parsed into an ActionScript object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     mx_internal static const RESULT_FORMAT_FLASHVARS:String = "flashvars";

     /**
      *  The result format "object" specifies that the value returned is XML but is parsed as a tree of ActionScript objects. This is the default.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     mx_internal static const RESULT_FORMAT_OBJECT:String = "object";

@@ -98,44 +123,84 @@
      *  The result format "array" is similar to "object" however the value returned is always an Array such
      *  that if the result returned from result format "object" is not an Array already the item will be
      *  added as the first item to a new Array.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     mx_internal static const RESULT_FORMAT_ARRAY:String = "array";

     /**
      *  The result format "text" specifies that the HTTPService result text should be an unprocessed String.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     mx_internal static const RESULT_FORMAT_TEXT:String = "text";

     /**
      *  The result format "xml" specifies that results should be returned as an flash.xml.XMLNode instance pointing to
      *  the first child of the parent flash.xml.XMLDocument.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     mx_internal static const RESULT_FORMAT_XML:String = "xml";

     /**
      *  Indicates that the data being sent by the HTTP service is encoded as application/xml.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     mx_internal static const CONTENT_TYPE_XML:String = "application/xml";

     /**
      *  Indicates that the data being sent by the HTTP service is encoded as application/x-www-form-urlencoded.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     mx_internal static const CONTENT_TYPE_FORM:String = "application/x-www-form-urlencoded";

     // Constants for error codes
     /**
      *  Indicates that the useProxy property was set to false but a url was not provided.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private static const ERROR_URL_REQUIRED:String = "Client.URLRequired";

     /**
      *  Indicates that an XML formatted result could not be parsed into an XML instance
      *  or decoded into an Object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private static const ERROR_DECODING:String = "Client.CouldNotDecode";

     /**
      *  Indicates that an input parameter could not be encoded as XML.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private static const ERROR_ENCODING:String = "Client.CouldNotEncode";

@@ -147,6 +212,11 @@
      * An ordered list of the names of the arguments to pass to a method invocation.  Since the arguments object is
      * a hashmap with no guaranteed ordering, this array helps put everything together correctly.
      * It will be set automatically by the MXML compiler, if necessary, when the Operation is used in tag form.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var argumentNames:Array;

@@ -159,6 +229,11 @@
      *  HTTP method for sending the request. Permitted values are GET, POST, HEAD,
      *  OPTIONS, PUT, TRACE and DELETE.
      *  Lowercase letters are converted to uppercase letters. The default value is GET.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get method():String
     {
@@ -181,6 +256,11 @@
      * multiple requests generate a fault.

      *
last Making a request cancels any existing request.

      *

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get concurrency():String
     {
@@ -228,6 +308,11 @@
      *    in an ActionScript XML object, which can be accessed using ECMAScript for
      *    XML (E4X) expressions.

      *

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get resultFormat():String
     {
@@ -279,6 +364,11 @@
      * of the HTTP request.  It also controls how the results are converted into ActionScript
      * objects.  It can be set either explicitly using this property or indirectly using the
      * resultFormat property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var serializationFilter:SerializationFilter;

@@ -296,6 +386,11 @@
     /**
      *  Object of name-value pairs used as parameters to the URL. If
      *  the contentType property is set to application/xml, it should be an XML document.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var request:Object = {};

@@ -313,6 +408,11 @@
     /**
      *  Location of the service. If you specify the url and a non-default destination,
      *  your destination in the services-config.xml file must allow the specified URL.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get url():String
     {
@@ -344,6 +444,11 @@
      *  useProxy property is set to false.
      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get useProxy():Boolean
     {
@@ -410,6 +515,16 @@
  return myObj;
 }

+
+     *
+
+     *  @langversion 3.0
+
+     *  @playerversion Flash 9
+
+     *  @playerversion AIR 1.1
+
+     *  @productversion Flex 3

      */
     public var xmlDecode:Function;
@@ -453,6 +568,16 @@
 }

+     *
+
+     *  @langversion 3.0
+
+     *  @playerversion Flash 9
+
+     *  @playerversion AIR 1.1
+
+     *  @productversion Flex 3
+
      */
     public var xmlEncode:Function;

@@ -464,6 +589,11 @@
     /**
      *  Custom HTTP headers to be sent to the third party endpoint. If multiple headers need to
      *  be sent with the same name the value should be specified as an Array.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var headers:Object = {};

@@ -479,6 +609,11 @@
      *  The default is application/x-www-form-urlencoded which sends requests
      *  like a normal HTTP POST with name-value pairs. application/xml send
      *  requests as XML.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var _contentType:String = CONTENT_TYPE_FORM;
     public function get contentType():String
@@ -498,6 +633,11 @@
     /**
     * If true, a busy cursor is displayed while a service is executing. The default
     * value is false.
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 9
+    *  @playerversion AIR 1.1
+    *  @productversion Flex 3
     */
     public function get showBusyCursor():Boolean
     {
@@ -525,6 +665,11 @@
      *  based on the location of the SWF running this application.
      *  If not set explicitly rootURL is automatically set to the URL of
      *  mx.messaging.config.LoaderConfig.url.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get rootURL():String
     {
@@ -734,6 +879,11 @@

     /**
      * Hook for subclasses to override the retrieval of the HTTP request headers.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function getHeaders():Object
     {
@@ -885,6 +1035,11 @@

     /*
      * Kill the busy cursor, find the matching call object and pass it back
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override mx_internal function preHandle(event:MessageEvent):AsyncToken
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 19226
Author:   harishs@adobe.com
Date:     2010-12-09T18:33:35.483731Z

Log Message:
-----------
QE notes:
Doc notes: Updated asdocs for spark validators/sort/sortfield
Bugs:
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/MatchingCollatorExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/examples/SortingCollatorExample.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/SortingCollatorExample.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/examples/StringToolsExample.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/examples</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/Sort.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/StringToolsExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/Sort.as</path>
<path kind="file" action="M">/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/asdoc/en_US/spark/globalization/examples/MatchingCollatorExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>

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

--- frameworks/projects/spark/src/spark/collections/SortField.as
+++ frameworks/projects/spark/src/spark/collections/SortField.as
@@ -59,8 +59,8 @@
  *

  *     var col:ICollectionView = new ArrayCollection();
  *     col.addItem({first:"Anders", last:"Dickerson"});
- *     var sort:ISort = new Sort();
- *     var sortfield:ISortField = new SortField("first", true);
+ *     var sort:Sort = new Sort();
+ *     var sortfield:SortField = new SortField("first", true);
  *     sortfield.setStyle("locale", "en-US");
  *     sort.fields = [sortfield];
  *     col.sort = sort;
@@ -77,8 +77,8 @@
  *     var col:ICollectionView = new ArrayCollection();
  *     col.addItem("California");
  *     col.addItem("Arizona");
- *     var sort:ISort = new Sort();
- *     var sortfield:ISortField = new SortField(null, true);
+ *     var sort:Sort = new Sort();
+ *     var sortfield:SortField = new SortField(null, true);
  *     sortfield.setStyle("locale", "en-US");
  *     sort.fields = [sortfield];
  *     col.sort = sort;
@@ -120,7 +120,6 @@
  *

  *

  *
-
  *  @mxml
  *
  *
The <s:SortField> tag has the following attributes:

@@ -135,6 +134,9 @@
  *  />
  *

  *
+ *  @includeExample examples/SortExample1.mxml
+ *  @includeExample examples/SortExample2.mxml
+ *
  *  @see mx.collections.ICollectionView
  *  @see spark.collections.Sort
  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 19492
Author:   rfrishbe@adobe.com
Date:     2010-12-20T23:00:41.140256Z

Log Message:
-----------
Fixing up a simple RTE in HScrollBar/VScrollBar in touch interactionMode by checking for viewport==null.

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

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

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

--- frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -238,7 +238,7 @@

         var min:Number;
         var max:Number;
-        if (getStyle("interactionMode") == InteractionMode.TOUCH)
+        if (getStyle("interactionMode") == InteractionMode.TOUCH && viewport)
         {
             // For calculating thumb position/size on mobile, we want to exclude
             // the extra margin we added to minimum and maximum for bounce/pull.


Transferred from the Adobe Open Source Subversion Repository

Revision: 12469
Author:   jimurphy@adobe.com
Date:     2009-12-03T22:04:16.560316Z

Log Message:
-----------
fix offsets for FB.  Convert line ending from lf to crlf in svn for the proects directory only.  When checking project files in, be sure to save you files this way.  Another update to make sure happens is set the svn properties svn:eol-style = native and svn:mime-type = text/plain (these have been updated on theses files as well)

QE notes: make sure the proper class is selected
Doc notes: no
Bugs: http://bugs.adobe.com/jira/browse/SDK-24498
Reviewer:
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
133 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/easing/Linear.as
+++ frameworks/projects/spark/src/spark/effects/easing/Linear.as
@@ -188,4 +188,4 @@
         return runRate * (fraction - easeInFraction/2);
     }
 }
-}+}