Transferred from the Adobe Open Source Subversion Repository

Revision: 11070
Author:   rfrishbe@adobe.com
Date:     2009-10-21T23:56:10.882948Z

Log Message:
-----------
This has two changes: one is adding index to IItemRenderer and the other is adding handleHighlightBackground to ItemRenderer.  Adding an index property should speed things up a little bit, and it'll help fix a bug with renderers that have index-dependent drawing, like when alternatingItemColors is set.  handleHighlightBackground is a new shortcut property that will automatically handle drawing the background for selection/highlight in an item renderer.  For now, handleHighlightBackground defaults to false, so it shouldn’t affect anything.

The two new properties still need to be PARBed, and the handleHighlightBackround property in particular may change names and default values.

QE notes: We'll need to add new tests for this
Doc notes: We'll need some new documentation around the handleHighlightBackground property and the suggested approach for custom item renderers.
Bugs: SDK-22908
Reviewer: Deepa, Evtim
Tests run: checkintests, Mustella List, DataGroup, SkinnableDataContainer, ButtonBar, DropDownList
Is noteworthy for integration: Yes

Modified Paths:
--------------
<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/spark/src/spark/components/ButtonBarButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/IItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.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/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/IItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/IItemRenderer.as
@@ -34,9 +34,10 @@
  */
 public interface IItemRenderer extends IDataRenderer, IVisualElement
 {
+
     /**
-     *  Contains true if the item renderer
-     *  can show itself as selected.
+     *  The index of the item in the data set
+     *  that this renderer is visualizing.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -44,21 +45,8 @@
      *  @productversion Flex 4
      *
      */
-    function get selected():Boolean;
-    function set selected(value:Boolean):void;
-
-    /**
-     *  Contains true if the item renderer
-     *  can show itself as focused.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     *
-     */
-    function get showsCaret():Boolean;
-    function set showsCaret(value:Boolean):void;
+    function get index():int;
+    function set index(value:int):void;

 	/**
 	 *  True if the item renderer is being dragged.
@@ -94,7 +82,31 @@
     function get label():String;
     function set label(value:String):void;

+    /**
+     *  Contains true if the item renderer
+     *  can show itself as selected.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     *
+     */
+    function get selected():Boolean;
+    function set selected(value:Boolean):void;

+    /**
+     *  Contains true if the item renderer
+     *  can show itself as focused.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     *
+     */
+    function get showsCaret():Boolean;
+    function set showsCaret(value:Boolean):void;
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8422
Author:   smgilson@adobe.com
Date:     2009-07-07T14:41:50.996290Z

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

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/LabelUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/IndexChangeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/TextOperationEvent.as</path>

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

--- frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
+++ frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
@@ -70,6 +70,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get baseline():Object
     {
@@ -96,6 +101,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get baselinePosition():Number
     {
@@ -116,6 +126,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get bottom():Object
     {
@@ -176,6 +191,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get horizontalCenter():Object
     {
@@ -207,7 +227,12 @@
     [Inspectable(category="General", defaultValue="true")]

     /**
-     *  @inheritDoc
+     *  @copy mx.core.UIComponent#includeInLayout
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get includeInLayout():Boolean
     {
@@ -237,7 +262,12 @@
     private var _depth:Number = 0;

     /**
-     * @copy spark.primitives.supportClasses.GraphicElement#depth
+     *  @copy spark.primitives.supportClasses.GraphicElement#depth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get depth():Number
     {
@@ -271,6 +301,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get left():Object
     {
@@ -300,6 +335,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get owner():DisplayObjectContainer
     {
@@ -325,6 +365,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get percentHeight():Number
     {
@@ -357,6 +402,11 @@

     /**
      *  @copy mx.core.UIComponent#percentWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get percentWidth():Number
     {
@@ -389,6 +439,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get right():Object
     {
@@ -421,6 +476,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get top():Object
     {
@@ -453,6 +513,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get verticalCenter():Object
     {
@@ -536,6 +601,14 @@

     private var _viewWidth:Number = NaN;

+    /**
+     *  @copy spark.primitives.Graphic#viewWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
     protected function set viewWidth(value:Number):void
     {
         _viewWidth = value;
@@ -547,6 +620,14 @@

     private var _viewHeight:Number = NaN;

+    /**
+     *  @copy spark.primitives.Graphic#viewHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
     protected function set viewHeight(value:Number):void
     {
         _viewHeight = value;
@@ -578,6 +659,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getLayoutBoundsX(postLayoutTransform:Boolean = true):Number
     {
@@ -592,6 +678,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getLayoutBoundsY(postLayoutTransform:Boolean = true):Number
     {
@@ -606,6 +697,11 @@

     /**
      *  @copy mx.core.ILayoutElement#getLayoutBoundsWidth()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getLayoutBoundsWidth(postLayoutTransform:Boolean = true):Number
     {
@@ -614,6 +710,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getLayoutBoundsHeight(postLayoutTransform:Boolean = true):Number
     {
@@ -622,6 +723,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getMaxBoundsWidth(postLayoutTransform:Boolean = true):Number
     {
@@ -630,6 +736,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getMaxBoundsHeight(postLayoutTransform:Boolean = true):Number
     {
@@ -638,6 +749,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getMinBoundsWidth(postLayoutTransform:Boolean = true):Number
     {
@@ -646,6 +762,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getMinBoundsHeight(postLayoutTransform:Boolean = true):Number
     {
@@ -654,6 +775,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getPreferredBoundsWidth(postLayoutTransform:Boolean = true):Number
     {
@@ -662,6 +788,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getPreferredBoundsHeight(postLayoutTransform:Boolean = true):Number
     {
@@ -711,8 +842,13 @@
     }

     /**
-     *  Helper method to invalidate parent size and display list if
+     *  Invalidates parent size and display list if
      *  this object affects its layout (includeInLayout is true).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     protected function invalidateParentSizeAndDisplayList():void
     {
@@ -729,6 +865,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function setLayoutBoundsPosition(newBoundsX:Number, newBoundsY:Number, postLayoutTransform:Boolean = true):void
     {
@@ -747,6 +888,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function setLayoutBoundsSize(width:Number,
                                         height:Number,
@@ -773,6 +919,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getLayoutMatrix():Matrix
     {
@@ -782,6 +933,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void
     {
@@ -794,6 +950,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getLayoutMatrix3D():Matrix3D
     {
@@ -803,6 +964,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function setLayoutMatrix3D(value:Matrix3D, invalidateLayout:Boolean):void
     {
@@ -822,6 +988,11 @@
      *
      *  @return Returns the transformed width. Transformation is this element's
      *  layout transformation matrix.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     protected function transformWidthForLayout(width:Number,
                                                height:Number,
@@ -849,6 +1020,11 @@
      *
      *  @return Returns the transformed height. Transformation is this element's
      *  layout transformation matrix.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     protected function transformHeightForLayout(width:Number,
                                                 height:Number,


Fix hasProvider function

Fix hasProvider function

--- src/aerys/minko/type/binding/DataBindings.as
+++ src/aerys/minko/type/binding/DataBindings.as
@@ -1,10 +1,10 @@
 package aerys.minko.type.binding
 {
+	import flash.utils.Dictionary;
+
 	import aerys.minko.scene.node.ISceneNode;
 	import aerys.minko.type.Signal;
 	import aerys.minko.type.enum.DataProviderUsage;
-
-	import flash.utils.Dictionary;

 	public final class DataBindings
 	{
@@ -251,9 +251,9 @@
 			}
 		}

-        public function hasProvider(provider : DataProvider) : Boolean
+        public function hasProvider(provider : IDataProvider) : Boolean
         {
-			for each (var accessibleProvider : DataProvider in _providers)
+			for each (var accessibleProvider : IDataProvider in _providers)
 			{
 				if (accessibleProvider == provider)
 					return true;


counterClockziseNeighbor possibly implemented =)

--- src/fr/manashield/flex/thex/HexagonalCell.as
+++ src/fr/manashield/flex/thex/HexagonalCell.as
@@ -12,7 +12,6 @@
 		protected var _hexCoordinates:Point;
 		protected var _parent:HexagonalGrid;

-		//public function HexagonalCell(x:int, y:int, parent:HexagonalGrid = null)
 		public function HexagonalCell(position:Point, parent:HexagonalGrid = null)
 		{
 			_hexCoordinates = position;
@@ -104,11 +103,28 @@

 			return this._parent.cell(neighbor);
 		}
-		/*
+
+		// Untested method
 		public function get counterClockwiseNeighbor():HexagonalCell
 		{
+			var x:Number = _hexCoordinates.x;
+			var y:Number = _hexCoordinates.y;
+
+			if(x*y > 0 || y == 0)
+			{
+				var sign:Number = (x>0?1:-1);
+
+				x-=sign;
+				y+=sign;
+			} else
+			{
+				var sign:Number = (y>0?1:-1);
+
+				Math.abs(x)>Math.abs(y)?y+=sign:x-=sign;
+			}
+
+			return this._parent.cell(new Point(x, y));

 		}
-		*/
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 21808
Author:   jasonsj@adobe.com
Date:     2011-08-04T01:30:11.972874Z

Log Message:
-----------
Callout visual review: drop shadow, content shadow tweaking.
New Callout skin for SplitViewNavigator that disables the content shadow and mask.

QE notes:
Doc notes:
Bugs:
Reviewer: chiedozi
Tests run: checkintests, mustella-mobile
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutViewNavigatorSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorCalloutSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SplitViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile320/assets/CalloutContentBackground.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile240/assets/CalloutContentBackground.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile160/assets/CalloutContentBackground.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutViewNavigatorSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutViewNavigatorSkin.as
@@ -12,12 +12,11 @@
 package spark.skins.mobile
 {

+import flash.display.Graphics;
+
 import mx.core.DPIClassification;
 import mx.core.mx_internal;

-import spark.components.ActionBar;
-import spark.components.Group;
-import spark.components.ViewNavigator;
 import spark.core.SpriteVisualElement;
 import spark.skins.mobile160.assets.CalloutContentBackground;
 import spark.skins.mobile240.assets.CalloutContentBackground;
@@ -60,14 +59,14 @@
             {
                 contentBackgroundClass = spark.skins.mobile320.assets.CalloutContentBackground;
                 contentCornerRadius = 10;
-                gap = 20;
+                gap = 16;
                 break;
             }
             case DPIClassification.DPI_240:
             {
                 contentBackgroundClass = spark.skins.mobile240.assets.CalloutContentBackground;
                 contentCornerRadius = 7;
-                gap = 15;
+                gap = 12;
                 break;
             }
             default:
@@ -75,7 +74,7 @@
                 // default DPI_160
                 contentBackgroundClass = spark.skins.mobile160.assets.CalloutContentBackground;
                 contentCornerRadius = 5;
-                gap = 10;
+                gap = 8;
                 break;
             }
         }
@@ -100,6 +99,8 @@
     mx_internal var contentBackgroundGraphic:SpriteVisualElement;

     mx_internal var contentCornerRadius:Number;
+
+    private var contentMask:SpriteVisualElement;

     //--------------------------------------------------------------------------
     //
@@ -112,10 +113,15 @@
      */
     override protected function createChildren():void
     {
+        super.createChildren();
+
+        // mask the ViewNavigator contentGroup
+        contentMask = new SpriteVisualElement();
+        contentGroup.mask = contentMask;
+
+        // contentBackground shadow is layered above the contentGroup
         contentBackgroundGraphic = new contentBackgroundClass() as SpriteVisualElement;
         addChild(contentBackgroundGraphic);
-
-        super.createChildren();
     }

     /**
@@ -164,13 +170,15 @@
             actionBarHeight = actionBar.getLayoutBoundsHeight();
         }

+        // If the hostComponent is in overlay mode, the contentGroup extends
+        // the entire bounds of the navigator and the alpha for the action
+        // bar changes
+        // If this changes, also update validateEstimatedSizesOfChild
+        var contentGroupHeight:Number = 0;
+
         if (contentGroup.includeInLayout)
         {
-            // If the hostComponent is in overlay mode, the contentGroup extends
-            // the entire bounds of the navigator and the alpha for the action
-            // bar changes
-            // If this changes, also update validateEstimatedSizesOfChild
-            var contentGroupHeight:Number = Math.max(unscaledHeight - actionBarHeight - gap, 0);
+            contentGroupHeight = Math.max(unscaledHeight - actionBarHeight - gap, 0);

             setElementSize(contentGroup, unscaledWidth, contentGroupHeight);
             setElementPosition(contentGroup, 0, actionBarHeight + gap);
@@ -178,6 +186,9 @@
             setElementSize(contentBackgroundGraphic, unscaledWidth, contentGroupHeight);
             setElementPosition(contentBackgroundGraphic, 0, actionBarHeight + gap);
         }
+
+        setElementSize(contentMask, unscaledWidth, contentGroupHeight);
+        setElementPosition(contentBackgroundGraphic, 0, actionBarHeight + gap);
     }

     /**
@@ -191,17 +202,30 @@
         // the shading and highlight are drawn in FXG
         var contentEllipseSize:Number = contentCornerRadius * 2;
         var contentBackgroundAlpha:Number = getStyle("contentBackgroundAlpha");
+        var contentWidth:Number = contentGroup.getLayoutBoundsWidth();
+        var contentHeight:Number = contentGroup.getLayoutBoundsHeight();

         graphics.beginFill(getStyle("contentBackgroundColor"),
             contentBackgroundAlpha);
         graphics.drawRoundRect(contentBackgroundGraphic.getLayoutBoundsX(),
             contentBackgroundGraphic.getLayoutBoundsY(),
-            contentBackgroundGraphic.getLayoutBoundsWidth(),
-            contentBackgroundGraphic.getLayoutBoundsHeight(),
+            contentWidth,
+            contentHeight,
             contentEllipseSize,
             contentEllipseSize);
         graphics.endFill();

+        if (contentMask)
+        {
+            // content mask in contentGroup coordinate space
+            var maskGraphics:Graphics = contentMask.graphics;
+            maskGraphics.clear();
+            maskGraphics.beginFill(0, 1);
+            maskGraphics.drawRoundRect(0, 0, contentWidth, contentHeight,
+                contentEllipseSize, contentEllipseSize);
+            maskGraphics.endFill();
+        }
+
         contentBackgroundGraphic.alpha = contentBackgroundAlpha;
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12969
Author:   egeorgie@adobe.com
Date:     2009-12-15T21:56:35.581732Z

Log Message:
-----------
Cleanup FIXMEs.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.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/spark/src/spark/primitives/Path.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/components/supportClasses/ListItemDragProxy.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListItemDragProxy.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListItemDragProxy.as
@@ -177,7 +177,7 @@
     //
     //--------------------------------------------------------------------------

-    // FIXME (egeorgie): find a better place for this helper method.
+    // TODO (egeorgie): find a better place for this helper method.
     static private var elementBounds:Rectangle;
     /**
      *  @private


Transferred from the Adobe Open Source Subversion Repository

Revision: 8395
Author:   mhorn@adobe.com
Date:     2009-07-06T20:54:45.228719Z

Log Message:
-----------
asdoc updates

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
@@ -256,7 +256,7 @@
     //----------------------------------

     /**
-     *  Documentation is not currently available.
+     *  @copy flash.text.TextField#displayAsPassword
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -477,7 +477,7 @@
     //----------------------------------

     /**
-     *  Documentation is not currently available.
+     *  @copy flash.text.TextField#restrict
      *
      *  @default null
      *
@@ -624,7 +624,11 @@
     //----------------------------------

     /**
-     *  Documentation is not currently available.
+     *  Determines when text selections should be highlighted.
+     *
+     *  Possible values are ALWAYS, WHEN_FOCUSED, and WHEN_ACTIVE.
+     *
+     *  @see mx.components.TextSelectionHighlighting
      *
      *  @default null
      *
@@ -1018,7 +1022,7 @@
     }

     /**
-     *  Documentation is not currently available.
+     *  Selects the entire text range.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -1034,7 +1038,7 @@
     }

     /**
-     *  Documentation is not currently available.
+     *  @copy flashx.textLayout.edit.ISelectionManager#selectRange()
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -1050,7 +1054,7 @@
     }

     /**
-     *  Documentation is not currently available.
+     *  @copy spark.primitives.RichEditableText#insertText()
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -1066,7 +1070,7 @@
     }

     /**
-     *  Documentation is not currently available.
+     *  @copy spark.primitives.RichEditableText#appendText()
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 3973
Author:   rfrishbe@adobe.com
Date:     2008-10-30T20:30:13.007923Z

Log Message:
-----------
Adding IVisualContainer interface.  Group, FxContainer, and FxScroller implement this interface now.  Added owner and parent to IVisualItem.  GraphicElement and UIComponent implement this interface--work had to be done in GraphicElement to do this.  In doing so, elementHost is going to be renamed to parent.  For now, I added parent in GraphicElement and left elementHost in there; however, it is removed from IGraphicElement.  I’ve removed all references to elementHost in our code; however, I think mustella needs to be updated as do mustella tests, so I’m not going to remove elementHost until later.

Most of the changes here are name changes dealing with "elementHost" -> "parent".  If we decide that Gumbo components only support IVisualItems, we should clean up some of the code, but for now, I kept any assumptions that were in the original code (meaning we may be able to support DisplayObjects and old definitions of UIComponents/IUIComponents that aren’t IVisualItems).

I ran checkin tests, Group mustella tests, DataGroup mustella tests, FxContainer mustella tests, graphic tags tests, and all effects Mustella tests.

QE Notes: We will need to update mustella and mustella tests to use elementHost rather than parent.  We can also update mustella to use IVisualContainer rather than what it's doing now.  However, let's wait on these changes for now.  I'll send out an email when we're ready to make these changes and remove elementHost from GraphicElement.
Doc Notes: None
Bugs: -
Reviewer: Chet

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IVisualContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IUIComponent.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/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</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/framework/src/mx/core/IVisualItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.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/effects/effectClasses/AddActionInstance.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/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/RemoveActionInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/RemoveActionInstance.as
@@ -47,15 +47,7 @@
 	public function RemoveActionInstance(target:Object)
 	{
 		super(target);
-        try {
-            target.parent;
-            hasParent = true;
-        } catch (e:Error) {
-            hasParent = false;
-        }
     }
-
-    private var hasParent:Boolean;

 	//--------------------------------------------------------------------------
 	//
@@ -89,42 +81,39 @@

     private function getContainer(child:*):*
     {
-        if (hasParent)
-           return child.parent;
-        else
-           return child.elementHost;
+       return child.parent;
     }

     private function addChild(container:*, child:*):void
     {
-        if (hasParent && !(container is Group))
+        if (container is Group)
+           container.addItem(child);
+        else
            container.addChild(child);
-        else
-           container.addItem(child);
     }

     private function removeChild(container:*, child:*):void
     {
-        if (hasParent && !(container is Group))
+        if (container is Group)
+           container.removeItem(child);
+        else
            container.removeChild(child);
-        else
-           container.removeItem(child);
     }

     private function addChildAt(container:*, child:*, index:int):void
     {
-        if (hasParent && !(container is Group))
+        if (container is Group)
+           container.addItemAt(child, index);
+        else
            container.addChildAt(child, index);
-        else
-           container.addItemAt(child, index);
     }

     private function getChildIndex(container:*, child:*):int
     {
-        if (hasParent && !(container is Group))
+        if (container is Group)
+           return container.getItemIndex(child);
+        else
            return container.getChildIndex(child);
-        else
-           return container.getItemIndex(child);
     }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/core/ByteArrayAsset.as
+++ frameworks/projects/framework/src/mx/core/ByteArrayAsset.as
@@ -62,6 +62,11 @@
  *  But if you specify the MIME type as application/octet-stream,
  *  then no transcoding will occur, the PNG data will be embedded
  *  as is, and the autogenerated class will extend ByteArrayAsset.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class ByteArrayAsset extends ByteArray implements IFlexAsset
 {
@@ -75,6 +80,11 @@

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


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

--- frameworks/projects/framework/src/mx/core/ILayoutElement.as
+++ frameworks/projects/framework/src/mx/core/ILayoutElement.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: 4390
Author:   rfrishbe@adobe.com
Date:     2008-12-23T23:34:25.543838Z

Log Message:
-----------
Fix a small bug with BitmapGraphic in the way it's calling the fill.  Since fill now works properly, we need to make sure begin() is called correctly.

Also, I removed ITransformable yesterday, but let's push some of those properties on to IVisualElement directly.

QE Notes: The ITransformable change should fix some tests that aren't compiling in 3d layout
Doc Notes: None
Bugs: SDK-18530
Reviewer: Evtim
tests: checkintests, mustella Group tests, BitmapGraphic tests (one BitmapGraphic tests was still failing for me...)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as</path>

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

--- frameworks/projects/framework/src/mx/core/IVisualElement.as
+++ frameworks/projects/framework/src/mx/core/IVisualElement.as
@@ -64,6 +64,24 @@
     /**
      * Documentation is not currently available.
      */
+    function get rotationX():Number;
+    function set rotationX(value:Number):void;
+
+    /**
+     * Documentation is not currently available.
+     */
+    function get rotationY():Number;
+    function set rotationY(value:Number):void;
+
+    /**
+     * Documentation is not currently available.
+     */
+    function get rotationZ():Number;
+    function set rotationZ(value:Number):void;
+
+    /**
+     * Documentation is not currently available.
+     */
     function get transformX():Number;
     function set transformX(value:Number):void;

@@ -82,13 +100,49 @@
     /**
      * Documentation is not currently available.
      */
-     function get offsets():TransformOffsets;
-     function set offsets(value:TransformOffsets):void;
+    function get offsets():TransformOffsets;
+    function set offsets(value:TransformOffsets):void;

     /**
      * Documentation is not currently available.
      */
-     function get baselinePosition():Number;
+    function get baselinePosition():Number;
+
+    /**
+     * Documentation is not currently available.
+     */
+    function get x():Number;
+    function set x(value:Number):void;
+
+    /**
+     * Documentation is not currently available.
+     */
+    function get y():Number;
+    function set y(value:Number):void;
+
+    /**
+     * Documentation is not currently available.
+     */
+    function get z():Number;
+    function set z(value:Number):void;
+
+    /**
+     * Documentation is not currently available.
+     */
+    function get scaleX():Number;
+    function set scaleX(value:Number):void;
+
+    /**
+     * Documentation is not currently available.
+     */
+    function get scaleY():Number;
+    function set scaleY(value:Number):void;
+
+    /**
+     * Documentation is not currently available.
+     */
+    function get scaleZ():Number;
+    function set scaleZ(value:Number):void;

     /**
      *  The horizontal distance in pixels from the left edge of the component to the


Transferred from the Adobe Open Source Subversion Repository

Revision: 5288
Author:   rfrishbe@adobe.com
Date:     2009-03-13T01:44:49.712909Z

Log Message:
-----------
A bunch of small bug fixes.

- DataGroup bug around a visualelement being moved to another datagroup (SDK-19680)

- Added removeAllElements method to IVisualElementContainer (SDK-19424)

- Fix up ASDoc/RTE messages for Group/DataGroup/FxContainer when calling addChild(), removeChild(), etc... (SDK-19582)

- Added an mx_internal method, specifically for automation, so mouse event listeners can get added to a Container without adding a mouseshield and changing the behavior of the component (SDK-18864)

- When both skinClass and skinFactory are set, the skin doesn't get reloaded properly when skinFactory changes when it's a non-ClassFactory (SDK-19450)

- autoLayout and typicalItem properties weren't getting proxied properly on FxDataContainer (SDK-19799)

- Tabbing through two focusable items, when one of those items is partially "offscreen", starts the tab loop with the second item instead of the first (SDK-17283)

- Add Icon file for FxVideoDisplay and VideoElement.

- Also fixed up some ASDoc versioning info for stuff that was added in the Flex 4 timeframe but was actually added to the framework project and not the flex4 project.

- Also renaming Group.setMxmlContent -> Group.setMXMLContent to follow proper naming conventions.

QE Notes: I'll update the bug files and let you know which ones we need to add tests for
Doc Notes: -
Bugs: SDK-19680, SDK-19424, SDK-19582, SDK-18864, SDK-19450, SDK-19799, SDK-17283
Reviewer: Jason reviewed most of the changes, Alex reviewed the FocusManager change
tests: checkintests, mustella Group, DataGroup, FxComponent

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/bundles/en_US/components.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElementContainer.as</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/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVideoDisplay.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVideoDisplay.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/VideoElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/VideoElement.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/framework/src/mx/core/IVisualElement.as
+++ frameworks/projects/framework/src/mx/core/IVisualElement.as
@@ -21,9 +21,9 @@
  *  laid out and displayed in a Spark application.
  *
  *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public interface IVisualElement extends ILayoutElement
 {
@@ -43,9 +43,9 @@
      *
The default value is the value of the parent property.

      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function get owner():DisplayObjectContainer;

@@ -63,9 +63,9 @@
      *  property to reference the object to which they belong.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function get parent():DisplayObjectContainer;

@@ -80,9 +80,9 @@
      *  @default 0
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function set layer(value:Number):void;

@@ -103,9 +103,9 @@
      *
Each component should override this property.

      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function get baselinePosition():Number;

@@ -128,9 +128,9 @@
      *  @see ILayoutElement#includeInLayout
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function get visible():Boolean;

@@ -150,6 +150,11 @@
      *  property, the the mirror property will be set to true.
      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function get dir():String;
     function set dir(value:String):void;
@@ -167,6 +172,11 @@
      *  not intended to be set directly.
      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function get mirror():Boolean;
     function set mirror(value:Boolean):void;


Transferred from the Adobe Open Source Subversion Repository

Revision: 4622
Author:   hmuller@adobe.com
Date:     2009-01-22T20:56:42.845482Z

Log Message:
-----------
Many Bug fixes.

Setting a scrollbar's viewport now sets the viewport's clipContent flag to true.

DataGroup getRendererForItemAt(), getItemIndexForRenderer() are now public; were mx_internal.

QE Notes: tests that depend on mx_internal DataGroup getRendererForItemAt(), getItemIndexForRenderer() methods will break
Doc Notes: None
Bugs: sdk-18753, sdk-18217, sdk-18628, sdk-18659, sdk-18111, sdk18820, sdk18763
Reviewer: Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -91,6 +91,9 @@
      *  Setting this property sets the typicalLayoutElement property
      *  of the layout.
      *
+     *  Restriction: if the typicalItem is an IVisualItem, it must not
+     *  also be a member of the dataProvider IList.
+     *
      *  @default null
      */
     public function get typicalItem():Object
@@ -110,16 +113,34 @@
         invalidateProperties();
     }

+    private function setTypicalLayoutElement(obj:DisplayObject):void
+    {
+        var elt:ILayoutElement = (obj) ? LayoutElementFactory.getLayoutElementFor(obj) : null;
+        typicalLayoutElement = elt;
+        if (layout)
+            layout.typicalLayoutElement = elt;
+    }
+
     private function initializeTypicalItem():void
     {
-        var itemRenderer:DisplayObject = DisplayObject(createRendererForItem(_typicalItem));
-        super.addChild(itemRenderer)
-        if (itemRenderer is IInvalidating)
-            IInvalidating(itemRenderer).validateNow();
-        typicalLayoutElement = LayoutElementFactory.getLayoutElementFor(itemRenderer);
-        if (layout)
-            layout.typicalLayoutElement = typicalLayoutElement;
-        super.removeChild(itemRenderer);
+        if (!_typicalItem)
+        {
+            setTypicalLayoutElement(null);
+            return;
+        }
+
+        var obj:DisplayObject = DisplayObject(createRendererForItem(_typicalItem, false));
+        if (!obj)
+        {
+            setTypicalLayoutElement(null);
+            return;
+        }
+
+        super.addChild(obj)
+        if (obj is IInvalidating)
+            IInvalidating(obj).validateNow();
+        setTypicalLayoutElement(obj);
+        super.removeChild(obj);
     }

     //----------------------------------
@@ -182,6 +203,7 @@
         invalidateDisplayList();

         itemRendererChanged = true;
+        typicalItemChanged = true;
     }

     //----------------------------------
@@ -222,6 +244,7 @@
         invalidateDisplayList();

         itemRendererChanged = true;
+        typicalItemChanged = true;
     }

     private var _dataProvider:IList;
@@ -272,12 +295,20 @@
         for (var idx:int = numChildren; idx > 0; idx--)
             super.removeChildAt(0);

-        if (_dataProvider && (!layout || !layout.virtualLayout))
+        var vLayout:Boolean = layout && layout.virtualLayout;
+
+        // Create all item renderers eagerly
+        if (_dataProvider && !vLayout)
         {
             for (var i:int = 0; i < _dataProvider.length; i++)
-            {
                 mx_internal::itemAdded(_dataProvider.getItemAt(i), i);
-            }
+        }
+
+        // The display list will be created lazily, at updateDisplayList() time
+        if (vLayout)
+        {
+            invalidateSize();
+            invalidateDisplayList();
         }
     }

