Transferred from the Adobe Open Source Subversion Repository

Revision: 17878
Author:   hmuller@adobe.com
Date:     2010-09-27T17:41:47.539391Z

Log Message:
-----------
The following Grid properties are defined as DataGrid skin parts: caretIndicator, columnSeparator, hoverIndicator, rowSeparator, selectionIndicator.

Added a headerRenderer property to DataGrid.  It's role is the same as for DataGrid/itemRenderer, it defines the default header renderer for all columns.

QE notes:
Doc notes:
Bugs:
Reviewer: Kevin
Tests run: checkin, mustella cyclone
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -279,7 +279,6 @@
 /**
  *  TBD(hmuller)
  */
-
 public class DataGrid extends SkinnableContainerBase implements IFocusManagerComponent, IGridItemRendererOwner
 {
     include "../core/Version.as";
@@ -339,18 +338,62 @@
      *  @private
      *  IFactory valued skin parts that require special handling, see findSkinParts().
      */
-    private static const factorySkinPartNames:Array = ["alternatingRowColorsBackground"];
+    private static const factorySkinPartNames:Array = [
+        "alternatingRowColorsBackground",
+        "caretIndicator",
+        "columnSeparator",
+        "headerColumnSeparator",
+        "hoverIndicator",
+        "rowSeparator",
+        "selectionIndicator"];
+
+    //----------------------------------
+    //  alternatingRowColorsBackground
+    //----------------------------------
+
+    [Bindable]
+    [SkinPart(required="false", type="mx.core.IFactory")]
+
+    /**
+     *  A reference to IVisualElement used to render the alternatingRowColors style
+     */
+    public var alternatingRowColorsBackground:IFactory;
+
+    //----------------------------------
+    //  caretIndicator
+    //----------------------------------
+
+    [Bindable]
+    [SkinPart(required="false", type="mx.core.IFactory")]
+
+    /**
+     *  Used to render the alternatingRowColors style.
+     */
+    public var caretIndicator:IFactory;

     //----------------------------------
     //  columnHeaderBar
     //----------------------------------

+    [Bindable]
     [SkinPart(required="false", type="spark.components.columnHeaderBar")]

     /**
      *  A reference to the ColumnHeaderBar that displays the column headers.
      */
-    public var columnHeaderBar:ColumnHeaderBar;
+    public var columnHeaderBar:ColumnHeaderBar;
+
+    //----------------------------------
+    //  columnSeparator
+    //----------------------------------
+
+    [Bindable]
+    [SkinPart(required="false", type="mx.core.IFactory")]
+
+    /**
+     *  Used to render the vertical separator between columns.
+     */
+    public var columnSeparator:IFactory;

     //----------------------------------
     //  grid
@@ -362,29 +405,67 @@
     /**
      *  A reference to the Grid that displays the dataProvider.
      */
-    public var grid:spark.components.Grid;
+    public var grid:spark.components.Grid;
+
+    //----------------------------------
+    //  headerColumnSeparator
+    //----------------------------------
+
+    [Bindable]
+    [SkinPart(required="false", type="mx.core.IFactory")]
+
+    /**
+     *  Used to render the vertical separator between column headers.
+     */
+    public var headerColumnSeparator:IFactory;
+
+    //----------------------------------
+    //  hoverIndicator
+    //----------------------------------
+
+    [Bindable]
+    [SkinPart(required="false", type="mx.core.IFactory")]
+
+    /**
+     *  Used to provide mouse hover feedback.
+     */
+    public var hoverIndicator:IFactory;
+
+    //----------------------------------
+    //  rowSeparator
+    //----------------------------------
+
+    [Bindable]
+    [SkinPart(required="false", type="mx.core.IFactory")]
+
+    /**
+     *  Used to render the horizontal separator between rows.
+     */
+    public var rowSeparator:IFactory;

     //----------------------------------
     //  scroller
     //----------------------------------

+    [Bindable]
     [SkinPart(required="false", type="spark.components.Scroller")]

     /**
      *  A reference to the Scroller that scrolls the grid.
      */
-    public var scroller:Scroller;
-
-    //----------------------------------
-    //  alternatingRowColorsBackground
-    //----------------------------------
-
+    public var scroller:Scroller;
+
+    //----------------------------------
+    //  selectionIndicator
+    //----------------------------------
+
+    [Bindable]
     [SkinPart(required="false", type="mx.core.IFactory")]

     /**
-     *  A reference to IVisualElement used to render the alternatingRowColors style
-     */
-    public var alternatingRowColorsBackground:IFactory;
+     *  Used to render selected rows or cells.
+     */
+    public var selectionIndicator:IFactory;

     /**
      *  @private
@@ -773,7 +854,50 @@
     {
         if (setGridProperty("itemRenderer", value))
             dispatchChangeEvent("itemRendererChanged");
-    }
+    }
+
+    //----------------------------------
+    //  headerRenderer
+    //----------------------------------
+
+    [Bindable("headeRendererChanged")]
+
+    private var _headerRenderer:IFactory;
+
+    /**
+     *  The default headerRenderer for the columnHeaderBar skin part.
+     *
+     *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4.5
+     */
+    public function get headerRenderer():IFactory
+    {
+        return _headerRenderer;
+    }
+
+    /**
+     *  @private
+     */
+    public function set headerRenderer(value:IFactory):void
+    {
+        if (value == _headerRenderer)
+            return;
+
+        _headerRenderer = value;
+
+        if (columnHeaderBar)
+        {
+            columnHeaderBar.layout.clearVirtualLayoutCache();
+            columnHeaderBar.invalidateSize();
+            columnHeaderBar.invalidateDisplayList();
+        }
+
+        dispatchChangeEvent("headerRendererChanged");
+    }

     //----------------------------------
     //  preserveSelection (delegates to grid.preserveSelection)
@@ -1298,7 +1422,7 @@
             grid.gridSelection = gridSelection;
             grid.gridOwner = this;

-            // Cover Properties
+            // Grid cover Properties

             const modifiedGridProperties:Object = gridProperties;  // explicitly set properties
             gridProperties = {propertyBits:0};
@@ -1310,10 +1434,14 @@
                 setGridProperty(propertyName, modifiedGridProperties[propertyName]);
             }

-            // IFactory valued skin parts => Grid visual element properties like selectionIndicator
-            // TBD(hmuller): add skin parts for selectionIndicator et al.
+            // IFactory valued skin parts => Grid visual element properties

             initializeGridRowBackground();
+            grid.columnSeparator = columnSeparator;
+            grid.rowSeparator = rowSeparator;
+            grid.hoverIndicator = hoverIndicator;
+            grid.caretIndicator = caretIndicator;
+            grid.selectionIndicator = selectionIndicator;

             // Event Handlers

@@ -1328,15 +1456,42 @@
             // Deferred operations (grid selection updates)

             for each (var deferredGridOperation:Function in deferredGridOperations)
-            deferredGridOperation(grid);
+                deferredGridOperation(grid);
             deferredGridOperations.length = 0;
         }

         if (instance == alternatingRowColorsBackground)
             initializeGridRowBackground();

