Transferred from the Adobe Open Source Subversion Repository

Revision: 4337
Author:   egeorgie@adobe.com
Date:     2008-12-17T01:41:36.131845Z

Log Message:
-----------
ILayoutElement methods renames

Interface ILayoutElement
{
getLayoutWidth -> getLayoutBoundsWidth
getLayoutHeight -> getLayoutBoundsHeight
getLayoutPositionX -> getLayoutBoundsX
getLayoutPositionY -> getLayoutBoundsY
setLayoutSize -> setLayoutBoundsSize
setLayoutPosition -> setLayoutBoundsPosition
getPreferredWidth -> getPreferredBoundsWidth
getPreferredHeight -> getPreferredBoundsHeight
getMinWidth -> getMinBoundsWidth
getMinHeight -> getMinBoundsHeight
getMaxWidth -> getMaxBoundsWidth
getMaxHeight -> getMaxBoundsHeight

…unrelated stuff…
}

Reviewed by Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/layout/layout_tester.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/graphics/GraphicTags_checkintests.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutElementUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/Path.as
+++ frameworks/projects/spark/src/spark/primitives/Path.as
@@ -519,7 +519,7 @@
      */
     override protected function transformWidthForLayout(width:Number,
                                                         height:Number,
-                                                        postTransform:Boolean=true):Number
+                                                        postTransform:Boolean = true):Number
     {
         if (postTransform)
         {
@@ -537,7 +537,7 @@
      */
     override protected function transformHeightForLayout(width:Number,
                                                          height:Number,
-                                                         postTransform:Boolean=true):Number
+                                                         postTransform:Boolean = true):Number
     {
         if (postTransform)
         {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBaseSelectionData.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBaseSelectionData.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2006 Adobe Systems Incorporated
-//  All Rights Reserved.
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
 //
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 18894
Author:   smgilson@adobe.com
Date:     2010-12-01T17:13:53.351835Z

Log Message:
-----------
Finish first pass of ASDoc on DataGrid/Grid.as

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

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
@@ -425,7 +425,7 @@
      *  GridSelectionMode.MULTIPLE_CELLS, selects all the cells in
      *  columns with visible set to true.
      *
-     *  @return True if the selection changed.
+     *  @return true if the selection changed.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


fixed bug where hierarchy wouldn't load.

--- WeaveData/src/weave/data/DataSources/WeaveDataSource.as
+++ WeaveData/src/weave/data/DataSources/WeaveDataSource.as
@@ -189,7 +189,7 @@

 			//trace("requestHierarchyFromSource("+(subtreeNode?attributeHierarchy.getPathFromNode(subtreeNode).toXMLString():'')+")");

-			if (subtreeNode == null || subtreeNode == _attributeHierarchy.value)
+			if (!subtreeNode || subtreeNode == _attributeHierarchy.value)
 			{
 				if (hierarchyURL.value != "" && hierarchyURL.value != null)
 				{
@@ -364,7 +364,7 @@

 		private function generateRootHierarchy(tables:Array, geoms:Array):void
 		{
-			if (objectWasDisposed(this) || _attributeHierarchy.value != null)
+			if (objectWasDisposed(this) || !(_attributeHierarchy.value == <hierarchy/> || !_attributeHierarchy.value))
 				return;

 			var tag:XML;
@@ -395,7 +395,7 @@

 				//trace("handleGetDataServiceMetadata",ObjectUtil.toString(event));

-				if (_attributeHierarchy.value == null)
+				if (!_attributeHierarchy.value)
 					_attributeHierarchy.value = <hierarchy/>;

 				// add each missing category
@@ -562,7 +562,7 @@
 			var proxyColumn:ProxyColumn = request.proxyColumn;
 			var hierarchyNode:XML = HierarchyUtils.getLeafNodeFromPath(pathInHierarchy);
 			// if the node does not exist in hierarchy anymore, create a new XML separate from the hierarchy.
-			if (hierarchyNode == null)
+			if (!hierarchyNode)
 				hierarchyNode = <attribute/>;
 			else
 				proxyColumn.setMetadata(hierarchyNode);


Transferred from the Adobe Open Source Subversion Repository

Revision: 16801
Author:   klin@adobe.com
Date:     2010-07-02T20:37:29.786242Z

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

-Update GridDimensions to account for changes to the defaultRowHeight through setting the typical cell height. The defaultRowHeight is now calculated as the max of the typicalCellHeights. Also, added a method "clearTypicalCellWidthsAndHeights()" to allow the typical item to be reset.
-Fixed a bug in GridLayout so that it now sets explicit width columns in updateTypicalCellSizes, while returning only an array of the column indices that are natural size.
-Fixed a bug in GridLayout so it cleans up the visible items when dataProvider == null.
-Grid now clears GridDimensions whenever columns or dataProvider is set. It also clears the typical cell widths and heights when the typical item changes.

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>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
@@ -48,7 +48,8 @@
     private var recentNode:GridRowNode = null;

     private const typicalCellWidths:Array = new Array();
-    private const typicalCellHeights:Array = new Array();
+    private const typicalCellHeights:Array = new Array();
+    private var isFirstTypicalCellHeight:Boolean = true;

     //--------------------------------------------------------------------------
     //
@@ -140,6 +141,17 @@
             {
                 for (i = temp; i < _columnCount; i++)
                     _columnWidths[i] = NaN;
+
+                if (_columnCount == 0)
+                {
+                    clearTypicalCellWidthsAndHeights();
+                }
+                else
+                {
+                    typicalCellWidths.length = _columnCount;
+                    typicalCellHeights.length = _columnCount;
+                }
+
             }
         }
     }
@@ -190,6 +202,9 @@
             return;

         _defaultRowHeight = bound(value, _minRowHeight, _maxRowHeight);
+
+        // reset recent node.
+        recentNode = null;
     }

     //----------------------------------
@@ -853,6 +868,29 @@
     public function setTypicalCellHeight(columnIndex:int, value:Number):void
     {
         typicalCellHeights[columnIndex] = value;
+
+        // if this is the first cell height, set default to it
+        if (isFirstTypicalCellHeight)
+        {
+            this.defaultRowHeight = value;
+            isFirstTypicalCellHeight = false;
+        }
+        else
+        {
+            // otherwise, find the max of the typical cell heights.
+            var max:Number = 0;
+            for (var i:int = 0; i < typicalCellHeights.length; i++)
+                max = Math.max(max, typicalCellHeights[i]);
+            this.defaultRowHeight = max;
+        }
+    }
+
+    public function clearTypicalCellWidthsAndHeights():void
+    {
+        typicalCellWidths.length = 0;
+        typicalCellHeights.length = 0;
+        defaultRowHeight = 22;
+        isFirstTypicalCellHeight = true;
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 17505
Author:   klin@adobe.com
Date:     2010-08-28T00:02:59.530168Z

Log Message:
-----------
Fixes and some code clean up for DataGrid. These fix issues with how the DataGrid looks when different indicators and separators are null. It also improves the look when the dataProvider is cleared.

GridLayout.as - Fix bug in layoutLinearElements() where we were allowing null values to stay in newVisibleElements. We should shorten the vector instead. Also, I fixed layoutSelectionIndicators() and layoutIndicator() to remove previously cached indicators when the factory is null. Lastly, fixed up layoutRow/ColumnSeparator to return the correct bounds when no item renderer exists. This is used in the case that we clear the dataProvider.
GridDimensions.as - Fix getPadRowBounds() so that it only never uses a negative index when calling getCellX and getColumnWidth.
DataGrid.as - use Grid's clearGridLayoutCache instead of manually clearing the caches.

QE notes: No
Doc notes: No
Bugs: SDK-27602, SDK-27606, SDK-27612
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/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/DataGrid.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
@@ -736,8 +736,14 @@
         const padRowCount:int = row - rowCount;
         const padRowTotalGap:Number = (padRowCount > 0) ? (padRowCount - 1) * rowGap : 0;
         const y:Number = lastRowBottom + (padRowCount * defaultRowHeight) + padRowTotalGap;
-        const rowWidth:Number =
-            ((lastCol >= 0) && (lastRow >= 0)) ? getCellX(lastRow, lastCol) + getColumnWidth(lastCol) - x : 0;
+
+        var rowWidth:Number = 0;
+        if ((lastCol >= 0) && (lastRow >= 0))
+            rowWidth = getCellX(lastRow, lastCol) + getColumnWidth(lastCol) - x;
+        else if (lastCol >= 0)
+            rowWidth = getCellX(0, lastCol) + getColumnWidth(lastCol) - x;
+        else if (lastRow >= 0)
+            rowWidth = getCellX(lastRow, 0) + getColumnWidth(0) - x;

         return new Rectangle(x, y, rowWidth, defaultRowHeight);


Transferred from the Adobe Open Source Subversion Repository

Revision: 19722
Author:   egeorgie@adobe.com
Date:     2011-01-12T00:53:24.336848Z

Log Message:
-----------
Fix popups/tooltips and scaling bugs:
Slider tooltip renders far above under 2.0 scaling - http://bugs.adobe.com/jira/browse/SDK-28833
Mobile HSliderSkin dataTip sometimes stops following the thumb all the way to the right edge - http://bugs.adobe.com/jira/browse/SDK-28762
When the app is scaled, DropDownList shows the list at wrong place - http://bugs.adobe.com/jira/browse/SDK-28818

In this change:
- update popup/tooltip positioning code to work with scaling.

QE notes:  make another test pass on tooltips/pop-ups
Doc notes:
Bugs: SDK-28833, SDK-28762, SDK-28818
Reviewer: Alex
Tests run: full mustella cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/utils/BitmapUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/PopUpUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as</path>

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

--- frameworks/projects/framework/src/FrameworkClasses.as
+++ frameworks/projects/framework/src/FrameworkClasses.as
@@ -43,7 +43,7 @@
 	import mx.collections.ModifiedCollectionView; ModifiedCollectionView;
 	import mx.containers.utilityClasses.FlexChildInfo; FlexChildInfo;
 	import mx.containers.utilityClasses.IConstraintLayout; IConstraintLayout;
-      import mx.containers.utilityClasses.PostScaleAdapter; PostScaleAdapter;
+    import mx.containers.utilityClasses.PostScaleAdapter; PostScaleAdapter;
 	import mx.controls.ButtonLabelPlacement; ButtonLabelPlacement;
 	import mx.controls.MovieClipSWFLoader; MovieClipSWFLoader;
 	import mx.controls.ProgressBarDirection; ProgressBarDirection;
@@ -145,6 +145,9 @@
 	import mx.styles.IStyleModule; IStyleModule;
 	import mx.styles.AdvancedStyleClient; AdvancedStyleClient;
 	import mx.utils.ArrayUtil; ArrayUtil;
+	import mx.utils.Base64Decoder; Base64Decoder;
+	import mx.utils.Base64Encoder; Base64Encoder;
+	import mx.utils.BitFlagUtil; BitFlagUtil;
 	import mx.utils.DescribeTypeCache; DescribeTypeCache;
 	import mx.utils.DescribeTypeCacheRecord; DescribeTypeCacheRecord;
 	import mx.utils.DisplayUtil; DisplayUtil;
@@ -152,12 +155,10 @@
     import mx.utils.HSBColor; HSBColor;
     import mx.utils.LinkedList; LinkedList;
 	import mx.utils.LinkedListNode; LinkedListNode;
+	import mx.utils.OnDemandEventDispatcher; OnDemandEventDispatcher;
 	import mx.utils.OrderedObject; OrderedObject;
+    import mx.utils.PopUpUtil; PopUpUtil;
 	import mx.utils.XMLUtil; XMLUtil;
-	import mx.utils.Base64Decoder; Base64Decoder;
-	import mx.utils.Base64Encoder; Base64Encoder;
-	import mx.utils.BitFlagUtil; BitFlagUtil;
-	import mx.utils.OnDemandEventDispatcher; OnDemandEventDispatcher;
 	import mx.validators.Validator; Validator;
 	// Maintain alphabetical order
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 21549
Author:   aharui@adobe.com
Date:     2011-07-12T17:28:34.366187Z

Log Message:
-----------
Make EmbeddedFontRegistry optional so the text controls can use it as a way of knowing if embedded fonts are being used.  Provides measureable performance improvements.  Simple shell apps will have to force-link EmbeddedFontRegistry like they do for other managers.

QE notes: Two mustella test apps require updating
Doc notes: Has been notified
Bugs: SDK-29451
Reviewer: Glenn
Tests run: Mustella Cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/EmbeddedFont.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/mx/core/UIFTETextField.as</path>

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

--- frameworks/projects/framework/src/FrameworkClasses.as
+++ frameworks/projects/framework/src/FrameworkClasses.as
@@ -63,6 +63,7 @@
 	import mx.core.DeferredInstanceFromClass; DeferredInstanceFromClass;
 	import mx.core.DeferredInstanceFromFunction; DeferredInstanceFromFunction;
 	import mx.core.DesignLayer; DesignLayer;
+    import mx.core.EmbeddedFontRegistry; EmbeddedFontRegistry;
 	import mx.core.FlexLoader; FlexLoader;
 	import mx.core.FontAsset; FontAsset;
 	import mx.core.IDataRenderer; IDataRenderer;


Transferred from the Adobe Open Source Subversion Repository

Revision: 14095
Author:   cframpto@adobe.com
Date:     2010-02-10T17:33:30.511669Z

Log Message:
-----------
Merge 14076 from 4.x branch to trunk.

Revision: 14076
Author:   cframpto@adobe.com
Date:     2010-02-09 15:23:15 -0800 (Tue, 09 Feb 2010)
Log Message:
***********
Add UIComponent.mapKeycodeForLayoutDirection().  This should be called by any keyDownHandlers() which handles Keyboard.LEFT and Keyboard.RIGHT, and optionally for Keyboard.UP and Keyboard.DOWN, if they behave like Keyboard.LEFT and Keyboard.RIGHT.  If the layoutDirection="rtl", it maps LEFT to RIGHT, RIGHT to LEFT, UP to RIGHT and DOWN to LEFT.  This allows the keyDownHandler() to perform the correct action without adding lots of special case code to the key handling code.

QE notes: For layoutDirection="rtl" need to test LEFT, RIGHT, UP and DOWN keys.
Doc notes: None
Bugs: SDK-25330
Reviewed By: Hans
Tests run: checkintests
Is noteworthy for integration: No

Ticket Links:
***********
    http://bugs.adobe.com/jira/browse/SDK-25330

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks</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/spark/src/spark/components/RadioButton.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/controls/Tree.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/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.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/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</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/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>

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

--- frameworks/projects/mx/src/mx/controls/ColorPicker.as
+++ frameworks/projects/mx/src/mx/controls/ColorPicker.as
@@ -1413,19 +1413,23 @@
     {
         var cpEvent:ColorPickerEvent = null;

-        if (event.ctrlKey && event.keyCode == Keyboard.DOWN)
+        // If rtl layout, need to swap LEFT for RIGHT so correct action
+        // is done.
+        var keyCode:int = mapKeycodeForLayoutDirection(event);
+
+        if (event.ctrlKey && keyCode == Keyboard.DOWN)
         {
             displayDropdown(true, event);
         }

-        else if ((event.ctrlKey && event.keyCode == Keyboard.UP) ||
-                 event.keyCode == Keyboard.ESCAPE)
+        else if ((event.ctrlKey && keyCode == Keyboard.UP) ||
+                 keyCode == Keyboard.ESCAPE)
         {
             if (dropdownSwatch && dropdownSwatch.enabled)
                 close(event);
         }

-        else if (showingDropdown && event.keyCode == Keyboard.ENTER && dropdownSwatch.enabled)
+        else if (showingDropdown && keyCode == Keyboard.ENTER && dropdownSwatch.enabled)
         {
             if (!dropdownSwatch.isOverGrid && editable)
             {
@@ -1461,54 +1465,54 @@
         }

         else if (showingDropdown &&
-                 (event.keyCode == Keyboard.HOME ||
-                  event.keyCode == Keyboard.END ||
-                  event.keyCode == Keyboard.PAGE_UP ||
-                  event.keyCode == Keyboard.PAGE_DOWN ||
-                  event.keyCode == Keyboard.LEFT ||
-                  event.keyCode == Keyboard.RIGHT ||
-                  event.keyCode == Keyboard.UP ||
-                  event.keyCode == Keyboard.DOWN))
+                 (keyCode == Keyboard.HOME ||
+                  keyCode == Keyboard.END ||
+                  keyCode == Keyboard.PAGE_UP ||
+                  keyCode == Keyboard.PAGE_DOWN ||
+                  keyCode == Keyboard.LEFT ||
+                  keyCode == Keyboard.RIGHT ||
+                  keyCode == Keyboard.UP ||
+                  keyCode == Keyboard.DOWN))
         {
             // Redispatch the event from the SwatchPanel
             // so that its keyDownHandler() can handle it.
             dropdownSwatch.dispatchEvent(event);
         }

-        else if (event.keyCode == Keyboard.LEFT)
-        {
-            if (selectedIndex == -1)
+        else if (keyCode == Keyboard.LEFT)
             {
-                selectedIndex = findColorByName(selectedColor);
+                if (selectedIndex == -1)
+                {
+                    selectedIndex = findColorByName(selectedColor);
+                }
+                if (selectedIndex - 1 >= 0)
+                {
+                    selectedIndex--;
+
+                    cpEvent = new ColorPickerEvent(ColorPickerEvent.CHANGE);
+                    cpEvent.index = selectedIndex;
+                    cpEvent.color = selectedColor;
+                    dispatchEvent(cpEvent);
+                }
             }
-            if (selectedIndex - 1 >= 0)
+
+        else if (keyCode == Keyboard.RIGHT)
             {
-                selectedIndex--;
-
-                cpEvent = new ColorPickerEvent(ColorPickerEvent.CHANGE);
-                cpEvent.index = selectedIndex;
-                cpEvent.color = selectedColor;
-                dispatchEvent(cpEvent);
+                if (selectedIndex == -1)
+                {
+                    selectedIndex = findColorByName(selectedColor);
+                }
+                if (selectedIndex + 1 < dataProvider.length)
+                {
+                    selectedIndex++;
+
+                    cpEvent = new ColorPickerEvent(ColorPickerEvent.CHANGE);
+                    cpEvent.index = selectedIndex;
+                    cpEvent.color = selectedColor;
+                    dispatchEvent(cpEvent);
+                }
             }
         }
-
-        else if (event.keyCode == Keyboard.RIGHT)
-        {
-            if (selectedIndex == -1)
-            {
-                selectedIndex = findColorByName(selectedColor);
-            }
-            if (selectedIndex + 1 < dataProvider.length)
-            {
-                selectedIndex++;
-
-                cpEvent = new ColorPickerEvent(ColorPickerEvent.CHANGE);
-                cpEvent.index = selectedIndex;
-                cpEvent.color = selectedColor;
-                dispatchEvent(cpEvent);
-            }
-        }
-    }

     //--------------------------------------------------------------------------
     //
@@ -1622,4 +1626,4 @@
     }
 }

-}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 15636
Author:   smgilson@adobe.com
Date:     2010-04-21T19:37:10.228202Z

Log Message:
-----------
QE notes:
Doc notes: fixed minor typo (bug FLEXDOCS-810)
Bugs:
Reviewer:
Tests run:
Is noteworthy for integration:

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

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

--- frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as
+++ frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as
@@ -122,7 +122,7 @@
      * This property is set usually by framework code which wants to modify the
      * behavior of a service invocation without modifying the way in which the
      * service is called externally.  This allows you to add a "filter" step on
-     * the method call to ensure for example to ensure you do not return duplicate
+     * the method call to ensure for example that you do not return duplicate
      * instances for the same id or to insert parameters for performing on-demand
      * paging.
      *


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLLoader.as
+++ frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLLoader.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2006-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
 //
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


Updated by Michael IV

Updated by Michael IV

--- src/org/flintparticles/threeD/away3d/initializers/A3DDisplayObjectClasses.as
+++ src/org/flintparticles/threeD/away3d/initializers/A3DDisplayObjectClasses.as
@@ -106,7 +106,9 @@
 		override public function initialize( emitter:Emitter, particle:Particle ):void
 		{
 			var img:Pair = _images.getRandomValue();
-			particle.image = new MovieClipSprite( construct( img.image, img.parameters ), { rescale:true, align:"none", ownCanvas:true } );
+			///particle.image = new MovieClipSprite( construct( img.image, img.parameters ), { rescale:true, align:"none", ownCanvas:true } );
+			///Updated by Michael IV to Away3D 3.6
+			particle.image = new MovieClipSprite( construct( img.image, img.parameters ) ,"none", 1,true );
 		}
 	}
 }