@@ -301,7 +332,7 @@
      *
      *  @return The renderer that represents the data elelement.
      */
-    private function createRendererForItem(item:Object):IVisualElement
+    private function createRendererForItem(item:Object, failRTE:Boolean=true):IVisualElement
     {
         var myItemRenderer:IVisualElement;

@@ -332,7 +363,7 @@
             IDataRenderer(myItemRenderer).data = item;

         // Couldn't find item renderer.  Throw an RTE.
-        if (!myItemRenderer)
+        if (!myItemRenderer && failRTE)
         {
             if (item is IVisualElement || item is DisplayObject)
                 throw new Error("DataGroup cannot display visual elements directly unless the elements " +
@@ -372,7 +403,7 @@
         {
             typicalItemChanged = false;
             initializeTypicalItem();
-        }
+        }
     }

     private function manageDisplayObjectLayers():void
@@ -599,10 +630,26 @@
     }

     /**
-     *  @private
-     *  Provisional access to the item renderers for FxList and FxButtonBar.
-     */
-    mx_internal function getRendererForItemAt(index:int):IVisualElement
+     *  Return the ItemRenderer being used for the dataProvider item at
+     *  the specified index.
+     *
+     *  If the index is invalid, or if a dataProvider was not specified, then
+     *  null is returned.
+     *
+     *  If the layout is virtual and the specified item isn't "in view", then
+     *  null will be returned.
+     *
+     *  Note that if the layout is virtual, ItemRenderers that are scrolled
+     *  out of view may be reused.
+     *
+     *
+     *  @param index The dataProvider item index.
+     *  @return The ItemRenderer being used for the dataProvider item at index.
+     *
+     *  @see #getItemIndexForRenderer
+     *  @see dataProvider
+     */
+    public function getRendererForItemAt(index:int):IVisualElement
     {
         if ((index < 0) || (dataProvider == null) || (index >= dataProvider.length))
             return null;
@@ -610,10 +657,22 @@
     }

     /**
-     *  @private
-     *  Provisional access to the item renderers for FxList and FxButtonBar.
-     */
-    mx_internal function getItemIndexForRenderer(renderer:IVisualElement):int
+     *  Return the index of the dataProvider item that the specified ItemRenderer
+     *  is being used for, or -1 if there is no such item.
+     *
+     *  If renderer is null, or if a dataProvider was not specified, then -1
+     *  is returned.
+     *
+     *  Note that if the layout is virtual, ItemRenderers that are scrolled
+     *  out of view may be reused.
+     *
+     *  @param renderer The ItemRenderer.
+     *  @return The index of the dataProvider item that the specified ItemRenderer is being used for, or -1
+     *
+     *  @see #getRendererForItemAt
+     *  @see dataProvider
+     */
+    public function getItemIndexForRenderer(renderer:IVisualElement):int
     {
         if ((dataProvider == null) || (renderer == null))
             return -1;


Implemented methods from ISignalSlotList in Nil

--- src/org/osflash/signals/SignalSlotListNil.as
+++ src/org/osflash/signals/SignalSlotListNil.as
@@ -48,5 +48,20 @@
 		{
 			throw new Error('Cannot get head of empty list.')
 		}
+
+		public function contains(listener:Function):Boolean
+		{
+			return false;
+		}
+
+		public function find(listener:Function):SignalSlot
+		{
+			return null;
+		}
+
+		public function clear():SignalSlotListNil
+		{
+			return this;
+		}
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 10902
Author:   gosmith@adobe.com
Date:     2009-10-07T03:44:22.623708Z

Log Message:
-----------
Reverted revision 10893, so the lineBreak style is temporarily back to being inheriting. Making it non-inheriting seems to cause some unexpected breakage of Mustella tests and I need to investigate why.

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as

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

--- frameworks/projects/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as
+++ frameworks/projects/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as
@@ -17,7 +17,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="lineBreak", type="String", enumeration="toFit,explicit", inherit="no")]
+[Style(name="lineBreak", type="String", enumeration="toFit,explicit", inherit="yes")]

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