+        if (grid)
+        {
+            if (instance == columnSeparator)
+                grid.columnSeparator = columnSeparator;
+
+            if (instance == rowSeparator)
+                grid.rowSeparator = rowSeparator;
+
+            if (instance == hoverIndicator)
+                grid.hoverIndicator = hoverIndicator;
+
+            if (instance == caretIndicator)
+                grid.caretIndicator = caretIndicator;
+
+            if (instance == selectionIndicator)
+                grid.selectionIndicator = selectionIndicator;
+        }
+
         if (instance == columnHeaderBar)
+        {
             columnHeaderBar.owner = this;
+            columnHeaderBar.columnSeparator = headerColumnSeparator;
+        }
+
+        if (columnHeaderBar)
+        {
+            if (instance == headerColumnSeparator)
+                columnHeaderBar.columnSeparator = headerColumnSeparator;
+        }
     }

     /**
@@ -1378,12 +1533,46 @@
                 if ((propertyBit & gridPropertyBits) == propertyBit)
                     gridProperties[propertyName] = getGridProperty(propertyName);
             }
-        }
-
+
+            // Visual Elements
+
+            grid.rowBackground = null;
+            grid.columnSeparator = null;
+            grid.rowSeparator = null;
+            grid.hoverIndicator = null;
+            grid.caretIndicator = null;
+            grid.selectionIndicator = null;
+        }
+
+        if (grid)
+        {
+            if (instance == columnSeparator)
+                grid.columnSeparator = null;
+
+            if (instance == rowSeparator)
+                grid.rowSeparator = null;
+
+            if (instance == hoverIndicator)
+                grid.hoverIndicator = null;
+
+            if (instance == caretIndicator)
+                grid.caretIndicator = null;
+
+            if (instance == selectionIndicator)
+                grid.selectionIndicator = null;
+        }
+
         if (instance == columnHeaderBar)
         {
             columnHeaderBar.horizontalScrollPosition = 0;
             columnHeaderBar.owner = null;
+            columnHeaderBar.columnSeparator = null;
+        }
+
+        if (columnHeaderBar)
+        {
+            if (instance == headerColumnSeparator)
+                columnHeaderBar.columnSeparator = null;
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 18565
Author:   hmuller@adobe.com
Date:     2010-11-12T21:52:04.958402Z

Log Message:
-----------
Ignore DataGrid stretchCursor style values when they're the wrong type (not a Class).

Added GridEvent/grid and GridItemRenderer/grid read-only properties.

Added DataGrid,Grid/invalidateTypicalItem() method.

Change GridColumnHeaderGroupLayout/measure - minimized measuredWidth to eliminate impact on DataGrid measuredWidth

QE notes:
Doc notes:
Bugs: SDK-27776, SDK-28538
Reviewer: Carol
Tests run: checkin
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -1688,6 +1688,20 @@
     {
         if (setGridProperty("typicalItem", value))
             dispatchChangeEvent("typicalItemChanged");
+    }
+
+    /**
+     *  @copy spark.components.Grid#invalidateTypicalItem
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4.5
+     */
+    public function invalidateTypicalItem():void
+    {
+        if (grid)
+            grid.invalidateTypicalItem();
     }

     //----------------------------------
@@ -3991,7 +4005,7 @@
         if (!enabled || !grid.resizableColumns || !column || !column.resizable)
             return;

-        var stretchCursorClass:Class = getStyle("stretchCursor");
+        var stretchCursorClass:Class = getStyle("stretchCursor") as Class;
         if (stretchCursorClass)
             stretchCursorID = cursorManager.setCursor(stretchCursorClass, CursorManagerPriority.HIGH, 0, 0);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 13277
Author:   hmuller@adobe.com
Date:     2010-01-05T17:33:32.742052Z

Log Message:
-----------
Changed the RichText.text set method to short-circuit if _text == value (as in TextBase and RichEditableText) and if the value of _text was most recently set by explicitly setting the text property.

QE notes:
Doc notes:
Bugs: sdk-24838
Reviewer: Carol
Tests run:
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -572,7 +572,7 @@
      *
      *
In components where the content does not reflow, like a typical List's
      *  items, the default behavior is preferable because it makes it less
-     *  likely that the component's content will not obscured by a scroll bar.

+     *  likely that the component's content will be obscured by a scroll bar.

      *
      *  @default true
      */


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

--- frameworks/projects/spark/src/spark/filters/BevelFilter.as
+++ frameworks/projects/spark/src/spark/filters/BevelFilter.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 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: 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@1285006 13f79535-47bb-0310-9956-ffa450edef68

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

 package spark.layouts
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/automation/src/mx/automation/codec/ColorPropertyCodec.as
+++ frameworks/projects/automation/src/mx/automation/codec/ColorPropertyCodec.as
@@ -0,0 +1,78 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.automation.codec
+{
+
+	import mx.automation.qtp.IQTPPropertyDescriptor;
+	import mx.automation.IAutomationManager;
+	import mx.automation.IAutomationObject;
+
+	/**
+	 * Translates between internal Flex color and automation-friendly version
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public class ColorPropertyCodec extends DefaultPropertyCodec
+	{
+		/**
+		 * Constructor
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function ColorPropertyCodec()
+		{
+			super();
+		}
+
+		/**
+		 * @private
+		 */
+		override public function encode(automationManager:IAutomationManager,
+										obj:Object,
+										propertyDescriptor:IQTPPropertyDescriptor,
+										relativeParent:IAutomationObject):Object
+		{
+			var val:Object = getMemberFromObject(automationManager, obj, propertyDescriptor);
+
+			if (val != null)
+			{
+				val = Number(val).toString(16);
+				while (val.length != 6)
+				{
+					val = "0" + val;
+				}
+				val = "#" + val;
+			}
+
+			return val;
+		}
+
+		/**
+		 * @private
+		 */
+		override public function decode(automationManager:IAutomationManager,
+										obj:Object,
+										value:Object,
+										propertyDescriptor:IQTPPropertyDescriptor,
+										relativeParent:IAutomationObject):void
+		{
+			obj[propertyDescriptor.name] = parseInt(String(value).substring(1), 16).toString();
+		}
+	}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 1613
Author:   esolovey@adobe.com
Date:     2008-05-08T14:51:56.579984Z

Log Message:
-----------
Merge of 1612 into trunk:

Bugs: BLZ-153
Checkintests: Pass

Fix for a regression introduced on 4/18 that caused MPIUtils to incorrectly flag messages pushed over RTMP or Streaming channels as lacking sufficient information.

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as

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

--- frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as
+++ frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as
@@ -119,7 +119,7 @@
             this.mpio=message.headers[MPI_HEADER_OUT] as MessagePerformanceInfo;

             // it is possible that if not all participants have mpi enabled we might be missing parts here
-            if (mpio == null || (mpii==null && mpip==null))
+            if (mpio == null || (mpii == null && message.headers[MPI_HEADER_PUSH] == null))
             {
                 throw new Error("Message is missing MPI headers.  Verify that all participants have it enabled.");
             }


