Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/advancedgrids/src/mx/olap/IOLAPAttributeLevel.as
+++ frameworks/projects/advancedgrids/src/mx/olap/IOLAPAttributeLevel.as
@@ -0,0 +1,46 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+import mx.collections.IList;
+
+/**
+ *  @private
+ *  The IOLAPAttributeLevel interface represents the single level present
+ *  inside an attribute hierarchy of an OLAP schema.
+ *.
+ *  @see mx.olap.OLAPAttributeLevel
+ */
+public interface IOLAPAttributeLevel extends IOLAPLevel
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  children
+	//----------------------------------
+
+    /**
+     *  Returns null.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get children():IList;
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3222
Author:   jimurphy@adobe.com
Date:     2008-09-16T14:09:08.134976Z

Log Message:
-----------
Merged 3.0.x revisions 3157,3162,3165-3166,3168,3177,3180-3183,3185,3187,3189,3199 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TileList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build_framework.xml</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/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</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/events/InterDragManagerEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.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/events/InterManagerRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>

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

--- frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as
+++ frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as
@@ -160,6 +160,25 @@
 	 */
 	public var dragEventType:String;

+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: Event
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+ 	 *  @private
+	 */
+	override public function clone():Event
+	{
+		var cloneEvent:InterDragManagerEvent = new InterDragManagerEvent(type, bubbles, cancelable,
+                                                 localX, localY, relatedObject, ctrlKey, altKey, shiftKey,
+												 buttonDown, delta, dropTarget, dragEventType, dragInitiator,
+												 dragSource, action, draggedItem);
+
+		return cloneEvent;
+	}
+
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12394
Author:   gosmith@adobe.com
Date:     2009-12-02T23:30:32.897486Z