Fixed player state when resuming playback.

--- basicplayer/PlayerVideo.as
+++ basicplayer/PlayerVideo.as
@@ -334,20 +334,22 @@
 					_stream.play(_rtmpInfo.stream);
 				else
 					_stream.play(getCurrentUrl(0));
+				if (!_encounteredError)
+					_element.sendEvent("buffering", {playing: true});
 			} else {
 				if (_isEnded) {
 					seekMedia(0);
 					_isEnded = false;
 				}
 				_stream.resume();
+				if (!_encounteredError)
+					_element.sendEvent("playing", null);
 			}

 			if (_timer != null)
 				_timer.start();
 			_isPaused = false;
 			_hasStartedPlaying = true;
-			if (!_encounteredError)
-				_element.sendEvent("buffering", {playing: true});
 		}

 		public override function pauseMedia():void {


HLSNetStream : add a getter to monitor dropped Frames per playback session

--- src/org/mangui/hls/stream/HLSNetStream.as
+++ src/org/mangui/hls/stream/HLSNetStream.as
@@ -18,8 +18,13 @@
     import flash.events.Event;
     import flash.events.NetStatusEvent;
     import flash.events.TimerEvent;
-    import flash.net.*;
-    import flash.utils.*;
+    import flash.net.NetConnection;
+    import flash.net.NetStream;
+    import flash.net.NetStreamAppendBytesAction;
+    import flash.net.NetStreamInfo;
+    import flash.net.NetStreamPlayOptions;
+    import flash.utils.ByteArray;
+    import flash.utils.Timer;

     CONFIG::LOGGING {
         import org.mangui.hls.utils.Log;
@@ -63,6 +68,8 @@
         private var _skippedDuration : Number;
         /** watched duration **/
         private var _watchedDuration : Number;
+        /** dropped frames counter **/
+        private var _droppedFrames : Number;
         /** last NetStream.time, used to check if playback is over **/
         private var _lastNetStreamTime : Number;

@@ -71,7 +78,7 @@
             super(connection);
             super.bufferTime = 0.1;
             _hls = hls;
-            _skippedDuration = _watchedDuration = _lastNetStreamTime = 0;
+            _skippedDuration = _watchedDuration = _droppedFrames = _lastNetStreamTime = 0;
             _bufferThresholdController = new BufferThresholdController(hls);
             _streamBuffer = streamBuffer;
             _playbackState = HLSPlayStates.IDLE;
@@ -230,6 +237,7 @@
                 let's flush netstream now
                 this is to avoid black screen during seek command */
                 _watchedDuration += super.time;
+                _droppedFrames += super.info.droppedFrames;
                 _skippedDuration = 0;
                 super.close();

@@ -334,6 +342,11 @@
             return super.time+_skippedDuration;
         }

+        /* return nb of dropped Frames since session started */
+        public function get droppedFrames() : Number {
+            return super.info.droppedFrames + _droppedFrames;
+        }
+
         /** Return total watched time **/
         public function get watched() : Number {
             return super.time + _watchedDuration;
@@ -452,7 +465,7 @@
                 Log.info("HLSNetStream:close");
             }
             super.close();
-            _watchedDuration = _skippedDuration = _lastNetStreamTime = 0;
+            _watchedDuration = _skippedDuration = _lastNetStreamTime = _droppedFrames = 0;
             _streamBuffer.stop();
             _timer.stop();
             _setPlaybackState(HLSPlayStates.IDLE);


StreamBuffer : restore to log.debug2

StreamBuffer : restore to log.debug2

--- src/org/mangui/hls/stream/StreamBuffer.as
+++ src/org/mangui/hls/stream/StreamBuffer.as
@@ -593,7 +593,7 @@
              * this is to ensure that accurate seeking will work appropriately
              */
             CONFIG::LOGGING {
-                Log.debug("position/duration/buffer/backBuffer/audio/video/NetStream bufferLength/audioExpected/videoExpected:" + position.toFixed(2) + "/" + duration.toFixed(2) + "/" + bufLen.toFixed(2) + "/" + backBufferLength.toFixed(2) + "/" + audioBufferLength.toFixed(2) + "/" + videoBufferLength.toFixed(2) + "/" + netStreamBuffer.toFixed(2) + "/" + audioExpected + "/" + videoExpected);
+                Log.debug2("position/duration/buffer/backBuffer/audio/video/NetStream bufferLength/audioExpected/videoExpected:" + position.toFixed(2) + "/" + duration.toFixed(2) + "/" + bufLen.toFixed(2) + "/" + backBufferLength.toFixed(2) + "/" + audioBufferLength.toFixed(2) + "/" + videoBufferLength.toFixed(2) + "/" + netStreamBuffer.toFixed(2) + "/" + audioExpected + "/" + videoExpected);
             }

             var tagDuration : Number = 0;


Added interface to flash for local storage.

--- cpp/apps/bitmunk/flash/SocketPool.as
+++ cpp/apps/bitmunk/flash/SocketPool.as
@@ -20,12 +20,13 @@
    {
       import flash.events.Event;
       import flash.events.EventDispatcher;
-	   import flash.errors.IOError;
+      import flash.errors.IOError;
       import flash.events.IOErrorEvent;
       import flash.events.ProgressEvent;
       import flash.events.SecurityErrorEvent;
       import flash.events.TextEvent;
       import flash.external.ExternalInterface;
+      import flash.net.SharedObject;
       import flash.system.Security;
       import flash.utils.ByteArray;
       import mx.utils.Base64Decoder;
@@ -91,6 +92,12 @@
                // add callbacks for deflate/inflate
                ExternalInterface.addCallback("deflate", deflate);
                ExternalInterface.addCallback("inflate", inflate);
+
+               // add callbacks for local disk storage
+               ExternalInterface.addCallback("setItem", setItem);
+               ExternalInterface.addCallback("getItem", getItem);
+               ExternalInterface.addCallback("removeItem", removeItem);
+               ExternalInterface.addCallback("clearItems", clearItems);

                // socket pool is now ready
                ExternalInterface.call("window.krypto.socketPool.ready");
@@ -577,5 +584,130 @@
          log("inflate done");
          return {rval: rval};
       }
+
+      /**
+       * Stores an item with a key and arbitrary base64-encoded data on local
+       * disk.
+       *
+       * @param storeId the private storage ID to use.
+       * @param key the key for the item.
+       * @param data the base64-encoded item data.
+       *
+       * @return an object with rval set to true on success, false on failure
+       *         with error included.
+       */
+      private function setItem(storeId:String, key:String, data:String):Object
+      {
+         var rval:Object = {rval: false};
+         try
+         {
+            var store:SharedObject = SharedObject.getLocal(storeId);
+            store.data.key = data;
+            store.flush();
+            rval.rval = true;
+         }
+         catch(e:Error)
+         {
+         	log(e);
+         	rval.error = {
+                id: e.errorID,
+                name: e.name,
+                message: e.message
+            };
+         }
+         return rval;
+      }
+
+      /**
+       * Gets an item from the local disk.
+       *
+       * @param storeId the storage ID to use.
+       * @param key the key for the item.
+       *
+       * @return an object with rval set to the item data, null on error with
+       *         error included.
+       */
+      private function getItem(storeId:String, key:String):Object
+      {
+         var rval:Object = {rval: null};
+         try
+         {
+            var store:SharedObject = SharedObject.getLocal(storeId);
+            if(key in store.data)
+            {
+               rval.rval = store.data.key;
+            }
+         }
+         catch(e:Error)
+         {
+         	log(e);
+            rval.error = {
+                id: e.errorID,
+                name: e.name,
+                message: e.message
+            };
+         }
+         return rval;
+      }
+
+      /**
+       * Removes an item from the local disk.
+       *
+       * @param storeId the storage ID to use.
+       * @param key the key for the item.
+       *
+       * @return an object with rval set to true if removed, false if not.
+       */
+      private function removeItem(storeId:String, key:String):Object
+      {
+         var rval:Object = {rval: false};
+         try
+         {
+            var store:SharedObject = SharedObject.getLocal(storeId);
+            if(key in store.data)
+            {
+               delete store.data.key;
+               rval.rval = true;
+            }
+         }
+         catch(e:Error)
+         {
+            log(e);
+            rval.error = {
+                id: e.errorID,
+                name: e.name,
+                message: e.message
+            };
+         }
+         return rval;
+      }
+
+      /**
+       * Clears an entire store of all of its items.
+       *
+       * @param storeId the storage ID to use.
+       *
+       * @return an object with rval set to true if cleared, false if not.
+       */
+      private function clearItems(storeId:String):Object
+      {
+         var rval:Object = {rval: false};
+         try
+         {
+            var store:SharedObject = SharedObject.getLocal(storeId);
+            store.clear();
+            rval.rval = true;
+         }
+         catch(e:Error)
+         {
+            log(e);
+            rval.error = {
+                id: e.errorID,
+                name: e.name,
+                message: e.message
+            };
+         }
+         return rval;
+      }
    }
 }