Transferred from the Adobe Open Source Subversion Repository

Revision: 20895
Author:   klin@adobe.com
Date:     2011-03-17T05:00:00.802925Z

Log Message:
-----------
Merging hero_private revision 20893 to trunk

Fix for hang in DataGrid that occurs when the some of the cells in the first column temporarily have a height of 0. GridRowNode was not initializing its maxCellHeight when setting its height to 0 causing the recent cache values in GridDimensions to be corrupted. Initialize everything to -1 instead so that the first change is captured.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/gridClasses/GridRowNode.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
@@ -504,9 +504,9 @@
             var node:GridRowNode = rowList.find(row);
             if (node)
             {
-                if (!isNaN(node.fixedHeight))
+                if (node.fixedHeight >= 0)
                     height = node.fixedHeight;
-                else if (!isNaN(node.maxCellHeight))
+                else if (node.maxCellHeight >= 0)
                     height = node.maxCellHeight;
             }
         }


removed redundant classes/ folder

removed redundant classes/ folder

--- layout/classes/DynamicTextArea.as
+++ layout/classes/DynamicTextArea.as
@@ -1,117 +0,0 @@
-/*
-
-	@Author: Karthik Rangarajan
-	@Version: 0.1
-/*
-
-This class is derived from the TextArea component to provide text boxes that resize automatically on user input, without displaying scrollbars, or hiding text.
-
-*/
-
-package classes
-{
-	import flash.events.Event;
-
-	import mx.controls.TextArea;
-	import mx.utils.NameUtil;
-
-
-	public class DynamicTextArea extends TextArea
-	{
-		private var topPadding:int;
-		private var bottomPadding:int;
-		private var h:int;
-		public var index:int;
-		public function DynamicTextArea()
-		{
-			super();
-			super.horizontalScrollPolicy = "off";
-			super.verticalScrollPolicy = "off";
-			this.addEventListener(Event.CHANGE,adjustHeightHandler);
-		}
-		private function adjustHeightHandler(event:Event):void {
-			var paddingTop:String = this.getStyle("paddingTop");
-			var paddingBottom:String= this.getStyle("paddingBottom");
-			topPadding= int(paddingTop);
-			bottomPadding= int(paddingBottom);
-			/*
-			The padding parameters are required, because text is hidden because of the padding, inspite of the text area being large enough to accomodate the entire text
-			*/
-			if(height <= textField.textHeight + textField.getLineMetrics(0).height + topPadding + bottomPadding){
-				h = topPadding+bottomPadding+textField.textHeight;
-				height = h;
-				validateNow();
-			}
-			if(height >= textField.textHeight + textField.getLineMetrics(0).height+topPadding+bottomPadding){
-				if(height>super.minHeight){
-					h = topPadding+bottomPadding+textField.textHeight;
-					height = h;
-				}
-				validateNow();
-			}
-		}
-		override public function set text(value:String):void{
-			textField.text = value;
-			validateNow();
-			var paddingTop:String = this.getStyle("paddingTop");
-			var paddingBottom:String= this.getStyle("paddingBottom");
-			topPadding= int(paddingTop);
-			bottomPadding= int(paddingBottom);
-			/*
-			Same comment above the padding in the previous function applies here as well
-			*/
-			if((textField.textHeight + topPadding + bottomPadding)>=super.minHeight){
-				height = textField.textHeight+topPadding+bottomPadding;
-			}
-			validateNow();
-		}
-
-		/*
-		Not bothering with adding padding parameters in the below function, since I make the assumption that HTML text is almost never inside the text area that I use
-		*/
-		override public function set htmlText(value:String):void{
-			textField.htmlText = value;
-			validateNow();
-			height = textField.textHeight;
-			validateNow();
-		}
-		override public function set height(value:Number):void{
-			if(textField == null){
-				if(height <= value){
-					super.height = value;
-				}
-			}
-			else{
-				var paddingTop:String = this.getStyle("paddingTop");
-				var paddingBottom:String= this.getStyle("paddingBottom");
-				topPadding= int(paddingTop);
-				bottomPadding= int(paddingBottom);
-				h = topPadding+bottomPadding+textField.textHeight+textField.getLineMetrics(0).height;
-				var currentHeight:uint = h;
-				if(currentHeight <= super.maxHeight){
-					if(textField.textHeight!= textField.getLineMetrics(0).height){
-						super.height = currentHeight;
-					}
-				}
-				else{
-					super.height = super.maxHeight;
-				}
-			}
-		}
-		override public function get text():String{
-			return textField.text;
-		}
-		override public function get htmlText():String{
-			return textField.htmlText;
-		}
-		override public function set maxHeight(value:Number):void{
-			super.maxHeight = value;
-		}
-		override public function set minHeight(value:Number):void{
-			super.minHeight = value;
-		}
-		override public function toString():String{
-			return NameUtil.displayObjectToString(this);
-		}
-	}
-}


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

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

 package mx.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18188
Author:   dloverin@adobe.com
Date:     2010-10-16T03:11:51.820813Z

Log Message:
-----------
DataGrid editor PARB changes and more.

Don't open a cell editor on double click.

QE notes: Ready for testing.
Doc notes: None.
Bugs:
Reviewer: Hans
Tests run: cyclone server
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/IGridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridItemEditorEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/TextGridItemEditor.mxml" copyfrom-rev="18150" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DefaultGridItemEditor.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/TextGridItemEditor.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/ComboBoxGridItemEditor.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/IGridItemEditor.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/IGridItemEditor.as
@@ -13,7 +13,9 @@
  *  Grid item editors must implement this interface.
  *
  *
All of the item editor's properties are set by the DataGrid during
- *  the start of the editor session. After they've been set, the editor's
+ *  the start of the editor session. The data property is the
+ *  last property set. When the data property is set a grid item editor should
+ *  set the value of the editor's controls. Next the editor's
  *  prepare() method is called. IGridItemEditor
  *  implementations should override the preprare() method to make any final
  *  adjustments to its properties or any aspect of its visual elements.
@@ -75,31 +77,7 @@
      *  @productversion Flex 4.5
      */
     function get columnIndex():int;
-    function set columnIndex(value:int):void;

-    //----------------------------------
-    //  editorUsesEnterKey
-    //----------------------------------
-
-    /**
-     *  A flag that indicates whether the item editor uses the Enter key.
-     *  If true the item editor uses the Enter key and the
-     *  DataGrid will not look for the Enter key and close the editor in
-     *  response.
-     *  Note that changing this value while the editor is displayed
-     *  will have no effect on the current editor, but will affect the next
-     *  item renderer that opens an editor.
-     *
-     *  @default false.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 4.5
-     */
-    function get editorUsesEnterKey():Boolean;
-    function set editorUsesEnterKey(value:Boolean):void
-
     //----------------------------------
     //  rowIndex
     //----------------------------------
@@ -115,23 +93,6 @@
     function get rowIndex():int;
     function set rowIndex(value:int):void;