isJsReady is a getter.

isJsReady is a getter.

--- src/org/openvv/OVVAsset.as
+++ src/org/openvv/OVVAsset.as
@@ -409,7 +409,7 @@
 		 * Ready state from the JS code, including beacons.
 		 * @return
 		 */
-		public function isJsReady():Boolean {
+		public function get isJsReady():Boolean {
 			return jsReady;
 		}
 		/**


rm unused vars

rm unused vars


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

--- frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.as
+++ frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.as
@@ -0,0 +1,43 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.controls
+{
+
+/**
+ *  The FileSystemSizeDisplayMode class defines the constant values
+ *  for the sizeDisplayMode property
+ *  of the FileSystemDataGrid class.
+ *
+ *  @see mx.controls.FileSystemDataGrid#enumerationMode
+ */
+public final class FileSystemSizeDisplayMode
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Specifies to show file sizes in bytes.
+     */
+    public static const BYTES:String = "bytes";
+
+    /**
+     *  Specifies to show file sizes in kilobytes.
+     */
+    public static const KILOBYTES:String = "kilobytes";
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 153
Author:   proberts@adobe.com
Date:     2008-01-10T20:22:23.867658Z

Log Message:
-----------
Severity: ignore
Description: docs update -- added @productVersion tag to Flex AIR classes' class descriptions.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.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/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.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/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>

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

--- frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as
+++ frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as
@@ -16,6 +16,8 @@

 /**
  *  The skin for the StatusBar of a WindowedApplication or Window.
+ *
+ *  @productversion Apollo 1.0
  */
 public class StatusBarBackgroundSkin extends ProgrammaticSkin
 {


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

--- frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as
+++ frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as
@@ -0,0 +1,165 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.skins.halo
+{
+
+import flash.system.Capabilities;
+import mx.controls.Image;
+import mx.core.UIComponent;
+import mx.states.SetProperty;
+import mx.states.State;
+
+/**
+ *  The skin for the restore button in the TitleBar
+ *  of a WindowedApplication or Window.
+ */
+public class WindowRestoreButtonSkin extends UIComponent
+{
+    include "../../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class assets
+	//
+	//--------------------------------------------------------------------------
+
+    [Embed(source="../../../../assets/win_restore_up.png")]
+    private static var winRestoreUpSkin:Class;
+
+   	[Embed(source="../../../../assets/win_restore_down.png")]
+    private static var winRestoreDownSkin:Class;
+
+    [Embed(source="../../../../assets/win_restore_over.png")]
+    private static var winRestoreOverSkin:Class;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 */
+	public function WindowRestoreButtonSkin()
+	{
+		super();
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var skinImage:Image;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden properties: UIComponent
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  measuredHeight
+	//----------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function get measuredHeight():Number
+	{
+		if (skinImage.measuredHeight)
+			return skinImage.measuredHeight;
+		else
+			return 13;
+	}
+
+	//----------------------------------
+	//  measuredWidth
+	//----------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function get measuredWidth():Number
+	{
+		if (skinImage.measuredWidth)
+			return skinImage.measuredWidth;
+		else
+			return 12;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: UIComponent
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function createChildren():void
+	{
+		skinImage = new Image();
+		addChild(skinImage);
+
+		initializeStates();
+
+		skinImage.setActualSize(12, 13);
+		skinImage.move(0, 0);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private function initializeStates():void
+	{
+		var upState:State = new State();
+		upState.name = "up";
+		var upProp:SetProperty = new SetProperty();
+		upProp.name = "source";
+		upProp.target = skinImage;
+		upProp.value = winRestoreUpSkin;
+		upState.overrides.push(upProp);
+		states.push(upState);
+
+		var downState:State = new State();
+		downState.name = "down";
+		var downProp:SetProperty = new SetProperty();
+		downProp.name = "source";
+		downProp.target = skinImage;
+		downProp.value = winRestoreDownSkin;
+		downState.overrides.push(downProp);
+		states.push(downState);
+
+		var overState:State = new State();
+		overState.name = "over";
+		var overProp:SetProperty = new SetProperty();
+		overProp.name = "source";
+		overProp.target = skinImage;
+		overProp.value = winRestoreOverSkin;
+		overState.overrides.push(overProp);
+		states.push(overState);
+	}
+}
+
+}


Update frame4.as

Update frame4.as

--- as/main/frame4.as
+++ as/main/frame4.as
@@ -10,12 +10,14 @@
 this.historia_txt.wordWrap = true;
 this.historia_txt.multiline = true;

-function textScroll():Void{
+
+function textScroll():Void
+{
 	this.onPress = this.oOut;
 	this.onRollOver =this.oOver;
 	this.onRollOut = this.oOut;
 	this.onRelease = this.oOut;
-}
+};

 function oOver():Void
 {
@@ -27,11 +29,7 @@
 	pressing = false;
 };

-this.onEnterFrame = function ()
-{
-    buttonsUI[i].oOver();
-	this.stop();
-};
+

 var Private_lv = new LoadVars ();
 Private_lv.load ("/assets/tendes.txt");


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


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

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

 package mx.modules
 {


FLEX-33235: Fixed per JIRA task description. This time committed in the develop branch.

git-svn-id: 7d913817b0a978d84de757191e4bce372605a781@1405410 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/utils/PopUpUtil.as
+++ frameworks/projects/framework/src/mx/utils/PopUpUtil.as
@@ -225,8 +225,9 @@
         {
             tmpColorTransform.alphaMultiplier = oldAlpha;
             tmpColorTransform.alphaOffset = 0;
-        }
-        DisplayObject(popUp).transform.colorTransform = tmpColorTransform;
+            DisplayObject(popUp).transform.colorTransform = tmpColorTransform;
+        }
+
     }
 }
 }


FLEX-34852 - Make whole VO objects Bindable

--- frameworks/projects/framework/tests/FLEX_34852_Tests.as
+++ frameworks/projects/framework/tests/FLEX_34852_Tests.as
@@ -269,15 +269,11 @@
     }
 }

