Transferred from the Adobe Open Source Subversion Repository

Revision: 21594
Author:   deeptika@adobe.com
Date:     2011-07-18T11:39:38.158141Z

Log Message:
-----------
Changing the style setting mechanism in charts (moving to defaults.css) to fix memory leak in charts.
QE notes:
Doc notes:
Bugs: FLEXDMV-2626 (Views with charts not getting GC-ed)
Reviewer:
Tests run: Mustella test suite for charts - cyclone tested by QE
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/charts.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/BubbleChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/ColumnChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/charts-4.X.0.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/GridLines.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/PieSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/BarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/AreaChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/AxisRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/LineSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/PieChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/PlotChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/CandlestickChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/charts-3.0.0.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/HLOCChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/LineChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/BarSeries.as</path>

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

--- frameworks/projects/charts/src/mx/charts/BarChart.as
+++ frameworks/projects/charts/src/mx/charts/BarChart.as
@@ -30,6 +30,7 @@
 import mx.core.IFlexModuleFactory;
 import mx.core.mx_internal;
 import mx.graphics.SolidColor;
+import mx.graphics.SolidColorStroke;
 import mx.graphics.Stroke;
 import mx.styles.CSSStyleDeclaration;

@@ -313,25 +314,12 @@
     private function initStyles():Boolean
     {
         HaloDefaults.init(styleManager);
-
-        var barChartStyle:CSSStyleDeclaration =
-            HaloDefaults.createSelector("mx.charts.BarChart", styleManager);
-
-        barChartStyle.defaultFactory = function():void
-        {
-            this.axisColor = 0xD5DEDD;
-            this.barWidthRatio = 0.65;
-            this.chartSeriesStyles = HaloDefaults.chartBaseChartSeriesStyles;
-            this.dataTipRenderer = DataTip;
-            this.fill = new SolidColor(0xFFFFFF, 0);
-            this.calloutStroke = new Stroke(0x888888,2);
-            this.fontSize = 10;
-            this.gridLinesStyleName = "horizontalGridLines";
-            this.textAlign = "left";
-            this.horizontalAxisStyleNames = ["blockNumericAxis"];
-            this.verticalAxisStyleNames = ["blockCategoryAxis"];
-        }
-
+		var barChartStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.BarChart");
+		barChartStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
+		barChartStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
+		barChartStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
+		barChartStyle.setStyle("horizontalAxisStyleNames", ["blockNumericAxis"]);
+		barChartStyle.setStyle("verticalAxisStyleNames", ["blockCategoryAxis"]);
         return true;
     }


added findParentNode()

added findParentNode()