-    //----------------------------------
-    //  value
-    //----------------------------------
-
-    /**
-     *  The value of the edit control. This is set by the data grid when
-     *  the editor is first created. When the editor is saved, the
-     *  data grid gets the editor value from this property.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
-     *  @productversion Flex 4.5
-     */
-    function get value():Object;
-    function set value(newValue:Object):void;
-
     //--------------------------------------------------------------------------
     //
     //  Methods
@@ -142,6 +103,8 @@
      *  Called after the editor has been created and sized but before the
      *  editor is visible. This is an oppurtunity to adjust the look of
      *  the editor before it becomes visible.
+     *
+     *  This function should only be called by the data grid.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -152,7 +115,10 @@

     /**
      *  Called just before the editor is closed. This is a chance
-     *  of clean up anything that was set in prepare().
+     *  of clean up anything that was set in prepare().
+     *
+     *  This function should only be called by the data grid.
+     *
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -162,25 +128,12 @@
     function discard():void;

     /**
-     *  Tests if the value in the editor is valid and may be saved.
-     *
-     *  @returns true if the value in the editor is valid. Otherwise
-     *  false is returned.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
-     *  @productversion Flex 4.5
-     */
-    function validate():Boolean;
-
-    /**
      *  Saves the value in the editor back into the item renderer's
      *  data. This function calls validate() to verify
      *  the data may be saved. If the data is not valid, then the
      *  data is not saved and the editor is not closed.
      *
-     *  This function should only be called by the editor. To save
+     *  This function should only be called by the data grid. To save
      *  and close the editor call the endItemEditorSession()
      *  function of the data grid owner.
      *
@@ -193,21 +146,5 @@
      */
     function save():Boolean;

-    /**
-     *  Closes the editor without saving the data.
-     *
-     *  This function should only be called by the editor. To cancel
-     *  and close the editor call the endItemEditorSession()
-     *  function of the data grid owner.
-     *
-     *  @see spark.components.DataGrid
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.0
-     *  @productversion Flex 4.5
-     */
-    function cancel():void;
-
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 11317
Author:   rfrishbe@adobe.com
Date:     2009-10-30T18:36:29.449922Z

Log Message:
-----------
Fixing a few ItemRenderer/DefaultItemRenderer issues.

- Changed ASDoc @default for itemIndex to 0 (it was false)
- Corrected binding for ItemRenderer.label so binding should work now.
- Remove contentBackgroundColor and contentBackgroundAlpha styles from DefaultItemRenderer
- Remove localToGlobal and glocalToLocal calls from DefaultItemRenderer.baselinePosition because they aren't needed here even though they are needed in ItemRenderer.baselinePosition