+[Bindable]
 class FLEX_34852_VO
 {
-    [Bindable]
     public var name:String;
-
-    [Bindable]
     public var address:FLEX_34852_AddressVO;
-
-    [Bindable]
     public var index:Number;

     public function FLEX_34852_VO(index:Number, namePrefix:String, streetPrefix:String)
@@ -288,15 +284,11 @@
     }
 }

+[Bindable]
 class FLEX_34852_AddressVO
 {
-    [Bindable]
     public var street:String;
-
-    [Bindable]
     public var houseNumber:int;
-
-    [Bindable]
     public var dateMovedIn:Date;

     public function FLEX_34852_AddressVO(street:String, houseNumber:int, dateMovedIn:Date)


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

--- frameworks/projects/rpc/src/mx/rpc/xml/ComplexString.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/ComplexString.as
@@ -0,0 +1,48 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.rpc.xml
+{
+
+[ExcludeClass]
+
+/**
+ * This internal utility class is used by SimpleXMLDecoder. The class is
+ * basically a dynamic version of the String class (other properties can be
+ * attached to it).
+ *
+ * When you try to get the value of a ComplexString, we attempt to convert the
+ * value to a number or boolean before returning it.
+ *
+ * @private
+ */
+internal dynamic class ComplexString
+{
+    public var value:String;
+
+    public function ComplexString(val:String)
+    {
+        super();
+        value = val;
+    }
+
+    public function toString():String
+    {
+        return value;
+    }
+
+    public function valueOf():Object
+    {
+        return SimpleXMLDecoder.simpleType(value);
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3391
Author:   gruehle@adobe.com
Date:     2008-09-27T00:07:25.544358Z

Log Message:
-----------
Fix fast-track bug SDK-17068. Make sure assignDisplayObjects() is called before calling validateProperties() on child graphics objects.

Bugs: SDK-17068 - Cannot apply transform at runtime for Rect, BitmapGraphic, and Line
QA: This should fix the graphics mustella failures
Checkintests: pass

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -191,6 +191,12 @@
             // maskChanged = true; TODO (rfrishbe): need this maskChanged?
         }

+        if (needsDisplayObjectAssignment)
+        {
+            needsDisplayObjectAssignment = false;
+            assignDisplayObjects();
+        }
+
         // Check whether we manage the elements, or are they managed by an ItemRenderer
         // TODO EGeorgie: we need to optimize this, iterating through all the elements is slow.
         // Validate element properties
@@ -200,12 +206,6 @@
             var element:GraphicElement = getItemAt(i) as GraphicElement;
             if (element)
                 element.validateProperties();
-        }
-
-        if (needsDisplayObjectAssignment)
-        {
-            needsDisplayObjectAssignment = false;
-            assignDisplayObjects();
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5841
Author:   rfrishbe@adobe.com
Date:     2009-04-01T18:06:53.546424Z

Log Message:
-----------
Changing the lifecycle of the layout object in GroupBase.  Before, we’d always instantiate one in GroupBase’s constructor.  Now, we wait until createChildren() time to instantiate the default.  This means if people set the layout object, we won’t be creating this extra BasicLayout we don’t need.  There was an assumption in GroupBase around some of the proxied properties that the layout object was always going to be present.  These are cleaned up for when the layout object doesn’t always exist.  Also, now when the layout object is swapped at runtime, the verticalScrollPosition and horizontalScrollPosition don’t get pushed into the new layout object, as they may not translate correctly.  We discussed the possibility of sending in a “first item in view” for when the layout object is swapped, but for now, we don’t do anything like that.

Also fixing a bug in components.properties and some spelling errors in SkinnableDataContainer.

QE Notes: Fix the tests that were failing and re-include them
Doc Notes: -
Bugs: SDK-19769, SDK-20163
Reviewer: Hans
tests: checkintests, mustella core and layout tests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/bundles/en_US/components.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -111,9 +111,9 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function Group(layout:LayoutBase = null):void
-    {
-        super(layout);
+    public function Group():void
+    {
+        super();
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 10594
Author:   aharui@adobe.com
Date:     2009-09-25T18:41:02.152004Z

Log Message:
-----------
Fix some ControlBar bugs

QE Notes: None
Doc Notes: None
Bugs: SDK-23384 SDK-23373 SDK-23386
Reviewer: Corey
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/gumbo/containers/Panel

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/spark/src/spark/components/Panel.as
+++ frameworks/projects/spark/src/spark/components/Panel.as
@@ -223,10 +223,12 @@
         {
             controlBarGroup.mxmlContent = value;
             controlBarGroupProperties = BitFlagUtil.update(controlBarGroupProperties as uint,
-                                                        CONTROLBAR_PROPERTY_FLAG, true);
+                                                        CONTROLBAR_PROPERTY_FLAG, value != null);
         }
         else
             controlBarGroupProperties.controlBarContent = value;
+
+        invalidateSkinState();
     }

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


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

--- frameworks/projects/framework/src/mx/effects/Move.as
+++ frameworks/projects/framework/src/mx/effects/Move.as
@@ -67,6 +67,11 @@
  *  @see mx.effects.effectClasses.MoveInstance
  *
  *  @includeExample examples/MoveEffectExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class Move extends TweenEffect
 {
@@ -95,6 +100,11 @@
      *  Constructor.
      *
      *  @param target The Object to animate with this effect.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function Move(target:Object = null)
     {
@@ -118,6 +128,11 @@
     /**
      *  Number of pixels to move the components along the x axis.
      *  Values can be negative.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var xBy:Number;

@@ -129,6 +144,11 @@

     /**
      *  Initial position's x coordinate.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var xFrom:Number;

@@ -140,6 +160,11 @@

     /**
      *  Destination position's x coordinate.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var xTo:Number;

@@ -152,6 +177,11 @@
     /**
      *  Number of pixels to move the components along the y axis.
      *  Values can be negative.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var yBy:Number;

@@ -163,6 +193,11 @@

     /**
      *  Initial position's y coordinate.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var yFrom:Number;

@@ -174,6 +209,11 @@

     /**
      *  Destination position's y coordinate.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var yTo:Number;


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

--- frameworks/projects/mx/src/mx/events/DividerEvent.as
+++ frameworks/projects/mx/src/mx/events/DividerEvent.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.events
 {


Require both motionTweenRotate and motionTweenRotateTimes to do anything here.

I'm not sure if this is right, but it seems like a better guess.

--- runtime/src/main/as/flump/xfl/XflKeyframe.as
+++ runtime/src/main/as/flump/xfl/XflKeyframe.as
@@ -91,9 +91,10 @@
             matrix = new Matrix(m("a", 1), m("b", 0), m("c", 0), m("d", 1), m("tx", 0), m("ty", 0));

             // handle "motionTweenRotate" (in this case, the rotation is not embedded in the matrix)
-            if (converter.hasAttr("motionTweenRotateTimes") && duration > 1) {
+            if (converter.hasAttr("motionTweenRotateTimes") &&
+                    converter.hasAttr("motionTweenRotate") && duration > 1) {
                 rotation = converter.getNumberAttr("motionTweenRotateTimes") * Math.PI * 2;
-                if (converter.getStringAttr("motionTweenRotate", null) == "clockwise") {
+                if (converter.getStringAttr("motionTweenRotate") == "clockwise") {
                     rotation *= -1;
                 }


Removed a left over trace statement that was used for debugging.

--- src/org/jivesoftware/xiff/conference/Room.as
+++ src/org/jivesoftware/xiff/conference/Room.as
@@ -630,7 +630,6 @@
 	                //trace("ROOM presence: " + presence.from + " : " + nickname);
 					for each(var presence:Presence in eventObj.data)
 					{
-						trace(presence.getNode());
 						if (presence.type == Presence.ERROR_TYPE) {
 							switch (presence.errorCode) {
 								case 401:


handle having no mixins

handle having no mixins

--- frameworks/projects/Core/src/main/flex/org/apache/flex/utils/MixinManager.as
+++ frameworks/projects/Core/src/main/flex/org/apache/flex/utils/MixinManager.as
@@ -89,14 +89,18 @@
             var app:IFlexInfo = value as IFlexInfo;
             if (app)
             {
-                var mixins:Array = app.info()['mixins'] as Array;
-                if (mixins) {
-                    var n:int = mixins.length;
-                    for (var i:int = 0; i < n; i++)
-                    {
-                        mixins[i].init(value);
+				var info:Object = app.info();
+				if (info)
+				{
+                    var mixins:Array = info['mixins'] as Array;
+                    if (mixins) {
+                        var n:int = mixins.length;
+                        for (var i:int = 0; i < n; i++)
+                        {
+                            mixins[i].init(value);
+                        }
                     }
-                }
+				}
             }
         }
     }


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

--- frameworks/projects/framework/src/mx/managers/layoutClasses/PriorityQueue.as
+++ frameworks/projects/framework/src/mx/managers/layoutClasses/PriorityQueue.as
@@ -0,0 +1,278 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.managers.layoutClasses
+{
+
+import flash.display.DisplayObject;
+import flash.display.DisplayObjectContainer;
+import mx.core.IChildList;
+import mx.core.IRawChildrenContainer;
+import mx.managers.ILayoutManagerClient;
+
+[ExcludeClass]
+
+/**
+ *  @private
+ *  The PriorityQueue class provides a general purpose priority queue.
+ *  It is used internally by the LayoutManager.
+ */
+public class PriorityQueue
+{
+	include "../../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 */
+	public function PriorityQueue()
+	{
+		super();
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var arrayOfArrays:Array /* of Array */ = [];
+
+	/**
+	 *  @private
+	 *  The smallest occupied index in arrayOfArrays.
+	 */
+	private var minPriority:int = 0;
+
+	/**
+	 *  @private
+	 *  The largest occupied index in arrayOfArrays.
+	 */
+	private var maxPriority:int = -1;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	public function addObject(obj:Object, priority:int):void
+	{
+		if (!arrayOfArrays[priority])
+			arrayOfArrays[priority] = [];
+
+		arrayOfArrays[priority].push(obj);
+
+		if (maxPriority < minPriority)
+		{
+			minPriority = maxPriority = priority;
+		}
+		else
+		{
+			if (priority < minPriority)
+				minPriority = priority;
+			if (priority > maxPriority)
+				maxPriority = priority;
+		}
+	}
+
+	/**
+	 *  @private
+	 */
+	public function removeLargest():Object
+	{
+		var obj:Object = null;
+
+		if (minPriority <= maxPriority)
+		{
+			while (!arrayOfArrays[maxPriority] ||
+				   arrayOfArrays[maxPriority].length == 0)
+			{
+				maxPriority--;
+				if (maxPriority < minPriority)
+					return null;
+			}
+
+			obj = arrayOfArrays[maxPriority].shift();
+
+			while (!arrayOfArrays[maxPriority] ||
+				   arrayOfArrays[maxPriority].length == 0)
+			{
+				maxPriority--;
+				if (maxPriority < minPriority)
+					break;
+			}
+
+		}
+
+		return obj;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function removeLargestChild(client:ILayoutManagerClient ):Object
+	{
+		var obj:Object = null;
+
+		var max:int = maxPriority;
+		var min:int = client.nestLevel;
+
+		while (min <= max)
+		{
+			if (arrayOfArrays[max] &&
+				   arrayOfArrays[max].length > 0)
+			{
+				for (var i:int = 0; i < arrayOfArrays[max].length; i++)
+				{
+					if (contains(DisplayObject(client), arrayOfArrays[max][i]))
+					{
+						obj = arrayOfArrays[max][i];
+						arrayOfArrays[max].splice(i, 1);
+						return obj;
+					}
+				}
+				max--;
+			}
+			else
+			{
+				if (max == maxPriority)
+					maxPriority--;
+				max--;
+				if (max < min)
+					break;
+			}
+		}
+
+		return obj;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function removeSmallest():Object
+	{
+		var obj:Object = null;
+
+		if (minPriority <= maxPriority)
+		{
+			while (!arrayOfArrays[minPriority] ||
+				   arrayOfArrays[minPriority].length == 0)
+			{
+				minPriority++;
+				if (minPriority > maxPriority)
+					return null;
+			}
+
+			obj = arrayOfArrays[minPriority].shift();
+
+			while (!arrayOfArrays[minPriority] ||
+				   arrayOfArrays[minPriority].length == 0)
+			{
+				minPriority++;
+				if (minPriority > maxPriority)
+					break;
+			}
+		}
+
+		return obj;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function removeSmallestChild(client:ILayoutManagerClient ):Object
+	{
+		var obj:Object = null;
+
+		var min:int = client.nestLevel;
+
+		while (min <= maxPriority)
+		{
+			if (arrayOfArrays[min] &&
+				   arrayOfArrays[min].length > 0)
+			{
+				for (var i:int = 0; i < arrayOfArrays[min].length; i++)
+				{
+					if (contains(DisplayObject(client), arrayOfArrays[min][i]))
+					{
+						obj = arrayOfArrays[min][i];
+						arrayOfArrays[min].splice(i, 1);
+						return obj;
+					}
+				}
+				min++;
+			}
+			else
+			{
+				if (min == minPriority)
+					minPriority++;
+				min++;
+				if (min > maxPriority)
+					break;
+			}
+		}
+
+		return obj;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function removeAll():void
+	{
+		arrayOfArrays.splice(0);
+
+		minPriority = 0;
+		maxPriority = -1;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function isEmpty():Boolean
+	{
+		return minPriority > maxPriority;
+	}
+
+	/**
+	 *  @private
+	 */
+	private function contains(parent:DisplayObject, child:DisplayObject):Boolean
+	{
+		if (parent is IRawChildrenContainer)
+		{
+			// trace("using view rawChildren");
+			var rawChildren:IChildList = IRawChildrenContainer(parent).rawChildren;
+			return rawChildren.contains(child);
+		}
+		else if (parent is DisplayObjectContainer)
+		{
+			return DisplayObjectContainer(parent).contains(child);
+		}
+
+		return parent == child;
+	}
+
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 9319
Author:   peterson@adobe.com
Date:     2009-08-14T21:38:48.754866Z

Log Message:
-----------
Added missing ASDoc version tagging as part of fix for Watson bug 2402680. Code compiles and checkintests pass.

Modified Paths:
--------------
<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/messaging/messages/MessagePerformanceUtils.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as
+++ frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as
@@ -29,7 +29,13 @@
      * @example
      * <pre>
      *      var mpiutil:MessagePerformanceUtils = new MessagePerformanceUtils(event.message);
-     * </pre>
+     * </pre>
+     *
+     * @langversion 3.0
+     * @playerversion Flash 9
+     * @playerversion AIR 1.1
+     * @productversion BlazeDS 4
+     * @productversion LCDS 3
      *
      */
     public class MessagePerformanceUtils
@@ -91,7 +97,13 @@
          * of the passed in message
          *
          * @param message The message whose MPI headers will be used in retrieving
-         * MPI information
+         * MPI information
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function MessagePerformanceUtils(message:Object):void
         {
@@ -121,6 +133,12 @@
          * for it from the server
          *
          * @return Total time in milliseconds
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function get totalTime():Number
         {
@@ -136,6 +154,12 @@
          * to be sent to the receiving client.
          *
          * @return Server processing time in milliseconds
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function get serverProcessingTime():Number
         {
@@ -154,6 +178,12 @@
          * messages out to other clients as a result of the original message.
          *
          * @return Server pre-push processing time in milliseconds
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function get serverPrePushTime():Number
         {
@@ -171,6 +201,12 @@
          * to be pushed to the receiving client.
          *
          * @return Server adapter processing time in milliseconds
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
 		public function get serverAdapterTime():Number
 		{
@@ -200,6 +236,12 @@
          * prepared to be pushed to the receiving client.
          *
          * @return Server adapter-external processing time in milliseconds
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
 		public function get serverAdapterExternalTime():Number
 		{
@@ -226,6 +268,12 @@
         /**
          * Time that the message waited on the server after it was ready to be pushed to the client
          * but had not yet been polled for.
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
 		public function get serverPollDelay():Number
 		{
@@ -241,6 +289,12 @@
          * Server processing time spent outside of the adapter associated with the destination of this message
          *
          * @return Non-adapter server processing time in milliseconds
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
 		public function get serverNonAdapterTime():Number
 		{
@@ -252,6 +306,12 @@
          * calculated by the difference between total time and server processing time
          *
          * @return Network round trip time in milliseconds
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function get networkRTT():Number
         {
@@ -266,6 +326,12 @@
          * to the client
          *
          * @return Timestamp in milliseconds since epoch
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function get serverSendTime():Number
         {
@@ -277,6 +343,12 @@
          * the server
          *
          * @return Timestamp in milliseconds since epoch
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function get clientReceiveTime():Number
         {
@@ -302,6 +374,12 @@
          * at the server endpoint
          *
          * @return Message size in Bytes
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function get responseMessageSize():int
         {
@@ -314,6 +392,12 @@
          *
          * @return true if this message was pushed to the client and is not a response to a message that
          * originated on the client
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function get pushedMessageFlag():Boolean
         {
@@ -326,6 +410,12 @@
          * clocks must be in sync for this to be meaningful.
          *
          * @return Total push time in milliseconds
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function get totalPushTime():Number
         {
@@ -338,6 +428,12 @@
          * and client clocks must be in sync for this to be meaningful.
          *
          * @return One way server push time in milliseconds
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 9
+         *  @playerversion AIR 1.1
+         *  @productversion BlazeDS 4
+         *  @productversion LCDS 3
          */
         public function get pushOneWayTime():Number
         {
@@ -349,6 +445,12 @@
          * when the client that caused a push message sent its message.
          *
          * @return Timestamp in milliseconds since epoch
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function get originatingMessageSentTime():Number
         {
@@ -360,6 +462,12 @@
          * caused this pushed message
          *
          * @return Pushed causer message size in Bytes
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function get originatingMessageSize():Number
         {
@@ -376,6 +484,12 @@
          * </listing>
          *
          * @return String containing a summary of all information available in MPI
+         *
+         * @langversion 3.0
+         * @playerversion Flash 9
+         * @playerversion AIR 1.1
+         * @productversion BlazeDS 4
+         * @productversion LCDS 3
          */
         public function prettyPrint():String
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3017
Author:   chaase@adobe.com
Date:     2008-08-27T20:27:30.701511Z

Log Message:
-----------
Fix for SDK-16608 and SDK-16445, plus Animation API cleanup.

I've removed the class and concept of IAnimationTarget, which was a duplicate, and more direct, way of listening to animation events. But to simplify the API, I've eliminated the target concept and, instead, require users of Animation to add themselves as listeners to the various AnimationEvent event types. This fixed SDK-16445 because final values were not being sent to targets, although they were being sent to event listeners (which Animate and other new effects benefit from now).

This also fixes SDK-16608, which was caused by assuming that any target of Fade must have the 'visible' property, which is not necessarily the case (such as for the Fill object).

Reviewed by Glenn
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animation.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/ResizeInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/ResizeInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/ResizeInstance.as
@@ -15,6 +15,7 @@
 import flex.component.Panel;
 import flex.effects.Animation;
 import flex.effects.PropertyValuesHolder;
+import flex.events.AnimationEvent;
 import flex.graphics.IGraphicElement;

 import mx.core.Application;
@@ -320,9 +321,9 @@
      * Handles the end event from the tween. The value here is an Array of
      * values, one for each 'property' in our propertyValuesList.
      */
-    override public function animationEnd(tween:Animation, value:Object):void
-    {
-        super.animationEnd(tween, value);
+    override protected function endHandler(event:AnimationEvent):void
+    {
+        super.endHandler(event);

         restorePanelChildren();
     }


requirements using qty no longer have qty default = n/a

--- flexEditor/src/org/arisgames/editor/util/AppUtils.as
+++ flexEditor/src/org/arisgames/editor/util/AppUtils.as
@@ -770,7 +770,10 @@
 			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_UPLOADED_MEDIA_ITEM_IMAGE_DATABASE ||
 			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_UPLOADED_MEDIA_ITEM_AUDIO_DATABASE ||
 			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_UPLOADED_MEDIA_ITEM_VIDEO_DATABASE ||
-			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_NOTE_DATABASE)
+			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_NOTE_DATABASE ||
+			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_NOTE_WITH_LIKES_DATABASE ||
+			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_NOTE_WITH_COMMENTS_DATABASE ||
+			req.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_GIVEN_NOTE_COMMENTS_DATABASE)
 		{
 			return true;
 		}


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

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


compute min/max Audio/Video PTS upon loading a new TS fragment

--- src/com/mangui/HLS/streaming/FragmentLoader.as
+++ src/com/mangui/HLS/streaming/FragmentLoader.as
@@ -271,8 +271,10 @@

     /** Handles the actual reading of the TS fragment **/
     private function _readHandler(e:Event):void {
-       var min_pts:Number = Number.POSITIVE_INFINITY;
-       var max_pts:Number = Number.NEGATIVE_INFINITY;
+       var min_audio_pts:Number = Number.POSITIVE_INFINITY;
+       var min_video_pts:Number = Number.POSITIVE_INFINITY;
+       var max_audio_pts:Number = Number.NEGATIVE_INFINITY;
+       var max_video_pts:Number = Number.NEGATIVE_INFINITY;

        /* in case we are loading first fragment of a playlist, just retrieve
        minimum PTS value to synchronize playlist PTS / sequence number.
@@ -280,12 +282,12 @@
        fragment at right offset */
        if(_playlist_pts_loading == true) {
           for(var k:Number=0; k < _ts.audioTags.length; k++) {
-             min_pts = Math.min(min_pts,_ts.audioTags[k].pts);
-             max_pts = Math.max(max_pts,_ts.audioTags[k].pts);
+             min_audio_pts = Math.min(min_audio_pts,_ts.audioTags[k].pts);
+             max_audio_pts = Math.max(max_audio_pts,_ts.audioTags[k].pts);
          }
-         _levels[_level].pts_value = min_pts;
+         _levels[_level].pts_value = min_audio_pts;
          _levels[_level].pts_seqnum = _seqnum;
-         Log.txt("Loaded  SN " + _seqnum +  " of [" + (_levels[_level].start_seqnum) + "," + (_levels[_level].end_seqnum) + "],level "+ _level + " min/max PTS:" + min_pts +"/" + max_pts);
+         Log.txt("Loaded  SN " + _seqnum +  " of [" + (_levels[_level].start_seqnum) + "," + (_levels[_level].end_seqnum) + "],level "+ _level + " min/max audio PTS:" + min_audio_pts +"/" + max_audio_pts);

          _playlist_pts_loading = false;
          _playlist_pts_loaded = true;
@@ -318,13 +320,13 @@

       // Push regular tags into buffer.
       for(var i:Number=0; i < _ts.videoTags.length; i++) {
-         //min_pts = Math.min(min_pts,_ts.videoTags[i].pts);
-         //max_pts = Math.max(max_pts,_ts.videoTags[i].pts);
+         min_video_pts = Math.min(min_video_pts,_ts.videoTags[i].pts);
+         max_video_pts = Math.max(max_video_pts,_ts.videoTags[i].pts);
         _tags.push(_ts.videoTags[i]);
       }
       for(var j:Number=0; j < _ts.audioTags.length; j++) {
-         min_pts = Math.min(min_pts,_ts.audioTags[j].pts);
-         max_pts = Math.max(max_pts,_ts.audioTags[j].pts);
+         min_audio_pts = Math.min(min_audio_pts,_ts.audioTags[j].pts);
+         max_audio_pts = Math.max(max_audio_pts,_ts.audioTags[j].pts);
         _tags.push(_ts.audioTags[j]);
       }

@@ -335,17 +337,17 @@

       try {
          _switchlevel = false;
-         _levels[_level].pts_value = min_pts;
+         _levels[_level].pts_value = min_audio_pts;
          _levels[_level].pts_seqnum = _seqnum;

-         Log.txt("Loaded  SN " + _seqnum +  " of [" + (_levels[_level].start_seqnum) + "," + (_levels[_level].end_seqnum) + "],level "+ _level + " min/max PTS:" + min_pts +"/" + max_pts);
-         _last_segment_duration = max_pts-min_pts;
+         Log.txt("Loaded  SN " + _seqnum +  " of [" + (_levels[_level].start_seqnum) + "," + (_levels[_level].end_seqnum) + "],level "+ _level + " min/max audio PTS:" + min_audio_pts +"/" + max_audio_pts);
+         _last_segment_duration = max_audio_pts-min_audio_pts;
          var frag:Fragment = _levels[_level].getFragmentfromSeqNum(_seqnum);
          if ((frag != null) && (frag.duration !=  (_last_segment_duration/1000))) {
            frag.duration = _last_segment_duration/1000;
            _levels[_level].updateStart();
          }
-         _callback(_tags,min_pts,max_pts);
+         _callback(_tags,min_audio_pts,max_audio_pts);
          _hls.dispatchEvent(new HLSEvent(HLSEvent.FRAGMENT, getMetrics()));
       } catch (error:Error) {
         _hls.dispatchEvent(new HLSEvent(HLSEvent.ERROR, error.toString()));


Transferred from the Adobe Open Source Subversion Repository

Revision: 20839
Author:   mhorn@adobe.com
Date:     2011-03-14T14:04:15.007456Z

Log Message:
-----------
merge 20790 and 20805

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>

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

--- frameworks/projects/framework/src/mx/collections/ArrayList.as
+++ frameworks/projects/framework/src/mx/collections/ArrayList.as
@@ -95,6 +95,8 @@
     /**
      *  Construct a new ArrayList using the specified array as its source.
      *  If no source is specified an empty array will be used.
+     *
+     *  @param source The Array to use as a source for the ArrayList.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9


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

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

 package mx.formatters
 {


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

--- frameworks/projects/mx/src/mx/skins/halo/ComboBoxArrowSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ComboBoxArrowSkin.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17444
Author:   clucier@adobe.com
Date:     2010-08-23T16:54:41.091790Z

Log Message:
-----------
We pass requestTimeout down to URLRequest.idleTimeout now if relevant (e.g. AIR 2.0).

QE notes: None
Doc notes: None
Bugs: SDK-22016
Reviewer: Paul, Peter
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as
+++ frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as
@@ -673,7 +673,9 @@
         if (_directChannelSet == null)
         {
             var dcs:ChannelSet = new ChannelSet();
-            dcs.addChannel(new DirectHTTPChannel("direct_http_channel"));
+            var dhc:DirectHTTPChannel = new DirectHTTPChannel("direct_http_channel");
+            dhc.requestTimeout = requestTimeout;
+            dcs.addChannel(dhc);
             _directChannelSet = dcs;
         }
         return _directChannelSet;


Transferred from the Adobe Open Source Subversion Repository

Revision: 10594
Author:   aharui@adobe.com
Date:     2009-09-25T18:41:02.152004Z

Log Message:
-----------
Fix some ControlBar bugs

QE Notes: None
Doc Notes: None
Bugs: SDK-23384 SDK-23373 SDK-23386
Reviewer: Corey
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/gumbo/containers/Panel

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/spark/src/spark/components/Application.as
+++ frameworks/projects/spark/src/spark/components/Application.as
@@ -374,10 +374,12 @@
         {
             controlBarGroup.mxmlContent = value;
             controlBarGroupProperties = BitFlagUtil.update(controlBarGroupProperties as uint,
-                                                        CONTROLBAR_PROPERTY_FLAG, true);
+                                                        CONTROLBAR_PROPERTY_FLAG, value != null);
         }
         else
             controlBarGroupProperties.controlBarContent = value;
+
+        invalidateSkinState();
     }

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