Transferred from the Adobe Open Source Subversion Repository

Revision: 1098
Author:   jimurphy@adobe.com
Date:     2008-04-03T21:50:39.896200Z

Log Message:
-----------
Merge 3.0.x -- 362:394, 427:429, 603:608, 644:645, 651:663, 672:676, 755:756, 763:766, 785:790, 812:814, 854:861, 862:866, 866:933,971:1009, 1050:1056 --> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/DefaultDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VRule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IList.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/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IRepeaterClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/VideoError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/Locale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IBrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ComponentDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IViewCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/IMenuItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ILayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Spacer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Fault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/XMLListCollection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SliderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ScrollEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/CuePointManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/NumericStepperEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/events/ChannelFaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/CursorBookmark.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/LoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/FlexClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/SubscriptionInfo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/DescribeTypeCache.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/LogLogger.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/projects/rpc/src/mx/messaging/MessageAgent.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/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/HeaderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/ITreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>

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

--- frameworks/projects/framework/src/mx/resources/ResourceManager.as
+++ frameworks/projects/framework/src/mx/resources/ResourceManager.as
@@ -79,8 +79,21 @@
     {
         if (!instance)
         {
-            instance = IResourceManager(
-				Singleton.getInstance("mx.resources::IResourceManager"));
+            try
+			{
+				instance = IResourceManager(
+					Singleton.getInstance("mx.resources::IResourceManager"));
+			}
+			catch(e:Error)
+			{
+				// In non-Flex apps and modules, the Singleton manager
+				// won't have been initialized by SystemManager
+				// or FlexModuleFactory (since these don't get linked in)
+				// so the above call to getInstance() will throw an exception.
+				// In this situation, the ResourceManager simply creates
+				// its own ResourceManagerImpl.
+				instance = new ResourceManagerImpl();
+			}
         }

         return instance;


PUBLISH message Qos condition

PUBLISH message Qos condition

PUBLISH message Qos condition

--- MQTTClient_AS3/src/com/godpaper/mqtt/as3/impl/MQTTSocket.as
+++ MQTTClient_AS3/src/com/godpaper/mqtt/as3/impl/MQTTSocket.as
@@ -630,17 +630,19 @@
 			//Actions
 			var varHead:ByteArray=packet.readMessageValue();
 			var length:uint = (varHead.readUnsignedByte() << 8) + varHead.readUnsignedByte();
-			var topicName:String = varHead.readMultiByte(length, "utf8");
-			var messageId:uint = (varHead.readUnsignedByte() << 8) + varHead.readUnsignedByte();
+			var topicName:String = varHead.readMultiByte(length, "utf");
+			if( packet.readQoS() ){
+				var messageId:uint = (varHead.readUnsignedByte() << 8) + varHead.readUnsignedByte();
+				LOG.info("Publish Message ID {0}", messageId);
+			}
 			var payLoad:ByteArray = packet.readPayLoad();
 			length = (payLoad.readUnsignedByte() << 8) + payLoad.readUnsignedByte();
 			if( length > payLoad.length ){
 				length = payLoad.length;
 				payLoad.position = 0;
 			}
-			var topicContent:String = payLoad.readMultiByte(length, "utf8");
-
-			LOG.info("Publish Message ID {0}", messageId);
+			var topicContent:String = payLoad.readMultiByte(length, "utf");
+
 			LOG.info("Publish TopicName {0}", topicName);
 			LOG.info("Publish TopicContent {0}", topicContent);


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

--- frameworks/projects/advancedgrids/src/mx/controls/listClasses/AdvancedListBase.as
+++ frameworks/projects/advancedgrids/src/mx/controls/listClasses/AdvancedListBase.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.controls.listClasses


FLEX-33999 changed to correct DPI value

FLEX-33999 changed to correct DPI value

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/BeveledActionButtonSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/BeveledActionButtonSkin.as
@@ -111,9 +111,9 @@
 				measuredDefaultWidth = 84;
 				measuredDefaultHeight = 84;

-				upBorderSkin = spark.skins.mobile240.assets.BeveledActionButton_up;
-				downBorderSkin = spark.skins.mobile240.assets.BeveledActionButton_down;
-				fillClass = spark.skins.mobile240.assets.BeveledActionButton_fill;
+				upBorderSkin = spark.skins.mobile480.assets.BeveledActionButton_up;
+				downBorderSkin = spark.skins.mobile480.assets.BeveledActionButton_down;
+				fillClass = spark.skins.mobile480.assets.BeveledActionButton_fill;

 				break;
 			}


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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridListData.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridListData.as
@@ -0,0 +1,195 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.controls.advancedDataGridClasses
+{
+
+import mx.controls.dataGridClasses.DataGridListData;
+import mx.core.IUIComponent;
+
+/**
+ *  The AdvancedDataGridListData class defines the data type of the listData property
+ *  implemented by drop-in item renderers or drop-in item editors for the AdvancedDataGrid control.
+ *  All drop-in item renderers and drop-in item editors must implement the
+ *  IDropInListItemRenderer interface, which defines the listData property.
+ *
+ *
While the properties of this class are writable, you should consider them to
+ *  be read only. They are initialized by the AdvancedDataGrid class, and read by an item renderer
+ *  or item editor. Changing these values can lead to unexpected results.

+ *
+ *  @see mx.controls.listClasses.IDropInListItemRenderer
+ *  @see mx.controls.AdvancedDataGrid
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class AdvancedDataGridListData extends DataGridListData
+{
+    include "../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param text Text representation of the item data.
+     *
+     *  @param dataField Name of the field or property
+     *    in the data provider associated with the column.
+     *
+     *  @param uid A unique identifier for the item.
+     *
+     *  @param owner A reference to the AdvancedDataGrid control.
+     *
+     *  @param rowIndex The index of the item in the data provider for the AdvancedDataGrid control.
+     *
+     *  @param columnIndex The index of the column in the currently visible columns of the
+     *  control.
+     *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function AdvancedDataGridListData(text:String, dataField:String,
+                                 columnIndex:int, uid:String,
+                                 owner:IUIComponent, rowIndex:int = 0 )
+    {
+        super(text, dataField, columnIndex, uid, owner, rowIndex);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  depth
+    //----------------------------------
+
+	[Bindable("__NoChangeEvent__")]
+
+    /**
+     *  The level of the item in the AdvancedDataGrid control. The top level is 1.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var depth:int;
+
+    //----------------------------------
+    //  disclosureIcon
+    //----------------------------------
+
+	[Bindable("__NoChangeEvent__")]
+
+    /**
+     *  A Class representing the disclosure icon for the item in the AdvancedDataGrid control.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var disclosureIcon:Class;
+
+    //----------------------------------
+    //  hasChildren
+    //----------------------------------
+
+	[Bindable("__NoChangeEvent__")]
+
+    /**
+     *  Contains true if the item has children.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var hasChildren:Boolean;
+
+    //----------------------------------
+    //  icon
+    //----------------------------------
+
+	[Bindable("__NoChangeEvent__")]
+
+    /**
+     *  A Class representing the icon for the item in the AdvancedDataGrid control.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var icon:Class;
+
+    //----------------------------------
+    //  indent
+    //----------------------------------
+
+	[Bindable("__NoChangeEvent__")]
+
+    /**
+     *  The default indentation for this row of the AdvancedDataGrid control.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var indent:int;
+
+    //----------------------------------
+    //  node
+    //----------------------------------
+
+	[Bindable("__NoChangeEvent__")]
+
+    /**
+     *  The data for this item in the AdvancedDataGrid control.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var item:Object;
+
+    //----------------------------------
+    //  open
+    //----------------------------------
+
+	[Bindable("__NoChangeEvent__")]
+
+    /**
+     *  Contains true if the item is open and it has children.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var open:Boolean;
+}
+
+}


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

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

 package mx.binding
 {


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

--- frameworks/projects/framework/src/mx/collections/ICollectionView.as
+++ frameworks/projects/framework/src/mx/collections/ICollectionView.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.collections
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2954
Author:   chaase@adobe.com
Date:     2008-08-22T01:01:32.343242Z

Log Message:
-----------
Fixes to some ending and repeat bugs in the new Flex4 effects, plus refactoring of Sine/Power to subclass from new class, EaseInOut, which takes care of common easing in/out functionality and simplifies each subclass.

reviewed by: Jason S
tests: checkintests, mustella tests/Effects

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animation.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/EaseInOut.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Sine.as</path>

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

--- frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as
+++ frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as
@@ -0,0 +1,146 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 flex.effects.easing
+{
+/**
+ * The superclass for classes that provide easing capability where there
+ * is an easing-in portion of the animation followed by an easing-out portion.
+ * The default behavior of this class will simply return a linear
+ * interpolation for both easing phases; developers should create a subclass
+ * of EaseInOut to get more interestion behavior.
+ */
+public class EaseInOut implements IEaser
+{
+    /**
+     * A utility constant which, when supplied as the
+     * easeInFraction, will create an easing instance
+     * that spends the entire animation easing in. This is equivalent
+     * to simply using the easeInFraction = 1.
+     */
+    public static const IN:Number = 1;
+
+    /**
+     * A utility constant which, when supplied as the
+     * easeInFraction, will create an easing instance
+     * that spends the entire animation easing out. This is equivalent
+     * to simply using the easeInFraction = 0.
+     */
+    public static const OUT:Number = 0;
+
+    /**
+     * A utility constant which, when supplied as the
+     * easeInFraction, will create an easing instance
+     * that eases in for the first half and eases out for the
+     * remainder. This is equivalent
+     * to simply using the easeInFraction = .5.
+     */
+    public static const IN_OUT:Number = .5;
+
+    /**
+     * Constructs an EaseInOut instance with an optional easeInFraction
+     * parameter.
+     *
+     * @param easeInFraction Optional parameter that sets the value of
+     * the easeInFraction property.
+     */
+    public function EaseInOut(easeInFraction:Number = EaseInOut.IN_OUT)
+    {
+        this.easeInFraction = easeInFraction;
+    }
+
+    /**
+     * Storage for the _easeInFraction property
+     */
+    private var _easeInFraction:Number;
+
+    /**
+     * The percentage of an animation that should be spent accelerating
+     * according to the power formula. This factor sets an implicit
+     * "easeOut" parameter, equal to (1 - easeIn), so that any time not
+     * spent easing in is spent easing out. For example, to have an easing
+     * equation that spends half the time easing in and half easing out,
+     * set easeIn equal to .5.
+     *
+     * @see IN
+     * @see OUT
+     * @see IN_OUT
+     *
+     * @default .5
+     */
+    public function get easeInFraction():Number
+    {
+        return _easeInFraction;
+    }
+    public function set easeInFraction(value:Number):void
+    {
+        _easeInFraction = value;
+    }
+
+    /**
+     * @inheritDoc
+     *
+     * Calculates the eased fraction value based on the
+     * easeInFraction property. If the given
+     * fraction is less than easeInFraction,
+     * this will call the easeIn() function, otherwise it
+     * will call the easeOut() function. It is expected
+     * that these functions are overridden in a subclass.
+     *
+     * @param fraction The elapsed fraction of the animation
+     * @return The eased fraction of the animation
+     */
+    public function ease(fraction:Number):Number
+    {
+        var easeOutFraction:Number = 1 - easeInFraction;
+
+        if (fraction <= easeInFraction && easeInFraction > 0)
+            return easeInFraction * easeIn(fraction/easeInFraction);
+        else
+            return easeInFraction + easeOutFraction *
+                easeOut((fraction - easeInFraction)/easeOutFraction);
+    }
+
+    /**
+     * Returns a value that represents the eased fraction during the
+     * ease-in part of the curve. The value returned by this class
+     * is simply the fraction itself, which represents a linear
+     * interpolation of the fraction. More interesting behavior is
+     * implemented by subclasses of EaseInOut.
+     *
+     * @param fraction The fraction elapsed of the easing-in portion
+     * of the animation.
+     * @return A value that represents the eased value for this
+     * part of the animation.
+     */
+    protected function easeIn(fraction:Number):Number
+    {
+        return fraction;
+    }
+
+    /**
+     * Returns a value that represents the eased fraction during the
+     * ease-out part of the curve. The value returned by this class
+     * is simply the fraction itself, which represents a linear
+     * interpolation of the fraction. More interesting behavior is
+     * implemented by subclasses of EaseInOut.
+     *
+     * @param fraction The fraction elapsed of the easing-out portion
+     * of the animation.
+     * @return A value that represents the eased value for this
+     * part of the animation.
+     */
+    protected function easeOut(fraction:Number):Number
+    {
+        return fraction;
+    }
+
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 21960
Author:   aaltman@adobe.com
Date:     2011-08-12T21:09:59.193901Z

Log Message:
-----------
Gave StageTextAreaSkin the same default height as mobile TextAreaSkin
Fixed StageText-based skins to not send negative dimensions to StageText
Fixed popup visibility event dispatching and handling by StyleableStageText

QE notes: None
Doc notes: None
Bugs: SDK-31154, SDK-31128, SDK-31111, SDK-31062, SDK-30976
Reviewer: cframpto, aharui
Tests run: checkintests, mustella, mustella-AIR, mustella-mobile, mxunit
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableStageText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextInputSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextInputSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextInputSkin.as
@@ -77,8 +77,8 @@
         var paddingTop:Number = getStyle("paddingTop");
         var paddingBottom:Number = getStyle("paddingBottom");

-        var unscaledTextWidth:Number = unscaledWidth - paddingLeft - paddingRight;
-        var unscaledTextHeight:Number = unscaledHeight - paddingTop - paddingBottom;
+        var unscaledTextWidth:Number = Math.max(0, unscaledWidth - paddingLeft - paddingRight);
+        var unscaledTextHeight:Number = Math.max(0, unscaledHeight - paddingTop - paddingBottom);

         // default vertical positioning is centered
         var textHeight:Number = getElementPreferredHeight(textDisplay);


FLEX-34229 accept patch from Mihai Chira

--- frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as
@@ -513,7 +513,7 @@
     {
         // trace("destroyItemEditor");
         if (grid.root)
-            grid.systemManager.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true);
+            grid.systemManager.removeEventListener(Event.DEACTIVATE, deactivateHandler);

         grid.systemManager.getSandboxRoot().
             removeEventListener(MouseEvent.MOUSE_DOWN, sandBoxRoot_mouseDownHandler, true);


Improve the comments I added yesterday to save().

git-svn-id: 7d913817b0a978d84de757191e4bce372605a781@1409473 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as
@@ -181,7 +181,7 @@

         if (_data && column.dataField)
         {
-            // If complex data need to dig the data value out of the correct object.
+            // If complex field reference need to dig the data value out of the correct object.
             var dataFieldPath:Array = column.dataFieldPath;
             this.value = column.dataFieldPath.length == 1 ?
                 _data[column.dataField] :
@@ -464,12 +464,15 @@
         var data:Object = data;
         var typeInfo:String = "";

-        // Handle complex data field by drilling down to the correct object.
-        // Complex data fields means dataFieldPath.length > 1.
-        for (var i:int = 0; i < column.dataFieldPath.length - 1; i++)
-            data = data[column.dataFieldPath[i]];
-
-        property = column.dataFieldPath[i];
+        // If a complex field reference need to get the parent object where the property
+        // will be updated.  It is a complex field reference if dataFieldPath.length > 1.
+        // Note that if the path is incorrect there will be a ReferenceError either here or
+        // when accessing the invalid property below.
+        var dataFieldPath:Array = column.dataFieldPath;
+        for (var i:int = 0; i < dataFieldPath.length - 1; i++)
+            data = data[dataFieldPath[i]];
+
+        property = dataFieldPath[i];

         for each(var variable:XML in describeType(data).variable)
         {


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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridDragProxy.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridDragProxy.as
@@ -0,0 +1,198 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.controls.advancedDataGridClasses
+{
+
+import flash.display.DisplayObject;
+import flash.geom.Point;
+
+import mx.collections.IGroupingCollection;
+import mx.collections.IGroupingCollection2;
+import mx.controls.AdvancedDataGrid;
+import mx.controls.listClasses.IDropInListItemRenderer;
+import mx.controls.listClasses.IListItemRenderer;
+import mx.core.UIComponent;
+import mx.core.mx_internal;
+
+use namespace mx_internal;
+
+/**
+ *  The AdvancedDataGridDragProxy class defines the default drag proxy
+ *  used when dragging data from an AdvancedDataGrid control.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class AdvancedDataGridDragProxy extends UIComponent
+{
+    include "../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function AdvancedDataGridDragProxy()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function createChildren():void
+    {
+        super.createChildren();
+
+        var advancedDataGrid:AdvancedDataGrid = AdvancedDataGrid(owner);
+
+        var items:Array /* of unit */ = advancedDataGrid.selectedItems;
+
+        var n:int = items.length;
+        for (var i:int = 0; i < n; i++)
+        {
+            var src:IListItemRenderer = advancedDataGrid.itemToItemRenderer(items[i]);
+            if (!src)
+                continue;
+
+            var o:UIComponent;
+
+            var data:Object = items[i];
+
+            o = new UIComponent();
+            addChild(DisplayObject(o));
+
+            var ww:Number = 0;
+
+            var m:int = advancedDataGrid.visibleColumns.length;
+            for (var j:int = 0; j < m; j++)
+            {
+                var col:AdvancedDataGridColumn = advancedDataGrid.visibleColumns[j];
+
+                var c:IListItemRenderer = advancedDataGrid.getRenderer(col, data, true);
+
+                var label:String = col.itemToLabel(data);
+                if (advancedDataGrid._rootModel &&
+                     col.colNum == 0 && advancedDataGrid._rootModel.canHaveChildren(data))
+                {
+                    // if the data is grouped, get the groupLabelField.
+                    var groupLabelField:String;
+                    if (advancedDataGrid._rootModel is IGroupingCollection
+                         && IGroupingCollection(advancedDataGrid._rootModel).grouping)
+                        groupLabelField = IGroupingCollection(advancedDataGrid._rootModel).grouping.label;
+
+					// check for GroupingCollection2 also
+					if (advancedDataGrid._rootModel is IGroupingCollection2
+						&& IGroupingCollection2(advancedDataGrid._rootModel).grouping)
+						groupLabelField = IGroupingCollection2(advancedDataGrid._rootModel).grouping.label;
+
+                    // Checking for a groupLabelFunction or a groupLabelField property to be present
+                    if (advancedDataGrid.groupLabelFunction != null)
+                        label = advancedDataGrid.groupLabelFunction(data, col);
+                    else if (groupLabelField != null && data.hasOwnProperty(groupLabelField))
+                        label = data[groupLabelField];
+                }
+
+                var rowData:AdvancedDataGridListData = new AdvancedDataGridListData(
+                    label, col.dataField,
+                    col.colNum, "", advancedDataGrid);
+
+                if (c is IDropInListItemRenderer)
+                {
+                    IDropInListItemRenderer(c).listData =
+                        data ? rowData : null;
+                }
+
+                c.data = data;
+                c.styleName = advancedDataGrid;
+                c.visible = true;
+
+                o.addChild(DisplayObject(c));
+
+                var itemWidth:Number = advancedDataGrid.getWidthOfItem(c, col, j);
+                c.setActualSize(itemWidth, src.height);
+                c.move(ww, 0);
+
+                ww += itemWidth;
+
+                if (advancedDataGrid.rendererProviders.length != 0)
+                {
+                    var adgDescription:AdvancedDataGridRendererDescription =
+                        advancedDataGrid.getRendererDescription(data, col, true);
+                    if (adgDescription && adgDescription.renderer)
+                    {
+                        if (adgDescription.columnSpan == 0)
+                            break;
+                        else
+                            j += adgDescription.columnSpan - 1;
+                    }
+                }
+            }
+
+            o.setActualSize(ww, src.height);
+            var pt:Point = new Point(0, 0);
+			pt = DisplayObject(src).localToGlobal(pt);
+			pt = AdvancedDataGrid(owner).globalToLocal(pt);
+			o.y = pt.y;
+
+            measuredHeight = o.y + o.height;
+            measuredWidth = ww;
+        }
+
+        invalidateDisplayList();
+    }
+
+    /**
+     *  @private
+     */
+    override protected function measure():void
+	{
+		super.measure();
+
+		var w:Number = 0;
+		var h:Number = 0;
+		var child:UIComponent;
+
+		for (var i:int = 0; i < numChildren; i++)
+		{
+			child = getChildAt(i) as UIComponent;
+
+			if (child)
+			{
+				w = Math.max(w, child.x + child.width);
+				h = Math.max(h, child.y + child.height);
+			}
+		}
+
+		measuredWidth = measuredMinWidth = w;
+		measuredHeight = measuredMinHeight = h;
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 153
Author:   proberts@adobe.com
Date:     2008-01-10T20:22:23.867658Z

Log Message:
-----------
Severity: ignore
Description: docs update -- added @productVersion tag to Flex AIR classes' class descriptions.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.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/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<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/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>

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

--- frameworks/projects/airframework/src/mx/controls/FileSystemList.as
+++ frameworks/projects/airframework/src/mx/controls/FileSystemList.as
@@ -237,7 +237,9 @@
  *  />
  *  </pre>
  *
- * @see flash.filesystem.File
+ *  @see flash.filesystem.File
+ *
+ *  @productversion Apollo 1.0
  */
 public class FileSystemList extends List
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20469
Author:   deeptika@adobe.com
Date:     2011-02-25T08:24:20.831658Z

Log Message:
-----------
Adding delegate for PopUpAnchor component.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/manifest_automation_spark.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/AutomationSparkClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkPopUpAnchorAutomationImpl.as</path>

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

--- frameworks/projects/automation_spark/src/AutomationSparkClasses.as
+++ frameworks/projects/automation_spark/src/AutomationSparkClasses.as
@@ -39,6 +39,7 @@
 		import spark.automation.delegates.components.SparkNavigatorContentAutomationImpl;SparkNavigatorContentAutomationImpl;
 		import spark.automation.delegates.components.SparkNumericStepperAutomationImpl;SparkNumericStepperAutomationImpl;
 		import spark.automation.delegates.components.SparkPanelAutomationImpl;SparkPanelAutomationImpl;
+		import spark.automation.delegates.components.SparkPopUpAnchorAutomationImpl;SparkPopUpAnchorAutomationImpl;
 		import spark.automation.delegates.components.SparkRadioButtonAutomationImpl;SparkRadioButtonAutomationImpl;
 		import spark.automation.delegates.components.SparkSkinnableContainerAutomationImpl;SparkSkinnableContainerAutomationImpl;
 		import spark.automation.delegates.components.SparkSkinnableDataContainerAutomationImpl;SparkSkinnableDataContainerAutomationImpl;


Transferred from the Adobe Open Source Subversion Repository

Revision: 15361
Author:   deeptika@adobe.com
Date:     2010-04-13T06:49:04.707695Z

Log Message:
-----------
Merging revision 15360 from 4.x branch to trunk.
Removing a few unwanted changes to the positioning of drag proxy.
QE notes:
Doc notes:
Bugs: FLEXDMV-2365 ([Mirroring] When layoutDirection is 'rtl', image of the chart item which is being dragged is seen away from mouse pointer)
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/charts/chartClasses/ChartBase.as</path>

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

--- frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as
+++ frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as
@@ -5031,11 +5031,7 @@
 						new Point(event.localX, event.localY));
 		proxyOrigin = globalToLocal(proxyOrigin);

-		var xOffset:Number;
-		if(layoutDirection == LayoutDirection.RTL)
-			xOffset = - (proxyOrigin.x - event.localX - width);
-		else
-			xOffset = - (proxyOrigin.x - event.localX);
+		var xOffset:Number = - (proxyOrigin.x - event.localX);
 		var yOffset:Number = - (proxyOrigin.y - event.localY);
 		DragManager.doDrag(this, dragSource, event, dragImage,
                            xOffset, yOffset, 0.5, dragMoveEnabled);


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

--- frameworks/projects/framework/src/mx/events/CollectionEventKind.as
+++ frameworks/projects/framework/src/mx/events/CollectionEventKind.as
@@ -0,0 +1,82 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+
+/**
+ *  The CollectionEventKind class contains constants for the valid values
+ *  of the mx.events.CollectionEvent class kind property.
+ *  These constants indicate the kind of change that was made to the collection.
+ *
+ *  @see mx.events.CollectionEvent
+ */
+public final class CollectionEventKind
+{
+	include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Indicates that the collection added an item or items.
+     */
+    public static const ADD:String = "add";
+
+    /**
+     *  Indicates that the item has moved from the position identified
+     *  by the CollectionEvent oldLocation property to the
+	 *  position identified by the location property.
+     */
+    public static const MOVE:String = "move";
+
+    /**
+     *  Indicates that the collection applied a sort, a filter, or both.
+     *  This change can potentially be easier to handle than a RESET.
+     */
+    public static const REFRESH:String = "refresh";
+
+    /**
+     *  Indicates that the collection removed an item or items.
+     */
+    public static const REMOVE:String = "remove";
+
+    /**
+     *  Indicates that the item at the position identified by the
+     *  CollectionEvent location property has been replaced.
+     */
+    public static const REPLACE:String = "replace";
+
+    /**
+    *  Indicates that the collection has internally expanded.
+    *  This event kind occurs when a branch opens in a
+	*  hierarchical collection, for example when a Tree control branch opens.
+    */
+    mx_internal static const EXPAND:String = "expand";
+
+    /**
+     *  Indicates that the collection has changed so drastically that
+     *  a reset is required.
+     */
+    public static const RESET:String = "reset";
+
+    /**
+     *  Indicates that one or more items were updated within the collection.
+     *  The affected item(s) or their associated ObjectChangeEvent objects
+     *  are stored in the items property.
+     */
+    public static const UPDATE:String = "update";
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 4105
Author:   gosmith@adobe.com
Date:     2008-11-14T00:14:03.288087Z

Log Message:
-----------
TextView now supports infinite-level undo using TLF's UndoManager. When it loses focus, it clears its undo/redo stack. (You can get different behavior using some mx_internal APIs if you really need it.)

QE Notes: New functionality to test.
Doc Notes: None
Bugs: SDK-18088
Reviewer: Evtim

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -15,6 +15,7 @@
 import flash.display.BlendMode;
 import flash.display.Graphics;
 import flash.events.Event;
+import flash.events.FocusEvent;
 import flash.geom.Rectangle;
 import flash.text.engine.ElementFormat;
 import flash.text.engine.FontDescription;
@@ -33,7 +34,9 @@
 import flashx.textLayout.conversion.ConversionType;
 import flashx.textLayout.edit.EditManager;
 import flashx.textLayout.edit.ISelectionManager;
+import flashx.textLayout.edit.IUndoManager;
 import flashx.textLayout.edit.SelectionFormat;
+import flashx.textLayout.edit.UndoManager;
 import flashx.textLayout.elements.Configuration;
 import flashx.textLayout.elements.FlowElement;
 import flashx.textLayout.elements.ParagraphElement;
@@ -213,6 +216,10 @@
         super();

         _content = textFlow = createEmptyTextFlow();
+
+        mx_internal::undoManager.undoAndRedoItemLimit = int.MAX_VALUE;
+
+        addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler);
     }

     //--------------------------------------------------------------------------
@@ -294,6 +301,16 @@
      *  @private
      */
     mx_internal var passwordChar:String = "*";
+
+    /**
+     *  @private
+     */
+    mx_internal var undoManager:IUndoManager = new UndoManager();
+
+    /**
+     *  @private
+     */
+    mx_internal var clearUndoOnFocusOut:Boolean = true;

     //--------------------------------------------------------------------------
     //
@@ -1134,7 +1151,10 @@
             textFlow.flowComposer = flowComposer;

             // Give it an EditManager to make it editable.
-            var editManager:TextViewEditManager = new TextViewEditManager();
+
+            var editManager:TextViewEditManager =
+                new TextViewEditManager(mx_internal::undoManager);
+
             // TODO! Temporary workaround because selectionColor
             // isn't getting set for FxApplications.
             var selectionColor:* = getStyle("selectionColor");
@@ -1154,6 +1174,7 @@
             editManager.inactiveSelectionFormat = new SelectionFormat(
                 getStyle("inactiveSelectionColor"), inactiveAlpha,
                 BlendMode.NORMAL);
+
             textFlow.interactionManager = editManager;

             // Listen to events from the TextFlow and its EditManager.
@@ -1611,6 +1632,22 @@

     //--------------------------------------------------------------------------
     //
+    //  Overridden event handlers: UIComponent
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function focusOutHandler(event:FocusEvent):void
+    {
+        // By default, we clear the undo history when a TextView loses focus.
+        if (mx_internal::clearUndoOnFocusOut)
+            mx_internal::undoManager.clear();
+    }
+
+    //--------------------------------------------------------------------------
+    //
     //  Event handlers
     //
     //--------------------------------------------------------------------------
@@ -1817,13 +1854,14 @@
 ////////////////////////////////////////////////////////////////////////////////

 import flashx.textLayout.edit.EditManager;
+import flashx.textLayout.edit.IUndoManager;
 import flashx.textLayout.operations.FlowOperation;

 class TextViewEditManager extends EditManager
 {
-    public function TextViewEditManager()
-    {
-        super();
+    public function TextViewEditManager(undoManager:IUndoManager = null)
+    {
+        super(undoManager);
     }

     public function execute(flowOperation:FlowOperation):void


Added "_self" to the Flash version of LaunchEmail to stop it opening up a blank web page.

--HG--
extra : convert_revision : svn%3Ae934d3cd-0d57-f34a-94d0-9e8d31ae1c29/trunk%40188

--- src/diddy/native/diddy.flash.as
+++ src/diddy/native/diddy.flash.as
@@ -47,6 +47,6 @@
 	static public function launchEmail(email:String, subject:String, text:String):void
 	{
 		var adobeURL:URLRequest = new URLRequest("mailto:"+email+"&subject="+subject+"&body="+text+"");
-		navigateToURL(adobeURL);
+		navigateToURL(adobeURL, "_self");
 	}
 }


substitute() behaves more consistently now

Change-Id: I11a7edcbc1b27b5ac9d587c1d7d2459b5f33be19

--- WeaveCore/src/weave/compiler/StandardLib.as
+++ WeaveCore/src/weave/compiler/StandardLib.as
@@ -159,6 +159,8 @@
 			return string;
 		}

+		private static const argRef:RegExp = new RegExp("^(0|[1-9][0-9]*)\}");
+
 		/**
 		 * Substitutes "{n}" tokens within the specified string with the respective arguments passed in.
 		 * Same syntax as StringUtil.substitute() without the side-effects of using String.replace() with a regex.
@@ -167,14 +169,21 @@
 		 */
 		public static function substitute(format:String, ...args):String
 		{
-			for (var i:int = 0; i < args.length; i++)
-			{
-				var str:String = '{' + i + '}';
-				var j:int = int.MAX_VALUE;
-				while ((j = format.lastIndexOf(str, j)) >= 0)
-					format = format.substr(0, j) + args[i] + format.substr(j + str.length);
-			}
-			return format;
+			var split:Array = format.split('{')
+			var output:String = split[0];
+			for (var i:int = 1; i < split.length; i++)
+			{
+				var str:String = split[i] as String;
+				if (argRef.test(str))
+				{
+					var j:int = str.indexOf("}");
+					output += args[str.substring(0, j)];
+					output += str.substring(j + 1);
+				}
+				else
+					output += "{" + str;
+			}
+			return output;
 		}

 		/**


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

--- frameworks/projects/mx/src/mx/controls/ComboBase.as
+++ frameworks/projects/mx/src/mx/controls/ComboBase.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2002-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.controls
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

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

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

--- frameworks/projects/mx/src/mx/events/ScrollEvent.as
+++ frameworks/projects/mx/src/mx/events/ScrollEvent.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3541
Author:   shodgson@adobe.com
Date:     2008-10-09T18:24:11.459494Z

Log Message:
-----------
Bug: BLZ-245 - Channel failover not working correctly on blazeds/trunk.
QA: Yes
Doc: No
Checkintests Pass: Yes

Details:
* Fix to correctly set reconnecting state in all failover code paths.

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

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

--- frameworks/projects/rpc/src/mx/messaging/Channel.as
+++ frameworks/projects/rpc/src/mx/messaging/Channel.as
@@ -997,14 +997,7 @@
         }
         else // Not attempting failover.
         {
-    	    // If we own the wait guard for initial Channel connects release it.
-    	    if (_ownsWaitGuard)
-    	    {
-    	        _ownsWaitGuard = false;
-    	        FlexClient.getInstance().waitForFlexClientId = false; // Allow other Channels to connect.
-    	    }
-
-            _connecting = false;
+    	    connectCleanup();
         }

         if (reconnecting)
@@ -1018,18 +1011,10 @@
 	 */
 	protected function connectSuccess():void
 	{
-	    // If we own the wait guard for initial Channel connects release it.
-	    if (_ownsWaitGuard)
-	    {
-	        _ownsWaitGuard = false;
-	        FlexClient.getInstance().waitForFlexClientId = false; // Allow other Channels to connect.
-	    }
+	    shutdownConnectTimer();

-	    shutdownConnectTimer();
-	    _connecting = false;
-
-        // if there were any attached agents that needed configuration they
-        // should be reset
+        // If there were any attached agents that needed configuration they
+        // should be reset.
         if (ServerConfig.fetchedConfig(endpoint))
         {
     		for (var i:int = 0; i < channelSets.length; i++)
@@ -1050,7 +1035,7 @@

 	    dispatchEvent(ChannelEvent.createEvent(ChannelEvent.CONNECT, this, reconnecting));

-        setReconnecting(false);
+        connectCleanup();
 	}

 	/**
@@ -1099,7 +1084,7 @@
 	    }
 	    else
 	    {
-	        _connecting = false;
+	        connectCleanup();
 	    }

 		dispatchEvent(ChannelEvent.createEvent(ChannelEvent.DISCONNECT, this,
@@ -1367,6 +1352,24 @@

     /**
      *  @private
+     *  Cleanup following a connect or failover attempt.
+     */
+    private function connectCleanup():void
+    {
+        // If we own the wait guard for initial Channel connects release it.
+        if (_ownsWaitGuard)
+        {
+            _ownsWaitGuard = false;
+            FlexClient.getInstance().waitForFlexClientId = false; // Allow other Channels to connect.
+        }
+
+        _connecting = false;
+
+        setReconnecting(false); // Ensure the reconnecting flag is turned off; failover is not being attempted.
+    }
+
+    /**
+     *  @private
      *  This method is invoked by a timer from failover() and it works around a
      *  reconnect issue with NetConnection based channels by invoking
      *  internalConnect() after a slight delay.


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 19337
Author:   mhorn@adobe.com
Date:     2010-12-13T22:01:27.841985Z

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as
@@ -22,6 +22,14 @@
 import spark.skins.mobile160.assets.HScrollThumb;
 import spark.skins.mobile240.assets.HScrollThumb;

+/**
+ *  ActionScript-based skin for the HScrollBar thumb skin part in mobile applications.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
 public class HScrollBarThumbSkin extends MobileSkin
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7836
Author:   chaase@adobe.com
Date:     2009-06-15T14:37:21.379918Z

Log Message:
-----------
PARB changes for effects. This includes various property renames, a couple of class renames, moving 3 classes to a sub-package, and various doc cleanups. This also includes changing a handful of Array properties to typed Vectors.

QE: This breaks Mustella due to the renames
Doc: Docs will need to be updated to reflect the changes as well
Bugs: None
Reviewer: Jason
Tests: checkintests, Thermo's transitionbug test

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EasingFraction.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/KeyFrame.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/RGBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/RepeatBehavior.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/IInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/CallActionInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/HSBColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.pbk</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/WipeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateColorInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateColorInstance.as
@@ -11,9 +11,11 @@

 package spark.effects.supportClasses
 {
-import spark.effects.SimpleMotionPath;
+import mx.styles.StyleManager;
+
+import spark.effects.animation.MotionPath;
+import spark.effects.animation.SimpleMotionPath;
 import spark.effects.interpolation.RGBInterpolator;
-import mx.styles.StyleManager;

 /**
  *  The AnimateColorInstance class is the instance class of
@@ -110,9 +112,9 @@
             }
         }

-        motionPaths =
-            [ new SimpleMotionPath(colorPropertyName, colorFrom, colorTo, duration) ];
-
+        motionPaths = new <MotionPath>[
+            new SimpleMotionPath(colorPropertyName, colorFrom, colorTo, duration)];
+
         if (!interpolator)
             interpolator = RGBInterpolator.getInstance();


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as
+++ frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as
@@ -768,26 +768,14 @@
         {
             if (!_horizontalAxis)
             {
-                if (c.secondSeries.indexOf(this) != -1 && c.secondHorizontalAxis)
-                {
-                    if (dataTransform.axes[CartesianTransform.HORIZONTAL_AXIS] != c.secondHorizontalAxis)
-                        CartesianTransform(dataTransform).setAxis(
-                            CartesianTransform.HORIZONTAL_AXIS,c.secondHorizontalAxis);
-                }
-                else if (dataTransform.axes[CartesianTransform.HORIZONTAL_AXIS] != c.horizontalAxis)
+                if (dataTransform.axes[CartesianTransform.HORIZONTAL_AXIS] != c.horizontalAxis)
                         CartesianTransform(dataTransform).setAxis(
                             CartesianTransform.HORIZONTAL_AXIS,c.horizontalAxis);
             }

             if (!_verticalAxis)
             {
-                if (c.secondSeries.indexOf(this) != -1 && c.secondVerticalAxis)
-                {
-                    if (dataTransform.axes[CartesianTransform.VERTICAL_AXIS] != c.secondVerticalAxis)
-                        CartesianTransform(dataTransform).setAxis(
-                            CartesianTransform.VERTICAL_AXIS,c.secondVerticalAxis);
-                }
-                else if (dataTransform.axes[CartesianTransform.VERTICAL_AXIS] != c.verticalAxis)
+                if (dataTransform.axes[CartesianTransform.VERTICAL_AXIS] != c.verticalAxis)
                         CartesianTransform(dataTransform).setAxis(
                             CartesianTransform.VERTICAL_AXIS, c.verticalAxis);
             }
@@ -796,12 +784,7 @@
             {
                 if (c is BubbleChart)
                 {
-                    if (c.secondSeries.indexOf(this) != -1 && (c as BubbleChart).secondRadiusAxis)
-                    {
-                        if (dataTransform.axes[RADIUS_AXIS] != (c as BubbleChart).secondRadiusAxis)
-                            dataTransform.setAxis(RADIUS_AXIS, (c as BubbleChart).secondRadiusAxis);
-                    }
-                    else if (dataTransform.axes[RADIUS_AXIS] != (c as BubbleChart).radiusAxis)
+                    if (dataTransform.axes[RADIUS_AXIS] != (c as BubbleChart).radiusAxis)
                             dataTransform.setAxis(RADIUS_AXIS, (c as BubbleChart).radiusAxis);
                 }
             }
@@ -916,12 +899,6 @@
                     allSeriesTransform = false;
             }

-            n = cChart.secondSeries.length;
-            for (i = 0; i < n; i++)
-            {
-                if (cChart.getSeriesTransformState(cChart.secondSeries[i]))
-                    allSeriesTransform = false;
-            }
             if (allSeriesTransform)
                 cChart.measureLabels();
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

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

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

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

 package mx.collections
 {


Simplify argument handling.

Simplify argument handling.

--- test/src/FRESteamWorksTest.as
+++ test/src/FRESteamWorksTest.as
@@ -185,23 +185,17 @@

 		private function processCommandLine(invokeEvent:InvokeEvent):void {
 			// process command-line arguments
-			var argn:uint = 0;
-			var argCount:uint = invokeEvent.arguments.length;
-			while (argn < argCount) {
-				var arg:String = invokeEvent.arguments[argn];
-				++argn;
-				if (arg == '-appid') {
-					if (argn < argCount) {
-						testRestartAppIfNecessary(invokeEvent.arguments[argn]);
-						++argn;
-					} else {
-						log("FRESteamWorksTest: 'appid' requires a parameter");
-						NativeApplication.nativeApplication.exit(-1);
-					}
-				} else {
-					// invalid argument
-					log("FRESteamWorksTest called with invalid argument: " + arg);
-					NativeApplication.nativeApplication.exit(-1);
+			var args:Array = invokeEvent.arguments;
+			for (var argn:int = 0; argn < args.length; ++argn) {
+				var arg:String = args[argn];
+
+				switch (arg) {
+					case "-appid":
+						testRestartAppIfNecessary(args[++argn]);
+						break;
+					default:
+						trace("FRESteamWorksTest called with invalid argument: " + arg);
+						NativeApplication.nativeApplication.exit(1);
 				}
 			}
 		}
@@ -212,8 +206,13 @@
 		}

 		public function testRestartAppIfNecessary(appid:uint):void {
+			if (!appid) {
+				log("FRESteamWorkTest: -appid requires argument");
+				NativeApplication.nativeApplication.exit(1);
+			}
+
 			if (Steamworks.restartAppIfNecessary(appid)) {
-				log("App started outside of Steam with no app_id.txt : Steam will restart");
+				trace("App started outside of Steam with no app_id.txt: Steam will restart");
 				NativeApplication.nativeApplication.exit(0);
 			}
 		}


Add test for PublishedFileDetails

Add test for PublishedFileDetails

--- test/src/FRESteamWorksTest.as
+++ test/src/FRESteamWorksTest.as
@@ -176,6 +176,7 @@
 			log("enumerateUserSubscribedFiles(0) == " + Steamworks.enumerateUserSubscribedFiles(0));
 		}

+		private var id:String;
 		private function onSteamResponse(e:SteamEvent):void{
 			switch(e.req_type){
 				case SteamConstants.RESPONSE_OnUserStatsStored:
@@ -197,8 +198,18 @@
 					log("RESPONSE_OnEnumerateUserSubscribedFiles: " + e.response);
 					var result:SubscribedFilesResult = Steamworks.enumerateUserSubscribedFilesResult();
 					log("User subscribed files: " + result.resultsReturned + "/" + result.totalResults);
-					for(var i:int = 0; i < result.resultsReturned; i++)
-						log(i + ": " + result.publishedFileId[i] + " (" + result.timeSubscribed[i] + ")");
+					for(var i:int = 0; i < result.resultsReturned; i++) {
+						id = result.publishedFileId[i];
+						var apiCall:Boolean = Steamworks.getPublishedFileDetails(result.publishedFileId[i]);
+						log(i + ": " + result.publishedFileId[i] + " (" + result.timeSubscribed[i] + ") - " + apiCall);
+					}
+					break;
+				case SteamConstants.RESPONSE_OnGetPublishedFileDetails:
+					log("RESPONSE_OnGetPublishedFileDetails: " + e.response);
+					var res:FileDetailsResult = Steamworks.getPublishedFileDetailsResult(id);
+					log("Result for " + id + ": " + res);
+					if(res)
+						log("File: " + res.fileName + ", handle: " + res.fileHandle);
 					break;
 				default:
 					log("STEAMresponse type:"+e.req_type+" response:"+e.response);


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

--- frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
@@ -58,7 +58,7 @@
             if (parent is DataGroup)
                 idx = DataGroup(parent).dataProvider.getItemIndex(data);
             else if (parent is Group)
-                idx = Group(parent).getItemIndex(this);
+                idx = Group(parent).getElementIndex(this);
             else
                 idx = parent.getChildIndex(this);