Log Message:
-----------
Renamed spark.accessibility.ButtonAccImpl to ButtonBaseAccImpl because it is associated via [AccessibilityImplementation] metadata with the ButtonBase class, not with the Button class.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ToggleButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonAccImpl.as" copyfrom-rev="12392" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/CheckBoxAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/CheckBoxAccImpl.as
@@ -30,7 +30,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public class CheckBoxAccImpl extends ButtonAccImpl
+public class CheckBoxAccImpl extends ButtonBaseAccImpl
 {
     include "../core/Version.as";


Transferred from the Adobe Open Source Subversion Repository

Revision: 12370
Author:   smgilson@adobe.com
Date:     2009-12-02T16:48:37.124467Z

Log Message:
-----------
Fix for doc bug FLEXDOCS-1150

Added a few new examples and default sizes to Spark components

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

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/SkinnableContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/VScrollBarExample.mxml</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/components/TabBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/BorderContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/HScrollBarExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TileGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/MyBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/BorderContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/SkinnableDataContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/DateFormatter.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/ApplicationContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableContainer.as
@@ -196,6 +196,14 @@
  *
  *
To improve performance and minimize application size,
  *  you can use the Group container. The Group container cannot be skinned.

+ *
+ *
The SkinnableContainer container has the following default characteristics:

+ *

+ *
Characteristic	Description

+ *
Default size	Large enough to display its children

+ *
Minimum size	0 pixels

+ *
Maximum size	10000 pixels wide and 10000 pixels high

+ *

  *
  *  @mxml
  *
@@ -275,6 +283,9 @@
  *  @see SkinnableDataContainer
  *  @see Group
  *  @see spark.skins.spark.SkinnableContainerSkin
+ *
+ *  @includeExample examples/SkinnableContainerExample.mxml
+ *  @includeExample examples/MyBorderSkin.mxml -noswf
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

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

--- frameworks/projects/charts/src/mx/charts/styles/metadata/ItemRendererStyles.as
+++ frameworks/projects/charts/src/mx/charts/styles/metadata/ItemRendererStyles.as
@@ -1,4 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////

+/**
+ *  A factory that represents the class the series will use to represent individual items on the chart. This class is instantiated once for each element in the chart.
+ *	Classes used as an itemRenderer should implement the IFlexDisplayObject, ISimpleStyleClient, and IDataRenderer interfaces. The data property is assigned the
+ *	chartItem that the skin instance renders.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
 [Style(name="itemRenderer", type="mx.core.IFactory", inherit="no")]

 /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 8625
Author:   jszeto@adobe.com
Date:     2009-07-16T17:59:26.132133Z

Log Message:
-----------
Updating copyright text

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Line.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as
@@ -1,7 +1,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
 //  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-2006 Adobe Systems Incorporated
+//  Copyright 2008 Adobe Systems Incorporated
 //  All Rights Reserved.
 //
 //  NOTICE: Adobe permits you to use, modify, and distribute this file


Transferred from the Adobe Open Source Subversion Repository

Revision: 5098
Author:   gauravj@adobe.com
Date:     2009-02-27T02:21:27.489350Z

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

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

Modified Paths:
--------------
151 paths were modified

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as
@@ -23,6 +23,11 @@
  *  The FilledElement class is the base class for graphics elements that contain a stroke
  *  and a fill.
  *  This is a base class, and is not used directly in MXML or ActionScript.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class FilledElement extends StrokedElement
 {
@@ -36,6 +41,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function FilledElement()
     {
@@ -64,6 +74,11 @@
      *  If not defined, the object is drawn without a fill.
      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get fill():IFill
     {
@@ -104,6 +119,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     override protected function beginDraw(g:Graphics):void
     {
@@ -122,6 +142,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     override protected function endDraw(g:Graphics):void
     {


Clear undo stack before reset to prevent inconsistency in state

--- src/LevelStates/LevelState.as
+++ src/LevelStates/LevelState.as
@@ -1255,7 +1255,7 @@
 			if (RESET_SAVE == savedString || savedString == null)
 				return;

-			//actions.actionStack = new Vector.<Action>; //clear undo before reset
+			actions.actionStack = new Vector.<Action>; //clear undo before reset
 			new CustomAction(function loadSuccess(old:String = null):Boolean { load(RESET_SAVE); actions.clearRedo(); return true; },
 							 function loadOld(old:String = null):void { load(old); },
 							 savedString).execute();


Fixed viewmode menu

Fixed viewmode menu

--- src/LevelStates/LevelState.as
+++ src/LevelStates/LevelState.as
@@ -355,6 +355,10 @@
 			for each (var newMode:int in [VIEW_MODE_NORMAL, VIEW_MODE_DELAY]) {
 				modeSelectButtons.push(new GraphicButton( -1, -1, VIEW_MODE_SPRITES[newMode], function selectMode(newMode:int):void {
 					viewMode = newMode;
+					if (listOpen == LIST_VIEW_MODES) {
+						listOpen = LIST_NONE;
+						makeUI();
+					}
 				}, "Enter "+VIEW_MODE_NAMES[newMode]+" view mode").setParam(newMode).setSelected(newMode == viewMode));
 			}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

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

--- frameworks/projects/framework/src/mx/effects/effectClasses/BlurInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/BlurInstance.as
@@ -0,0 +1,199 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.effects.effectClasses
+{
+
+import flash.events.Event;
+import flash.filters.BlurFilter;
+import mx.core.mx_internal;
+
+/**
+ *  The BlurInstance class implements the instance class
+ *  for the Blur effect.
+ *  Flex creates an instance of this class when it plays a Blur effect;
+ *  you do not create one yourself.
+ *
+ *
Every effect class that is a subclass of the TweenEffect class
+ *  supports the following events:

+ *
+ *

+ *
tweenEnd: Dispatched when the tween effect ends.

+ *
+ *
tweenUpdate: Dispatched every time a TweenEffect
+ *      class calculates a new value.

+ *

+ *
+ *
The event object passed to the event listener for these events is of type TweenEvent.
+ *  The TweenEvent class  defines the property value, which contains
+ *  the tween value calculated by the effect.
+ *  For the Blur effect,
+ *  the TweenEvent.value property contains a 2-item Array, where:

+ *

+ *
value[0]:Number  A value between the values of the Blur.blurXTo
+ *    and Blur.blurXFrom property, applied to the
+ *    target's BlurFilter.blurX property.

+ *
+ *
value[1]:Number  A value between the values of the Blur.blurYTo
+ *    and Blur.blurYFrom property, applied to the
+ *    target's BlurFilter.blurY property.

+ *

+ *
+ *  @see mx.effects.Blur
+ *  @see mx.events.TweenEvent
+ */
+public class BlurInstance extends TweenEffectInstance
+{
+    include "../../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param target The Object to animate with this effect.
+	 */
+	public function BlurInstance(target:Object)
+	{
+		super(target);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  blurXFrom
+	//----------------------------------
+
+	/**
+	 *  The starting amount of horizontal blur.
+	 */
+	public var blurXFrom:Number;
+
+	//----------------------------------
+	//  blurXTo
+	//----------------------------------
+
+	/**
+	 *  The ending amount of horizontal blur.
+	 */
+	public var blurXTo:Number;
+
+	//----------------------------------
+	//  blurYFrom
+	//----------------------------------
+
+	/**
+	 *  The starting amount of vertical blur.
+	 */
+	public var blurYFrom:Number;
+
+	//----------------------------------
+	//  blurYTo
+	//----------------------------------
+
+	/**
+	 *  The ending amount of vertical blur.
+	 */
+	public var blurYTo:Number;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function initEffect(event:Event):void
+	{
+		super.initEffect(event);
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function play():void
+	{
+		// Dispatch an effectStart event from the target.
+		super.play();
+
+		// If nobody assigned a value, give some defaults.
+		if (isNaN(blurXFrom))
+			blurXFrom = 4;
+		if (isNaN(blurXTo))
+			blurXTo = 0;
+		if (isNaN(blurYFrom))
+			blurYFrom = 4;
+		if (isNaN(blurYTo))
+			blurYTo = 0;
+
+		tween = createTween(this, [ blurXFrom, blurYFrom ],
+								  [ blurXTo, blurYTo ], duration);
+
+		// target.filters = ???
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function onTweenUpdate(value:Object):void
+	{
+		setBlurFilter(value[0], value[1]);
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function onTweenEnd(value:Object):void
+	{
+		setBlurFilter(value[0], value[1]);
+
+		super.onTweenEnd(value);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private function setBlurFilter(blurX:Number, blurY:Number):void
+	{
+		var filters:Array = target.filters;
+
+		// Remove any existing Blur filters
+		var n:int = filters.length;
+		for (var i:int = 0; i < n; i++)
+		{
+			if (filters[i] is BlurFilter)
+				filters.splice(i, 1);
+		}
+
+		if (blurX || blurY)
+			filters.push(new BlurFilter(blurX, blurY));
+
+		target.filters = filters;
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20184
Author:   chiedozi@adobe.com
Date:     2011-02-08T04:55:07.785367Z

Log Message:
-----------
Fixed a small issue in ViewNavigator where the overlayControls invalidation flag wasn't cleared properly

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

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
@@ -2221,9 +2221,11 @@
                 titleLayoutInvalidated = false;
             }

-            // Need to force state change by calling validate properties again
             if (overlayControlsInvalidated)
+            {
                 overlayControls = view.overlayControls;
+                overlayControlsInvalidated = false;
+            }

             actionBar.visible = actionBar.includeInLayout = view && view.actionBarVisible;
             actionBarVisibilityInvalidated = false;


A add a project method to project on a plane.

--- src/aerys/minko/type/math/Plane3D.as
+++ src/aerys/minko/type/math/Plane3D.as
@@ -3,65 +3,65 @@
 	import aerys.minko.ns.minko;
 	import aerys.minko.type.stream.IndexStream3D;
 	import aerys.minko.type.stream.VertexStream3D;
-
+
 	import flash.geom.Vector3D;

 	/**
 	 * The Plane class represents a geometrical plane through its equation
-	 * ax + by + cz + d = 0 _dhere (a, b, c) is the normal of the plane and
+	 * ax + by + cz + d = 0 where (a, b, c) is the normal of the plane and
 	 * d the distance along that normal.
-	 *
+	 *
 	 * @author Jean-Marc Le Roux
 	 */
 	public class Plane3D
 	{
 		use namespace minko;
-
+
 		//{ region consts
 		public static const POINT_INFRONT		: uint		= 1;
 		public static const POINT_BEHIND		: uint		= 2;
 		public static const POINT_COINCIDING	: uint		= 4;
-
+
 		public static const A_INFRONT			: uint		= POINT_INFRONT	<< 16;
 		public static const B_INFRONT			: uint		= POINT_INFRONT	<< 8;
 		public static const C_INFRONT			: uint		= POINT_INFRONT;
-
+
 		public static const A_BEHIND			: uint		= POINT_BEHIND << 16;
 		public static const B_BEHIND			: uint		= POINT_BEHIND << 8;
 		public static const C_BEHIND			: uint		= POINT_BEHIND;
-
+
 		public static const A_COINCIDING		: uint		= POINT_COINCIDING << 16;
 		public static const B_COINCIDING		: uint		= POINT_COINCIDING << 8;
 		public static const C_COINCIDING		: uint		= POINT_COINCIDING;
-
+
 		private static const AB_INFRONT			: uint		= A_INFRONT | B_INFRONT | C_BEHIND;
 		private static const BC_INFRONT			: uint		= A_BEHIND | B_INFRONT | C_INFRONT;
 		private static const CA_INFRONT			: uint		= A_INFRONT | B_BEHIND | C_INFRONT;
-
+
 		private static const AB_BEHIND			: uint		= A_BEHIND | B_BEHIND | C_INFRONT;
 		private static const BC_BEHIND			: uint		= A_INFRONT | B_BEHIND | C_BEHIND;
 		private static const CA_BEHIND			: uint		= A_BEHIND | B_INFRONT | C_BEHIND;
-
+
 		public static const POLYGON_INFRONT		: uint		= A_INFRONT | B_INFRONT | C_INFRONT;
 		public static const POLYGON_BEHIND		: uint		= A_BEHIND | B_BEHIND | C_BEHIND;
 		public static const POLYGON_COINCIDING	: uint		= A_COINCIDING | B_COINCIDING | C_COINCIDING;

 		public static const OPPOSITE			: uint		= 1 << 24;
 		public static const COLINEAR			: uint		= 2 << 24;
-
+
 		public static const DEFAULT_THICKNESS	: Number	= .01;
 		//} endregion
-
+
 		minko var _a	: Number	= 0.;
 		minko var _b	: Number	= 0.;
 		minko var _c	: Number	= 0.;
 		minko var _d	: Number	= 0.;
-
+
 		public function get a() : Number	{ return _a; }
 		public function get b() : Number	{ return _b; }
 		public function get c() : Number	{ return _c; }
 		public function get d() : Number	{ return _d; }
-
+
 		/**
 		 * Creates a new Plane object.
 		 * @param	myA
@@ -78,14 +78,14 @@
 			_b = myB;
 			_c = myC;
 			_d = myD;
-
+
 			normalize();
 		}
-
+
 		public function normalize() : Number
 		{
 			var mag	: Number	= Math.sqrt(_a * _a + _b * _b + _c * _c);
-
+
 			if (mag && mag != 1.)
 			{
 				_a /= mag;
@@ -93,10 +93,19 @@
 				_c /= mag;
 				_d /= mag;
 			}
-
+
 			return mag;
 		}
-
+
+		public function project(myV : Vector3D) : Vector3D
+		{
+			var scale : Number = _a * myV.x + _b * myV.y + _c * myV.z;
+
+			return new Vector3D(myV.x - scale * _a,
+								myV.y - scale * _b,
+								myV.z - scale * _c);
+		}
+
 		/**
 		 * Test a 3D point is coinciding, infront or behind the plane.
 		 * @param	myPoint
@@ -109,12 +118,12 @@
 										myThickness : Number = DEFAULT_THICKNESS) : uint
 		{
 			var dist	: Number	= _a * myX + _b * myY + _c * myZ - _d;
-
+
 			return (dist >= -myThickness && dist <= myThickness) ? POINT_COINCIDING
 														   		 : (dist < 0. ? POINT_BEHIND
 											 								  : POINT_INFRONT);
 		}
-
+
 		/**
 		 * Test a 3D ray is coinciding, infront or behind the plane.
 		 * @param	myOrigin
@@ -126,16 +135,16 @@
 		{
 			var distOrigin	: Number	= _a * myOrigin.x + _b * myOrigin.y + _c * myOrigin.z - _d;
 			var distTarget	: Number	= _a * myTarget.x + _b * myTarget.y + _c * myTarget.z - _d;
-
+
 			var r : uint = 0;
-
+
 			if (distOrigin > 0.)
 				r &= A_INFRONT;
 			else if (distOrigin < 0.)
 				r &= A_BEHIND;
 			else
 				r &= A_COINCIDING;
-
+
 			if (distTarget > 0.)
 				r &= B_INFRONT;
 			else if (distTarget < 0.)
@@ -145,7 +154,7 @@

 			return r;
 		}
-
+
 		/**
 		 * Test a polygon (triangle) is coinciding, infront or behind the plane.
 		 * @param	myA
@@ -163,17 +172,17 @@
 			var result  : uint 		= 0;
 			var s		: Number	= -myThickness;
 			var t		: Number	= myThickness;
-
+
 			test = _a * myX1 + _b * myY1 + _c * myZ1 - _d;
 			result = ((test >= s && test <= t) ? POINT_COINCIDING
 											 : ((test < 0.) ? POINT_BEHIND
 														    : POINT_INFRONT)) << 16;
-
+
 			test = _a * myX2 + _b * myY2 + _c * myZ2 - _d;
 			result |= ((test >= s && test <= t) ? POINT_COINCIDING
 											  : ((test < 0.) ? POINT_BEHIND
 														     : POINT_INFRONT)) << 8;
-
+
 			test = _a * myX3 + _b * myY3 + _c * myZ3 - _d;
 			result |= (test >= s && test <= t) ? POINT_COINCIDING
 											 : ((test < 0.) ? POINT_BEHIND
@@ -191,24 +200,24 @@
 				var dot : Number = _a * (y1y3 * z1z2 - z1z3 * y1y2)
 								   + _b * (z1z3 * x1x2 - x1x3 * z1z2)
 								   + _c * (x1x3 * y1y2 - y1y3 * x1x2);
-
+
 				result |= dot > 0. ? COLINEAR : OPPOSITE;
 			}

 			return result;
 		}
-
+
 		public function clone() : Plane3D
 		{
 			return new Plane3D(_a, _b, _c, _d);
 		}
-
+
 		public function toString() : String
 		{
 			return "(" + _a + ", " + _b + ", "
 				   + _c + ", " + _d + ")";
 		}
-
+
 		/**
 		 * Create a new Plane from a polygon defined by 3 set of (x, _b, _c) tuples.
 		 * @param	myX1
@@ -229,8 +238,8 @@
 			var nx : Number = (myY1 - myY3) * (myZ1 - myZ2) - (myZ1 - myZ3) * (myY1 - myY2);
 			var ny : Number = (myZ1 - myZ3) * (myX1 - myX2) - (myX1 - myX3) * (myZ1 - myZ2);
 			var nz : Number = (myX1 - myX3) * (myY1 - myY2) - (myY1 - myY3) * (myX1 - myX2);
-
+
 			return new Plane3D(nx, ny, nz, myX1 * nx + myY1 * ny + myZ1 * nz);
 		}
 	}
-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 4143
Author:   gosmith@adobe.com
Date:     2008-11-19T22:53:40.646147Z

Log Message:
-----------
Fixed problem with metadata in SelectionFormatTextStyles.as so that named colors work for selectionColor, unfocusedSelectionColor, and inactiveSelectionColor attributes on Gumbo components.

Thanks, Glenn!

QE Notes: None
Doc Notes: None
Bugs: SDK-18070
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/bundles.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/SelectionFormatTextStyles.as</path>

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

--- frameworks/projects/spark/src/spark/styles/metadata/SelectionFormatTextStyles.as
+++ frameworks/projects/spark/src/spark/styles/metadata/SelectionFormatTextStyles.as
@@ -12,14 +12,14 @@
 /**
  *  Documentation is not currently available.
  */
-[Style(name="selectionColor", type="uint", format="color", inherit="yes")]
+[Style(name="selectionColor", type="uint", format="Color", inherit="yes")]

 /**
  *  Documentation is not currently available.
  */
-[Style(name="inactiveSelectionColor", type="uint", format="color", inherit="yes")]
+[Style(name="inactiveSelectionColor", type="uint", format="Color", inherit="yes")]

 /**
  *  Documentation is not currently available.
  */
-[Style(name="unfocusedSelectionColor", type="uint", format="color", inherit="yes")]
+[Style(name="unfocusedSelectionColor", type="uint", format="Color", inherit="yes")]


Transferred from the Adobe Open Source Subversion Repository

Revision: 91
Author:   open-source-svn-admin@adobe.com
Date:     2008-01-04T00:55:56.072366Z

Log Message:
-----------
Perforce Change 191932 by proberts@proberts-laptop-flex on 2008/01/03 19:42:01 Severity: ignore description: docs update -- fleshing out docs for AIREvent and FlexNativeWindowBoundsEvent Affected files ...

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>

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

--- frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as
+++ frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as
@@ -16,18 +16,67 @@
 import flash.events.Event;
 import flash.events.NativeWindowBoundsEvent;

+/**
+ *  The FlexNativeWindowBoundsEvent is dispatched when the size or location changes for
+ *  the NativeWindow that underlies a Window or WindowedApplication component.
+ *
+ *  @see mx.core.Window
+ *  @see mx.core.WindowedApplication
+ */
 public class FlexNativeWindowBoundsEvent extends NativeWindowBoundsEvent
 {

 	/**
-	 *  dispatched when the underlying NativeWindow resizes
+     *  The FlexNativeWindowBoundsEvent.WINDOW_RESIZE constant defines the value of the
+     *  type property of the event object for a
+     *  windowResize event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+	 *
afterBounds	The bounds of the window after the bounds changed.

+	 *
beforeBounds	The bounds of the window before the bounds changed.

+     *
bubbles	false

+     *
cancelable	false

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

+     *
file	The File object associated with this event.

+     *
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.

+     *
type	FlexNativeWindowBoundsEvent.WINDOW_RESIZE

+     *

 	 *
 	 *  @eventType windowResize
 	 */
 	public static const WINDOW_RESIZE:String = "windowResize";

 	/**
-	 *  dispatched when the underlying NativeWindow changes
+     *  The FlexNativeWindowBoundsEvent.WINDOW_MOVE constant defines the value of the
+     *  type property of the event object for a
+     *  windowMove event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+	 *
afterBounds	The bounds of the window after the bounds changed.

+	 *
beforeBounds	The bounds of the window before the bounds changed.

+     *
bubbles	false

+     *
cancelable	false

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

+     *
file	The File object associated with this event.

+     *
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.

+     *
type	FlexNativeWindowBoundsEvent.WINDOW_MOVE

+     *

 	 *
 	 *  @eventType windowMove
 	 */
@@ -49,12 +98,12 @@
      *
      *  @param cancelable Specifies whether the behavior
      *  associated with the event can be prevented.
-     *
+     *
      *  @param beforeBounds The bounds of the window before the resize.
-     *
+     *
      *  @param afterBounds The bounds of the window before the resize.
      */
-	public function FlexNativeWindowBoundsEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false,
+	public function FlexNativeWindowBoundsEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false,
 					beforeBounds:Rectangle = null, afterBounds:Rectangle = null)
 	{
 		super(type, bubbles, cancelable, beforeBounds, afterBounds);


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/charts/src/mx/charts/chartClasses/IStackable2.as
+++ frameworks/projects/charts/src/mx/charts/chartClasses/IStackable2.as
@@ -0,0 +1,71 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.charts.chartClasses
+{
+
+import flash.utils.Dictionary;
+
+/**
+ *  The IStackable2 interface is implemented by any series that can be stacked.
+ *  Stacking sets (ColumnSet, BarSet, AreaSet) require that any sub-series
+ *  assigned to it when stacking implement this interface if they should show
+ *  negative values also while stacking.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public interface IStackable2 extends IStackable
+{
+
+//--------------------------------------------------------------------------
+//
+//  Methods
+//
+//--------------------------------------------------------------------------
+/**
+ *  Stacks the series. Normally, a series implements the updateData() method
+ *  to load its data out of the data provider. But a stacking series performs special
+ *  operations because its values are not necessarily stored in its data provider.
+ *  Its values are whatever is stored in its data provider, summed with the values
+ *  that are loaded by the object it stacks on top of.
+ *
A custom stacking series should implement the stack() method by loading its
+ *  data out of its data provider, adding it to the base values stored in the dictionary
+ *  to get the real values it should render with, and replacing the values in the dictionary
+ *  with its new, summed values.

+ *
+ *  @param stackedPosXValueDictionary Contains the base values that the series should stack
+ *  on top of. The keys in the dictionary are the x values, and the values are the positive
+ *  x values.
+ *
+ *  @param stackedNegXValueDictionary Contains the base values that the series should stack
+ *  on top of. The keys in the dictionary are the x values, and the values are the negative
+ *  y values.
+ *
+ *  @param previousElement The previous element in the stack. If, for example, the element
+ *  is of the same type, you can use access to this property to avoid duplicate effort when
+ *  rendering.
+ *
+ *  @return An object representing the maximum and minimum values in the newly stacked series.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+	function stackAll(stackedPosXValueDictionary:Dictionary,
+				stackedNegXValueDictionary:Dictionary,
+				previousElement:IStackable2):Object;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

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

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

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

--- frameworks/projects/framework/src/mx/events/ValidationResultEvent.as
+++ frameworks/projects/framework/src/mx/events/ValidationResultEvent.as
@@ -0,0 +1,190 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.events
+{
+
+import flash.events.Event;
+
+/**
+ *  The ValidationResultEvent class represents the event object
+ *  passed to the listener for the valid validator event
+ *  or the invalid validator event.
+ *
+ *  @see mx.validators.Validator
+ *  @see mx.validators.ValidationResult
+ *  @see mx.validators.RegExpValidationResult
+ */
+public class ValidationResultEvent extends Event
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  The ValidationResultEvent.INVALID constant defines the value of the
+	 *  type property of the event object for an invalid event.
+	 *  The value of this constant is "invalid".
+	 *
+	 *
The properties of the event object have the following values:

+	 *

+	 *
Property	Value

+     *
bubbles	false

+     *
cancelable	false

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

+     *
field	The name of the field that failed validation.

+     *
message	A single string that contains
+     *       every error message from all of the ValidationResult objects in the results Array.

+     *
results	An array of ValidationResult objects,
+     *       one per validated field.

+     *
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 invalid
+	 */
+	public static const INVALID:String = "invalid";
+
+	/**
+	 *  The ValidationResultEvent.VALID constant defines the value of the
+	 *  type property of the event object for a validevent.
+	 *  The value of this constant is "valid".
+	 *
+	 *
The properties of the event object have the following values:

+	 *

+	 *
Property	Value

+     *
bubbles	false

+     *
cancelable	false

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

+     *
field	An empty String.

+     *
message	An empty String.

+     *
results	An empty Array.

+     *
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 valid
+	 */
+	public static const VALID:String = "valid";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  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 field The name of the field that failed validation and triggered the event.
+	 *
+	 *  @param results An array of ValidationResult objects, one per validated field.
+	 */
+    public function ValidationResultEvent(type:String, bubbles:Boolean = false,
+										  cancelable:Boolean = false,
+										  field:String = null,
+										  results:Array = null)
+    {
+        super(type, bubbles, cancelable);
+
+        this.field = field;
+        this.results = results;
+    }
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+    //  field
+    //----------------------------------
+
+	/**
+	 *  The name of the field that failed validation and triggered the event.
+	 */
+    public var field:String;
+
+	//----------------------------------
+    //  message
+    //----------------------------------
+
+	/**
+	 *  A single string that contains every error message from all
+	 *  of the ValidationResult objects in the results Array.
+	 */
+    public function get message():String
+    {
+        var msg:String = "";;
+
+		var n:int = results.length;
+		for (var i:int = 0; i < n; ++i)
+        {
+			if (results[i].isError)
+			{
+	            msg += msg == "" ? "" : "\n";
+				msg += results[i].errorMessage;
+			}
+        }
+
+		return msg;
+    }
+
+	//----------------------------------
+    //  results
+    //----------------------------------
+
+	/**
+	 *  An array of ValidationResult objects, one per validated field.
+	 *
+	 *  @see mx.validators.ValidationResult
+	 */
+    public var results:Array;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: Event
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function clone():Event
+	{
+		return new ValidationResultEvent(type, bubbles, cancelable,
+										 field, results);
+	}
+}
+
+}


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

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


[rest] Adds checking if callback is provided in CacheStorage methods.

--- skein-rest/src/skein/rest/cache/impl/FileSystemCacheStorage.as
+++ skein-rest/src/skein/rest/cache/impl/FileSystemCacheStorage.as
@@ -149,11 +149,13 @@
                 {
                     if (value == undefined || value is Error)
                     {
-                        callback(null);
+                        if (callback != null)
+                            callback(null);
                     }
                     else
                     {
-                        callback(new Response(head, value));
+                        if (callback != null)
+                            callback(new Response(head, value));
                     }
                 };

@@ -175,12 +177,14 @@
             }
             else
             {
+                if (callback != null)
+                    callback(null);
+            }
+        }
+        else
+        {
+            if (callback != null)
                 callback(null);
-            }
-        }
-        else
-        {
-            callback(null);
         }
     }

@@ -209,11 +213,13 @@
             {
                 if (value == undefined || value is Error)
                 {
-                    callback(null);
+                    if (callback != null)
+                        callback(null);
                 }
                 else
                 {
-                    callback(response);
+                    if (callback != null)
+                        callback(response);
                 }
             };


Transferred from the Adobe Open Source Subversion Repository

Revision: 18296
Author:   jszeto@adobe.com
Date:     2010-10-22T22:37:53.945787Z

Log Message:
-----------
ViewMenu features and bug fixes

Changed ViewMenuLayout to place all the smaller rows at the top instead of alternating. Implemented the proper keyboard
navigation.

SDK-28292 - Pressing the Menu button when there are no ViewMenuItems for a View shows an empty menu

Pressing the Menu button will now be ignored in this situation

SDK-28162 - No events when ViewMenu is opened or closed

Added private events viewMenuOpen and viewMenuClose on View. These are undocumented and not meant for public usage.

SDK-28135 - ViewMenuItem size is incorrect if defined in AS and icon is used

Problem is due to the icon not getting fully loaded by the time the ViewMenu is measured and positioned. The solution is to reposition the ViewMenu on a resize.

SDK-28111 - ViewMenu 5-way navigation does not respond to up-down move

Implemented proper keyboard navigation.

SDK-28066 - ViewMenu is closed when clicking on the disabled item

Disabled items no longer respond to click, SPACE key or 5-way press.

SDK-28063 - ViewMenu can have one item in caret state and another one in down state

Once the user presses on the ViewMenu, the caret is cleared and the menu ignores any 5-way navigation.

QE notes: Shouldn't be any visual changes in this submission
Doc notes: None
Bugs: SDK-28292, SDK-28162, SDK-28135, SDK-28111, SDK-28066, SDK-28063
Reviewer:
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/layouts/ViewMenuLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as
@@ -26,11 +26,13 @@
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.events.FlexMouseEvent;
+import mx.events.ResizeEvent;
 import mx.managers.PopUpManager;

 import spark.components.Application;
 import spark.components.View;
 import spark.components.ViewMenu;
+import spark.components.ViewMenuItem;
 import spark.core.managers.IPersistenceManager;
 import spark.core.managers.PersistenceManager;

@@ -156,6 +158,9 @@
     public function set viewMenuOpen(value:Boolean):void
     {
         if (value == _viewMenuOpen)
+            return;
+
+        if (!viewMenu || !activeView.viewMenuItems || activeView.viewMenuItems.length == 0)
             return;

         _viewMenuOpen = value;
@@ -463,44 +468,62 @@

     private function viewMenu_clickHandler(event:MouseEvent):void
     {
+        if (event.target is ViewMenuItem)
+            viewMenuOpen = false;
+    }
+
+    private function viewMenu_mouseDownOutsideHandler(event:FlexMouseEvent):void
+    {
         viewMenuOpen = false;
     }

-    private function viewMenu_mouseDownOutsideHandler(event:FlexMouseEvent):void
-    {
-        viewMenuOpen = false;
+    private function viewMenu_resizeHandler(event:ResizeEvent):void
+    {
+        // Reposition the view menu?
+        currentViewMenu.y = Math.ceil(getLayoutBoundsHeight() - currentViewMenu.getLayoutBoundsHeight());
     }

     private function openViewMenu():void
     {
-        if (viewMenu)
-        {
-            currentViewMenu = ViewMenu(viewMenu.newInstance());
-            currentViewMenu.items = activeView.viewMenuItems;
-            currentViewMenu.owner = this;
-            currentViewMenu.addEventListener(MouseEvent.CLICK, viewMenu_clickHandler);
-            currentViewMenu.width = getLayoutBoundsWidth();
-
-            PopUpManager.addPopUp(currentViewMenu, this, true);
-            currentViewMenu.validateNow();
-
-            currentViewMenu.x = 0;
-            currentViewMenu.y = Math.ceil(getLayoutBoundsHeight() - currentViewMenu.getLayoutBoundsHeight());
-
-            lastFocus = getFocus();
-
-            currentViewMenu.setFocus();
-            currentViewMenu.addEventListener(FlexMouseEvent.MOUSE_DOWN_OUTSIDE, viewMenu_mouseDownOutsideHandler);
-        }
+        currentViewMenu = ViewMenu(viewMenu.newInstance());
+        currentViewMenu.items = activeView.viewMenuItems;
+        currentViewMenu.owner = this;
+        currentViewMenu.addEventListener(MouseEvent.CLICK, viewMenu_clickHandler);
+        currentViewMenu.width = getLayoutBoundsWidth();
+
+        PopUpManager.addPopUp(currentViewMenu, this, true);
+        // Force a layout pass so we can properly position the viewMenu
+        currentViewMenu.validateNow();
+
+        currentViewMenu.x = 0;
+        currentViewMenu.y = Math.ceil(getLayoutBoundsHeight() - currentViewMenu.getLayoutBoundsHeight());
+
+        lastFocus = getFocus();
+
+        currentViewMenu.setFocus();
+        currentViewMenu.addEventListener(FlexMouseEvent.MOUSE_DOWN_OUTSIDE, viewMenu_mouseDownOutsideHandler);
+
+        // Listen for resize if the icon is loaded from disk or via URL
+        currentViewMenu.addEventListener(ResizeEvent.RESIZE, viewMenu_resizeHandler);
+
+        // Private event for testing
+        if (activeView.hasEventListener("viewMenuOpen"))
+            activeView.dispatchEvent(new Event("viewMenuOpen"));
     }

     private function closeViewMenu():void
     {
         currentViewMenu.removeEventListener(FlexMouseEvent.MOUSE_DOWN_OUTSIDE, viewMenu_mouseDownOutsideHandler);
         PopUpManager.removePopUp(currentViewMenu);
+
+        // Private event for testing
+        if (activeView.hasEventListener("viewMenuClose"))
+            activeView.dispatchEvent(new Event("viewMenuClose"));
+
         currentViewMenu.caretIndex = -1;
         currentViewMenu.validateProperties();
         currentViewMenu.removeEventListener(MouseEvent.CLICK, viewMenu_clickHandler);
+        currentViewMenu.removeEventListener(ResizeEvent.RESIZE, viewMenu_resizeHandler);
         currentViewMenu.items = null;
         currentViewMenu = null;


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

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

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

 package mx.automation.codec
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 22764
Author:   smgilson@adobe.com
Date:     2011-09-28T14:59:26.216966Z

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

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as
@@ -366,7 +366,7 @@
      *  Adobe recommends that you use the getViewNavigatorAt()
      *  method to access the navigators.

      *
-     *
The popup height is not set by this component.  The height will size to
+     *
The popup height is not set by this component.  The height sizes to
      *  fit the View currently active in the ViewNavigator.  A height can be set
      *  by reskinning this component or by manually setting the height
      *  property on the viewNavigatorPopUp skinPart.

@@ -376,6 +376,9 @@
      *
      *
It is recommended that this method only be used on ViewNavigators
      *  that are currently hidden.

+     *
+     *  @param owner The owner of the popup. The popup is positioned relative to
+     *  its owner.
      *
      *  @langversion 3.0
      *  @playerversion AIR 3


Transferred from the Adobe Open Source Subversion Repository

Revision: 4335
Author:   jszeto@adobe.com
Date:     2008-12-17T00:52:56.919040Z

Log Message:
-----------
GraphicElement Optimization

- Changed how a shared displayObject is positioned in a GraphicElement. Previously, it was always placed at (x,y). Now, it is placed at (0,0) if the displayObject can be shared (ie. it has no transforms). This solves the problem of a sharedDisplayObject getting repositioned without the GraphicElement being aware of it.

- Optimized Group.updateDisplayList so that we only redraw the GraphicElement's that share a displayObject that needs to be updated. Added a new class called InvalidatingSprite which has a single property called "invalid". If a GraphicElement needs to be redrawn, it marks its shared or unshared displayObject as invalid. Group will then only update the GraphicElements whose displayObject is marked invalid. Added invalidateDisplayList calls in a few missing places.

QE Notes: Some of the mustella bitmaps need to be regenerated. The player renders differently two transformed sprites that draw the same visuals. For example, a rotated sprite at (0,0) with a drawRect at (20,20) will look from a rotated sprite at (20,20) with a drawRect at (0,0).
Doc Notes: None
Bugs: SDK-18053
Reviewer: Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Line.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/InvalidatingSprite.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxVSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -30,6 +30,7 @@
 import mx.core.AdvancedLayoutFeatures;
 import mx.core.IInvalidating;
 import mx.core.IVisualElement;
+import mx.core.InvalidatingSprite;
 import mx.core.UIComponent;
 import mx.core.UIComponentGlobals;
 import mx.core.mx_internal;
@@ -138,10 +139,10 @@
      *  @private The Sprite to draw into.
      *  If null, then we just use displayObject or sharedDisplayObject
      */
-	private var _drawnDisplayObject:Sprite;
-
-    /**
-     *  @private
+	private var _drawnDisplayObject:InvalidatingSprite;
+
+    /**
+     *  @private
      *  Whether this element needs to have its
      *  commitProperties() method called.
      */
@@ -232,6 +233,7 @@
         {
             invalidateParentSizeAndDisplayList();
             invalidateProperties();
+            invalidateDisplayList();
         }
         if(layoutFeatures != null)
 	        layoutFeatures.updatePending = true;
@@ -1818,6 +1820,7 @@
         layoutFeatures.layer = value;
         if(_host != null && _host is UIComponent)
             (_host as UIComponent).invalidateLayering();
+        invalidateProperties();
     }

     //----------------------------------
@@ -2025,16 +2028,15 @@
      */
     protected function get drawX():Number
     {
-        // Draw position depends upon which coordinate space we are located in.
-        // TODO!!! We need to apply all of the transforms of our ancestors
-        if(displayObject != null)
-            return 0;
-        var result:Number = x;
+    	// If we have a display object and we might be shared, the display object
+    	// gets moved to 0,0. Otherwise, use the x position plus the offset.
+    	// (Note that in the first case, the offset is already calculated when the
+    	// layout matrix is applied to the display object).
+    	if (displayObject != null && nextSiblingNeedsDisplayObject)
+    		return 0;
         if(layoutFeatures != null && layoutFeatures.offsets != null)
-            result +=  layoutFeatures.offsets.x;
-        return (sharedDisplayObject && (sharedDisplayObject != parent)) ?
-                    result - sharedDisplayObject.x :
-                    result;
+            return x + layoutFeatures.offsets.x;
+		return x;
     }

     //----------------------------------
@@ -2046,14 +2048,15 @@
      */
     protected function get drawY():Number
     {
-        // Draw position depends upon which coordinate space we are located in.
-        // TODO!!! We need to apply all of the transforms of our ancestors
-        if(displayObject != null)
-            return 0;
-        var result:Number = y;
+    	// If we have a display object and we might be shared, the display object
+    	// gets moved to 0,0. Otherwise, use the x position plus the offset.
+    	// (Note that in the first case, the offset is already calculated when the
+    	// layout matrix is applied to the display object).
+    	if (displayObject != null && nextSiblingNeedsDisplayObject)
+    		return 0;
         if(layoutFeatures != null && layoutFeatures.offsets != null)
-            result +=  layoutFeatures.offsets.y;
-        return sharedDisplayObject && sharedDisplayObject != parent ? result - sharedDisplayObject.y : result;
+            return y + layoutFeatures.offsets.y;
+        return y;
     }

     //----------------------------------
@@ -2105,7 +2108,11 @@
         if (displayObject)
             return displayObject;

-        displayObject = new Sprite();
+        displayObject = new InvalidatingSprite();
+        InvalidatingSprite(displayObject).invalid = true;
+
+        sharedDisplayObject = null;
+
         return displayObject;
     }

@@ -2185,7 +2192,16 @@
      */
     public function set sharedDisplayObject(value:DisplayObject):void
     {
-        _sharedDisplayObject = value;
+    	if (value !== _sharedDisplayObject)
+    	{
+    		if (_sharedDisplayObject is InvalidatingSprite)
+    			InvalidatingSprite(_sharedDisplayObject).invalid = true;
+        	_sharedDisplayObject = value;
+        	// Invalidate the old _sharedDisplayObject before reassigning it to value
+        	// This should handle the case where value == null (ie. we are no longer sharing)
+        	// Also, instead of setting invalid flag, simply call invalidateDisplayList
+        	invalidateDisplayList();
+     	}
     }

     /**
@@ -2236,7 +2252,7 @@
         else
         {
             var oldDisplayObject:DisplayObject = displayObject;
-            displayObject = new Sprite();
+            displayObject = new InvalidatingSprite();
             invalidateDisplayList();
             validateDisplayList();

@@ -2373,12 +2389,16 @@
      */
     public function invalidateDisplayList():void
     {
+    	// Mark all elements that share the display object as invalid.
+    	// Always set this because we might already be invalid when
+    	// the drawnDisplayObject is set
+		if (drawnDisplayObject is InvalidatingSprite)
+			InvalidatingSprite(drawnDisplayObject).invalid = true;
+
         if (invalidateDisplayListFlag)
             return;
+
         invalidateDisplayListFlag = true;
-
-        // TODO EGeorgie: make sure elements that share the display object
-        // will be invalidated as well.

         // TODO EGeorgie: hook up directly with the layout manager?
         if (parent)
@@ -2494,7 +2514,7 @@
 		                if (!_drawnDisplayObject)
 						{
 							// Create a new target for the drawing commands
-							_drawnDisplayObject = new Sprite();
+							_drawnDisplayObject = new InvalidatingSprite();
 							Sprite(displayObject).addChild(_drawnDisplayObject);
 						}
 	                }
@@ -3131,6 +3151,7 @@
         layoutFeatures.layoutMatrix3D = value;
         invalidateTransform(previous != needsDisplayObject,
                             false /*triggerLayout*/);
+		invalidateDisplayList();
     }

     /**
@@ -3143,23 +3164,38 @@

         if(displayObject == null)
             return;
-

         if(layoutFeatures != null)
-        {
+        {
 	        if(layoutFeatures.is3D)
 	        {
 	            displayObject.transform.matrix3D = layoutFeatures.computedMatrix3D;
 	        }
 	        else
 	        {
-	            displayObject.transform.matrix = layoutFeatures.computedMatrix;
+	        	var m:Matrix = layoutFeatures.computedMatrix.clone();
+	        	// If the displayObject is shared, then put it at 0,0
+	        	if (!nextSiblingNeedsDisplayObject)
+	        	{
+	        		m.tx = 0;
+	        		m.ty = 0;
+	        	}
+	            displayObject.transform.matrix = m;
 	        }
         }
-        else
-        {
-            displayObject.x = _x;
-            displayObject.y = _y;
+        else
+        {
+        	// If the displayObject is shared, then put it at 0,0
+        	if (nextSiblingNeedsDisplayObject)
+        	{
+        		displayObject.x = _x;
+        		displayObject.y = _y;
+        	}
+        	else
+        	{
+        		displayObject.x = 0;
+        		displayObject.y = 0;
+        	}
         }

         if (_colorTransform)


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

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

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

 package spark.primitives.supportClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5545
Author:   jimurphy@adobe.com
Date:     2009-03-25T19:00:52.330680Z

Log Message:
-----------
1st pass of rename according to the spec http://opensource.adobe.com/wiki/display/flexsdk/Dropping+the+Fx+Prefix

Flex now requires CSS Style declarations to declare @namespace rules and disambiguate between halo and spark components using CSS 3 namespace prefixes on type selectors. At compile time, this namespace information will be used to map type names to qualified ActionScript class names. At runtime, type selectors are matched on qualified ActionScript class name (for example mx.controls.Button rather than just Button). Flex 3 applications must be compiled with -compatibility-version=3.0.0 to get unqualified CSS type selector behavior.

QE: Yes, this build may help in updating test cases to use the new namespaces and class names.
Dev: Not yet
Doc: Not yet

Modified Paths:
--------------
748 paths were modified

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package mx.graphics
+package spark.primitives.supportClasses
 {
 import flash.display.Graphics;
 import flash.display.Shape;
@@ -18,7 +18,7 @@
 import flash.events.EventDispatcher;
 import flash.geom.Rectangle;

-import mx.graphics.baseClasses.GraphicElement;
+import spark.primitives.supportClasses.GraphicElement;

 import mx.core.mx_internal;
 import mx.events.PropertyChangeEvent;
@@ -39,7 +39,7 @@
  */
 public class StrokedElement extends GraphicElement
 {
-    include "../core/Version.as";
+    include "../../core/Version.as";
     //--------------------------------------------------------------------------
     //
     //  Constructor


Expose the dynamically generated assertions via ExternalInterface.

--- flash/org/windmill/Windmill.as
+++ flash/org/windmill/Windmill.as
@@ -83,7 +83,7 @@
       }
       context = config.context;

-      // Expose controller and assert methods
+      // Expose controller and non-dynamic assert methods
       // ----------------
       for (var key:String in packages) {
         // Introspect all the public packages
@@ -102,8 +102,24 @@
               genExtFunc(packages[key].packageRef[methodName]));
         }
       }
-
+
+      // Expose dynamic asserts
+      // ----------------
+      // Create all the dynamic assert methods
+      WMAssert.init();
+      // Dynamically generated asserts -- these *will not*
+      // show up via introspection with describeType, but
+      // they *are there* -- add them manually by iterating
+      // through the same list that used to build them
+      var asserts:* = WMAssert;
+      for (methodName in asserts.assertTemplates) {
+        ExternalInterface.addCallback('wm_' + methodName,
+            genExtFunc(asserts[methodName]));
+
+      }
+
       // Other misc ExternalInterface methods
+      // ----------------
       var miscMethods:Object = {
         explorerStart: WMExplorer.start,
         explorerStop: WMExplorer.stop,
@@ -111,11 +127,11 @@
         recorderStop: WMRecorder.stop,
         runASTests: ASTest.run
       }
-      // Don't care what order these happen in
       for (methodName in miscMethods) {
         ExternalInterface.addCallback('wm_' + methodName,
             genExtFunc(miscMethods[methodName]));
       }
+
     }

     public static function getStage():Stage {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4380
Author:   rfrishbe@adobe.com
Date:     2008-12-23T10:00:21.848800Z

Log Message:
-----------
Mostly rename changes in Group and FxContainer.

1.  GraphicElement.elementHost:GroupBase -> GraphicElement.parent:DisplayObjectContainer (parent already exists in the current code-base...I’m just removing elementHost now)

2.  Group content APIs now use “element” instead of “item.”  The new methods were added a while ago, but the old ones co-existed.  These particular changes remove the old methods and strongly type the new ones to deal with IVisualElements rather than Objects.  Here are the overall changes:

numItems:int -> numElements:int
getItemAt(int):Object -> getElementAt(int):IVisualElement
addItem(Object):Object -> addElement(IVisualElement):IVisualElement
addItemAt(Object, int):Object -> addElementAt(IVisualElement, int):IVisualElement
removeItem(Object):Object -> removeElement(IVisualElement):IVisualElement
removeItemAt(int):Object -> removeElementAt(int):IVisualElement
getItemIndex(Object):int -> getElementIndex(IVisualElement):int
setItemIndex(Object, int):void -> setElementIndex(IVisualElement, int):void
swapItems(Object, Object):void -> swapElements(IVisualElement, IVisualElement):void
swapItemsAt(int, int):void -> swapElementsAt(int, int):void

3.  Group and FxContainer's mxmlContent property is now strongly typed as an Array of IVisualElements instead of an Object

4.  Removing ITransformable...there's no need for it.

5.  Had to update Mustella for these changes (the Perforce changes are checked in, and here's the mustella.swc change for checkintests)

QE Notes: Joan and Steve worked with me on changing all the SDK QA tests.
Doc Notes: None
Bugs: SDK-18063
Reviewer: Jason
tests: checkintests, Mustella FxContainer, Group, and DataGroup (Joan ran all tests on an earlier version of these changes, so hopefully nothing broke in the meantime).  Some of the Group/DataGroup ones were failing for me, but I'm pretty sure they're all excluded (tests don't seem to exclude for me when I VPN in...)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/ITransformable.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/flex4/flex4test_testScript.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/testWheel.mxml</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/wireframe/src/wireframe/FxDefaultComplexItemRenderer.mxml</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/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElementContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/mustella/mustella.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDefaultComplexItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/framework/src/mx/core/IVisualElementContainer.as
+++ frameworks/projects/framework/src/mx/core/IVisualElementContainer.as
@@ -11,7 +11,7 @@

 package mx.core
 {
-import flash.events.IEventDispatcher;
+

 /**
  *  Documentation is not currently available.
@@ -38,7 +38,7 @@
      *
      *  @throws RangeError If the index position does not exist in the child list.
      */
-    function getElementAt(index:int):Object
+    function getElementAt(index:int):IVisualElement

     //----------------------------------
     //  Visual Element addition
@@ -63,7 +63,7 @@
      *
      *  @throws ArgumentError If the element is the same as the visual container.
      */
-    function addElement(element:Object):Object;
+    function addElement(element:IVisualElement):IVisualElement;

     /**
      *  Adds a visual element to this visual container. The element is
@@ -91,7 +91,7 @@
      *
      *  @throws RangeError If the index position does not exist in the child list.
      */
-    function addElementAt(element:Object, index:int):Object;
+    function addElementAt(element:IVisualElement, index:int):IVisualElement;

     //----------------------------------
     //  Visual Element removal
@@ -109,7 +109,7 @@
      *  @throws ArgumentError If the element parameter is not a child of
      *  this visual container.
      */
-    function removeElement(element:Object):Object;
+    function removeElement(element:IVisualElement):IVisualElement;

     /**
      *  Removes a visual element from the specified index position
@@ -121,7 +121,7 @@
      *
      *  @throws RangeError If the index does not exist in the child list.
      */
-    function removeElementAt(index:int):Object;
+    function removeElementAt(index:int):IVisualElement;

     //----------------------------------
     //  Visual Element index
@@ -136,7 +136,7 @@
      *
      *  @throws ArgumentError If the element is not a child of this visual container.
      */
-    function getElementIndex(element:Object):int;
+    function getElementIndex(element:IVisualElement):int;

     /**
      *  Changes the position of an existing visual element in the visual container.
@@ -161,7 +161,7 @@
      *  @throws ArgumentError - If the element parameter is not a child
      *  of this visual container.
      */
-    function setElementIndex(element:Object, index:int):void;
+    function setElementIndex(element:IVisualElement, index:int):void;

     //----------------------------------
     //  Visual Element swapping
@@ -174,7 +174,7 @@
      *  @param element1 The first visual element.
      *  @param element2 The second visual element.
      */
-    function swapElements(element1 :Object, element2 :Object):void;
+    function swapElements(element1:IVisualElement, element2:IVisualElement):void;

     /**
      *  Swaps the visual elements at the two specified index


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

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

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

 package mx.messaging.messages
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

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

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

 package mx.messaging.messages
 {


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

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


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 12554
Author:   dsubrama@adobe.com
Date:     2009-12-04T22:44:10.552584Z

Log Message:
-----------
In anticipation of deferring SDK-24211, I am making List.findKey and List.findString methods mx_internal. When we fix SDK-24211, we will probably collapse/remove those two methods

QE notes: This shouldn't affect tests unless you subclass these methods in which case you'll need to change the function signature.
Doc notes: No
Bugs: No
Reviewer: Evtim
Tests run: Checkintests
Is noteworthy for integration: Yes

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/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as
@@ -680,7 +680,7 @@
     /**
      *  @private
      */
-    override protected function findKey(eventCode:int):Boolean
+    override mx_internal function findKey(eventCode:int):Boolean
     {
         if (!dataProvider || dataProvider.length == 0)
             return false;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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