--- WeaveJS/src/weavejs/data/hierarchy/HierarchyUtils.as
+++ WeaveJS/src/weavejs/data/hierarchy/HierarchyUtils.as
@@ -16,6 +16,7 @@
 package weavejs.data.hierarchy
 {
 	import weavejs.api.data.IColumnReference;
+	import weavejs.api.data.IDataSource;
 	import weavejs.api.data.IDataSource_File;
 	import weavejs.api.data.IWeaveTreeNode;
 	import weavejs.api.data.IWeaveTreeNodeWithPathFinding;
@@ -27,6 +28,15 @@
 	 */
 	public class HierarchyUtils
 	{
+		public static function findParentNode(root:IWeaveTreeNode, dataSource:IDataSource, metadata:Object):IWeaveTreeNode
+		{
+			var leaf:IWeaveTreeNode = dataSource.findHierarchyNode(metadata);
+			var path:Array = findPathToNode(root, leaf);
+			if (path && path.length > 1)
+				return path[path.length - 2];
+			return null;
+		}
+
 		/**
 		 * Finds a series of IWeaveTreeNode objects which can be traversed as a path to a descendant node.
 		 * @param root The root IWeaveTreeNode.


Removed a useless debugging trace.

Removed a useless debugging trace.

git-svn-id: c197267f952b24206666de142881703007ca05d5@9645 b35dd754-fafc-0310-a699-88a17e54d16e


Update M2TSFileHandler.as

Update M2TSFileHandler.as

--- HLSPlugin/src/com/kaltura/hls/m2ts/M2TSFileHandler.as
+++ HLSPlugin/src/com/kaltura/hls/m2ts/M2TSFileHandler.as
@@ -264,8 +264,9 @@
 				input.readBytes( tmpBuffer, tmpBuffer.length, amountToRead);

 			//If we aren't flushing at the end of a segment, save the last 16 bytes off the end in case they are padding
-			//Subtle bug - If we don't save the bytes off the end and control when it tries to unpad, it can unpad data that
-			//is valid but happens to look like padding.
+			//If we don't save the data and then attempt unpadding at the end, it may try unpadding in the middle of
+			//a segment. If it does this and the data happens to look like padding, it will truncate good bytes and
+			//cause pixelation
 			if (!_flush)
 			{
 				tmpBuffer.position = tmpBuffer.length - 16;
@@ -275,7 +276,7 @@
 			}
 			else
 			{
-			//If we are flushing, reset the ByteArray so no leftover data is around for the first pass on the next segment
+				//If we are flushing, reset the ByteArray so no leftover data is around for the first pass on the next segment
 				_lastSixteenBytes.length = 0;
 				_lastSixteenBytes.position = 0;
 			}


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

--- frameworks/projects/mx/src/mx/skins/halo/DataGridColumnDropIndicator.as
+++ frameworks/projects/mx/src/mx/skins/halo/DataGridColumnDropIndicator.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.skins.halo
 {


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

--- frameworks/projects/spark/src/spark/components/mediaClasses/ScrubBar.as
+++ frameworks/projects/spark/src/spark/components/mediaClasses/ScrubBar.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
+//  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
+//
+//      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.
 //
 ////////////////////////////////////////////////////////////////////////////////


note requirements working!

note requirements working!

--- flexEditor/src/org/arisgames/editor/util/AppConstants.as
+++ flexEditor/src/org/arisgames/editor/util/AppConstants.as
@@ -173,7 +173,7 @@
 	public static const REQUIREMENT_PLAYER_HAS_NOTE_DATABASE:String = "PLAYER_HAS_NOTE";
 	public static const REQUIREMENT_PLAYER_HAS_NOTE_HUMAN:String = "Has A Note";
 	public static const REQUIREMENT_PLAYER_HAS_NOTE_WITH_LIKES_DATABASE:String = "PLAYER_HAS_NOTE_WITH_LIKES";
-	public static const REQUIREMENT_PLAYER_HAS_NOTE_WITH_LIKES_HUMAN:String = "Has A Note With (x) LIKES";
+	public static const REQUIREMENT_PLAYER_HAS_NOTE_WITH_LIKES_HUMAN:String = "Has A Note With (x) Likes";
 	public static const REQUIREMENT_PLAYER_HAS_NOTE_WITH_COMMENTS_DATABASE:String = "PLAYER_HAS_NOTE_WITH_COMMENTS";
 	public static const REQUIREMENT_PLAYER_HAS_NOTE_WITH_COMMENTS_HUMAN:String = "Has A Note With (x) Comments";
 	public static const REQUIREMENT_PLAYER_HAS_GIVEN_NOTE_COMMENTS_DATABASE:String = "PLAYER_HAS_GIVEN_NOTE_COMMENTS";


Transferred from the Adobe Open Source Subversion Repository

Revision: 20736
Author:   smgilson@adobe.com
Date:     2011-03-09T21:18:00.204102Z

Log Message:
-----------
Merge 20719 - ASDoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EdgeMetrics.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DeferredInstanceFromFunction.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/core/Container.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/FTETextField.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ITextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ITextFieldInterface.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DPIClassification.as</path>

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 5809
Author:   smgilson@adobe.com
Date:     2009-03-31T17:31:13.771321Z

Log Message:
-----------
Fix bad @copy tags in ASDoc comments

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
<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/airframework/src/mx/controls/FlexNativeMenu.as</path>

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

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

         invalidateProperties();
         if (parent && "childTransformChanged" in parent)
-        	parent["childTransformChanged"]();
+            parent["childTransformChanged"]();

         dispatchEvent(new Event("xChanged"));
     }
@@ -2249,7 +2249,7 @@
         }
         invalidateProperties();
         if (parent && "childTransformChanged" in parent)
-        	parent["childTransformChanged"]();
+            parent["childTransformChanged"]();

         dispatchEvent(new Event("yChanged"));
     }
@@ -8133,7 +8133,102 @@
     }

     /**
-     *  @copy mx.skins.ProgrammaticSkin#drawRoundRect()
+     *  Programatically draws a rectangle into this skin's Graphics object.
+     *
+     *
The rectangle can have rounded corners.
+     *  Its edges are stroked with the current line style
+     *  of the Graphics object.
+     *  It can have a solid color fill, a gradient fill, or no fill.
+     *  A solid fill can have an alpha transparency.
+     *  A gradient fill can be linear or radial. You can specify
+     *  up to 15 colors and alpha values at specified points along
+     *  the gradient, and you can specify a rotation angle
+     *  or transformation matrix for the gradient.
+     *  Finally, the rectangle can have a rounded rectangular hole
+     *  carved out of it.

+     *
+     *
This versatile rectangle-drawing routine is used by many skins.
+     *  It calls the drawRect() or
+     *  drawRoundRect()
+     *  methods (in the flash.display.Graphics class) to draw into this
+     *  skin's Graphics object.

+     *
+     *  @param x Horizontal position of upper-left corner
+     *  of rectangle within this skin.
+     *
+     *  @param y Vertical position of upper-left corner
+     *  of rectangle within this skin.
+     *
+     *  @param w Width of rectangle, in pixels.
+     *
+     *  @param h Height of rectangle, in pixels.
+     *
+     *  @param r Corner radius/radii of rectangle.
+     *  Can be null, a Number, or an Object.
+     *  If it is null, it specifies that the corners should be square
+     *  rather than rounded.
+     *  If it is a Number, it specifies the same radius, in pixels,
+     *  for all four corners.
+     *  If it is an Object, it should have properties named
+     *  tl, tr, bl, and
+     *  br, whose values are Numbers specifying
+     *  the radius, in pixels, for the top left, top right,
+     *  bottom left, and bottom right corners.
+     *  For example, you can pass a plain Object such as
+     *  { tl: 5, tr: 5, bl: 0, br: 0 }.
+     *  The default value is null (square corners).
+     *
+     *  @param c The RGB color(s) for the fill.
+     *  Can be null, a uint, or an Array.
+     *  If it is null, the rectangle not filled.
+     *  If it is a uint, it specifies an RGB fill color.
+     *  For example, pass 0xFF0000 to fill with red.
+     *  If it is an Array, it should contain uints
+     *  specifying the gradient colors.
+     *  For example, pass [ 0xFF0000, 0xFFFF00, 0x0000FF ]
+     *  to fill with a red-to-yellow-to-blue gradient.
+     *  You can specify up to 15 colors in the gradient.
+     *  The default value is null (no fill).
+     *
+     *  @param alpha Alpha value(s) for the fill.
+     *  Can be null, a Number, or an Array.
+     *  This argument is ignored if color is null.
+     *  If color is a uint specifying an RGB fill color,
+     *  then alpha should be a Number specifying
+     *  the transparency of the fill, where 0.0 is completely transparent
+     *  and 1.0 is completely opaque.
+     *  You can also pass null instead of 1.0 in this case
+     *  to specify complete opaqueness.
+     *  If color is an Array specifying gradient colors,
+     *  then alpha should be an Array of Numbers, of the
+     *  same length, that specifies the corresponding alpha values
+     *  for the gradient.
+     *  In this case, the default value is null (completely opaque).
+     *
+     *  @param rot Matrix object used for the gradient fill.
+     *  The utility methods horizontalGradientMatrix(),
+     *  verticalGradientMatrix(), and
+     *  rotatedGradientMatrix() can be used to create the value for
+     *  this parameter.
+     *
+     *  @param gradient Type of gradient fill. The possible values are
+     *  GradientType.LINEAR or GradientType.RADIAL.
+     *  (The GradientType class is in the package flash.display.)
+     *
+     *  @param ratios
+     *  Specifies the distribution of colors. The number of entries must match
+     *  the number of colors defined in the color parameter.
+     *  Each value defines the percentage of the width where the color is
+     *  sampled at 100%. The value 0 represents the left-hand position in
+     *  the gradient box, and 255 represents the right-hand position in the
+     *  gradient box.
+     *
+     *  @param hole A rounded rectangular hole
+     *  that should be carved out of the middle
+     *  of the otherwise solid rounded rectangle
+     *  { x: #, y: #, w: #, h: #, r: # or { br: #, bl: #, tl: #, tr: # } }
+     *
+     *  @see flash.display.Graphics#beginGradientFill()
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -8716,7 +8811,7 @@
             else if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
                 rectCol = getStyle("themeColor");
             else
-            	rectCol = getStyle("focusColor");
+                rectCol = getStyle("focusColor");

             var thickness:Number = getStyle("focusThickness");

@@ -9591,9 +9686,9 @@
      */
     mx_internal function initThemeColor():Boolean
     {
-    	if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_0)
-    		return true;
-
+        if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_0)
+            return true;
+
         var styleName:Object /* String or UIComponent */ = _styleName;

         var tc:Object;  // Can be number or string
@@ -9760,7 +9855,7 @@
             textFormat.thickness = _inheritingStyles.fontThickness;

             textFormat.useTLF =
-				getTextFieldClassName() == "mx.core::UITLFTextField";
+                getTextFieldClassName() == "mx.core::UITLFTextField";

             cachedTextFormat = textFormat;
         }
@@ -10946,16 +11041,16 @@
         var moduleContext:IFlexModuleFactory = oldEmbeddedFontContext ?
                                                oldEmbeddedFontContext :
                                                moduleFactory;
-
-		var className:String = getQualifiedClassName(classObj);
-
-		// If the caller requests a UITextField,
-		// we may actually return a UITLFTextField,
-		// depending on the version number
-		// and the value of the textFieldClass style.
-		if (className == "mx.core::UITextField")
-			className = getTextFieldClassName();
-
+
+        var className:String = getQualifiedClassName(classObj);
+
+        // If the caller requests a UITextField,
+        // we may actually return a UITLFTextField,
+        // depending on the version number
+        // and the value of the textFieldClass style.
+        if (className == "mx.core::UITextField")
+            className = getTextFieldClassName();
+
         // Not in font registry, so create in this font context.
         var obj:Object = createInModuleContext(moduleContext, className);