- removed debugging code

- removed debugging code

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

--- src/reprise/css/propertyparsers/Filters.as
+++ src/reprise/css/propertyparsers/Filters.as
@@ -140,8 +140,6 @@
 			{
 				quality = 3;
 			}
-			log('f ' + offset.angle());
-			log('f ' + offset.angle());
 			var filter : DropShadowFilter = new DropShadowFilter(
 				offset.getLength(), offset.angle(), color.rgb(), color.opacity(), blurX, blurY,
 				strength, quality, inner, knockout, hideObject);


Preparing to compile contrib/card as part of whirled sdk: TurnTimer.as needs a writable Timer.delayCapabilities.isDebugger and a class called

--- tamarin-central/thane/flash/utils/Timer.as
+++ tamarin-central/thane/flash/utils/Timer.as
@@ -30,6 +30,15 @@
     public function get delay () :Number
     {
         return _delay;
+    }
+
+    public function set delay (value :Number) :void
+    {
+        _delay = value;
+        if (running) {
+            stop();
+            start();
+        }
     }

     public function get repeatCount () :int


removing events hook in config

removing events hook in config

--- src/com/google/analytics/v4/Configuration.as
+++ src/com/google/analytics/v4/Configuration.as
@@ -26,15 +26,12 @@
     import com.google.analytics.core.Organic;
     import com.google.analytics.core.ServerOperationMode;
     import com.google.analytics.debug.DebugConfiguration;
