Transferred from the Adobe Open Source Subversion Repository

Revision: 21756
Author:   jszeto@adobe.com
Date:     2011-08-01T18:58:00.702387Z

Log Message:
-----------
SpinnerList Fixes

- Rewrote the LayoutIterator in VerticalSpinnerLayout
- Implemented a smarter algorithm for detecting the closest enabled item
- Lowered padding values
- Updated SelectionIndicator gradient to have less of a contrast between the top and bottom
- DateSpinner is no longer resizable
- Fixed right border bug
- Decreased the minimum width for SpinnerList

QE notes: none
Doc notes: none
Bugs: none
Reviewer: Tom K
Tests run: checkintests, cyclone
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/SpinnerListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DateSpinnerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as</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/mobile320/assets/SpinnerListContainerSelectionIndicator.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile240/assets/SpinnerListContainerSelectionIndicator.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile160/assets/SpinnerListContainerSelectionIndicator.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/layouts/VerticalSpinnerLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/collections/NumericDataProvider.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/DateSpinnerSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/DateSpinnerSkin.as
@@ -107,7 +107,11 @@
     {
         super.layoutContents(unscaledWidth, unscaledHeight);

-        setElementSize(listContainer, unscaledWidth, unscaledHeight);
+        // Always set the SpinnerListContainer to its measured sized, regardless of our size
+        var containerWidth:Number = SpinnerListContainer(listContainer).getPreferredBoundsWidth();
+        var containerHeight:Number = SpinnerListContainer(listContainer).getPreferredBoundsHeight();
+
+        setElementSize(listContainer, containerWidth, containerHeight);
         setElementPosition(listContainer, 0, 0);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5190
Author:   hmuller@adobe.com
Date:     2009-03-06T14:55:28.277220Z

Log Message:
-----------
Initial support for mirroring: added mirror and dir properties to IVisualElement, mirroring logic to UIComponent, GraphicElement, UIMovieClip.  Mirroring in mx.core.SpriteVisualElement is just a stub.  Support for the mirror bit and the mirror transform is in mx.core.AdvancedLayoutFeatures.

QE Notes: Mustella tests pass
Doc Notes: None
Bugs:
Reviewer: Ryan

Modified Paths:
--------------
<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/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/SpriteVisualElement.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/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
@@ -78,6 +78,8 @@
     public function TextGraphicElement()
     {
         super();
+
+        dir = "ltr";

 		var resourceManager:IResourceManager = ResourceManager.getInstance();


Transferred from the Adobe Open Source Subversion Repository

Revision: 7054
Author:   gosmith@adobe.com
Date:     2009-05-19T04:55:28.921976Z

Log Message:
-----------
TextGraphicElement now exposes non-inheriting backgroundColor and backgroundAlpha styles for drawing a background within the entire bounding rectangle of the component. We're adding this because TLF supports backgroundColor and backgroundAlpha on pieces of text.

QE Notes: None
Doc Notes: None
Bugs: Part of SDK-19818
Reviewer: Carol

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
@@ -14,6 +14,8 @@

 import flash.display.DisplayObject;
 import flash.display.DisplayObjectContainer;
+import flash.display.Graphics;
+import flash.display.Sprite;
 import flash.events.Event;
 import flash.geom.Matrix;
 import flash.geom.Rectangle;
@@ -37,6 +39,41 @@
 import spark.core.IGraphicElement;

 use namespace mx_internal;
+
+//--------------------------------------
+//  Styles
+//--------------------------------------
+
+/**
+ *  The alpha level of the color defined by
+ *  the backgroundColor style.
+ *  Valid values range from 0.0 to 1.0.
+ *
+ *  @default 1.0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="backgroundAlpha", type="Number", inherit="no", theme="halo")]
+
+/**
+ *  The color of the background of the entire
+ *  bounding rectangle of this component.
+ *  If this style is undefined,
+ *  no background is drawn.
+ *  Otherwise, this RGB color is drawn with an alpha level
+ *  determined by the backgroundAlpha style.
+ *
+ *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="backgroundColor", type="uint", format="Color", inherit="no")]

 /**
  *  The base class for GraphicElements such as TextBox and TextGraphic
@@ -813,8 +850,20 @@

         // Set the scrollRect used for clipping appropriately.
         clip(clipText, unscaledWidth, unscaledHeight);
-    }
-
+
+     	// If backgroundColor is defined, fill the bounds of the component
+    	// with backgroundColor drawn with alpha level backgroundAlpha.
+    	var backgroundColor:* = getStyle("backgroundColor");
+    	if (backgroundColor !== undefined)
+    	{
+	    	var g:Graphics = Sprite(drawnDisplayObject).graphics;
+	        g.lineStyle();
+	        g.beginFill(uint(backgroundColor), getStyle("backgroundAlpha"));
+	       	g.drawRect(drawX, drawY, unscaledWidth, unscaledHeight);
+	        g.endFill();
+	    }
+    }
+
     /**
      *  @private
      */


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/effects/animation/IAnimationTarget.as
+++ frameworks/projects/spark/src/spark/effects/animation/IAnimationTarget.as
@@ -38,9 +38,11 @@
     function animationStart(animation:Animation):void;

     /**
-     *  Called when an Animation instance stops. This is different
-     *  than animationEnd, which is called when the animation ends,
-     *  automatically setting the end values of the targets. Stop
+     *  Called when an Animation instance stops.
+     *  This is different than animationEnd() method,
+     *  which is called when the animation ends,
+     *  automatically setting the end values of the targets.
+     *  The animationStop() method
      *  is called when an animation is stopped where it's at.
      *  Handling this event allows necessary cleanup when the animation
      *  is interrupted.
@@ -85,9 +87,9 @@
      *  If an implementation class is listening to an Animation specifically to
      *  be able to do something after the Animation values are calculated for
      *  a given time, this is the function in which those values should be used.
-     *  The other functions in this interface are more informational, just to tell
-     *  the listeners when the Animation is starting, stopping, or repeating.
-     *  This function is called when values have been calculated and something can be
+     *  The other methods in this interface are more informational.
+     *  They tell the listeners when the Animation starts, stops, or repeats.
+     *  This method is called when values have been calculated and something can be
      *  done with them.
      *
      *  @param animation The Animation object.


Now triggering callbacks when internal column is disposed, and no longer
making unnecessary function calls.

Change-Id: Ifb81f22735853bc95b8feb69d7fc9c16ec7fb873

--- WeaveData/src/weave/data/AttributeColumns/ReferencedColumn.as
+++ WeaveData/src/weave/data/AttributeColumns/ReferencedColumn.as
@@ -19,20 +19,16 @@

 package weave.data.AttributeColumns
 {
-	import flash.utils.getQualifiedClassName;
-
 	import weave.api.WeaveAPI;
-	import weave.api.core.ILinkableObject;
 	import weave.api.data.IAttributeColumn;
 	import weave.api.data.IColumnReference;
 	import weave.api.data.IColumnWrapper;
 	import weave.api.data.IQualifiedKey;
-	import weave.api.detectLinkableObjectChange;
 	import weave.api.registerLinkableChild;
 	import weave.api.setSessionState;
 	import weave.core.CallbackCollection;
+	import weave.core.CallbackJuggler;
 	import weave.core.LinkableDynamicObject;
-	import weave.core.SessionManager;
 	import weave.utils.ColumnUtils;

 	/**
@@ -50,11 +46,13 @@
 		/**
 		 * The trigger counter value at the last time the internal column was retrieved.
 		 */
-		private var _dynamicRefTriggerCounter:uint = 0;
+		private var _prevTriggerCounter:uint = 0;
 		/**
 		 * the internal referenced column
-		 */
-		protected var _internalColumn:IAttributeColumn = null;
+		 */
+		private var _internalColumn:IAttributeColumn = null;
+
+		private const _columnJuggler:CallbackJuggler = new CallbackJuggler(this, triggerCallbacks, false);

 		/**
 		 * This is the actual IColumnReference object inside dynamicColumnReference.
@@ -69,32 +67,10 @@
 		 */
 		public function getInternalColumn():IAttributeColumn
 		{
-			if (_dynamicRefTriggerCounter != dynamicColumnReference.triggerCounter)
-			{
-				_dynamicRefTriggerCounter = dynamicColumnReference.triggerCounter;
-
-				var newColumn:IAttributeColumn = WeaveAPI.AttributeColumnCache.getColumn(internalColumnReference);
-				// do nothing if this is the same column
-				if (_internalColumn != newColumn)
-				{
-					if (_internalColumn != null)
-						(WeaveAPI.SessionManager as SessionManager).unregisterLinkableChild(this, _internalColumn);
-
-					_internalColumn = newColumn;
-
-					if (_internalColumn != null)
-						registerLinkableChild(this, _internalColumn);
-				}
-			}
+			if (_prevTriggerCounter != triggerCounter)
+				_columnJuggler.target = _internalColumn = WeaveAPI.AttributeColumnCache.getColumn(internalColumnReference);
 			return _internalColumn;
 		}
-
-
-
-
-
-
-

 		/************************************
@@ -103,12 +79,16 @@

 		public function getMetadata(attributeName:String):String
 		{
-			return getInternalColumn() ? _internalColumn.getMetadata(attributeName) : null;
+			if (_prevTriggerCounter != triggerCounter)
+				getInternalColumn();
+			return _internalColumn ? _internalColumn.getMetadata(attributeName) : null;
 		}

 		public function getMetadataPropertyNames():Array
 		{
-			return getInternalColumn() ? _internalColumn.getMetadataPropertyNames() : [];
+			if (_prevTriggerCounter != triggerCounter)
+				getInternalColumn();
+			return _internalColumn ? _internalColumn.getMetadataPropertyNames() : [];
 		}

 		/**
@@ -116,7 +96,9 @@
 		 */
 		public function get keys():Array
 		{
-			return getInternalColumn() ? _internalColumn.keys : [];
+			if (_prevTriggerCounter != triggerCounter)
+				getInternalColumn();
+			return _internalColumn ? _internalColumn.keys : [];
 		}

 		/**
@@ -125,7 +107,9 @@
 		 */
 		public function containsKey(key:IQualifiedKey):Boolean
 		{
-			return getInternalColumn() && _internalColumn.containsKey(key);
+			if (_prevTriggerCounter != triggerCounter)
+				getInternalColumn();
+			return _internalColumn && _internalColumn.containsKey(key);
 		}

 		/**
@@ -135,9 +119,9 @@
 		 */
 		public function getValueFromKey(key:IQualifiedKey, dataType:Class = null):*
 		{
-			if (getInternalColumn())
-				return _internalColumn.getValueFromKey(key, dataType);
-			return undefined;
+			if (_prevTriggerCounter != triggerCounter)
+				getInternalColumn();
+			return _internalColumn ? _internalColumn.getValueFromKey(key, dataType) : undefined;
 		}

 		public function toString():String


Removing mx.formatters.DateFormatter dependency from logger.

--- driver/src/main/flex/org/postgresql/log/AbstractLogTarget.as
+++ driver/src/main/flex/org/postgresql/log/AbstractLogTarget.as
@@ -1,9 +1,8 @@
 package org.postgresql.log {
 	import flash.system.Capabilities;

-	import mx.formatters.DateFormatter;
-
 	import org.postgresql.util.AbstractMethodError;
+	import org.postgresql.util.DateFormatter;
 	import org.postgresql.util.assert;

 	public class AbstractLogTarget implements ILogTarget {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20667
Author:   chiedozi@adobe.com
Date:     2011-03-08T04:23:49.402096Z

Log Message:
-----------
Fixed a regression where the orientation state of a mobile application didn't properly update when an application is relaunched after being suspended.

QE notes:
Doc notes:
Bugs: SDK-29099
Reviewer: Ryan
Tests run:
Is noteworthy for integration: No

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigatorApplication.as
+++ frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigatorApplication.as
@@ -210,9 +210,18 @@

     /**
      *  @private
+	 *  Activates the current view of the application if one exists.  This
+	 *  method doesn't do anything at initial launch because the activate
+	 *  event isn't dispatched when the application is first launched.  Only
+	 *  the invoke event is.
      */
     private function activateHandler(event:Event):void
     {
+		// Activate the top most view of the navigator if it exists.  Note that
+		// in some launch situations, this will occur before the stage has properly
+		// resized itself.  The orientation state of the view will be manually
+		// updated when the stage RESIZE event is received.  See invokeHandler
+		// and stage_resizeHandler.
 		if (tabbedNavigator && tabbedNavigator.activeView)
 		{
 			if (!tabbedNavigator.activeView.isActive)
@@ -242,7 +251,7 @@
         if (tabbedNavigator)
         {
             if (tabbedNavigator.activeView)
-                systemManager.stage.addEventListener(Event.RESIZE, stage_resizeHandler);
+                systemManager.stage.addEventListener(Event.RESIZE, stage_resizeHandler, false, 0, true);

             // Set the stage focus to the navigator's active view
             tabbedNavigator.updateFocus();
@@ -257,12 +266,10 @@
     private function stage_resizeHandler(event:Event):void
     {
         systemManager.stage.removeEventListener(Event.RESIZE, stage_resizeHandler);
-
-        // The active view was deactivated when the application was suspended.  We
-        // need to reactivate it here.
-        var view:View = tabbedNavigator.activeView;;
-        if (!view.isActive)
-            view.setActive(true);
+
+		// Update the orientaion state of the view because at this
+		// point the runtime doesn't dispatch stage orientation events.
+		activeView.updateOrientationState();
     }

     /**


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

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

 package mx.olap
 {


Make XObjArrayCollection bindable

Make XObjArrayCollection bindable

--- as3/xobjas3/src/com/rpath/xobj/XObjArrayCollection.as
+++ as3/xobjas3/src/com/rpath/xobj/XObjArrayCollection.as
@@ -12,6 +12,7 @@

 import mx.collections.ArrayCollection;

+[Bindable]
 public class XObjArrayCollection extends ArrayCollection implements IXObjCollection
 {
     public function XObjArrayCollection(source:Array=null, typeMap:*=null)


Transferred from the Adobe Open Source Subversion Repository

Revision: 16822
Author:   deeptika@adobe.com
Date:     2010-07-07T06:16:32.586582Z

Log Message:
-----------
Removing deprecated API and their usage.

QE notes:
Doc notes:
Bugs: FLEXDMV-2463 (LineaSeries legendData marker are not working if the series has lineStroke to a SolidColorStroke)
FLEXDMV-2470 (Remove deprecation or Remove deprecated properties in charting)
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/BarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_dmv/src/mx/automation/delegates/charts/CartesianChartAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/renderers/AreaRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/AreaChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/HLOCSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/LineSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/PlotChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/BubbleSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/ColumnSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation/src/mx/automation/tabularData/CartesianChartTabularData.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/CandlestickChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/HLOCChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/chartClasses/StackedSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/BarSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/LineChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/chartClasses/HLOCSeriesBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/chartClasses/ChartBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/BubbleChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/AreaSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/ColumnChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/charts/renderers/HLOCItemRenderer.as</path>

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

--- frameworks/projects/charts/src/mx/charts/HLOCChart.as
+++ frameworks/projects/charts/src/mx/charts/HLOCChart.as
@@ -205,11 +205,7 @@
 			this.fill = new SolidColor(0xFFFFFF, 0);
 			this.calloutStroke = new Stroke(0x888888,2);
 			this.fontSize = 10;
-			this.horizontalAxisStyleName = "blockCategoryAxis";
-			this.secondHorizontalAxisStyleName = "blockCategoryAxis";
-			this.secondVerticalAxisStyleName = "blockNumericAxis";
 			this.textAlign = "left";
-			this.verticalAxisStyleName = "blockNumericAxis";
 			this.horizontalAxisStyleNames = ["blockCategoryAxis"];
 			this.verticalAxisStyleNames = ["blockNumericAxis"];
 		}
@@ -316,26 +312,6 @@
 					  _perSeriesColumnWidthRatio / 2 - 0.5;

 		return super.applySeriesSet(seriesSet, transform);
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Overridden methods: CartesianChart
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	override protected function initSecondaryMode():void
-	{
-		super.initSecondaryMode();
-
-		if (!secondVerticalAxis)
-			secondVerticalAxis = new LinearAxis();
-
-		if (!secondVerticalAxisRenderer)
-			secondVerticalAxisRenderer = new AxisRenderer();
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 4634
Author:   gosmith@adobe.com
Date:     2009-01-23T01:38:56.754915Z

Log Message:
-----------
First part of glue code for allowing Halo components to use the new Text Layout Framework, in order to get functionality such as bidirectional text.

Background:

TLF is making this possible by implementing a TLFTextField class. It is a Sprite that uses TLF to implement the same properties and methods as the legacy TextField class in the Player. Thanks to the createInFontContext() bottleneck method in UIComponent, it can be used by a properly-written Halo component (such as those in Flex 3) without any modifications to the component.

Note: Text should render similarly -- but is unlikely to render identically -- when a component uses TLFTextField vs. TextField. The width and height may be different, affecting layout; text could wrap differently; etc. This is a fact-of-life based on the fact that TLF/FTE and TextField are completely different text engines.

Whether a Halo component uses TLF or not to render text will be determined in Flex 4 by a new style, textFieldClass. (Gumbo components always use TLF.)

TLFTextField is currently only partially implemented. It does not yet support scrolling, selection, editing, multiple formats, or htmlText. Therefore it can only be used for simple display text, such as a Button label.

Details:

The TextStyles.as bucket 'o text styles now includes a non-inheriting textFieldClass style. It can be set to either mx.core.UITextField or mx.core.UITLFTextField. These are the Flex framework's wrapper classes around the lower-level classes flash.text.TextField (in the Player) and its TLF-based workalike, flashx.textLayout.controls.TLFTextField.

The global selector in defaults.css currently sets it to mx.core.UITextField using a ClassReference directive. For the time being, all Halo components will continue to use the "real" TextField.

The new UITLFTextField is a copy of UITextField, except that it extends TLFTextField instead of TextField. This class has been added to FrameworkClasses.as because no classes in framework.swc have a dependency on it. It will get soft-linked into applcations via the textFieldClass style.

The TLFTextField class currently lives in a fourth TLF SWC, textLayout_textField.swc. This SWC has been added to various build scripts. The external-library-path for building framework.swc now includes all four TLF SWCs, because UITLFTextField can't be compiled and linked without them. However, since they are external they aren't linked into framework.swc.

Properly-written Halo UIComponents access their text fields only through the IUITextField interface, and they create text fields like this:

textField = IUITextField(createInFontContext(UITextField));

(The reason for using createInFontContext() is to support embedded fonts that are embedded in a different SWF.)

The createInFontContext() method of UIComponent has been modified to use the textFieldClass style to determine whether to create a UITextField or a UITLFTextField.

With these changes, you can now write code like

<mx:Button label="OK"/>
<mx:Button label="OK" textFieldClass="mx.core.UITLFTextField"/>

to get two Buttons, the first of which uses UITextField (because this is the value of textFieldClass in the global selector) and the second of which uses UITLFTextField. They look very similar, which is good!

Currently, both Buttons are being measured by using an offscreen TextField. A subsequent checkin will make components rendering using UITLFTextField measure themselves using an offscreen TLFTextField so that measurement and rendering are consistent.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Deepa

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/TextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/asdoc/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/FrameworkClasses.as
+++ frameworks/projects/framework/src/FrameworkClasses.as
@@ -55,6 +55,7 @@
 	import mx.core.SimpleApplication; SimpleApplication;
 	import mx.core.SoundAsset; SoundAsset;
 	import mx.core.TextFieldAsset; TextFieldAsset;
+	import mx.core.UITLFTextField; UITLFTextField;
 	import mx.effects.easing.Back; Back;
 	import mx.effects.easing.Bounce; Bounce;
 	import mx.effects.easing.Circular; Circular;


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

--- frameworks/projects/rpc/src/mx/rpc/soap/SOAPHeader.as
+++ frameworks/projects/rpc/src/mx/rpc/soap/SOAPHeader.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-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.soap
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17460
Author:   clucier@adobe.com
Date:     2010-08-24T15:45:27.592314Z

Log Message:
-----------
Fix to prevent automation RTE.

QE notes: None
Doc notes: None
Bugs: SDK-27564
Reviewer: Alex
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/mx/core/FTETextField.as

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

--- frameworks/projects/spark/src/mx/core/FTETextField.as
+++ frameworks/projects/spark/src/mx/core/FTETextField.as
@@ -77,18 +77,24 @@
      */
     private static function initClass():void
     {
-        staticTextBlockAllButLast = new TextBlock();
-        staticTextBlockAllButLast.textJustifier = new SpaceJustifier("en",LineJustification.ALL_BUT_LAST);
-
-        staticTextBlockUnjustified = new TextBlock();
-        staticTextBlockAllButLast.textJustifier = new SpaceJustifier("en",LineJustification.UNJUSTIFIED);
-
-        FlexGlobals.topLevelApplication.addEventListener(Event.RENDER, staticRenderHandler);
-        FlexGlobals.topLevelApplication.addEventListener(Event.ENTER_FRAME, staticRenderHandler);
-    }
-
-    initClass();
-
+        if (initialized)
+            return;
+
+        if (FlexGlobals.topLevelApplication)
+        {
+            staticTextBlockAllButLast = new TextBlock();
+            staticTextBlockAllButLast.textJustifier = new SpaceJustifier("en",LineJustification.ALL_BUT_LAST);
+
+            staticTextBlockUnjustified = new TextBlock();
+            staticTextBlockAllButLast.textJustifier = new SpaceJustifier("en",LineJustification.UNJUSTIFIED);
+
+            FlexGlobals.topLevelApplication.addEventListener(Event.RENDER, staticRenderHandler);
+            FlexGlobals.topLevelApplication.addEventListener(Event.ENTER_FRAME, staticRenderHandler);
+
+            initialized = true;
+        }
+    }
+
     static private var invalidFields:Dictionary = new Dictionary();

     /** @private */
@@ -105,6 +111,11 @@
             invalidFields = new Dictionary();
     }

+    /**
+     *  @private
+     */
+    private static var initialized:Boolean = false;
+
     //--------------------------------------------------------------------------
     //
     //  Class constants
@@ -324,6 +335,8 @@
     public function FTETextField()
     {
         super();
+
+        initClass();

         // The mouse should not be aware of the TextLines.
         // Otherwise, FTETextField will dispatch mouseOver and mouseOut


Transferred from the Adobe Open Source Subversion Repository

Revision: 6343
Author:   gosmith@adobe.com
Date:     2009-04-28T18:44:18.611436Z

Log Message:
-----------
Fixed typo ("brdigeWindowDeactivate") noticed by Eric Simenel in SWFBridgeEvent.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: N/A

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as

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

--- frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as
+++ frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as
@@ -49,9 +49,10 @@
         "bridgeApplicationActivate";

     /**
-     *  Sent through a bridge to a child application's SystemManager to notify it
-	 *  that the SWF is about to be unloaded. The SystemManager marshals and
-	 *  re-dispatches the event so that application code can remove references
+     *  Sent through a bridge to a child application's SystemManager
+	 *  to notify it that the SWF is about to be unloaded.
+	 *  The SystemManager marshals and re-dispatches the event
+	 *  so that application code can remove references
 	 *  that would prevent the SWF file from unloading.
      *
      *  @langversion 3.0
@@ -59,7 +60,8 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public static const BRIDGE_APPLICATION_UNLOADING:String = "bridgeApplicationUnloading";
+    public static const BRIDGE_APPLICATION_UNLOADING:String =
+		"bridgeApplicationUnloading";

 	/**
 	 *  Dispatched through bridges to all other FocusManagers to notify them
@@ -97,15 +99,17 @@
      *  is a string id of the window. The
      *  data.notifier property is the bridge of the
      *  application dispatching the event. The event might be dispatched
-     *  directly to a sandbox root instead of over a bridge, so event.target
-     *  might not be the bridge of the application dispatching the event.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-    public static const BRIDGE_WINDOW_ACTIVATE:String = "bridgeWindowActivate";
+     *  directly to a sandbox root instead of over a bridge,
+	 *  so event.target might not be the bridge
+	 *  of the application dispatching the event.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+    public static const BRIDGE_WINDOW_ACTIVATE:String =
+		"bridgeWindowActivate";

 	/**
 	 *	Dispatched to a parent bridge or sandbox root to notify it that
@@ -119,15 +123,17 @@
      *  is a string id of the window. The
      *  data.notifier property is the bridge of the
      *  application dispatching the event. The event might be dispatched
-     *  directly to a sandbox root instead of over a bridge, so event.target
-     *  might not be the bridge of the application dispatching the event.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-    public static const BRIDGE_WINDOW_DEACTIVATE:String = "brdigeWindowDeactivate";
+     *  directly to a sandbox root instead of over a bridge,
+	 *  so event.target might not be the bridge
+	 *  of the application dispatching the event.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+    public static const BRIDGE_WINDOW_DEACTIVATE:String =
+		"bridgeWindowDeactivate";

     //--------------------------------------------------------------------------
     //
@@ -136,12 +142,14 @@
     //--------------------------------------------------------------------------

     /**
-     *  Marshal a SWFBridgeRequest from a remote ApplicationDomain into the current
-     *  ApplicationDomain.
+     *  Marshal a SWFBridgeRequest from a remote ApplicationDomain
+	 *  into the current ApplicationDomain.
      *
-     *  @param event A SWFBridgeRequest which might have been created in a different ApplicationDomain.
+     *  @param event A SWFBridgeRequest which might have been created
+	 *  in a different ApplicationDomain.
      *
-     *  @return A SWFBridgeEvent that was created in the caller's ApplicationDomain.
+     *  @return A SWFBridgeEvent that was created
+	 *  in the caller's ApplicationDomain.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -151,6 +159,7 @@
     public static function marshal(event:Event):SWFBridgeEvent
     {
         var eventObj:Object = event;
+
         return new SWFBridgeEvent(eventObj.type,
                                   eventObj.bubbles,
                                   eventObj.cancelable,
@@ -166,15 +175,16 @@
 	/**
 	 *  Constructor.
 	 *
-     	 *  @param type The event type; indicates the action that caused the event.
-     	 *
-     	 *  @param bubbles Specifies whether the event can bubble up the display list hierarchy.
-     	 *
-     	 *  @param cancelable Specifies whether the behavior associated with the event can be prevented.
-	 *
-	 *  @param data An object that is null by default, but can contain information about the event, depending on the
-	 *  type of event.
-	 *
+     *  @param type The event type; indicates the action that caused the event.
+     *
+     *  @param bubbles Specifies whether the event
+	 *  can bubble up the display list hierarchy.
+     *
+     *  @param cancelable Specifies whether the behavior
+	 *  associated with the event can be prevented.
+	 *
+	 *  @param data An object that is null by default, but can contain
+	 *  information about the event, depending on the type of event.
 	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 9
@@ -210,7 +220,6 @@
 	 */
 	public var data:Object;

-
 	//--------------------------------------------------------------------------
 	//
 	//  Overridden methods: Event


Transferred from the Adobe Open Source Subversion Repository

Revision: 7471
Author:   jacobg@adobe.com
Date:     2009-06-01T16:41:00.070757Z

Log Message:
-----------
Link PopUpAnchor.as to ASDoc example

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/PopUpAnchor.as

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

--- frameworks/projects/spark/src/spark/components/PopUpAnchor.as
+++ frameworks/projects/spark/src/spark/components/PopUpAnchor.as
@@ -41,6 +41,8 @@
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
+ *
+ *  @includeExample examples/PopUpAnchorExample.mxml
  */
 public class PopUpAnchor extends UIComponent
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3892
Author:   egeorgie@adobe.com
Date:     2008-10-24T23:33:52.238868Z

Log Message:
-----------
Add constraint properties and unify IVisualItem, UIComponent, GraphicElement, change percentSize to percentWidth, percentHeight in ILayoutItem. Remove IGraphicElementHost and GraphicElementHostImpl. Change GraphicElement constraint properties to take in Object instead of Number to enable advanced constraints later on.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Ryan
tests: checkintests, Mustella (canvas, gumbo layout)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutItem.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/graphics/StrokedElement.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElementHostImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElementHost.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/flex4/src/mx/layout/LayoutItemFDO.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/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -19,7 +19,6 @@
 import flash.ui.Keyboard;

 import mx.components.baseClasses.GroupBase;
-import mx.graphics.IGraphicElement;

 import mx.containers.utilityClasses.Flex;
 import mx.events.PropertyChangeEvent;
@@ -41,7 +40,7 @@

     private static function calculatePercentWidth( layoutItem:ILayoutItem, width:Number ):Number
     {
-    	var percentWidth:Number = LayoutItemHelper.pinBetween( layoutItem.percentSize.x * 0.01 * width,
+    	var percentWidth:Number = LayoutItemHelper.pinBetween( layoutItem.percentWidth * 0.01 * width,
     	                                                       layoutItem.minSize.x,
     	                                                       layoutItem.maxSize.x );
     	return percentWidth < width ? percentWidth : width;
@@ -932,11 +931,11 @@
         {
             if (hasPercentHeight(layoutItem))
             {
-                totalPercentHeight += layoutItem.percentSize.y;
+                totalPercentHeight += layoutItem.percentHeight;

                 childInfo = new LayoutItemFlexChildInfo();
                 childInfo.layoutItem = layoutItem;
-                childInfo.percent    = layoutItem.percentSize.y;
+                childInfo.percent    = layoutItem.percentHeight;
                 childInfo.min        = layoutItem.minSize.y;
                 childInfo.max        = layoutItem.maxSize.y;


Transferred from the Adobe Open Source Subversion Repository

Revision: 17522
Author:   jasonsj@adobe.com
Date:     2010-08-30T21:32:50.069066Z

Log Message:
-----------
ProgressBar, ToolTip and ButtonBarButton are discouraged for mobile.

QE notes:
Doc notes:
Bugs:
FBG-1722 codehints: <mx:ProgressBar> <mx:ToolTip><s:ToolTip> need to be discouraged for mobile
FBG-1723 codehints: <s:ButtonBarButton> need to be discouraged since <s:ButtonBar> is discouraged for mobile
Reviewer: rfrishbe
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBarButton.as</path>

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

--- frameworks/projects/framework/src/mx/controls/ToolTip.as
+++ frameworks/projects/framework/src/mx/controls/ToolTip.as
@@ -95,6 +95,13 @@
  */
 [Style(name="paddingTop", type="Number", format="Length", inherit="no")]

+/**
+ * Because this component does not define a skin for the mobile theme, Adobe
+ * recommends that you not use it in a mobile application. Alternatively, you
+ * can define your own mobile skin for the component. For more information,
+ * see Spark Skinning.
+ */
+[DiscouragedForProfile("mobileDevice")]

 /**
  *  The ToolTip control lets you provide helpful information to your users.


Transferred from the Adobe Open Source Subversion Repository

Revision: 20078
Author:   klin@adobe.com
Date:     2011-02-02T23:41:09.401228Z

Log Message:
-----------
Recommit 19979. Fixed missing parameter in TransformUtil's needAdvancedLayout call.

Refactoring shared transformation code in UIComponent, SpriteVisualElement, and UIMovieClip into a utility class, TransformUtil. The methods transformAround() and transformPointToParent() are now delegated to the new class. For transformAround, the components also pass in their AdvancedLayoutFeatures and initAdvancedLayoutFeatures() method so that TransformUtil can create and initialize the layout features object if necessary.

QE notes: No
Doc notes: No
Bugs: SDK-22637
Reviewer: Evtim
Tests run: cyclone server, checkintests
Is noteworthy for integration: Yes, possibly for FC

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/TransformUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -100,6 +100,7 @@
 import mx.utils.MatrixUtil;
 import mx.utils.NameUtil;
 import mx.utils.StringUtil;
+import mx.utils.TransformUtil;
 import mx.validators.IValidatorListener;
 import mx.validators.ValidationResult;

@@ -13138,6 +13139,15 @@
      */
     protected function initAdvancedLayoutFeatures():void
     {
+        internal_initAdvancedLayoutFeatures();
+    }
+
+    /**
+     *  Passed to TransformUtil to create the layout features when performing
+     *  transformation operations.
+     */
+    private function internal_initAdvancedLayoutFeatures():AdvancedLayoutFeatures
+    {
         var features:AdvancedLayoutFeatures = new AdvancedLayoutFeatures();

         _hasComplexLayoutMatrix = true;
@@ -13154,6 +13164,7 @@
         features.layoutWidth = width;  // for the mirror transform
         _layoutFeatures = features;
         invalidateTransform();
+        return features;
     }

     /**
@@ -13394,8 +13405,6 @@
             validateMatrix();
     }

-    private static var xformPt:Point;
-
     /**
      *  @copy mx.core.ILayoutElement#transformAround()
      *
@@ -13422,46 +13431,29 @@
             _includeInLayout = false;
         }

-        // TODO (chaase): Would be nice to put this function in a central place
-        // to be used by UIComponent, SpriteVisualElement, UIMovieClip, and
-        // GraphicElement, since they all have similar or identical functions
-        if (_layoutFeatures == null)
-        {
-            // TODO (chaase): should provide a way to return to having no
-            // layoutFeatures if we call this later with a more trivial
-            // situation
-            var needAdvancedLayout:Boolean =
-                (scale != null && ((!isNaN(scale.x) && scale.x != 1) ||
-                    (!isNaN(scale.y) && scale.y != 1) ||
-                    (!isNaN(scale.z) && scale.z != 1))) ||
-                (rotation != null && ((!isNaN(rotation.x) && rotation.x != 0) ||
-                    (!isNaN(rotation.y) && rotation.y != 0) ||
-                    (!isNaN(rotation.z) && rotation.z != 0))) ||
-                (translation != null && translation.z != 0 && !isNaN(translation.z)) ||
-                postLayoutScale != null ||
-                postLayoutRotation != null ||
-                (postLayoutTranslation != null &&
-                    (translation == null ||
-                     postLayoutTranslation.x != translation.x ||
-                     postLayoutTranslation.y != translation.y ||
-                     postLayoutTranslation.z != translation.z));
-            if (needAdvancedLayout)
-                initAdvancedLayoutFeatures();
-        }
+        var prevX:Number = x;
+        var prevY:Number = y;
+        var prevZ:Number = z;
+
+        TransformUtil.transformAround(this,
+                                      transformCenter,
+                                      scale,
+                                      rotation,
+                                      translation,
+                                      postLayoutScale,
+                                      postLayoutRotation,
+                                      postLayoutTranslation,
+                                      _layoutFeatures,
+                                      internal_initAdvancedLayoutFeatures);
+
         if (_layoutFeatures != null)
         {
-            var prevX:Number = _layoutFeatures.layoutX;
-            var prevY:Number = _layoutFeatures.layoutY;
-            var prevZ:Number = _layoutFeatures.layoutZ;
-            _layoutFeatures.transformAround(transformCenter, scale, rotation,
-                translation, postLayoutScale, postLayoutRotation,
-                postLayoutTranslation);
             invalidateTransform();

             // Will not invalidate parent if we have set _includeInLayout to false
             // in the beginning of the method
             invalidateParentSizeAndDisplayList();
-
+
             if (prevX != _layoutFeatures.layoutX)
                 dispatchEvent(new Event("xChanged"));
             if (prevY != _layoutFeatures.layoutY)
@@ -13469,70 +13461,24 @@
             if (prevZ != _layoutFeatures.layoutZ)
                 dispatchEvent(new Event("zChanged"));
         }
-        else
-        {
-            if (translation == null && transformCenter != null)
-            {
-                if (xformPt == null)
-                    xformPt = new Point();
-                xformPt.x = transformCenter.x;
-                xformPt.y = transformCenter.y;
-                var xformedPt:Point =
-                    transform.matrix.transformPoint(xformPt);
-            }
-            if (rotation != null && !isNaN(rotation.z))
-                this.rotation = rotation.z;
-            if (scale != null)
-            {
-                scaleX = scale.x;
-                scaleY = scale.y;
-            }
-            if (transformCenter == null)
-            {
-                if (translation != null)
-                {
-                    x = translation.x;
-                    y = translation.y;
-                }
-            }
-            else
-            {
-                if (xformPt == null)
-                    xformPt = new Point();
-                xformPt.x = transformCenter.x;
-                xformPt.y = transformCenter.y;
-                var postXFormPoint:Point =
-                    transform.matrix.transformPoint(xformPt);
-                if (translation != null)
-                {
-                    x += translation.x - postXFormPoint.x;
-                    y += translation.y - postXFormPoint.y;
-                }
-                else
-                {
-                    x += xformedPt.x - postXFormPoint.x;
-                    y += xformedPt.y - postXFormPoint.y;
-                }
-            }
-        }

         if (!invalidateLayout)
             _includeInLayout = oldIncludeInLayout;
     }

     /**
-     * A utility method to transform a point specified in the local
-     * coordinates of this object to its location in the object's parent's
-     * coordinates. The pre-layout and post-layout result is set on
-     * the position and postLayoutPosition
-     * parameters, if they are non-null.
-     *
-     * @param localPosition The point to be transformed, specified in the
-     * local coordinates of the object.
-     * @position A Vector3D point that holds the pre-layout
-     * result. If null, the parameter is ignored.
-     * @postLayoutPosition A Vector3D point that holds the post-layout
-     * result. If null, the parameter is ignored.
+     *  A utility method to transform a point specified in the local
+     *  coordinates of this object to its location in the object's parent's
+     *  coordinates. The pre-layout and post-layout result is set on
+     *  the position and postLayoutPosition
+     *  parameters, if they are non-null.
+     *
+     *  @param localPosition The point to be transformed, specified in the
+     *  local coordinates of the object.
+     *  @position A Vector3D point that holds the pre-layout
+     *  result. If null, the parameter is ignored.
+     *  @postLayoutPosition A Vector3D point that holds the post-layout
+     *  result. If null, the parameter is ignored.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -13543,41 +13489,11 @@
                                            position:Vector3D,
                                            postLayoutPosition:Vector3D):void
     {
-        if (_layoutFeatures != null)
-        {
-            _layoutFeatures.transformPointToParent(true, localPosition,
-                position, postLayoutPosition);
-        }
-        else
-        {
-            if (xformPt == null)
-                xformPt = new Point();
-            if (localPosition)
-            {
-                xformPt.x = localPosition.x;
-                xformPt.y = localPosition.y;
-            }
-            else
-            {
-                xformPt.x = 0;
-                xformPt.y = 0;
-            }
-            var tmp:Point = (transform.matrix != null) ?
-                transform.matrix.transformPoint(xformPt) :
-                xformPt;
-            if (position != null)
-            {
-                position.x = tmp.x;
-                position.y = tmp.y;
-                position.z = 0;
-            }
-            if (postLayoutPosition != null)
-            {
-                postLayoutPosition.x = tmp.x;
-                postLayoutPosition.y = tmp.y;
-                postLayoutPosition.z = 0;
-            }
-        }
+        TransformUtil.transformPointToParent(this,
+                                             localPosition,
+                                             position,
+                                             postLayoutPosition,
+                                             _layoutFeatures);
     }

     /**
@@ -13723,7 +13639,6 @@
     //  ILayoutElement
     //
     //--------------------------------------------------------------------------
-

     /**
      *  @inheritDoc


Transferred from the Adobe Open Source Subversion Repository

Revision: 6609
Author:   gruehle@adobe.com
Date:     2009-05-04T22:47:31.285324Z

Log Message:
-----------
Add theme attribute to theme-specific style metadata.

Example of a halo-specific style:
[Style(name="cornerRadius", type="Number", format="Length", inherit="no", theme="halo")]

Example of a spark-specific style:
[Style(name="baseColor", type="uint", format="Color", inherit="yes", theme="spark")]

Style metadata without a theme attribute is theme-agnostic, and works with either spark or halo.

Bugs: SDK-20606

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.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/styles/metadata/FillStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.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/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BarColorStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/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/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/IconColorStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.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/styles/metadata/SelectedFillColorsStyle.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/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/mx/src/mx/controls/ComboBox.as
+++ frameworks/projects/mx/src/mx/controls/ComboBox.as
@@ -275,7 +275,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-[Style(name="dropdownBorderColor", type="uint", format="Color", inherit="yes")]
+[Style(name="dropdownBorderColor", type="uint", format="Color", inherit="yes", theme="halo")]

 /**
  *  The name of a CSSStyleDeclaration to be used by the drop-down list.  This


Transferred from the Adobe Open Source Subversion Repository

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

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

- We now check descendant types against any superclass.

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

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

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

- Fixed the specificity calculation for global selectors.

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

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

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

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -7836,6 +7836,25 @@
     //--------------------------------------------------------------------------

     /**
+     *  A component's parent is used to evalate descendant selectors. A parent
+     *  must also be an IAdvancedStyleClient to participate in advanced style
+     *  declarations.
+     */
+    public function get styleParent():IAdvancedStyleClient
+    {
+        return parent as IAdvancedStyleClient;
+    }
+
+    /**
+     *  Determines whether this component can be considered assignable to the
+     *  given type. This is used to determine matching advanced CSS styles.
+     */
+    public function isAssignableToType(type:String):Boolean
+    {
+        return StyleProtoChain.isAssignableToType(this, type);
+    }
+
+    /**
      *  @private
      *  Sets up the inheritingStyles and nonInheritingStyles objects
      *  and their proto chains so that getStyle() can work.
@@ -7860,16 +7879,6 @@
     public function getClassStyleDeclarations():Array
     {
         return StyleProtoChain.getClassStyleDeclarations(this);
-    }
-
-    /**
-     *  A component's parent is used to evalate descendant selectors. A parent
-     *  must also be an IAdvancedStyleClient to participate in advanced style
-     *  declarations.
-     */
-    public function get styleParent():IAdvancedStyleClient
-    {
-        return parent as IAdvancedStyleClient;
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 8643
Author:   rfrishbe@adobe.com
Date:     2009-07-16T21:22:55.207587Z

Log Message:
-----------
Adding two methods to IAutomationObject, createAutomationIDPartWithRequiredProperties() and getAutomationChildren().  Had to add these to every class that implements IAutomationObject: FlexNativeMenu, UIMovieClip, UIComponent, UITextField, and UITLFTextField.  The implementations are really simple and just call to the automationDelegate or return null.

QE notes: -
Doc notes: -
Bugs: SDK-22086
Reviewer: Rani, Deepa
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/automation/IAutomationObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.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/airframework/src/mx/controls/FlexNativeMenu.as</path>

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

--- frameworks/projects/framework/src/mx/core/UITextField.as
+++ frameworks/projects/framework/src/mx/core/UITextField.as
@@ -219,7 +219,7 @@
     //  embeddedFontRegistry
     //----------------------------------

-	private static var noEmbeddedFonts:Boolean;
+    private static var noEmbeddedFonts:Boolean;

     /**
      *  @private
@@ -240,15 +240,15 @@
     {
         if (!_embeddedFontRegistry && !noEmbeddedFonts)
         {
-			try
-			{
-				_embeddedFontRegistry = IEmbeddedFontRegistry(
-					Singleton.getInstance("mx.core::IEmbeddedFontRegistry"));
-			}
-			catch (e:Error)
-			{
-				noEmbeddedFonts = true;
-			}
+            try
+            {
+                _embeddedFontRegistry = IEmbeddedFontRegistry(
+                    Singleton.getInstance("mx.core::IEmbeddedFontRegistry"));
+            }
+            catch (e:Error)
+            {
+                noEmbeddedFonts = true;
+            }
         }

         return _embeddedFontRegistry;
@@ -725,14 +725,14 @@
     //  editable
     //----------------------------------

-	/**
+    /**
      *  Specifies whether the user is allowed to edit the text in this control.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10
-	 *  @playerversion AIR 1.5
-	 *  @productversion Flex 4
-	 */
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
     public function get editable():Boolean
     {
         return type == TextFieldType.INPUT;
@@ -2042,10 +2042,10 @@
             if (textFormat.font)
             {
                 var fontModuleFactory:IFlexModuleFactory = (noEmbeddedFonts || !embeddedFontRegistry) ?
-					null :
+                    null :
                     embeddedFontRegistry.getAssociatedModuleFactory(
                         textFormat.font, textFormat.bold, textFormat.italic,
-						this, moduleFactory);
+                        this, moduleFactory);

                 // if we found the font, then it is embedded.
                 // Some fonts are not listed in info(), so are not in the above registry.
@@ -2107,7 +2107,7 @@

         var textAlign:String = getStyle("textAlign");
         // Map new Spark values that might be set in a selector
-		// affecting both Halo and Spark components.
+        // affecting both Halo and Spark components.
         if (textAlign == "start")
             textAlign = TextFormatAlign.LEFT;
         else if (textAlign == "end")
@@ -2128,33 +2128,33 @@
         textFormat.font = StringUtil.trimArrayElements(getStyle("fontFamily"),",");
         textFormat.indent = getStyle("textIndent");
         textFormat.italic = getStyle("fontStyle") == "italic";
-		var kerning:* = getStyle("kerning");
-		// In Halo components based on TextField,
-		// kerning is supposed to be true or false.
-		// The default in TextField and Flex 3 is false
-		// because kerning doesn't work for device fonts
-		// and is slow for embedded fonts.
-		// In Spark components based on TLF and FTE,
-		// kerning is "auto", "on", or, "off".
-		// The default in TLF and FTE is "auto"
-		// (which means kern non-Asian characters)
-		// because kerning works even on device fonts
-		// and has miminal performance impact.
+        var kerning:* = getStyle("kerning");
+        // In Halo components based on TextField,
+        // kerning is supposed to be true or false.
+        // The default in TextField and Flex 3 is false
+        // because kerning doesn't work for device fonts
+        // and is slow for embedded fonts.
+        // In Spark components based on TLF and FTE,
+        // kerning is "auto", "on", or, "off".
+        // The default in TLF and FTE is "auto"
+        // (which means kern non-Asian characters)
+        // because kerning works even on device fonts
+        // and has miminal performance impact.
         // Since a CSS selector or parent container
-		// can affect both Halo and Spark components,
-		// we need to map "auto" and "on" to true
-		// and "off" to false for Halo components
-		// here and in UITLFTextField.
-		// For Spark components, SimpleText and CSSTextLayoutFormat,
-		// do the opposite mapping of true to "on" and false to "off".
-		// We also support a value of "default"
-		// (which we set in the global selector)
-		// to mean false for Halo and "auto" for Spark,
-		// to get the recommended behavior in both sets of components.
-		if (kerning == "auto" || kerning == "on")
-			kerning = true;
-		else if (kerning == "default" || kerning == "off")
-			kerning = false;
+        // can affect both Halo and Spark components,
+        // we need to map "auto" and "on" to true
+        // and "off" to false for Halo components
+        // here and in UITLFTextField.
+        // For Spark components, SimpleText and CSSTextLayoutFormat,
+        // do the opposite mapping of true to "on" and false to "off".
+        // We also support a value of "default"
+        // (which we set in the global selector)
+        // to mean false for Halo and "auto" for Spark,
+        // to get the recommended behavior in both sets of components.
+        if (kerning == "auto" || kerning == "on")
+            kerning = true;
+        else if (kerning == "default" || kerning == "off")
+            kerning = false;
         textFormat.kerning = kerning;
         textFormat.leading = getStyle("leading");
         textFormat.leftMargin = ignorePadding ? 0 : getStyle("paddingLeft");
@@ -2421,6 +2421,15 @@
     {
         return null;
     }
+
+    /**
+     *  @private
+     */
+    public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject,
+                                                                 properties:Array):Object
+    {
+        return null;
+    }

     /**
      *  @private
@@ -2441,6 +2450,14 @@
     /**
      *  @private
      */
+    public function getAutomationChildren():Array
+    {
+        return null;
+    }
+
+    /**
+     *  @private
+     */
     public function get numAutomationChildren():int
     {
         return 0;


Transferred from the Adobe Open Source Subversion Repository

Revision: 19635
Author:   aharui@adobe.com
Date:     2011-01-07T00:25:18.039632Z

Log Message:
-----------
revert the layout changes from svn 18635.  Management feels that there isn't enough time to thoroughly test the changes.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/layoutClasses/PriorityQueue.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/core/Application.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/IconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airspark/src/spark/components/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/IContainerInvalidating.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/ILayoutManagerContainerClient.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/IStyleManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/core/Container.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/framework/src/mx/events/FlexEvent.as
+++ frameworks/projects/framework/src/mx/events/FlexEvent.as
@@ -776,66 +776,6 @@
     public static const LOADING:String = "loading";

     /**
-     *  The FlexEvent.MEASURED_SIZE_PRELIMINARY constant defines the value of the
-     *  type property of the event object for a measuredSizePreliminary event.
-     *  This event is dispatched during measure() if the measurements will be later changed
-     *  by other conditions like the arrival of asynchronous network data.
-     *
-     *
The properties of the event object have the following values:

-     *

-     *
Property	Value

-     *
bubbles	true

-     *
cancelable	true

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

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

-     *

-     *
-     *  @eventType measuredSizePreliminary
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.0
-     *  @productversion Flex 4.5
-     */
-    public static const MEASURED_SIZE_PRELIMINARY:String = "measuredSizePreliminary";
-
-    /**
-     *  The FlexEvent.MEASURED_SIZE_FINAL constant defines the value of the
-     *  type property of the event object for a measuredSizeFinal event.
-     *  This event is only dispatched by components that have previously dispatched a
-     *  FlexEvent.MEASURED_SIZE_PRELIMINARY event.
-     *
-     *
The properties of the event object have the following values:

-     *

-     *
Property	Value

-     *
bubbles	true

-     *
cancelable	true

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

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

-     *

-     *
-     *  @eventType measuredSizeFinal
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.0
-     *  @productversion Flex 4.5
-     */
-    public static const MEASURED_SIZE_FINAL:String = "measuredSizeFinal";
-
-    /**
      *  The FlexEvent.MENU_KEY_PRESSED constant defines the value of the
      *  type property of the event object for a menuKeyPressed event.
      *


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 12537
Author:   smgilson@adobe.com
Date:     2009-12-04T17:41:47.951816Z

Log Message:
-----------
Fix for FLEXDOCS-1157 - Spark List-based comps have documenation saying they don't support BasicLayout

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.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/TabBar.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>

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

--- frameworks/projects/spark/src/spark/components/TabBar.as
+++ frameworks/projects/spark/src/spark/components/TabBar.as
@@ -58,6 +58,11 @@
  *
  *
You can use the TabBar control to set the active child of a ViewStack container,
  *  as the following example shows:

+ *
+ *
Note: The Spark list-based controls (the Spark ListBase class and its subclasses
+ *  such as ButtonBar, ComboBox, DropDownList, List, and TabBar) do not support the BasicLayout class
+ *  as the value of the layout property.
+ *  Do not use BasicLayout with the Spark list-based controls.

  *
  *

  *  <s:TabBar dataProvider="{myViewStack}"/>


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

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


FLEX-34837 Using the newly introduced ComplexSortField. Also made the VOs bindable rather than each of their properties.

--- frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
+++ frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
@@ -19,6 +19,7 @@

 package {
     import mx.collections.ArrayList;
+    import mx.collections.ComplexSortField;
     import mx.collections.IList;
     import mx.collections.ListCollectionView;
     import mx.collections.Sort;
@@ -43,7 +44,7 @@
         }

         [Test]
-        public function test_simple_sort_by_complex_fields_with_custom_compare_function_for_sort():void
+        public function test_sort_by_complex_fields_with_custom_compare_function_for_sort():void
         {
             function compareByStreet(a:ListCollectionView_FLEX_34837_VO, b:ListCollectionView_FLEX_34837_VO, fields:Array):int
             {
@@ -58,7 +59,7 @@
             _sut.addAll(from4To0); //values["address.street"]: Street4, Street3, Street2, Street1, Street0

             const sortByStreetAscending:Sort = new Sort();
-            sortByStreetAscending.fields = [new SortField("address.street", false, false, false)]; //should make no difference
+            sortByStreetAscending.fields = [new ComplexSortField("address.street", false, false, false)]; //should make no difference
             sortByStreetAscending.compareFunction = compareByStreet;
             _sut.sort = sortByStreetAscending;

@@ -70,7 +71,7 @@
         }

         [Test]
-        public function test_simple_sort_by_complex_fields_with_custom_compare_function_for_sort_field():void
+        public function test_sort_by_complex_fields_with_custom_compare_function_for_sort_field():void
         {
             function compareByStreet(a:ListCollectionView_FLEX_34837_VO, b:ListCollectionView_FLEX_34837_VO):int
             {
@@ -85,7 +86,7 @@
             _sut.addAll(from4To0); //values["address.street"]: Street4, Street3, Street2, Street1, Street0

             const sortByStreetAscending:Sort = new Sort();
-            var sortField:SortField = new SortField("address.street", false, false, false);
+            var sortField:SortField = new ComplexSortField("address.street", false, false, false);
             sortField.compareFunction = compareByStreet;
             sortByStreetAscending.fields = [sortField];
             _sut.sort = sortByStreetAscending;
@@ -129,7 +130,7 @@
             _sut.addAll(from1To4);

             const sortByNameAscending:Sort = new Sort();
-            sortByNameAscending.fields = [new SortField("address.street", false, false, false)];
+            sortByNameAscending.fields = [new ComplexSortField("address.street", false, false, false)];
             _sut.sort = sortByNameAscending;
             _sut.refresh(); //values: Object1, Object2, Object3, Object4

@@ -181,15 +182,11 @@
     }
 }

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

     public function ListCollectionView_FLEX_34837_VO(index:Number, namePrefix:String, streetPrefix:String)
@@ -200,9 +197,9 @@
     }
 }

+[Bindable]
 class ListCollectionView_FLEX_34837_AddressVO
 {
-    [Bindable]
     public var street:String;

     public function ListCollectionView_FLEX_34837_AddressVO(street:String)


Transferred from the Adobe Open Source Subversion Repository

Revision: 21970
Author:   chiedozi@adobe.com
Date:     2011-08-12T23:17:44.298219Z

Log Message:
-----------
activeView on ViewNavigator and TabbedViewNavigator is now bindable

QE notes:
Doc notes:
Bugs: SDK-31150
Reviewer: Tom
Tests run: checkintests-mobile
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
@@ -426,6 +426,7 @@
     //  activeView
     //----------------------------------

+    [Bindable("viewChangeComplete")]
     /**
      *
During a view transition, this property references the
      *  view that the navigator is transitioning to.