@@ -10966,18 +11061,18 @@
     }

     /**
-	 *  @private
-	 *  Returns either "mx.core::UITextField" or "mx.core::UITLFTextField",
-	 *  based on the version number and the textFieldClass style.
-	 */
-	private function getTextFieldClassName():String
-    {
-    	var c:Class = getStyle("textFieldClass");
-
-		if (!c || FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
-    		return "mx.core::UITextField";
-
-    	return getQualifiedClassName(c);
+     *  @private
+     *  Returns either "mx.core::UITextField" or "mx.core::UITLFTextField",
+     *  based on the version number and the textFieldClass style.
+     */
+    private function getTextFieldClassName():String
+    {
+        var c:Class = getStyle("textFieldClass");
+
+        if (!c || FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
+            return "mx.core::UITextField";
+
+        return getQualifiedClassName(c);
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 7866
Author:   jszeto@adobe.com
Date:     2009-06-15T23:11:45.128254Z

Log Message:
-----------
GraphicElement PARB Changes

- Deprecated mx.graphics.RoundedRectangle
- Added mx.geom.RoundedRectangle
- Removed GraphicElement.getStroke
- Moved code from GraphicElement.getStrokeExtents into StrokedElement.
- Updated the dependency checker

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/RoundedRectangle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.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/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RoundedRectangle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/DissolveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Dissolve.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -55,7 +55,7 @@
 import mx.events.ValidationResultEvent;
 import mx.filters.BaseFilter;
 import mx.filters.IBitmapFilter;
-import mx.graphics.RoundedRectangle;
+import mx.geom.RoundedRectangle;
 import mx.geom.Transform;
 import mx.geom.TransformOffsets;
 import mx.managers.CursorManager;


Transferred from the Adobe Open Source Subversion Repository

Revision: 10606
Author:   egeorgie@adobe.com
Date:     2009-09-25T23:01:50.455888Z

Log Message:
-----------
White space cleanup.

Doc notes: None
Bugs: None
Reviewer: Evtim
Tests run: build
Is noteworthy for integration: Nope

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<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/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/Block.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/DescribeTypeCache.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/sparkTest/src/testWheel.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/utils/MatrixUtil.as
+++ frameworks/projects/framework/src/mx/utils/MatrixUtil.as
@@ -145,7 +145,7 @@

 	    components[2] = Math.atan2( Uy, Ux ) / RADIANS_PER_DEGREES;

-	    if(transformX != 0 || transformY != 0)
+	    if (transformX != 0 || transformY != 0)
 	    {
 	    	var postTransformCenter:Point = matrix.transformPoint(new Point(transformX,transformY));
 	    	components[0] = postTransformCenter.x - transformX;
@@ -232,7 +232,7 @@
         // (7) dx/dt = 0 <=> sin(t) / cos(t) = (c * ry) / (a * rx);
         // (8) dy/dt = 0 <=> sin(t) / cos(t) = (d * ry) / (b * rx);

-        if(rx == 0 && ry == 0)
+        if (rx == 0 && ry == 0)
         {
             var pt:Point = new Point(cx, cy);
             pt = matrix.transformPoint(pt);
@@ -437,7 +437,7 @@
 	 */
 	public static function isDeltaIdentity(matrix:Matrix):Boolean
 	{
-	    if( matrix.a == 1 && matrix.d == 1 &&
+	    if (matrix.a == 1 && matrix.d == 1 &&
 	    	matrix.b == 0 && matrix.c == 0)
             return true;
         return false;
@@ -913,7 +913,7 @@
         var B:Number = (w - maxX * a) / c;
         var rangeMinY:Number = Math.max(minY, Math.min(A, B));
         var rangeMaxY:Number = Math.min(maxY, Math.max(A, B));
-        const det:Number = ( b * c - a * d );
+        const det:Number = (b * c - a * d);

         // We have a possible solution for Case1 if the range for y is valid
         if (rangeMinY <= rangeMaxY)
@@ -947,7 +947,7 @@
             // the condition is a linear function of x and y (in our case it is).
             y = Math.max(rangeMinY, Math.min(y, rangeMaxY));

-            x = ( w - c * y ) / a;
+            x = (w - c * y) / a;
             return new Point(x, y);
         }

@@ -964,8 +964,8 @@
         // A = (minX + w/a) * (-a/c)
         // B = (maxX + w/a) * (-a/c)

-        A = -( minX * a + w ) / c;
-        B = -( maxX * a + w ) / c;
+        A = -(minX * a + w) / c;
+        B = -(maxX * a + w) / c;
         rangeMinY = Math.max(minY, Math.min(A, B));
         rangeMaxY = Math.min(maxY, Math.max(A, B));

@@ -982,7 +982,7 @@
             // "make x and y as close as possible": y = -w / ( a + c );
             // "minimize abs(bx + dy)": y = -b * w / det
             // "preserve aspect ratio": y = w / ( a * preferredX / preferredY + c );
-            if( det == 0 )
+            if (det == 0)
             {
                 // There is infinate number of solutions, lets pick x == y
                 y = -w / ( a + c );
@@ -999,9 +999,9 @@
             // we clamp with the range. This gives us a solution with
             // values as close as possible to satisfy our custom condition when
             // the condition is a linear function of x and y (in our case it is).
-            y = Math.max( rangeMinY, Math.min( y, rangeMaxY));
-            x = ( -w - c * y ) / a;
-            return new Point(x,y);
+            y = Math.max(rangeMinY, Math.min(y, rangeMaxY));
+            x = (-w - c * y) / a;
+            return new Point(x, y);

         }
         return null; // No solution
@@ -1095,7 +1095,7 @@
         {
             // No solution in the following cases since the matrix collapses
             // all points into a line.
-            if(b == 0 || c==0)
+            if (b == 0 || c==0)
                return null;

             // (1) w = abs( ax + cy ) <=> w = abs( cy ) <=> w = abs(c)y
@@ -1112,14 +1112,14 @@

         // Calculate the determinant of the system
         const det:Number = a * d1 - b * c1;
-        if( det == 0 )
+        if (det == 0)
         {
             // No solution in these cases since the matrix
             // collapses all points into a line.
             if (c1 == 0 || a == 0 || a == -c1)
                return null;

-            if( Math.abs( a * h ) - Math.abs( b * w ) > 1.0e-9 )
+            if (Math.abs(a * h) - Math.abs(b * w) > 1.0e-9)
                return null; // No solution in this case

             // Determinant is zero, the equations (1) & (2) are equivalent and
@@ -1139,41 +1139,41 @@
         // a * x + c1 * y >= 0
         // b * x + d1 * y >= 0
         var s:Point;
-        s = solveSystem( a, c1, b, d1, w, h);
-        if( s &&
+        s = solveSystem(a, c1, b, d1, w, h);
+        if (s &&
             minX <= s.x && s.x <= maxX && minY <= s.y && s.y <= maxY &&
             a * s.x + c1 * s.x >= 0 &&
-            b * s.x + d1 * s.y >= 0 )
+            b * s.x + d1 * s.y >= 0)
             return s;

         // Case 2:
         // a * x + c1 * y >= 0
         // b * x + d1 * y < 0
         s = solveSystem( a, c1, b, d1, w, -h);
-        if( s &&
+        if (s &&
             minX <= s.x && s.x <= maxX && minY <= s.y && s.y <= maxY &&
             a * s.x + c1 * s.x >= 0 &&
-            b * s.x + d1 * s.y < 0 )
+            b * s.x + d1 * s.y < 0)
             return s;

         // Case 3:
         // a * x + c1 * y < 0
         // b * x + d1 * y >= 0
         s = solveSystem( a, c1, b, d1, -w, h);
-        if( s &&
+        if (s &&
             minX <= s.x && s.x <= maxX && minY <= s.y && s.y <= maxY &&
             a * s.x + c1 * s.x < 0 &&
-            b * s.x + d1 * s.y >= 0 )
+            b * s.x + d1 * s.y >= 0)
             return s;

         // Case 4:
         // a * x + c1 * y < 0
         // b * x + d1 * y < 0
         s = solveSystem( a, c1, b, d1, -w, -h);
-        if( s &&
+        if (s &&
             minX <= s.x && s.x <= maxX && minY <= s.y && s.y <= maxY &&
             a * s.x + c1 * s.x < 0 &&
-            b * s.x + d1 * s.y < 0 )
+            b * s.x + d1 * s.y < 0)
             return s;

         return null; // No solution.


Fixed RTE as property may be null

Fixed RTE as property may be null

--- frameworks/projects/framework/src/mx/utils/ObjectUtil.as
+++ frameworks/projects/framework/src/mx/utils/ObjectUtil.as
@@ -1310,9 +1310,9 @@
             for (var flag:String in options)
             {
                 key += flag;
-				var value:String = options[flag].toString();
+				var value:String = options[flag];
 				if (value != null)
-					key += value;
+					key += value.toString();
 			}
         }
         return key;


Transferred from the Adobe Open Source Subversion Repository

Revision: 2185
Author:   jimurphy@adobe.com
Date:     2008-06-23T20:04:23.150071Z

Log Message:
-----------
Merged 3.0.x revisions [2108,2111,2113,2142,2145,2147,2149-2150,2171,2178,2183] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/templates/html-templates/express-installation-with-history/history/historyFrame.html</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/swfutils/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/BindingUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/debugger/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/asc/build/java/build.xml</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/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/antTasks/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/templates/html-templates/client-side-detection-with-history/history/historyFrame.html</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/Binding.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/types/SOAPArrayType.as</path>
<path kind="file" action="M">/flex/sdk/trunk/templates/html-templates/no-player-detection-with-history/history/historyFrame.html</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>

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

--- frameworks/projects/mx/src/mx/containers/TabNavigator.as
+++ frameworks/projects/mx/src/mx/containers/TabNavigator.as
@@ -187,7 +187,7 @@
  *
  *
To define the appearance of tabs in a TabNavigator, you can define style properties in a
  *  Tab type selector, as the following example shows:

- *

+ *

  *  <mx:Style>
  *    Tab {
  *       fillColors: #006699, #cccc66;
@@ -196,7 +196,7 @@
  *       downSkin: ClassReference("CustomSkinClass");
  *    }
  *  </mx:Style>
- *

+ *

  *
  *
The Tab type selector defines values on the hidden mx.controls.tabBarClasses.Tab
  *  class. The default values for the Tab type selector are defined in the
@@ -204,7 +204,7 @@
  *
  *
You can also define the styles in a class selector that you specify using
  *  the tabStyleName style property; for example:

- *

+ *

  *  <mx:Style>
  *    TabNavigator {
  *       tabStyleName:myTabStyle;
@@ -217,7 +217,7 @@
  *       downSkin: ClassReference("CustomSkinClass");
  *    }
  *  </mx:Style>
- *

+ *

  *
  *
A TabNavigator container has the following default sizing characteristics:

  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 219
Author:   jszeto@adobe.com
Date:     2008-01-16T23:03:43.698998Z

Log Message:
-----------
Flex SDK Bug Fix

SDK-11279 - Panel does not display a solid border when borderStyle="solid" and borderThickness is set.

Use a combination of the PanelSkin and HaloBorder to calculate the borderMetrics when borderStyle != "default". Added in code to Panel.layoutChrome to inset the chrome by the borderThickness in a very narrow case to match 2.x behavior.

Bug: SDK-11279
QA: Yes
Doc: Yes

[ Private Comments Below ]
Code Review: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PanelSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>

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

--- frameworks/projects/mx/src/mx/containers/Panel.as
+++ frameworks/projects/mx/src/mx/containers/Panel.as
@@ -18,6 +18,7 @@
 import flash.events.MouseEvent;
 import flash.geom.Rectangle;
 import flash.text.TextLineMetrics;
+import flash.utils.getQualifiedClassName;
 import mx.automation.IAutomationObject;
 import mx.containers.utilityClasses.BoxLayout;
 import mx.containers.utilityClasses.CanvasLayout;
@@ -1354,12 +1355,24 @@
     {
         super.layoutChrome(unscaledWidth, unscaledHeight);

+        // Special case for the default borderSkin to inset the chrome content
+        // by the borderThickness when borderStyle is "solid", "inset" or "outset".
+        // We use getQualifiedClassName to avoid bringing in a dependency on
+        // mx.skins.halo.PanelSkin.
+        var em:EdgeMetrics = EdgeMetrics.EMPTY;
+        var bt:Number = getStyle("borderThickness");
+        if (getQualifiedClassName(border) == "mx.skins.halo::PanelSkin" &&
+        	getStyle("borderStyle") != "default" && bt)
+        {
+        	em = new EdgeMetrics(bt, bt, bt, bt);
+        }
+
         // Remove the borderThickness from the border metrics,
         // since the header and control bar overlap any solid border.
         var bm:EdgeMetrics =
         	FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0 ?
         	borderMetrics :
-        	EdgeMetrics.EMPTY;
+        	em;

         var x:Number = bm.left;
         var y:Number = bm.top;


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

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

 package mx.events
 {


putColumn() now works w/ hashmaps

putColumn() now works w/ hashmaps

Change-Id: I20e72a11d728e60184de79c8f773c87c6c9a6112

--- WeaveData/src/weave/data/DataSources/CSVDataSource.as
+++ WeaveData/src/weave/data/DataSources/CSVDataSource.as
@@ -22,6 +22,7 @@
 	import flash.net.URLLoaderDataFormat;
 	import flash.net.URLRequest;
 	import flash.utils.Dictionary;
+	import flash.utils.getQualifiedClassName;

 	import mx.rpc.AsyncToken;
 	import mx.rpc.events.FaultEvent;
@@ -234,9 +235,13 @@
 			if (!sourceOwner)
 				return false;
 			var columnName:String = columnNameOrIndex as String || getColumnNames()[columnNameOrIndex] as String;
+			var essi:ExternalSessionStateInterface = WeaveAPI.ExternalSessionStateInterface as ExternalSessionStateInterface;
 			var dc:DynamicColumn = dynamicColumnOrPath as DynamicColumn;
 			if (!dc)
-				dc = (WeaveAPI.ExternalSessionStateInterface as ExternalSessionStateInterface).getObject(dynamicColumnOrPath as Array) as DynamicColumn;
+			{
+				essi.requestObject(dynamicColumnOrPath as Array, getQualifiedClassName(DynamicColumn));
+				dc = essi.getObject(dynamicColumnOrPath as Array) as DynamicColumn;
+			}
 			if (!columnName || !dc)
 				return false;


ParentRunner::getFilteredChildren(): moved children.length out of loop to avoid repeated calls to computeTestMethods() in derived class

--- FlexUnit4/src/org/flexunit/runners/ParentRunner.as
+++ FlexUnit4/src/org/flexunit/runners/ParentRunner.as
@@ -341,8 +341,9 @@
 			if(!childrenFiltered) {
 				var filtered:Array = new Array();
 				var child:*;
+				var length:uint = children.length;

-				for ( var i:int=0; i<children.length; i++ ) {
+				for ( var i:uint=0; i<length; i++ ) {
 					child = children[ i ];
 					//Determine if the child matches the filter
 					if ( shouldRun( child ) ) {


Added support for non-column key sets in setColumnKeySources().

Change-Id: I280eba2fa02251be4e65b97b7b4d194cd9868088

--- WeaveData/src/weave/data/KeySets/FilteredKeySet.as
+++ WeaveData/src/weave/data/KeySets/FilteredKeySet.as
@@ -86,10 +86,12 @@
 			if (StandardLib.arrayCompare(_setColumnKeySources_arguments, arguments) == 0)
 				return;

+			var keySet:IKeySet;
+
 			// unlink from the old key set
 			if (_generatedKeySets)
 			{
-				for each (var keySet:IKeySet in _generatedKeySets)
+				for each (keySet in _generatedKeySets)
 					disposeObject(keySet);
 				_generatedKeySets = null;
 			}
@@ -104,18 +106,15 @@
 			{
 				// KeySetUnion should not trigger callbacks
 				var union:KeySetUnion = registerDisposableChild(this, new KeySetUnion(keyInclusionLogic));
-				for each (var column:Object in sortColumns)
-				{
-					if (column is IAttributeColumn)
-						union.addKeySetDependency(column as IKeySet);
-					else
-						throw new Error("sortColumns must be an Array of IAttributeColumn objects");
-				}
-				// SortedKeySet should trigger callbacks
+				for each (keySet in sortColumns)
+					union.addKeySetDependency(keySet);
+				sortColumns = sortColumns.filter(includeColumnsOnly);
+
 				if (debug && keyCompare == null)
 					trace(debugId(this), 'sort by [', sortColumns, ']');

 				var compare:Function = keyCompare || SortedKeySet.generateCompareFunction(sortColumns, descendingFlags);
+				// SortedKeySet should trigger callbacks
 				var sorted:SortedKeySet = registerLinkableChild(this, new SortedKeySet(union, compare, sortColumns));
 				_generatedKeySets = [union, sorted];

@@ -127,6 +126,11 @@
 			}

 			triggerCallbacks();
+		}
+
+		private function includeColumnsOnly(obj:*, i:*, a:*):Boolean
+		{
+			return obj is IAttributeColumn;
 		}

 		/**


Transferred from the Adobe Open Source Subversion Repository

Revision: 7866
Author:   jszeto@adobe.com
Date:     2009-06-15T23:11:45.128254Z

Log Message:
-----------
GraphicElement PARB Changes

- Deprecated mx.graphics.RoundedRectangle
- Added mx.geom.RoundedRectangle
- Removed GraphicElement.getStroke
- Moved code from GraphicElement.getStrokeExtents into StrokedElement.
- Updated the dependency checker

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/RoundedRectangle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.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/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RoundedRectangle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/DissolveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Dissolve.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/containers/Accordion.as
+++ frameworks/projects/mx/src/mx/containers/Accordion.as
@@ -44,7 +44,7 @@
 import mx.events.ChildExistenceChangedEvent;
 import mx.events.FlexEvent;
 import mx.events.IndexChangedEvent;
-import mx.graphics.RoundedRectangle;
+import mx.geom.RoundedRectangle;
 import mx.managers.HistoryManager;
 import mx.styles.StyleManager;
 import mx.styles.CSSStyleDeclaration;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/effects/Resize.as
+++ frameworks/projects/spark/src/spark/effects/Resize.as
@@ -50,6 +50,8 @@
  *  </pre>
  *
  *  @see spark.effects.supportClasses.ResizeInstance
+ *
+ *  @includeExample examples/ResizeEffectExample.mxml
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


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

--- frameworks/projects/mx/src/mx/containers/TileDirection.as
+++ frameworks/projects/mx/src/mx/containers/TileDirection.as
@@ -17,6 +17,11 @@
  *  direction property of the Tile container.
  *
  *  @see mx.containers.Tile
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public final class TileDirection
 {
@@ -31,12 +36,22 @@
     /**
 	 *  Specifies that the children of the Tile container are laid out
 	 *  horizontally; that is, starting with the first row.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const HORIZONTAL:String = "horizontal";

     /**
 	 *  Specifies that the children of the Tile container are laid out
 	 *  vertically; that is, starting with the first column.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const VERTICAL:String = "vertical";
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8581
Author:   mhorn@adobe.com
Date:     2009-07-15T15:47:47.191332Z

Log Message:
-----------
asdoc edits: bug fix FLEXDOCS-1000

Modified Paths:
--------------
<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/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>

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

--- frameworks/projects/spark/src/spark/components/Spinner.as
+++ frameworks/projects/spark/src/spark/components/Spinner.as
@@ -426,7 +426,7 @@
         if (value != prevValue)
             dispatchEvent(new Event("change"));

-        // Gumbo redispatches scrolling keyboard events with cancelable=true
+        // Flex 4 redispatches scrolling keyboard events with cancelable=true
         // so typically we will preventDefault (read "cancel") here, rather
         // than stopping dispatching.
         if (stopPropagation)


fixing documentation

fixing documentation

Change-Id: I8b48db9d546d14ae5254db5fd035cc897949d4d1

--- WeaveUI/src/weave/visualization/layers/LinkableEventListener.as
+++ WeaveUI/src/weave/visualization/layers/LinkableEventListener.as
@@ -23,23 +23,21 @@
 	import flash.events.MouseEvent;

 	import weave.api.WeaveAPI;
-	import weave.api.core.IDisposableObject;
 	import weave.api.core.ILinkableHashMap;
 	import weave.api.core.ILinkableObject;
 	import weave.api.getLinkableRoot;
 	import weave.api.registerLinkableChild;
 	import weave.api.reportError;
-	import weave.core.CallbackCollection;
 	import weave.core.LinkableFunction;
 	import weave.core.LinkableString;

 	/**
-	 * A LinkableEventListener is a sessioned eventLinster which is added to the stage. The action is specified by
+	 * A LinkableEventListener is a sessioned event listener which is added to the stage. The event type is specified by
 	 * event.value and the listener function specified by the LinkableFunction script.value.
 	 *
 	 * @author kmonico
 	 */
-	public class LinkableEventListener extends CallbackCollection implements ILinkableObject, IDisposableObject
+	public class LinkableEventListener implements ILinkableObject
 	{
 		public function LinkableEventListener()
 		{


- Use [] instead of "new Array()"
- Implement keys() and values() using forEach().
  - Less code is better code.
  - But, it's less efficient:
    - values() now looks up simple-key values by hashing
    - values() now unwraps non-simple keys, even though unneeded
    - keys() looks up simple-key values, even though unneeded

Say it with me like a 14-year-old girl: whatEVER!

git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@5724 542714f4-19e9-0310-aa3c-eee0fc999fb1

--- src/as/com/threerings/util/HashMap.as
+++ src/as/com/threerings/util/HashMap.as
@@ -131,7 +131,7 @@

         // lazy-create the array holding other hashables
         if (_entries == null) {
-            _entries = new Array();
+            _entries = [];
             _entries.length = DEFAULT_BUCKETS;
         }

@@ -215,50 +215,20 @@
     /** @inheritDoc */
     public function keys () :Array
     {
-        var keys :Array = new Array();
-
-        // get the simple keys first
-        if (_simpleData != null) {
-            for (var key :* in _simpleData) {
-                keys.push(key);
-            }
-        }
-
-        // get the more complex keys
-        if (_entries != null) {
-            for (var ii :int = _entries.length - 1; ii >= 0; ii--) {
-                for (var e :HashMap_Entry = (_entries[ii] as HashMap_Entry); e != null;
-                        e = e.next) {
-                    keys.push(e.getOriginalKey());
-                }
-            }
-        }
-
+        var keys :Array = [];
+        forEach(function (k :*, v :*) :void {
+            keys.push(k);
+        });
         return keys;
     }

     /** @inheritDoc */
     public function values () :Array
     {
-        var vals :Array = new Array();
-
-        // get the simple properties first
-        if (_simpleData != null) {
-            for each (var value :* in _simpleData) {
-                vals.push(value);
-            }
-        }
-
-        // get the more complex properties
-        if (_entries != null) {
-            for (var ii :int = _entries.length - 1; ii >= 0; ii--) {
-                for (var e :HashMap_Entry = (_entries[ii] as HashMap_Entry); e != null;
-                        e = e.next) {
-                    vals.push(e.value);
-                }
-            }
-        }
-
+        var vals :Array = [];
+        forEach(function (k :*, v :*) :void {
+            vals.push(v);
+        });
         return vals;
     }

@@ -328,7 +298,7 @@
     protected function resize (newSize :int) :void
     {
         var oldEntries :Array = _entries;
-        _entries = new Array();
+        _entries = [];
         _entries.length = newSize;

         // place all the old entries in the new map


move *_ANY constants to top of KeyActionBinder simplified addKeyboardActionBinding/addGamepadActionBinding logic

--- src/com/zehfernando/input/binding/KeyActionBinder.as
+++ src/com/zehfernando/input/binding/KeyActionBinder.as
@@ -20,6 +20,10 @@
 		// Provides universal input control for game controllers and keyboard

 		// More info: https://github.com/zeh/key-action-binder
+
+		public static const GAMEPAD_INDEX_ANY:uint = 81653811;
+		public static const KEY_CODE_ANY:uint = 81653812;
+		public static const KEY_LOCATION_ANY:uint = 81653813;

 		// Constants
 		public static const VERSION:String = "1.8.7";
@@ -707,11 +711,10 @@
 		 *
 		 * @see flash.ui.Keyboard
 		 */
-		public function addKeyboardActionBinding(__action:String, __keyCode:int = -1, __keyLocation:int = -1):void {
-			// TODO: use KeyActionBinder.KEY_LOCATION_ANY as default param? The compiler doesn't like constants.
+		public function addKeyboardActionBinding(__action:String, __keyCode:int = KEY_CODE_ANY, __keyLocation:int = KEY_LOCATION_ANY):void {

 			// Create a binding to be verified later
-			bindings.push(new BindingInfo(__action, new KeyboardBinding(__keyCode >= 0 ? __keyCode : KeyboardBinding.KEY_CODE_ANY, __keyLocation >= 0 ? __keyLocation : KeyboardBinding.KEY_LOCATION_ANY)));
+			bindings.push(new BindingInfo(__action, new KeyboardBinding(__keyCode, __keyLocation)));
 			prepareAction(__action);
 		}

@@ -758,9 +761,9 @@
 		 * @see #isActionActivated()
 		 * @see #getActionValue()
 		 */
-		public function addGamepadActionBinding(__action:String, __controlId:String, __gamepadIndex:int = -1):void {
+		public function addGamepadActionBinding(__action:String, __controlId:String, __gamepadIndex:int = GAMEPAD_INDEX_ANY):void {
 			// Create a binding to be verified later
-			bindings.push(new BindingInfo(__action, new GamepadBinding(__controlId, __gamepadIndex >= 0 ? __gamepadIndex : GamepadBinding.GAMEPAD_INDEX_ANY)));
+			bindings.push(new BindingInfo(__action, new GamepadBinding(__controlId, __gamepadIndex)));
 			prepareAction(__action);
 		}

@@ -1026,6 +1029,7 @@
 		}
 	}
 }
+import com.zehfernando.input.binding.KeyActionBinder;
 import flash.utils.Dictionary;
 import flash.utils.getTimer;
 /**
@@ -1137,10 +1141,6 @@
  */
 class KeyboardBinding implements IBinding {

-	// Constants
-	public static var KEY_CODE_ANY:uint = 81653812;
-	public static var KEY_LOCATION_ANY:uint = 8165381;
-
 	// Properties
 	public var keyCode:uint;
 	public var keyLocation:uint;
@@ -1159,7 +1159,7 @@
 	// PUBLIC INTERFACE -----------------------------------------------------------------------------------------------

 	public function matchesKeyboardKey(__keyCode:uint, __keyLocation:uint):Boolean {
-		return (keyCode == __keyCode || keyCode == KEY_CODE_ANY) && (keyLocation == __keyLocation || keyLocation == KEY_LOCATION_ANY);
+		return (keyCode == __keyCode || keyCode == KeyActionBinder.KEY_CODE_ANY) && (keyLocation == __keyLocation || keyLocation == KeyActionBinder.KEY_LOCATION_ANY);
 	}

 	// TODO: add modifiers?
@@ -1174,9 +1174,6 @@
  */
 class GamepadBinding implements IBinding {

-	// Constants
-	public static var GAMEPAD_INDEX_ANY:uint = 8165381;
-
 	// Properties
 	public var controlId:String;
 	public var gamepadIndex:uint;
@@ -1195,7 +1192,7 @@
 	// PUBLIC INTERFACE -----------------------------------------------------------------------------------------------

 	public function matchesGamepadControl(__controlId:String, __gamepadIndex:uint):Boolean {
-		return controlId == __controlId && (gamepadIndex == __gamepadIndex || gamepadIndex == GAMEPAD_INDEX_ANY);
+		return controlId == __controlId && (gamepadIndex == __gamepadIndex || gamepadIndex == KeyActionBinder.GAMEPAD_INDEX_ANY);
 	}

 	public function matchesKeyboardKey(__keyCode:uint, __keyLocation:uint):Boolean {


Fixing bug where fragmented control frames were accepted.

--- AS3WebSocket/src/com/worlize/websocket/WebSocketFrame.as
+++ AS3WebSocket/src/com/worlize/websocket/WebSocketFrame.as
@@ -55,10 +55,17 @@
 						return true;
 					}

-					if (opcode > 0x07 && _length > 125) {
-						protocolError = true;
-						dropReason = "Illegal control frame larger than 125 bytes.";
-						return true;
+					if (opcode > 0x07) {
+						if (_length > 125) {
+							protocolError = true;
+							dropReason = "Illegal control frame larger than 125 bytes.";
+							return true;
+						}
+						if (!fin) {
+							protocolError = true;
+							dropReason = "Received illegal fragmented control message.";
+							return true;
+						}
 					}

 					if (_length === 126) {


don't insert null instances

don't insert null instances

--- src/com/phylake/pooling/ObjectPool.as
+++ src/com/phylake/pooling/ObjectPool.as
@@ -94,9 +94,13 @@
             {
                 instance = _instantiateFunction();
             }
+
+            if (instance)
+            {
+                _inUse[instance] = null;
+                _inUseCount++;
+            }

-            _inUse[instance] = null;
-            _inUseCount++;
             return instance;
         }


Added default rtsp and NetStream errors

Added default rtsp and NetStream errors

--- src/com/axis/ErrorManager.as
+++ src/com/axis/ErrorManager.as
@@ -5,7 +5,75 @@
     public static const NETSTREAM_CREATED:String = "NetStreamCreated";

     public static const STREAM_ERRORS:Object = {
-      'nn': 'Generic error.'
+      '100': "Continue",
+      '200': "OK",
+      '201': "Created",
+      '250': "Low on Storage Space",
+      '300': "Multiple Choices",
+      '301': "Moved Permanently",
+      '302': "Moved Temporarily",
+      '303': "See Other",
+      '304': "Not Modified",
+      '305': "Use Proxy",
+      '400': "Bad Request",
+      '401': "Unauthorized",
+      '402': "Payment Required",
+      '403': "Forbidden",
+      '404': "Not Found",
+      '405': "Method Not Allowed",
+      '406': "Not Acceptable",
+      '407': "Proxy Authentication Required",
+      '408': "Request Time-out",
+      '410': "Gone",
+      '411': "Length Required",
+      '412': "Precondition Failed",
+      '413': "Request Entity Too Large",
+      '414': "Request-URI Too Large",
+      '415': "Unsupported Media Type",
+      '451': "Parameter Not Understood",
+      '452': "Conference Not Found",
+      '453': "Not Enough Bandwidth",
+      '454': "Session Not Found",
+      '455': "Method Not Valid in This State",
+      '456': "Header Field Not Valid for Resource",
+      '457': "Invalid Range",
+      '458': "Parameter Is Read-Only",
+      '459': "Aggregate operation not allowed",
+      '460': "Only aggregate operation allowed",
+      '461': "Unsupported transport",
+      '462': "Destination unreachable",
+      '463': "Key management Failure",
+      '500': "Internal Server Error",
+      '501': "Not Implemented",
+      '502': "Bad Gateway",
+      '503': "Service Unavailable",
+      '504': "Gateway Time-out",
+      '505': "RTSP Version not supported",
+      '551': "Option not supported",
+      '700': "NetConnection.Call.BadVersion - Packet encoded in an unidentified format.",
+      '701': "NetConnection.Call.Failed - The NetConnection.call() method was not able to invoke the server-side method or command.",
+      '702': "NetConnection.Call.Prohibited - An Action Message Format (AMF) operation is prevented for security reasons. Either the AMF URL is not in the same domain as the file containing the code calling the NetConnection.call() method, or the AMF server does not have a policy file that trusts the domain of the the file containing the code calling the NetConnection.call() method.",
+      '703': "NetConnection.Connect.AppShutdown - The server-side application is shutting down.",
+      '704': "NetConnection.Connect.Failed - The connection attempt failed.",
+      '705': "NetConnection.Connect.InvalidApp - The application name specified in the call to NetConnection.connect() is invalid.",
+      '706': "NetConnection.Connect.Rejected - The connection attempt did not have permission to access the application.",
+      '707': "NetGroup.Connect.Failed - The NetGroup connection attempt failed. The info.group property indicates which NetGroup failed.",
+      '708': "NetGroup.Connect.Rejected - The NetGroup is not authorized to function. The info.group property indicates which NetGroup was denied.",
+      '709': "NetStream.Connect.Failed - The P2P connection attempt failed. The info.stream property indicates which stream has failed. Note: Not supported in AIR 3.0 for iOS.",
+      '710': "NetStream.Connect.Rejected - The P2P connection attempt did not have permission to access the other peer. The info.stream property indicates which stream was rejected. Note: Not supported in AIR 3.0 for iOS.",
+      '711': "NetStream.Failed - (Flash Media Server) An error has occurred for a reason other than those listed in other event codes.",
+      '712': "NetStream.Play.Failed - An error has occurred in playback for a reason other than those listed elsewhere in this table, such as the subscriber not having read access. Note: Not supported in AIR 3.0 for iOS.",
+      '713': "NetStream.Play.FileStructureInvalid - (AIR and Flash Player 9.0.115.0) The application detects an invalid file structure and will not try to play this type of file. Note: Not supported in AIR 3.0 for iOS.",
+      '714': "NetStream.Play.InsufficientBW - (Flash Media Server) The client does not have sufficient bandwidth to play the data at normal speed. Note: Not supported in AIR 3.0 for iOS.",
+      '715': "NetStream.Play.StreamNotFound - The file passed to the NetStream.play() method can't be found.",
+      '716': "NetStream.Publish.BadName - Attempt to publish a stream which is already being published by someone else.",
+      '717': "NetStream.Record.Failed - An attempt to record a stream failed.",
+      '718': "NetStream.Record.NoAccess - Attempt to record a stream that is still playing or the client has no access right.",
+      '719': "NetStream.Seek.Failed - The seek fails, which happens if the stream is not seekable.",
+      '720': "NetStream.Seek.InvalidTime - For video downloaded progressively, the user has tried to seek or play past the end of the video data that has downloaded thus far, or past the end of the video once the entire file has downloaded. The info.details property of the event object contains a time code that indicates the last valid position to which the user can seek.",
+      '721': "SharedObject.BadPersistence - A request was made for a shared object with persistence flags, but the request cannot be granted because the object has already been created with different flags.",
+      '722': "SharedObject.Flush.Failed - The 'pending' status is resolved, but the SharedObject.flush() failed.",
+      '723': "SharedObject.UriMismatch - The video dimensions are available or have changed. Use the Video or StageVideo videoWidth/videoHeight property to query the new video dimensions. New in Flash Player 11.4/AIR 3.4."
     };

     public static function streamError(errorCode:Number, errorData:Array = null):void {


avoid setting invalid total byte count.

avoid setting invalid total byte count.

--- src/org/mangui/osmf/plugins/HLSNetStreamLoadTrait.as
+++ src/org/mangui/osmf/plugins/HLSNetStreamLoadTrait.as
@@ -40,6 +40,9 @@
       var time_loaded:Number = Math.round(10*(event.mediatime.position+event.mediatime.buffer))/10;

       if(_time_total != time_total) {
+	if (time_total < _time_loaded || time_total < 0) {
+	  time_total = NaN;
+	}
         _time_total = time_total;
         setBytesTotal(time_total);
       }


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

--- frameworks/projects/framework/src/mx/core/UITextField.as
+++ frameworks/projects/framework/src/mx/core/UITextField.as
@@ -57,6 +57,11 @@
  *
  *  @see flash.text.TextField
  *  @see mx.core.UITextFormat
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class UITextField extends FlexTextField
                          implements IAutomationObject, IIMESupport,
@@ -160,6 +165,16 @@
         The width and height of the TextField are 4 pixels greater than
         the textWidth and textHeight.

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

     //--------------------------------------------------------------------------
@@ -247,6 +262,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function UITextField()
     {
@@ -414,6 +434,11 @@

     /**
      *  The parent container or component for this component.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get parent():DisplayObjectContainer
     {
@@ -466,6 +491,11 @@
     /**
      *  The delegate object which is handling the automation related functionality.
      *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get automationDelegate():Object
     {
@@ -492,6 +522,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get automationName():String
     {
@@ -513,6 +548,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get automationValue():Array
     {
@@ -528,6 +568,11 @@

     /**
      *  The y-coordinate of the baseline of the first line of text.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get baselinePosition():Number
     {
@@ -571,6 +616,11 @@
      *  getQualifiedClassName() method in the flash.utils package.
      *  It will return a string such as
      *  "mx.controls.dataGridClasses::DataGridItemRenderer".

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get className():String
     {
@@ -591,6 +641,11 @@
      *  A reference to the document object associated with this UITextField object.
      *  A document object is an Object at the top of the hierarchy of a Flex application,
      *  MXML component, or AS component.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get document():Object
     {
@@ -624,6 +679,11 @@
      *
      *  @default true
      *  @see flash.text.TextField
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get enabled():Boolean
     {
@@ -653,6 +713,11 @@

     /**
      *  @copy mx.core.UIComponent#explicitHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get explicitHeight():Number
     {
@@ -681,6 +746,11 @@
      *  @see mx.core.UIComponent#explicitMaxHeight
      *
      *  @default NaN
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get explicitMaxHeight():Number
     {
@@ -701,6 +771,11 @@
      *  @see mx.core.UIComponent#explicitMaxWidth
      *
      *  @default NaN
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get explicitMaxWidth():Number
     {
@@ -713,6 +788,11 @@

     /**
      *  @copy mx.core.UIComponent#explicitMinHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get explicitMinHeight():Number
     {
@@ -725,6 +805,11 @@

     /**
      *  @copy mx.core.UIComponent#explicitMinWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get explicitMinWidth():Number
     {
@@ -743,6 +828,11 @@

     /**
      *  @copy mx.core.UIComponent#explicitWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get explicitWidth():Number
     {
@@ -763,6 +853,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get focusPane():Sprite
     {
@@ -792,6 +887,11 @@
      *  around the text of the component.
      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get ignorePadding():Boolean
     {
@@ -831,6 +931,11 @@
      *  @see flash.system.IMEConversionMode
      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get imeMode():String
     {
@@ -857,6 +962,11 @@

     /**
      *  @copy mx.core.UIComponent#includeInLayout
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get includeInLayout():Boolean
     {
@@ -898,6 +1008,11 @@
      *  prototype-linked chain.
      *  This object is set up by the initProtoChain() method.
      *  You typically never need to access this property directly.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get inheritingStyles():Object
     {
@@ -925,6 +1040,11 @@
     /**
      *  A flag that determines if an object has been through all three phases
      *  of layout validation (provided that any were required)
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get initialized():Boolean
     {
@@ -956,6 +1076,11 @@
     //----------------------------------
     /**
      *  @copy mx.core.UIComponent#isPopUp
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get isPopUp():Boolean
     {
@@ -975,6 +1100,11 @@

     /**
      *  @copy mx.core.UIComponent#maxHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get maxHeight():Number
     {
@@ -987,6 +1117,11 @@

     /**
      *  @copy mx.core.UIComponent#maxWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get maxWidth():Number
     {
@@ -999,6 +1134,11 @@

     /**
      *  @copy mx.core.UIComponent#measuredHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get measuredHeight():Number
     {
@@ -1016,6 +1156,11 @@

     /**
      *  @copy mx.core.UIComponent#measuredMinHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get measuredMinHeight():Number
     {
@@ -1035,6 +1180,11 @@

     /**
      *  @copy mx.core.UIComponent#measuredMinWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get measuredMinWidth():Number
     {
@@ -1054,6 +1204,11 @@

     /**
      *  @copy mx.core.UIComponent#measuredWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get measuredWidth():Number
     {
@@ -1071,6 +1226,11 @@

     /**
      *  @copy mx.core.UIComponent#minHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get minHeight():Number
     {
@@ -1083,6 +1243,11 @@

     /**
      *  @copy mx.core.UIComponent#minWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get minWidth():Number
     {
@@ -1104,6 +1269,11 @@
     /**
      *  The moduleFactory that is used to create TextFields in the correct SWF context. This is necessary so that
      *  embedded fonts will work.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get moduleFactory():IFlexModuleFactory
     {
@@ -1130,6 +1300,11 @@

     /**
      *  @copy mx.core.UIComponent#nestLevel
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get nestLevel():int
     {
@@ -1173,6 +1348,11 @@
      *  prototype-linked chain.
      *  This object is set up by the initProtoChain() method.
      *  You typically never need to access this property directly.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get nonInheritingStyles():Object
     {
@@ -1193,6 +1373,11 @@

     /**
      *  @copy mx.core.UIComponent#percentHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get percentHeight():Number
     {
@@ -1212,6 +1397,11 @@

     /**
      *  @copy mx.core.UIComponent#percentWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get percentWidth():Number
     {
@@ -1237,6 +1427,11 @@
     /**
      *  Set to true after the createChildren()
      *  method creates any internal component children.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get processedDescriptors():Boolean
     {
@@ -1263,6 +1458,11 @@

     /**
      *  @copy mx.core.UIComponent#styleName
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get styleName():Object /* String, CSSStyleDeclaration, or UIComponent */
     {
@@ -1296,6 +1496,11 @@

     /**
      *  @copy mx.core.UIComponent#systemManager
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get systemManager():ISystemManager
     {
@@ -1329,6 +1534,11 @@
      *  even when the text is empty.
      *  In this case, it returns what the textHeight would be
      *  if the text weren't empty.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get nonZeroTextHeight():Number
     {
@@ -1355,6 +1565,11 @@

     /**
      *  @copy mx.core.UIComponent#toolTip
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get toolTip():String
     {
@@ -1378,6 +1593,11 @@

     /**
      *  @copy mx.core.UIComponent#tweeningProperties
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get tweeningProperties():Array
     {
@@ -1404,6 +1624,11 @@
     /**
      *  A flag that determines if an object has been through all three phases
      *  of layout validation (provided that any were required)
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get updateCompletePendingFlag():Boolean
     {
@@ -1477,6 +1702,11 @@
      *
      *
This method is required by the IUIComponent interface,
      *  but it actually does nothing for a UITextField.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function initialize():void
     {
@@ -1484,6 +1714,11 @@

     /**
      *  @copy mx.core.UIComponent#getExplicitOrMeasuredWidth()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getExplicitOrMeasuredWidth():Number
     {
@@ -1492,6 +1727,11 @@

     /**
      *  @copy mx.core.UIComponent#getExplicitOrMeasuredHeight()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getExplicitOrMeasuredHeight():Number
     {
@@ -1505,6 +1745,11 @@
      *  and false to make it invisible.
      *
      *  @param noEvent true to suppress generating an event when you change visibility.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function setVisible(visible:Boolean, noEvent:Boolean = false):void
     {
@@ -1513,6 +1758,11 @@

     /**
      *  @copy mx.core.UIComponent#setFocus()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function setFocus():void
     {
@@ -1532,6 +1782,11 @@
      *
      *  @see mx.core.UITextFormat
      *  @see flash.text.TextField
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getUITextFormat():UITextFormat
     {
@@ -1552,6 +1807,11 @@

     /**
      *  @copy mx.core.UIComponent#move()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function move(x:Number, y:Number):void
     {
@@ -1565,6 +1825,11 @@

     /**
      *  @copy mx.core.UIComponent#setActualSize()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function setActualSize(w:Number, h:Number):void
     {
@@ -1578,6 +1843,11 @@

     /**
      *  @copy mx.core.UIComponent#getStyle()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getStyle(styleProp:String):*
     {
@@ -1602,6 +1872,11 @@
      *  @param styleProp Name of the style property.
      *
      *  @param newValue New value for the style.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function setStyle(styleProp:String, value:*):void
     {
@@ -1613,6 +1888,11 @@
      *  You typically never need to call this method.
      *
      *  @param p The parent of this UITextField object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function parentChanged(p:DisplayObjectContainer):void
     {
@@ -1637,6 +1917,11 @@

     /**
      *  @copy mx.core.UIComponent#styleChanged()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function styleChanged(styleProp:String):void
     {
@@ -1652,6 +1937,11 @@

     /**
      *  @copy mx.core.UIComponent#validateNow()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function validateNow():void
     {
@@ -1728,6 +2018,11 @@
      *  @return A TextFormat object.
      *
      *  @see flash.text.TextFormat
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getTextStyles():TextFormat
     {
@@ -1771,6 +2066,11 @@
      *  Sets the font color of the text.
      *
      *  @param color The new font color.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function setColor(color:uint):void
     {
@@ -1783,6 +2083,11 @@

     /**
      *  @copy mx.core.UIComponent#invalidateSize()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function invalidateSize():void
     {
@@ -1791,6 +2096,11 @@

     /**
      *  @copy mx.core.UIComponent#invalidateDisplayList()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function invalidateDisplayList():void
     {
@@ -1799,6 +2109,11 @@

     /**
      *  @copy mx.core.UIComponent#invalidateProperties()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function invalidateProperties():void
     {
@@ -1813,6 +2128,11 @@
      *  such as "..." will be used.
      *
      *  @return true if the text needed truncation.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function truncateToFit(truncationIndicator:String = null):Boolean
     {
@@ -1914,6 +2234,11 @@
      *  @return true if the child is parented or owned by this UITextField object.
      *
      *  @see #owner
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function owns(child:DisplayObject):Boolean
     {
@@ -1942,6 +2267,11 @@
      *  to the component that popped it up.

      *
      *
The default value is the value of the parent property.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get owner():DisplayObjectContainer
     {
@@ -1988,6 +2318,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function replayAutomatableEvent(event:Event):Boolean
     {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 20457
Author:   jszeto@adobe.com
Date:     2011-02-24T19:03:38.321384Z

Log Message:
-----------
Remove FlexEvent.VIEW_HIDE type

http://bugs.adobe.com/jira/browse/SDK-29637 - Change FlexEvent.VIEW_HIDE to private event

QE notes: none
Doc notes: none
Bugs: SDK-29637
Reviewer: Glenn
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>

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

--- frameworks/projects/framework/src/mx/events/FlexEvent.as
+++ frameworks/projects/framework/src/mx/events/FlexEvent.as
@@ -1420,35 +1420,6 @@
      *  @productversion Flex 3
      */
     public static const VALUE_COMMIT:String = "valueCommit";
-
-    /**
-     *  The FlexEvent.VIEW_HIDE constant defines the value of the
-     *  type property of the event object for a viewHide
-     *  event.
-     *
-     *
The properties of the event object have the following values:

-     *

-     *
Property	Value

-     *
bubbles	false

-     *
cancelable	false

-     *
currentTarget	The Object that defines the
-     *       event listener that handles the event. For example, if you use
-     *       myButton.addEventListener() to register an event listener,
-     *       myButton is the value of the currentTarget.

-     *
target	The Object that dispatched the event;
-     *       it is not always the Object listening for the event.
-     *       Use the currentTarget property to always access the
-     *       Object listening for the event.

-     *

-     *
-     *  @eventType viewHide
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static const VIEW_HIDE:String = "viewHide";

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