-    import com.google.analytics.events.MessageEvent;
-
-    import flash.events.EventDispatcher;

     /**
      * Google Analytic Tracker Code (GATC)'s configuration / state component.
      * This encapsulates all the configurations for the entire GATC module.
      */
-    public class Configuration extends EventDispatcher
+    public class Configuration
     {
         private var _debug:DebugConfiguration;

@@ -384,19 +381,6 @@
          */
         public function addOrganicSource(engine:String, keyword:String):void
         {
-//            var orgref:OrganicReferrer = new OrganicReferrer(engine, keyword);
-//            if( !_organicCache[orgref.toString()] )
-//            {
-//                _organicSources.push(orgref);
-//                _organicCache[orgref.toString()] = true ;
-//            }
-//            else if( debug )
-//            {
-//                var message:String = orgref.toString()+" already exists, we don't add it";
-//                trace( "## WARNING: "+message+" ##" );
-//                dispatchEvent( new MessageEvent(MessageEvent.WARNING,false,true, message ) );
-//            }
-
             try
             {
                 _organic.addSource( engine, keyword );


vpaid changes need to work on size

vpaid changes need to work on size

--- vendors/OSMF/org/osmf/media/MediaPlayer.as
+++ vendors/OSMF/org/osmf/media/MediaPlayer.as
@@ -1927,7 +1927,7 @@
 			}
 		}

-		private function onBytesLoadedTimer(event:TimerEvent):void
+ 		private function onBytesLoadedTimer(event:TimerEvent):void
 		{
 			if (canLoad && (bytesLoaded != lastBytesLoaded))
 			{


fixed missed reference to new AlignerManifest class

--- src/Empty.as
+++ src/Empty.as
@@ -1,6 +1,6 @@
 package  {
 	import flash.display.Sprite;
-	import ktu.utils.align.aligners.MethodManifest;
+	import ktu.utils.align.aligners.AlignerManifest;
 	import ktu.utils.align.RectangleAlignment;
 	import ktu.utils.align.VizAlign;
 	import ktu.utils.align.VizAlignGroup;
@@ -18,7 +18,7 @@
 		VizAlignGroup;
 		RectangleAlignment;

-		MethodManifest;
+		AlignerManifest;

 		public function Empty(){


Code cleanup and using idFields property in non-column nodes

--- WeaveData/src/weave/data/DataSources/FREDDataSource.as
+++ WeaveData/src/weave/data/DataSources/FREDDataSource.as
@@ -34,22 +34,6 @@
     {
         WeaveAPI.ClassRegistry.registerImplementation(IDataSource, FREDDataSource, "Federal Reserve Economic Data");

-
-
-        public function FREDDataSource()
-        {
-        }
-
-
-
-        override protected function initialize():void
-        {
-            // recalculate all columns previously requested
-            //refreshAllProxyColumns();
-
-            super.initialize();
-        }
-
 		private const jsonCache:JsonCache = newLinkableChild(this, JsonCache);

 		public const apiKey:LinkableString = registerLinkableChild(this, new LinkableString("fa99c080bdbd1d486a55e7cb6ab7acbb"));
@@ -76,41 +60,11 @@
 			jsonCache.getJsonObject(getUrl(method, params), resultHandler, faultHandler);
 		}

-		public function createCategoryNode(data:Object = null):ColumnTreeNode
+		override protected function refreshHierarchy():void
 		{
-			if (!data)
-			{
-				var name:String = WeaveAPI.globalHashMap.getName(this);
-				data = {id: 0, name: name};
-			}
-			return new ColumnTreeNode({
-				dataSource: this,
-				data: data,
-				label: data.name,
-				hasChildBranches: true,
-				children: function(node:ColumnTreeNode):Array {
-					var children:Array = [];
-					getJson('category/children', {category_id: node.data.id}, function(result:Object):void {
-						var nodes:Array = [];
-						for each (var item:Object in result.categories)
-							nodes.push(createCategoryNode(item));
-						// put categories first in the list
-						children.splice.apply(null, [0, 0].concat(nodes));
-					});
-					getJson('category/series', {category_id: node.data.id}, function(result:Object):void {
-						for each (var item:Object in result.seriess)
-							children.push(createSeriesNode(item));
-					});
-					return children;
-				}
-			});
-		}
-
-		override protected function refreshHierarchy():void
-		{
-			for each (var csv:CSVDataSource in csvCache)
-				disposeObject(csv);
-			csvCache = {};
+			for each (var csv:CSVDataSource in csvCache)
+				disposeObject(csv);
+			csvCache = {};
 		}

 		private var csvCache:Object = {};
@@ -152,13 +106,54 @@
 			}
 			return csv;
 		}
-
+
+		override public function getHierarchyRoot():IWeaveTreeNode
+		{
+			if (!_rootNode)
+				_rootNode = createCategoryNode();
+			return _rootNode;
+		}
+
+		public function createCategoryNode(data:Object = null):ColumnTreeNode
+		{
+			if (!data)
+			{
+				var name:String = WeaveAPI.globalHashMap.getName(this);
+				data = {id: 0, name: name};
+			}
+			data[META_CATEGORY_ID] = data.id;
+			return new ColumnTreeNode({
+				dataSource: this,
+				data: data,
+				idFields: [META_CATEGORY_ID],
+				label: data.name,
+				hasChildBranches: true,
+				children: function(node:ColumnTreeNode):Array {
+					var children:Array = [];
+					getJson('category/children', {category_id: node.data.id}, function(result:Object):void {
+						var nodes:Array = [];
+						for each (var item:Object in result.categories)
+							nodes.push(createCategoryNode(item));
+						// put categories first in the list
+						children.splice.apply(null, [0, 0].concat(nodes));
+					});
+					getJson('category/series', {category_id: node.data.id}, function(result:Object):void {
+						for each (var item:Object in result.seriess)
+							children.push(createSeriesNode(item));
+					});
+					return children;
+				}
+			});
+		}
+
 		public function createSeriesNode(data:Object):IWeaveTreeNode
 		{
+			data[META_SERIES_ID] = data.id;
 			return new ColumnTreeNode({
 				dataSource: this,
 				label: data.title,
 				data: data,
+				idFields: [META_SERIES_ID],
 				hasChildBranches: false,
 				children: function(node:ColumnTreeNode):Array {
 					var csv:CSVDataSource = getObservationsCSV(data.id);
@@ -174,22 +169,9 @@
 			});
 		}

-        override public function getHierarchyRoot():IWeaveTreeNode
-        {
-            if (!_rootNode)
-                _rootNode = createCategoryNode();
-            return _rootNode;
-        }
-
+		public static const META_CATEGORY_ID:String = 'FRED_category_id';
 		public static const META_SERIES_ID:String = 'FRED_series_id';
 		public static const META_COLUMN_NAME:String = 'FRED_column_name';
-
-		public static const META_ID_FIELDS:Array = [META_SERIES_ID, META_COLUMN_NAME];
-
-		override public function findHierarchyNode(metadata:Object):IWeaveTreeNode
-		{
-			return null;
-		}

 		override protected function generateHierarchyNode(metadata:Object):IWeaveTreeNode
 		{
@@ -198,11 +180,13 @@

 			return new ColumnTreeNode({
 				dataSource: this,
-				idFields: META_ID_FIELDS,
+				idFields: [META_SERIES_ID, META_COLUMN_NAME],
 				data: metadata
 			});
 		}
-
+
+		//TODO - use http://api.stlouisfed.org/docs/fred/series_categories.html
+
         override protected function requestColumnFromSource(proxyColumn:ProxyColumn):void
         {
             var series:String = proxyColumn.getMetadata(META_SERIES_ID);


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

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 14124
Author:   cframpto@adobe.com
Date:     2010-02-11T17:53:35.882363Z

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

Log Message:
***********
Two additions/corrections to 14076.  Add key mappings for layoutDirection="rtl" for spark list components.  Correct type of keyCode variable so it is an uint rather than an int to match event.keyCode.

BitmapImage has a hard-coded layout direction="ltr".

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

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

Modified Paths:
**************
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/containers/Accordion.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/ButtonBar.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/CalendarLayout.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/ColorPicker.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/Menu.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/MenuBar.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/RadioButton.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/Tree.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/Container.as
    flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/UIComponent.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/List.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/RadioButton.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
    flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/primitives/BitmapImage.as

Property Changed:
****************
    flex/sdk/branches/4.x/frameworks/

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>

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

--- frameworks/projects/mx/src/mx/controls/MenuBar.as
+++ frameworks/projects/mx/src/mx/controls/MenuBar.as
@@ -2101,9 +2101,9 @@
             var found:Boolean = false;
             var count:int = 0;

-            // If rtl layout, need to swap LEFT for RIGHT so correct action
+            // If rtl layout, need to swap LEFT and RIGHT so correct action
             // is done.
-            var keyCode:int = mapKeycodeForLayoutDirection(event);
+            var keyCode:uint = mapKeycodeForLayoutDirection(event);

             while (!found && count < barLen)
             {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mx/src/mx/effects/WipeLeft.as
+++ frameworks/projects/mx/src/mx/effects/WipeLeft.as
@@ -13,6 +13,13 @@
 {

 import mx.effects.effectClasses.WipeLeftInstance;
+
+/**
+ *  The direction-specific Wipe effects in Flex 3 have been replaced by a more generic
+ *  Wipe effect that takes a generic direction. To get similar behavior from the new
+ *  Wipe effect, set the direction parameter appropriately.
+ */
+[Alternative(replacement="spark.effects.Wipe", since="4.0")]

 /**
  *  The WipeLeft class defines a bar wipe left effect.


tag warning message

tag warning message

--- src/jp/promotal/ssplayer/data/SSAttribute.as
+++ src/jp/promotal/ssplayer/data/SSAttribute.as
@@ -13,7 +13,7 @@
 		public function set tag(value:String):void {
 			this._tag = value;
 			if (defaultValue(value) === undefined) {
-				trace("SSAttribute.tag(): Attribute not supported:", value);
+				trace("[SSProject] SSAttribute.tag(): Attribute not supported:", value);
 			}
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3186
Author:   shodgson@adobe.com
Date:     2008-09-11T23:10:56.925158Z

Log Message:
-----------
ASDoc fixes for the MXML RPC concurrency property

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/mxml/Concurrency.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/mxml/Concurrency.as
+++ frameworks/projects/rpc/src/mx/rpc/mxml/Concurrency.as
@@ -19,7 +19,10 @@
 public final class Concurrency
 {
     /**
-     * Making a request cancels any existing request.
+     * Making a request causes the client to ignore a result or fault for any current outstanding request.
+     * Only the result or fault for the most recent request will be dispatched on the client.
+     * This may simplify event handling in the client application, but care should be taken to only use
+     * this mode when results or faults for requests may be safely ignored.
      */
     public static const LAST:String = "last";

@@ -31,7 +34,8 @@

     /**
-     * Only a single request at a time is allowed on the operation; multiple requests generate a fault.
+     * Making only one request at a time is allowed on the method; additional requests made
+     * while a request is outstanding are immediately faulted on the client and are not sent to the server.
      */
     public static const SINGLE:String = "single";
 }


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

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

 package mx.rpc.xml
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17064
Author:   hmuller@adobe.com
Date:     2010-07-26T21:46:49.925029Z

Log Message:
-----------
Added Grid,DataGrid/ensureIndexVisible(), Grid/isCellVisible().

GridLayout/initializeItemRenderer() now initializes the renderer's showsCaret and selected properties.

QE notes: changes apply to Spark DataGrid only
Doc notes:
Bugs: sdk-27071
Reviewer: Carol
Tests run: none
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -2308,7 +2308,36 @@
         //
         //  GridLayout Cover Methods, Properties
         //
-        //--------------------------------------------------------------------------
+        //--------------------------------------------------------------------------
+
+        /**
+         *  If necessary, set the verticalScrollPosition and horizontalScrollPosition
+         *  properties so that the specified cell is completely visible.  If columnIndex
+         *  is -1, then just adjust the verticalScrollPosition so that the specified
+         *  row is visible.
+         *
+         *  @param rowIndex The 0-based row index of the item renderer's cell.
+         *  @param columnIndex The 0-based column index of the item renderer's cell, or -1 to specify a row.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 2.0
+         *  @productversion Flex 4.5
+         */
+        public function ensureIndexIsVisible(rowIndex:int, columnIndex:int = -1):void
+        {
+            // A cell's index as defined by LayoutBase it's just its position
+            // in the row-major linear ordering of the grid's cells.
+
+            const index:int = (rowIndex * dataProvider.length) + ((columnIndex < 0) ? 0 : columnIndex);
+            var spDelta:Point = gridLayout.getScrollPositionDeltaToElement(index);
+            if (spDelta)
+            {
+                if (columnIndex >= 0)
+                    horizontalScrollPosition += spDelta.x;
+                verticalScrollPosition += spDelta.y;
+            }
+        }

         /**
          *  @copy spark.components.supportClasses.GridLayout#getVisibleRowIndices()
@@ -2439,6 +2468,19 @@
         public function getItemRendererAt(rowIndex:int, columnIndex:int):IVisualElement
         {
             return gridLayout.getItemRendererAt(rowIndex, columnIndex);
+        }
+
+        /**
+         *  @copy spark.components.supportClasses.GridLayout#isCellVisible()
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 2.0
+         *  @productversion Flex 4.5
+         */
+        public function isCellVisible(rowIndex:int, columnIndex:int):Boolean
+        {
+            return gridLayout.isCellVisible(rowIndex, columnIndex);
         }

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


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

--- frameworks/projects/advancedgrids/src/mx/olap/IOLAPResultAxis.as
+++ frameworks/projects/advancedgrids/src/mx/olap/IOLAPResultAxis.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.
 //
 ////////////////////////////////////////////////////////////////////////////////