QE notes: -
Doc notes: -
Bugs: SDK-23882
Reviewer: Glenn
Tests run: checkintests, mustella List, DropDownList
Is noteworthy for integration: No

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
@@ -190,7 +190,7 @@
     /**
      *  @inheritDoc
      *
-     *  @default false
+     *  @default 0
      */
     public function get itemIndex():int
     {
@@ -337,8 +337,6 @@
     //----------------------------------
     //  label
     //----------------------------------
-
-    [Bindable("textChanged")]

     /**
      *  @private
@@ -346,6 +344,8 @@
      */
     private var _label:String = "";

+    [Bindable("textChanged")]
+
     /**
      *  @inheritDoc
      *
@@ -361,11 +361,13 @@
      */
     public function set label(value:String):void
     {
-        if (value != _label)
-            _label = value;
+        if (value == _label)
+            return;
+
+        _label = value;

-        //Push the label down into the labelDisplay,
-        //if it exists
+        // Push the label down into the labelDisplay,
+        // if it exists
         if (labelDisplay)
             labelDisplay.text = _label;

@@ -566,6 +568,9 @@
         addEventListener(MouseEvent.ROLL_OUT, itemRenderer_rollOutHandler);
     }

+    /**
+     *  @private
+     */
     private function anyButtonDown(event:MouseEvent):Boolean
     {
         var type:String = event.type;


Ray scratches his own belly.
- Match more closely the usage of labelField in our superclass.
- renamed to getSelectedData and setSelectedData.
- use Util.equals() when hunting for a matching data.
  Because we are not living in adobe's stone age and we
  want Equalable objects to work.

git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@743 ed5b42cb-e716-0410-a449-f6a68f950b19

--- src/as/com/threerings/flex/CommandComboBox.as
+++ src/as/com/threerings/flex/CommandComboBox.as
@@ -27,6 +27,7 @@
 import mx.events.ListEvent;

 import com.threerings.util.CommandEvent;
+import com.threerings.util.Util;

 /**
  * A combo box that dispatches a command (or calls a function) when it is toggled. NOTE: Unlike the
@@ -39,7 +40,7 @@
      * The field of the selectedItem object used as the argument to the
      * command or function. If null, the entire selectedItem is passed as the argument.
      */
-    public var dataField :String;
+    public var dataField :String = "data";

     /**
      * Create a command combobox.
@@ -47,11 +48,10 @@
      * @param cmdOrFn either a String, which will be the CommandEvent command to dispatch,
      *        or a function, which will be called when changed.
      */
-    public function CommandComboBox (cmdOrFn :* = null, dataField :String = "data")
+    public function CommandComboBox (cmdOrFn :* = null)
     {
         CommandButton.validateCmd(cmdOrFn);
         _cmdOrFn = cmdOrFn;
-        this.dataField = dataField;

         addEventListener(ListEvent.CHANGE, handleChange);
     }
@@ -73,21 +73,19 @@
     }

     /**
-     * Handy function to lookup an option based on dataField and set it as the selected item.
-     * This probably only works for Array dataProviders.
+     * Set the selectedItem based on the data field.
      */
-    public function setSelectedValue (value :Object) :void
+    public function setSelectedData (data :Object) :void
     {
         for (var ii :int = 0; ii < dataProvider.length; ++ii) {
-            var v :Object = (this.dataField != null) ?
-                dataProvider[ii][this.dataField] : dataProvider[ii];
-            if (v == value) {
+            if (Util.equals(data,
+                    (dataField != null) ? dataProvider[ii][dataField] : dataProvider[ii])) {
                 this.selectedIndex = ii;
                 return;
             }
         }

-        // Assign to the prompt
+        // not found, clear the selection
         this.selectedIndex = -1;
     }

@@ -95,15 +93,15 @@
      * The value that will be passed to the command or function based on dataField and the
      * current selected item.
      */
-    public function getSelectedValue () :Object
+    public function getSelectedData () :Object
     {
-        return (this.dataField != null) ? this.selectedItem[this.dataField] : this.selectedItem;
+        return (dataField != null) ? this.selectedItem[dataField] : this.selectedItem;
     }

     protected function handleChange (event :ListEvent) :void
     {
         if (this.selectedIndex != -1) {
-            CommandEvent.dispatch(this, _cmdOrFn, getSelectedValue());
+            CommandEvent.dispatch(this, _cmdOrFn, getSelectedData());
         }
     }


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

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

 package mx.charts.effects.effectClasses
 {


fix error

fix error

--- frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/LinearGradient.as
+++ frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/LinearGradient.as
@@ -90,7 +90,7 @@
             }

             //Process gradient entries and create a stop for each entry
-            var entries:Array = entries;
+            var entries:Array = this.entries;
             for (var i:int = 0; i < entries.length; i++)
             {
                 var gradientEntry:GradientEntry = entries[i];


Transferred from the Adobe Open Source Subversion Repository

Revision: 18884
Author:   jasonsj@adobe.com
Date:     2010-12-01T01:01:18.896589Z

Log Message:
-----------
Use authorDensity in Mobile theme

QE notes: By default, 240 devices should still report as 240. Mustella known goods should not be affected.
Doc notes:
Bugs:
Reviewer: egeorgie
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as
@@ -16,15 +16,16 @@
 import flash.display.Graphics;
 import flash.geom.ColorTransform;
 import flash.geom.Matrix;
-
+import flash.system.Capabilities;
+
+import mx.core.DeviceDensity;
 import mx.core.FlexGlobals;
 import mx.core.IFlexDisplayObject;
 import mx.core.ILayoutElement;
 import mx.core.UIComponent;
-import mx.core.UITextField;
 import mx.core.mx_internal;
 import mx.utils.ColorUtil;
-import mx.utils.object_proxy;
+import mx.utils.DensityUtil;

 import spark.components.supportClasses.SkinnableComponent;
 import spark.components.supportClasses.StyleableTextField;
@@ -53,13 +54,6 @@
     //
     //--------------------------------------------------------------------------

-    // FIXME (jasonsj): define enums for PPI
-    public static const PPI160:uint = 160;
-
-    public static const PPI240:uint = 240;
-
-    public static const PPI320:uint = 320;
-
     // Used for gradient background
     protected static var matrix:Matrix = new Matrix();

@@ -123,21 +117,29 @@
     private var _focus:Boolean = false;

     //----------------------------------
-    //  targetDensity
+    //  authorDensity
     //----------------------------------

     /**
-     * Read-only target PPI of the application.
+     *  Returns the authorDensity of the application. If authorDensity is not
+     *  specified, it is determined from the current screenDPI.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
-    public function get targetDensity():uint
-    {
-        // FIXME (jasonsj): Hack until scaling is implemented
-        return ("targetPPI" in FlexGlobals.topLevelApplication) ? FlexGlobals.topLevelApplication.targetPPI : 240;
+    public function get authorDensity():String
+    {
+        if ("authorDensity" in FlexGlobals.topLevelApplication)
+        {
+            var value:String = FlexGlobals.topLevelApplication.authorDensity;
+
+            if (!value)
+                return value;
+        }
+
+        return DensityUtil.screenDPIToDeviceDensity(Capabilities.screenDPI);
     }

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientEntry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>

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

--- frameworks/projects/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as
+++ frameworks/projects/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as
@@ -27,7 +27,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="paddingBottom", type="Number", format="Length", inherit="no")]
+[Style(name="paddingBottom", type="Number", format="Length", inherit="no", minValue="0.0", maxValue="1000.0")]

 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#paddingLeft
@@ -37,7 +37,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="paddingLeft", type="Number", format="Length", inherit="no")]
+[Style(name="paddingLeft", type="Number", format="Length", inherit="no", minValue="0.0", maxValue="1000.0")]

 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#paddingRight
@@ -47,7 +47,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="paddingRight", type="Number", format="Length", inherit="no")]
+[Style(name="paddingRight", type="Number", format="Length", inherit="no", minValue="0.0", maxValue="1000.0")]

 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#paddingTop
@@ -57,7 +57,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="paddingTop", type="Number", format="Length", inherit="no")]
+[Style(name="paddingTop", type="Number", format="Length", inherit="no", minValue="0.0", maxValue="1000.0")]

 /**
  *  @copy flashx.textLayout.formats.ITextLayoutFormat#verticalAlign


Lowercase "HDR" in the editor config for consistency, as everything else is lowercase as well.

--- bin/Data/Scripts/Editor.as
+++ bin/Data/Scripts/Editor.as
@@ -250,7 +250,7 @@
         if (renderingElem.HasAttribute("dynamicinstancing")) renderer.dynamicInstancing = renderingElem.GetBool("dynamicinstancing");
         if (renderingElem.HasAttribute("framelimiter")) engine.maxFps = renderingElem.GetBool("framelimiter") ? 200 : 0;
         if (renderingElem.HasAttribute("gammacorrection")) gammaCorrection = renderingElem.GetBool("gammacorrection");
-        if (renderingElem.HasAttribute("HDR")) HDR = renderingElem.GetBool("HDR");
+        if (renderingElem.HasAttribute("hdr")) HDR = renderingElem.GetBool("hdr");
     }

     if (!uiElem.isNull)
@@ -385,7 +385,7 @@

     renderingElem.SetBool("framelimiter", engine.maxFps > 0);
     renderingElem.SetBool("gammacorrection", gammaCorrection);
-    renderingElem.SetBool("HDR", HDR);
+    renderingElem.SetBool("hdr", HDR);

     uiElem.SetFloat("minopacity", uiMinOpacity);
     uiElem.SetFloat("maxopacity", uiMaxOpacity);


XIFF-15: String was cut one character too early.

--- src/org/igniterealtime/xiff/data/ExtensionClassRegistry.as
+++ src/org/igniterealtime/xiff/data/ExtensionClassRegistry.as
@@ -90,7 +90,7 @@
 			{
 				if (_classes.hasOwnProperty(key))
 				{
-					var namespace:String = key.substr(0, key.lastIndexOf(":") - 1);
+					var namespace:String = key.substr(0, key.lastIndexOf(":"));
 					trace("getNamespaces. namespace: " + namespace + ", key: " + key);
 					list.push(namespace);
 				}


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

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

 package spark.automation.delegates.components
 {


Implemented RTSPOverHTTP reconnect

Implemented RTSPOverHTTP reconnect

--- src/com/axis/rtspclient/RTSPoverHTTPHandle.as
+++ src/com/axis/rtspclient/RTSPoverHTTPHandle.as
@@ -102,7 +102,13 @@
     }

     public function reconnect():void {
-      throw new Error('RTSPoverHTTPHandle: reconnect not implemented');
+      if (getChannel.connected) {
+        getChannel.close();
+      }
+      if (postChannel.connected) {
+        postChannel.close();
+      }
+      connect();
     }

     private function onGetChannelConnect(event:Event):void {


Fixed board bitmap instantiation

Fixed board bitmap instantiation

--- src/com/marioretana/checkersgame/GameState.as
+++ src/com/marioretana/checkersgame/GameState.as
@@ -19,7 +19,8 @@
 		{
 			super.initialize();

-			var mapAtlas:TextureAtlas = new TextureAtlas(Texture.fromBitmap(Bitmap(EmbeddedSources.BOARD_BITMAP_DATA)), EmbeddedSources.BOARD_XML);
+			var boardBitmap:Bitmap = new Bitmap(EmbeddedSources.BOARD_BITMAP_DATA);
+			var mapAtlas:TextureAtlas = new TextureAtlas(Texture.fromBitmap(boardBitmap), EmbeddedSources.BOARD_XML);
 			ObjectMakerStarling.FromTiledMap(EmbeddedSources.BOARD_MAP, mapAtlas);
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 17445
Author:   jszeto@adobe.com
Date:     2010-08-23T18:47:40.166311Z

Log Message:
-----------
Button icon support changes

Changed the icon support in Button. Icon is now a property instead of a style. I've added an optional skin part called iconDisplay:BitmapImage.

ButtonSkinBase does not use this skin part because BitmapImage can not be added as a child of a UIComponent. I renamed ButtonSkinBase.iconDisplay to iconInstance to avoid any confusion with the skin part name.

ButtonSkinBase listens for the "iconChange" event from the ButtonBase instead of relying on ButtonBase to push the icon to the iconDisplay.

QE notes: Need to update tests
Doc notes: none
Bugs: none
Reviewer: Corey
Tests run: checkintests
Is noteworthy for integration: yes, icon is a property now instead of a style

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as
@@ -85,7 +85,7 @@
         protected var labelDisplayShadow:MobileTextField;

         // Holds the icon
-        protected var iconDisplay:DisplayObject;
+        protected var iconInstance:DisplayObject;

         /**
          *  If true, then create the iconDisplay using the icon style
@@ -146,6 +146,9 @@

             addChild(labelDisplayShadow);
             addChild(labelDisplay);
+
+            if (useIconStyle)
+                hostComponent.addEventListener("iconChange", iconChangeHandler);
         }

         /**
@@ -154,11 +157,8 @@
         override public function styleChanged(styleProp:String):void
         {
             if (!styleProp ||
-                styleProp == "styleName" || styleProp == "icon"
-                || styleProp == "iconPlacement")
-            {
-                iconChanged = true;
-                invalidateProperties();
+                styleProp == "styleName" || styleProp == "iconPlacement")
+            {
                 invalidateSize();
                 invalidateDisplayList();
             }
@@ -177,19 +177,19 @@

             if (iconChanged && useIconStyle)
             {
-                if (iconDisplay)
-                {
-                    removeChild(iconDisplay);
-                    iconDisplay = null;
+                if (iconInstance)
+                {
+                    removeChild(iconInstance);
+                    iconInstance = null;
                 }

-                var icon:Class = getStyle("icon");
+                var icon:Class = hostComponent.icon;

                 if (icon)
                 {
                     // Should be a bitmap
-                    iconDisplay = new icon();
-                    addChild(iconDisplay);
+                    iconInstance = new icon();
+                    addChild(iconInstance);
                 }

                 iconChanged = false;
@@ -221,8 +221,8 @@
                 textHeight = lineMetrics.height + UITextField.TEXT_HEIGHT_PADDING;
             }

-            var iconWidth:Number = iconDisplay ? iconDisplay.width : 0;
-            var iconHeight:Number = iconDisplay ? iconDisplay.height : 0;
+            var iconWidth:Number = iconInstance ? iconInstance.width : 0;
+            var iconHeight:Number = iconInstance ? iconInstance.height : 0;
             var w:Number = 0;
             var h:Number = 0;

@@ -304,10 +304,10 @@
             var viewWidth:Number = unscaledWidth;
             var viewHeight:Number = unscaledHeight;

-            if (iconDisplay)
-            {
-                iconWidth = iconDisplay.width;
-                iconHeight = iconDisplay.height;
+            if (iconInstance)
+            {
+                iconWidth = iconInstance.width;
+                iconHeight = iconInstance.height;
             }

             if (iconPlacement == IconPlacement.LEFT ||
@@ -428,16 +428,16 @@
             if (labelDisplay.isTruncated)
                 labelDisplayShadow.text = labelDisplay.text;

-            if (iconDisplay)
+            if (iconInstance)
             {
-                iconDisplay.x = Math.round(iconX);
-                iconDisplay.y = Math.round(iconY);
+                iconInstance.x = Math.round(iconX);
+                iconInstance.y = Math.round(iconY);
             }
         }

         //--------------------------------------------------------------------------
         //
-        //  Methods
+        //  Event Handlers
         //
         //--------------------------------------------------------------------------

@@ -451,5 +451,13 @@
             invalidateDisplayList();
         }

+        private function iconChangeHandler(event:Event):void
+        {
+            iconChanged = true;
+            invalidateProperties();
+            invalidateSize();
+            invalidateDisplayList();
+        }
+
     }
 }


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

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

 package spark.formatters.supportClasses
 {


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

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

 package mx.automation.codec
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4009
Author:   jimurphy@adobe.com
Date:     2008-11-04T15:10:34.970681Z

Log Message:
-----------
Merged alpha_gumbo revisions 3929,3936-3937,3945,3956,3971,3986,3994,4002,4006 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/flash_component_icon.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/flash_container_icon_small.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/TweenEffectInstance.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/ResizeMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/flash_container_icon.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffect.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/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/flash_component_icon_small.png</path>

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

--- frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as
@@ -11,13 +11,13 @@

 package mx.effects.effectClasses
 {
-
 import flash.events.TimerEvent;
 import flash.utils.Timer;
+
 import mx.core.UIComponent;
 import mx.core.mx_internal;
+import mx.effects.EffectInstance;
 import mx.effects.IEffectInstance;
-import mx.effects.EffectInstance;

 use namespace mx_internal;

@@ -84,6 +84,17 @@
 	//
 	//--------------------------------------------------------------------------

+    /**
+     * Returns the duration of this Parallel effect, which is the
+     * max of the duration of all child effects. This does not include
+     * any startDelay or repeatCount/repeatDelay on the Parallel effect,
+     * but just the durations of the child effects.
+     */
+    override public function get duration():Number
+    {
+        return durationWithoutRepeat;
+    }
+
 	//----------------------------------
 	//  durationWithoutRepeat
 	//----------------------------------
@@ -91,27 +102,58 @@
 	/**
 	 *  @private
 	 */
-	override mx_internal function get durationWithoutRepeat():Number
-	{
-		var _duration:Number = 0;
-
-		// Get the largest actualDuration of all of our children
-		var n:int = childSets.length;
-		for (var i:int = 0; i < n; i++)
-		{
-			var instances:Array = childSets[i];
-			_duration = Math.max(instances[0].actualDuration, _duration);
-		}
-
-		return _duration;
-	}
+    override mx_internal function get durationWithoutRepeat():Number
+    {
+        var compositeDuration:Number = 0;
+
+        // Get the largest actualDuration of all of our children
+        var n:int = childSets.length;
+        for (var i:int = 0; i < n; i++)
+        {
+            var instances:Array = childSets[i];
+            var childInstanceDur:Number =
+                instances[0].mx_internal::durationExplicitlySet ?
+                instances[0].actualDuration :
+                super.duration * instances[0].repeatCount +
+                    (instances[0].repeatDelay * instances[0].repeatCount - 1) +
+                    instances[0].startDelay;
+
+            compositeDuration = Math.max(childInstanceDur, compositeDuration);
+        }
+
+        return compositeDuration;
+    }

 	//--------------------------------------------------------------------------
 	//
 	//  Overridden methods
 	//
 	//--------------------------------------------------------------------------
-
+
+    /**
+     * @inheritDoc
+     *
+     * In a Parallel effect, seek will cause all child effects to seek to
+     * the same seekTime. This may cause child effects to
+     * lessen their startDelay (if they are currently waiting to be played),
+     * start playing (if the seekTime is greater than their startDelay), or
+     * come to an end (if the seekTime is greater than their startDelay plus
+     * their duration).
+     */
+    override public function seek(seekTime:Number):void
+    {
+        // Tell all of our active children to seek()
+
+        var n:int = childSets.length;
+        for (var i:int = 0; i < n; i++)
+        {
+            var instances:Array = childSets[i];
+            for (var j:int = 0; j < instances.length; ++j)
+                instances[j].seek(seekTime);
+        }
+        super.seek(seekTime);
+    }
+
 	/**
 	 *  @private
 	 */


Transferred from the Adobe Open Source Subversion Repository

Revision: 12787
Author:   mhorn@adobe.com
Date:     2009-12-10T15:41:17.889108Z

Log Message:
-----------
asdoc updates for l10n

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/HueShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLightShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurnShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityMaskShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ExclusionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SaturationShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityShader.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurnShader.as
+++ frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurnShader.as
@@ -14,14 +14,14 @@
 import flash.display.Shader;

 /**
- *  The ColorBurnShader class creates a blend shader that is equivalent to
+ *  Creates a blend shader that is equivalent to
  *  the 'Color Burn' blend mode for RGB premultiplied colors available
  *  in Adobe Creative Suite tools. This blend mode is not native to Flash,
  *  but is available in tools like Adobe Illustrator and Adobe Photoshop.
  *
- *  The 'colorburn' blend mode can be set on Flex groups and graphic
+ *
The 'colorburn' blend mode can be set on Flex groups and graphic
  *  elements and the visual appearance in tools like Adobe Illustrator and
- *  Adobe Photoshop will be mimicked through this blend shader.
+ *  Adobe Photoshop will be mimicked through this blend shader.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10


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

--- frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
+++ frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2004-2010 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: 22028
Author:   egeorgie@adobe.com
Date:     2011-08-16T19:53:44.618739Z

Log Message:
-----------
SDK-31166 DynamicSplashScreenImage RTEs when it has no children

- Add a null-check for _mxmlContent

QE notes:
Doc notes:
Bugs: SDK-31166
Reviewer:  Glenn
Tests run: build, checkintests
Is noteworthy for integration:

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImage.as

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

--- frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImage.as
+++ frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImage.as
@@ -179,6 +179,9 @@
      */
     public function getImageClass(aspectRatio:String, dpi:Number, resolution:Number):Class
     {
+        if (!_mxmlContent)
+            return null;
+
         // Find best matching source
         var bestMatch:SplashScreenImageSource;
         const length:int = _mxmlContent.length;


More docs.

More docs.

--- HLSPlugin/src/com/kaltura/hls/manifest/HLSManifestParser.as
+++ HLSPlugin/src/com/kaltura/hls/manifest/HLSManifestParser.as
@@ -47,6 +47,9 @@

 		/**
 		 * When true, we seek to live edge when we experience a buffering event.
+		 *
+		 * Seeking will occur if we are buffering for longer than 2x target
+		 * duration of the current manifest.
 		 */
 		public static var ALWAYS_SEEK_TO_LIVE_EDGE_ON_BUFFER:Boolean = false;


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

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


corrected header

corrected header

git-svn-id: 27326a786375daad9d33dc990c6f272e4c8f567c@1695 fda5f131-174c-0410-8613-e0905860106b

--- org.openwms/trunk/org.openwms.core/org.openwms.core.domain.as/src/main/flex/org/openwms/core/domain/system/PreferenceType.as
+++ org.openwms/trunk/org.openwms.core/org.openwms.core.domain.as/src/main/flex/org/openwms/core/domain/system/PreferenceType.as
@@ -23,15 +23,12 @@
     import org.granite.util.Enum;

     [Bindable]
-    [RemoteClass(alias = "org.openwms.core.domain.system.PreferenceType")]
+    [RemoteClass(alias="org.openwms.core.domain.system.PreferenceType")]
     public class PreferenceType extends Enum {

         public static const FLOAT : PreferenceType = new PreferenceType("FLOAT", _);
-
         public static const STRING : PreferenceType = new PreferenceType("STRING", _);
-
         public static const INT : PreferenceType = new PreferenceType("INT", _);
-
         public static const OBJECT : PreferenceType = new PreferenceType("OBJECT", _);

         function PreferenceType(value : String=null, restrictor : *=null) {
@@ -50,4 +47,4 @@
             return PreferenceType(FLOAT.constantOf(name));
         }
     }
-}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 18109
Author:   dloverin@adobe.com
Date:     2010-10-08T21:29:52.633486Z

Log Message:
-----------
Another round of item editor changes, ASDoc updates, and bug fixes.

QE notes: Not ready for testing.
Doc notes: None.
Bugs:
Reviewer: Hans
Tests run: checkintests
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/IGridItemEditor.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/DataGridEditEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/DataGridEditEvent.as" copyfrom-rev="18071" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridItemEditorEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/TextGridItemEditor.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/ComboBoxGridItemEditor.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/IGridItemEditor.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/IGridItemEditor.as
@@ -20,7 +20,7 @@
  *  When the editor is closing the discard() method is called.

  *
  *
When the editor is closed the input value can be saved or cancelled. If saving,
- * the save() function is called. If canceling the
+ * the save() function is called by the editor. If canceling the
  * cancel() function is called.
  *

  */
@@ -38,7 +38,7 @@
     //----------------------------------

     /**
-     *  The dataGrid that owns this editor.
+     *  The data grid that owns this editor.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -77,6 +77,29 @@
     function get columnIndex():int;
     function set columnIndex(value:int):void;

+    //----------------------------------
+    //  editorUsesEnterKey
+    //----------------------------------
+
+    /**
+     *  A flag that indicates whether the item editor uses the Enter key.
+     *  If true the item editor uses the Enter key and the
+     *  DataGrid will not look for the Enter key and close the editor in
+     *  response.
+     *  Note that changing this value while the editor is displayed
+     *  will have no effect on the current editor, but will affect the next
+     *  item renderer that opens an editor.
+     *
+     *  @default false.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 4.5
+     */
+    function get editorUsesEnterKey():Boolean;
+    function set editorUsesEnterKey(value:Boolean):void
+
     //----------------------------------
     //  rowIndex
     //----------------------------------
@@ -157,6 +180,12 @@
      *  the data may be saved. If the data is not valid, then the
      *  data is not saved and the editor is not closed.
      *
+     *  This function should only be called by the editor. To save
+     *  and close the editor call the endItemEditorSession()
+     *  function of the data grid owner.
+     *
+     *  @see spark.components.DataGrid
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 2.0
@@ -167,6 +196,12 @@
     /**
      *  Closes the editor without saving the data.
      *
+     *  This function should only be called by the editor. To cancel
+     *  and close the editor call the endItemEditorSession()
+     *  function of the data grid owner.
+     *
+     *  @see spark.components.DataGrid
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 2.0


Transferred from the Adobe Open Source Subversion Repository

Revision: 6220
Author:   smgilson@adobe.com
Date:     2009-04-23T19:19:23.764222Z

Log Message:
-----------
More ASDoc work on effects

QE Notes: None
Doc Notes: None
Bugs: -
checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateFilterInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/WipeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/CallActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/SetActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RemoveActionInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
@@ -41,9 +41,11 @@
 [ResourceBundle("sparkEffects")]

 /**
- * The AnimateInstance class implements the instance class for the
- * Animate effect. Flex creates an instance of this class when
- * it plays a Animate effect; you do not create one yourself.
+ *  The AnimateInstance class implements the instance class for the
+ *  Animate effect. Flex creates an instance of this class when
+ *  it plays a Animate effect; you do not create one yourself.
+ *
+ *  @see spark.effects.Animate
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -52,8 +54,21 @@
  */
 public class AnimateInstance extends EffectInstance implements IAnimationTarget
 {
+    /**
+     *  @private
+     */
     public var animation:Animation;

+    /**
+     *  Constructor.
+     *
+     *  @param target The Object to animate with this effect.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
     public function AnimateInstance(target:Object)
     {
         super(target);
@@ -119,9 +134,7 @@

     private var _motionPaths:Array;
     /**
-     * An array of SimpleMotionPath objects, each of which holds the
-     * name of the property being animated and the values that the property
-     * will take on during the animation.
+     *  @copy spark.effects.Animate#motionPaths
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -143,17 +156,19 @@
     }

     /**
-     * This flag indicates whether a subclass would like their target to
-     * be automatically kept around during a transition and removed when it
-     * finishes. This capability applies specifically to effects like
-     * Fade which act on targets that go away at the end of the
-     * transition and removes the need to supply a RemoveAction or similar
-     * effect to manually keep the item around and remove it when the
-     * transition completes. In order to use this capability, subclasses
-     * should set this variable to true and also expose the "parent"
-     * property in their affectedProperties array so
-     * that the effect instance has enough information about the target
-     * and container to do the job.
+     *  If true, the effect retains its target
+     *  during a transition and removes it when finished.
+     *  This capability applies specifically to effects like
+     *  Fade which act on targets that go away at the end of the
+     *  transition and removes the need to supply a RemoveAction or similar
+     *  effect to manually keep the item around and remove it when the
+     *  transition completes.
+     *
+     *
To use this capability, subclasses
+     *  should set this variable to true and also expose the parent
+     *  property in their affectedProperties Array so
+     *  that the effect instance has enough information about the target
+     *  and container to do the job.

      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -164,40 +179,83 @@

     /**
      * @copy spark.effects.Animate#disableConstraints
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public var disableConstraints:Boolean;

     /**
      * @copy spark.effects.Animate#disableLayout
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public var disableLayout:Boolean;

     private var _easer:IEaser;
+    /**
+     * @copy spark.effects.Animate#easer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
     public function set easer(value:IEaser):void
     {
         _easer = value;
     }
+    /**
+     *  @private
+     */
     public function get easer():IEaser
     {
         return _easer;
     }

     private var _interpolator:IInterpolator;
+    /**
+     * @copy spark.effects.Animate#interpolator
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
     public function set interpolator(value:IInterpolator):void
     {
         _interpolator = value;

     }
+    /**
+     *  @private
+     */
     public function get interpolator():IInterpolator
     {
         return _interpolator;
     }

     private var _repeatBehavior:String;
+    /**
+     * @copy spark.effects.Animate#repeatBehavior
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
     public function set repeatBehavior(value:String):void
     {
         _repeatBehavior = value;
     }
+    /**
+     *  @private
+     */
     public function get repeatBehavior():String
     {
         return _repeatBehavior;
@@ -301,6 +359,7 @@
     }

     /**
+     *  @private
      *  Interrupts an effect that is currently playing,
      *  and immediately jumps to the end of the effect.
      *  Calls the Tween.endTween() method
@@ -338,7 +397,7 @@
     //--------------------------------------------------------------------------

     /**
-     *  @copy mx.effects.IEffectInstance#startEffect()
+     *  @private
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -447,9 +506,10 @@
     }

     /**
-     * Set the values in the given array on the properties held in our
-     * motionPaths array. This is called by the update and end
-     * functions, which are called by the Animation during the animation.
+     *  @private
+     *  Set the values in the given array on the properties held in our
+     *  motionPaths array. This is called by the update and end
+     *  functions, which are called by the Animation during the animation.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -562,12 +622,13 @@
     }

     /**
-     * This function is called by subclasses during the play() function
-     * to add an animation to the current set of motionPaths.
-     * The animation will be set up on the named constraint if the constraint
-     * is in the propertyChanges array (which is only true during
-     * transitions for properties/styles exposed by the effect) and the
-     * value of that constraint is different between the start and end states.
+     *  @private
+     *  This function is called by subclasses during the play() function
+     *  to add an animation to the current set of motionPaths.
+     *  The animation will be set up on the named constraint if the constraint
+     *  is in the propertyChanges array (which is only true during
+     *  transitions for properties/styles exposed by the effect) and the
+     *  value of that constraint is different between the start and end states.
      */
     protected function setupConstraintAnimation(constraintName:String):void
     {
@@ -582,8 +643,9 @@
     }

     /**
-     * Called internally to handle start events for the animation.
-     * If you override this method, ensure that you call the super method.
+     *  @private
+     *  Called internally to handle start events for the animation.
+     *  If you override this method, ensure that you call the super method.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -610,8 +672,9 @@
     }

     /**
-     * Called internally to handle update events for the animation.
-     * If you override this method, ensure that you call the super method.
+     *  @private
+     *  Called internally to handle update events for the animation.
+     *  If you override this method, ensure that you call the super method.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -633,8 +696,9 @@
     }

     /**
-     * Called internally to handle repeat events for the animation.
-     * If you override this method, ensure that you call the super method.
+     *  @private
+     *  Called internally to handle repeat events for the animation.
+     *  If you override this method, ensure that you call the super method.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -649,8 +713,9 @@
     }

     /**
-     * Called internally to handle end events for the animation.
-     * If you override this method, ensure that you call the super method.
+     *  @private
+     *  Called internally to handle end events for the animation.
+     *  If you override this method, ensure that you call the super method.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -698,7 +763,7 @@
     }

     /**
-     *  @copy mx.effects.IEffectInstance#finishEffect()
+     *  @private
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -870,9 +935,10 @@
     }

     /**
-     * Utility function to handle situation where values may be queried or
-     * set on the target prior to completely setting up the effect's
-     * motionPaths data values (from which the styleMap is created)
+     *  @private
+     *  Utility function to handle situation where values may be queried or
+     *  set on the target prior to completely setting up the effect's
+     *  motionPaths data values (from which the styleMap is created)
      *
      *  @langversion 3.0
      *  @playerversion Flash 10