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

--- frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as
+++ frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as
@@ -58,6 +58,9 @@
     /**
      *  Provides access to the name of the remote method/operation that
      *  will be called.
+     *
+     *  @return Returns the name of the remote method/operation that
+     *  will be called.
      */
     public function getSOAPAction():String
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7115
Author:   jszeto@adobe.com
Date:     2009-05-20T05:39:23.225806Z

Log Message:
-----------
Changed how components are disabled

SDK-20196 Re-work disabled logic in Spark components
SDK-20197 Remove enableSkinParts() from TrackBase and Spinner

Changed the way that components, in particular, composite components, are disabled. Moved the enabled/disabled logic from SkinnableContainerBase down to SkinnableComponent. Disabled components now prevent mouse interaction with the component and its children. The skin handles the appearance of the component in the disabled state. The Spark skins currently set their alpha to .5.

Composite components like Spinner, and TrackBase no longer disabled their component skin parts.

QE Notes: None
Doc Notes: None
Bugs: SDK-20196, 20197
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TrackBase.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/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerVolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/NumericStepper.as
+++ frameworks/projects/spark/src/spark/components/NumericStepper.as
@@ -466,16 +466,6 @@
     /**
      *  @private
      */
-    override protected function enableSkinParts(value:Boolean):void
-    {
-        super.enableSkinParts(value);
-        if (textInput)
-            textInput.enabled = value;
-    }
-
-    /**
-     *  @private
-     */
     override public function setFocus():void
     {
         if (stage)


- bugfix: UIComponent didn't always detect dimension changes in child elements correctly

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

--- src/reprise/ui/UIComponent.as
+++ src/reprise/ui/UIComponent.as
@@ -1456,10 +1456,6 @@
 			{
 				m_scrollbarsDisplay.transform.matrix = m_contentDisplay.transform.matrix;
 			}
-			m_oldOuterBoxDimension = new Point(
-				m_borderBoxWidth + m_currentStyles.marginLeft + m_currentStyles.marginRight,
-				m_borderBoxHeight + m_currentStyles.collapsedMarginTop +
-				m_currentStyles.collapsedMarginBottom);
 			m_oldInFlowStatus = m_positionInFlow;

 			m_oldContentBoxWidth = m_contentBoxWidth;
@@ -1601,10 +1597,13 @@
 			m_borderBoxWidth = m_paddingBoxWidth +
 				m_currentStyles.borderLeftWidth + m_currentStyles.borderRightWidth;

-			m_dimensionsChanged = !m_oldOuterBoxDimension.equals(new Point(
+			var outerBoxDimensions : Point = new Point(
 				m_borderBoxWidth + m_currentStyles.marginLeft + m_currentStyles.marginRight,
 				m_borderBoxHeight +
-				m_currentStyles.collapsedMarginTop + m_currentStyles.collapsedMarginBottom));
+				m_currentStyles.collapsedMarginTop + m_currentStyles.collapsedMarginBottom);
+			m_dimensionsChanged =
+				!(m_oldOuterBoxDimension  && m_oldOuterBoxDimension.equals(outerBoxDimensions));
+			m_oldOuterBoxDimension = outerBoxDimensions;

 			var parentReflowNeeded : Boolean = false;


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

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

 package mx.automation.delegates.charts
 {


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

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


Angle utility functions.

Angle utility functions.

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

--- src/as/com/threerings/flash/MathUtil.as
+++ src/as/com/threerings/flash/MathUtil.as
@@ -32,6 +32,41 @@
     public static function clamp (n :Number, min :Number, max :Number) :Number
     {
         return Math.min(Math.max(n, min), max);
+    }
+
+    /**
+     * Converts degrees to radians.
+     */
+    public static function toRadians (degrees :Number) :Number
+    {
+        return degrees * Math.PI / 180;
+    }
+
+    /**
+     * Normalizes an angle in radians to occupy the [0, 2pi) range.
+     */
+    public static function normalizeRadians (radians :Number) :Number
+    {
+        var twopi :Number = Math.PI * 2;
+        var norm :Number = radians % twopi;
+        return (norm >= 0) ? norm : (norm + twopi);
+    }
+
+    /**
+     * Converts radians to degrees.
+     */
+    public static function toDegrees (radians :Number) :Number
+    {
+        return radians * 180 / Math.PI;
+    }
+
+    /**
+     * Normalizes an angle in degrees to occupy the [0, 360) range.
+     */
+    public static function normalizeDegrees (degrees :Number) :Number
+    {
+        var norm :Number = degrees % 360;
+        return (norm >= 0) ? norm : (norm + 360);
     }

     /**


Fixed asdoc bug. Boy it's annoying when this happens, asdoc just
gives "Error #1083" without telling you what happened or even which file.

Take note: you can't just invent "@" tags, asdoc freaks out if you use one
it doesn't understand.

git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@4957 542714f4-19e9-0310-aa3c-eee0fc999fb1

--- src/as/com/threerings/util/ArrayUtil.as
+++ src/as/com/threerings/util/ArrayUtil.as
@@ -32,7 +32,8 @@
 {
     /**
      * Creates a shallow copy of the array.
-     * @TODO: add support for copy ranges and deep copies?
+     *
+     * @internal TODO: add support for copy ranges and deep copies?
      */
     public static function copyOf (arr :Array) :Array
     {


change from mouse_down to click

change from mouse_down to click

--- src/flash/FlashMediaElement.as
+++ src/flash/FlashMediaElement.as
@@ -354,8 +354,8 @@
 			// listen for resize
 			stage.addEventListener(Event.RESIZE, resizeHandler);

-			// test
-			stage.addEventListener(MouseEvent.MOUSE_DOWN, stageClicked);
+			// send click events up to javascript
+			stage.addEventListener(MouseEvent.CLICK, stageClicked);

 			// resize
 			stage.addEventListener(FullScreenEvent.FULL_SCREEN, stageFullScreenChanged);


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

--- frameworks/projects/automation_air/src/AutomationAirClasses.as
+++ frameworks/projects/automation_air/src/AutomationAirClasses.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.
+//
+////////////////////////////////////////////////////////////////////////////////


Removed commented trace

Removed commented trace

--- frameworks/projects/framework/src/mx/utils/MediaQueryParser.as
+++ frameworks/projects/framework/src/mx/utils/MediaQueryParser.as
@@ -551,7 +551,6 @@
             deviceWidth = new CSSDimension(w, deviceDPI);
             deviceHeight = new CSSDimension(h, deviceDPI);
             flexDeviceDiagonal = new CSSDimension(  diag, deviceDPI );
-     //       trace(" width:", deviceWidth, " height: ", deviceHeight, " diag:", flexDeviceDiagonal);

            return needToUpdateStyles;
         }


qnd: change error code (no "KMC")

qnd: change error code (no "KMC")

git-svn-id: 8a2ccb88241e16c78017770bc38d91d6d5396a5a@86268 6b8eccd3-e8c5-4e7d-8186-e12b5326b719

--- generator/sources/as3/com/kaltura/delegates/WebDelegateBase.as
+++ generator/sources/as3/com/kaltura/delegates/WebDelegateBase.as
@@ -118,7 +118,7 @@

 		protected function onConnectTimeout(event:TimerEvent):void {
 			var kError:KalturaError = new KalturaError();
-			kError.errorCode = "KMC_CONNECTION_TIMEOUT";
+			kError.errorCode = "CONNECTION_TIMEOUT";
 			kError.errorMsg = "Connection Timeout: " + CONNECT_TIME / 1000 + " sec with no post command from kaltura client.";
 			_call.handleError(kError);
 			dispatchEvent(new KalturaEvent(KalturaEvent.FAILED, false, false, false, null, kError));
@@ -134,7 +134,7 @@
 			close();

 			var kError:KalturaError = new KalturaError();
-			kError.errorCode = "KMC_POST_TIMEOUT";
+			kError.errorCode = "POST_TIMEOUT";
 			kError.errorMsg = "Post Timeout: " + LOAD_TIME / 1000 + " sec with no post result.";
 			_call.handleError(kError);
 			dispatchEvent(new KalturaEvent(KalturaEvent.FAILED, false, false, false, null, kError));


fixed editor bug where game settings wouldn't save and close until the checkboxes page was visited

--- flexEditor/src/org/arisgames/editor/view/GameDetailsEditorView.as
+++ flexEditor/src/org/arisgames/editor/view/GameDetailsEditorView.as
@@ -431,16 +431,19 @@
 		GameModel.getInstance().game.inventoryCap = inventoryCap.value;
 		GameModel.getInstance().game.description = description.text;

-		GameModel.getInstance().game.noteShareToMap = noteShareToMapCb.selected;
-		GameModel.getInstance().game.noteShareToBook = noteShareToBookCb.selected;
-		GameModel.getInstance().game.playerCreateTags = playerCreateTagsCb.selected;
-		GameModel.getInstance().game.allowtrading = allowtradingCb.selected;
-		GameModel.getInstance().game.isLocational = isLocationalCb.selected;
-		GameModel.getInstance().game.readyForPublic = readyForPublicCb.selected;
-		GameModel.getInstance().game.playerCreateComments = playerCreateCommentsCb.selected;
-		GameModel.getInstance().game.playerLikesNotes = playerLikesNotesCb.selected;
-		GameModel.getInstance().game.showPlayerOnMap = showPlayerOnMapCb.selected;
-
+		if(noteShareToMapCb) //if the checkbox page has loaded
+		{
+			GameModel.getInstance().game.noteShareToMap = noteShareToMapCb.selected;
+			GameModel.getInstance().game.noteShareToBook = noteShareToBookCb.selected;
+			GameModel.getInstance().game.playerCreateTags = playerCreateTagsCb.selected;
+			GameModel.getInstance().game.allowtrading = allowtradingCb.selected;
+			GameModel.getInstance().game.isLocational = isLocationalCb.selected;
+			GameModel.getInstance().game.readyForPublic = readyForPublicCb.selected;
+			GameModel.getInstance().game.playerCreateComments = playerCreateCommentsCb.selected;
+			GameModel.getInstance().game.playerLikesNotes = playerLikesNotesCb.selected;
+			GameModel.getInstance().game.showPlayerOnMap = showPlayerOnMapCb.selected;
+		}
+
 		var introNode:Node = introNodeCbo.selectedItem as Node;
 		GameModel.getInstance().game.introNodeId = introNode.nodeId;
 		var selectedNode:Node = completeNodeCbo.selectedItem as Node;


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

--- frameworks/projects/framework/src/mx/binding/IWatcherSetupUtil.as
+++ frameworks/projects/framework/src/mx/binding/IWatcherSetupUtil.as
@@ -0,0 +1,35 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.binding
+{
+
+[ExcludeClass]
+
+/**
+ *  @private
+ */
+public interface IWatcherSetupUtil
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	function setup(target:Object, propertyGetter:Function,
+				   bindings:Array, watchers:Array):void;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 1218
Author:   jimurphy@adobe.com
Date:     2008-04-15T16:09:32.174552Z

Log Message:
-----------
merge 3.0.x[1069:1202] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/PNGEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/JPEGEncoder.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/rpc/src/mx/rpc/xml/SchemaTypeRegistry.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/graphics/codec/IImageEncoder.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/MultiTopicConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPFault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloColors.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/skins/halo/SliderThumbSkin.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/framework/src/mx/graphics/RoundedRectangle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLBinding.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/RoundedRectangle.as
+++ frameworks/projects/framework/src/mx/graphics/RoundedRectangle.as
@@ -29,6 +29,16 @@

 	/**
 	 *  Constructor.
+	 *
+	 *  @param x The x coordinate of the top-left corner of the rectangle.
+	 *
+	 *  @param y The y coordinate of the top-left corner of the rectangle.
+	 *
+	 *  @param width The width of the rectangle, in pixels.
+	 *
+	 *  @param height The height of the rectangle, in pixels.
+	 *
+	 *  @param cornerRadius The radius of each corner, in pixels.
 	 */
 	public function RoundedRectangle(x:Number = 0, y:Number = 0,
 									 width:Number = 0, height:Number = 0,


depth

depth

--- src/lz/tools/TimelineSprite.as
+++ src/lz/tools/TimelineSprite.as
@@ -23,9 +23,17 @@
 				removeChildAt(0);
 			}
 			var cframe:int = frame % frames.length;
+			var objs:Array = [];
 			for each(var obj:FrameObject in frames[cframe].objects) {
+				objs.push(obj);
+			}
+			objs.sortOn("depth", Array.NUMERIC);
+			for each(obj in objs) {
 				var dis:DisplayObject = tags[obj.placedAtIndex];
+				var tdis:DisplayObject = tags[obj.lastModifiedAtIndex];
 				if (dis) {
+					if(obj.lastModifiedAtIndex)
+					dis.transform.matrix = tdis.transform.matrix;
 					addChild(dis);
 				}
 			}


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

--- frameworks/projects/advancedgrids/src/mx/controls/olapDataGridClasses/OLAPDataGridRendererProvider.as
+++ frameworks/projects/advancedgrids/src/mx/controls/olapDataGridClasses/OLAPDataGridRendererProvider.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.olapDataGridClasses
 {


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

--- frameworks/projects/rpc/src/mx/rpc/Responder.as
+++ frameworks/projects/rpc/src/mx/rpc/Responder.as
@@ -0,0 +1,64 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.rpc
+{
+
+/**
+ *  This class provides a default implementation mx.rpc.IResponder
+ */
+public class Responder implements IResponder
+{
+	/**
+	 *  Constructs an instance of the responder with the specified handlers.
+	 *
+	 *  @param	result Function that should be called when the request has
+	 *           completed successfully.
+	 *  @param	fault Function that should be called when the request has
+	 *			completed with errors.
+	 */
+	public function Responder(result:Function, fault:Function)
+	{
+		super();
+		_resultHandler = result;
+		_faultHandler = fault;
+	}
+
+	/**
+	 *  This method is called by a remote service when the return value has been
+	 *  received.
+	 */
+	public function result(data:Object):void
+	{
+		_resultHandler(data);
+	}
+
+	/**
+	 *  This method is called by a service when an error has been received.
+	 */
+	public function fault(info:Object):void
+	{
+		_faultHandler(info);
+	}
+
+	/**
+	 *  @private
+	 */
+	private var _resultHandler:Function;
+
+	/**
+	 *  @private
+	 */
+	private var _faultHandler:Function;
+}
+
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3049
Author:   aharui@adobe.com
Date:     2008-08-29T22:49:29.177346Z

Log Message:
-----------
SDK-16552, SDK-16391, SDK-16639

Final signoff bugfixes including API scrub changes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/PopUpRequest.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootDragEvent.as" copyfrom-rev="3039" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SizeRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootRequest.as" copyfrom-rev="3039" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InterManagerRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/FocusRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/containers/dividedBoxClasses/BoxDivider.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootDragEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootMouseEvent.as" copyfrom-rev="3039" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/utils/EventUtil.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/ModalWindowRequest.as</path>

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

--- frameworks/projects/framework/src/mx/events/InterManagerRequest.as
+++ frameworks/projects/framework/src/mx/events/InterManagerRequest.as
@@ -18,7 +18,7 @@
  *  This is an event sent between application domains
  *  to notify trusted listeners about activity in a particular manager.
  */
-public class SandboxRootRequest extends Event
+public class InterManagerRequest extends Event
 {
     include "../core/Version.as";

@@ -46,7 +46,7 @@
      *  Ask the other ApplicationDomain to instantiate a manager in
 	 *  that ApplicationDomain (if it isn't already instantiated)
 	 *  so it is available to listen to subsequent
-	 *  SandboxRootRequests.
+	 *  InterManagerRequests.
 	 *  The name property is the name of the manager to instantiate.
      */
     public static const INIT_MANAGER_REQUEST:String = "initManagerRequest";
@@ -82,7 +82,7 @@
 	 *  @return None, but the value property can be modified
      *  to represent a return value of a method.
 	 */
-	public function SandboxRootRequest(type:String, bubbles:Boolean = false,
+	public function InterManagerRequest(type:String, bubbles:Boolean = false,
                                  cancelable:Boolean = false,
 							     name:String = null, value:Object = null)
 	{


Transferred from the Adobe Open Source Subversion Repository

Revision: 2911
Author:   gosmith@adobe.com
Date:     2008-08-20T00:09:05.524824Z

Log Message:
-----------
TextView now has horizontalScrollPosition and verticalScrollPosition properties that can be set to scroll the text.

TCAL doesn't yet support autoscrolling, but when it does, these properties will update to reflect it and will become bindable.

TextView now also has bindable read-only properties called contentWidth and contentHeight, which tells you the virtual size of the text as opposed to how much of it you can actually see. They are updated when the TextFlow dispatched a composeDone event. These will be used to determine the range for scrollbars.

Reviewer: Hans
Bugs: -
QA: No
Doc: No

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

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -44,6 +44,7 @@
 import text.elements.ParagraphElement;
 import text.elements.SpanElement;
 import text.elements.TextFlow;
+import text.events.ComposeDoneEvent;
 import text.formats.BlockProgression;
 import text.formats.CharacterFormat;
 import text.formats.ContainerFormat;
@@ -1132,6 +1133,44 @@
     }

     //----------------------------------
+    //  contentHeight
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _contentHeight:Number = 0;
+
+    [Bindable("contentSizeChanged")]
+
+    /**
+     *  Documentation is not currently available.
+     */
+    public function get contentHeight():Number
+    {
+        return _contentHeight;
+    }
+
+    //----------------------------------
+    //  contentWidth
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _contentWidth:Number = 0;
+
+    [Bindable("contentSizeChanged")]
+
+    /**
+     *  Documentation is not currently available.
+     */
+    public function get contentWidth():Number
+    {
+        return _contentWidth;
+    }
+
+    //----------------------------------
     //  heightInLines
     //----------------------------------

@@ -1168,6 +1207,42 @@
         invalidateDisplayList();
     }

+    //----------------------------------
+    //  horizontalScrollPosition
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _horizontalScrollPosition:Number = 0;
+
+    /**
+     *  @private
+     */
+    private var horizontalScrollPositionChanged:Boolean = false;
+
+    /**
+     *  Documentation is not currently available.
+     */
+    public function get horizontalScrollPosition():Number
+    {
+        return _horizontalScrollPosition;
+    }
+
+    /**
+     *  @private
+     */
+    public function set horizontalScrollPosition(value:Number):void
+    {
+        if (value == _horizontalScrollPosition)
+            return;
+
+        _horizontalScrollPosition = value;
+        horizontalScrollPositionChanged = true;
+
+        invalidateProperties();
+    }
+
     //----------------------------------
     //  multiline
     //----------------------------------
@@ -1326,6 +1401,42 @@
         invalidateDisplayList();
     }

+    //----------------------------------
+    //  verticalScrollPosition
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _verticalScrollPosition:Number = 0;
+
+    /**
+     *  @private
+     */
+    private var verticalScrollPositionChanged:Boolean = false;
+
+    /**
+     *  Documentation is not currently available.
+     */
+    public function get verticalScrollPosition():Number
+    {
+        return _verticalScrollPosition;
+    }
+
+    /**
+     *  @private
+     */
+    public function set verticalScrollPosition(value:Number):void
+    {
+        if (value == _verticalScrollPosition)
+            return;
+
+        _verticalScrollPosition = value;
+        verticalScrollPositionChanged = true;
+
+        invalidateProperties();
+    }
+
     //----------------------------------
     //  widthInChars
     //----------------------------------
@@ -1432,6 +1543,20 @@

             selectionAnchorIndexChanged = false;
             selectionActiveIndexChanged = false;
+        }
+
+        if (horizontalScrollPositionChanged)
+        {
+            textFlow.controller.horizontalScrollPosition =
+                _horizontalScrollPosition;
+            horizontalScrollPositionChanged = false;
+        }
+
+        if (verticalScrollPositionChanged)
+        {
+            textFlow.controller.verticalScrollPosition =
+                _verticalScrollPosition;
+            verticalScrollPositionChanged = false;
         }
     }

@@ -1657,6 +1782,9 @@
      */
     private function addListeners(textFlow:TextFlow):void
     {
+        textFlow.addEventListener(ComposeDoneEvent.COMPOSE_DONE,
+                                  textFlow_composeDoneHandler);
+
         textFlow.selectionManager.addEventListener(
             SelectionChangedEvent.SELECTION_CHANGED,
             editManager_selectionChangeHandler);
@@ -1872,6 +2000,26 @@

     /**
      *  @private
+     */
+    private function textFlow_composeDoneHandler(event:ComposeDoneEvent):void
+    {
+        var newContentWidth:Number =
+            textFlow.controller.maxHorizontalScrollPosition;
+        var newContentHeight:Number =
+            textFlow.controller.maxVerticalScrollPosition;
+
+        if (newContentWidth != _contentWidth ||
+            newContentHeight != _contentHeight)
+        {
+            _contentWidth = newContentWidth;
+            _contentHeight = newContentHeight;
+
+            dispatchEvent(new Event("contentSizeChanged"));
+        }
+    }
+
+    /**
+     *  @private
      *  Called when the EditManager dispatches a 'selectionChange' event.
      */
     private function editManager_selectionChangeHandler(event:SelectionChangedEvent):void


Updated SelectionControl to support arbitrary hit area

git-svn-id: 6aa7ccb0a2048310a30f08a72aaff4ca39d980ed@139 91848ab2-c4ae-4e4f-8e6a-6a52ea0dccc3

--- flare.vis/flare/vis/controls/SelectionControl.as
+++ flare.vis/flare/vis/controls/SelectionControl.as
@@ -5,6 +5,8 @@
 	import flash.display.Graphics;
 	import flash.display.InteractiveObject;
 	import flash.display.Shape;
+	import flash.display.Stage;
+	import flash.events.Event;
 	import flash.events.MouseEvent;
 	import flash.geom.Rectangle;

@@ -17,6 +19,8 @@
 		private var _r:Rectangle = new Rectangle();
 		private var _drag:Boolean = false;
 		private var _shape:Shape = new Shape();
+		private var _hit:InteractiveObject;
+		private var _stage:Stage;

 		/** Boolean-valued filter function determining which items are eligible
 		 *  for selection. */
@@ -27,6 +31,14 @@
 		/** Function invokde when an item is removed from the selection. */
 		public var onDeselect:Function;

+		/** The active hit area over which pan/zoom interactions can be performed. */
+		public function get hitArea():InteractiveObject { return _hit; }
+		public function set hitArea(hitArea:InteractiveObject):void {
+			if (_hit != null) onRemove();
+			_hit = hitArea;
+			if (_object.stage != null) onAdd();
+		}
+
 		/**
 		 * Creates a new SelectionControl.
 		 * @param container the container object to monitor for selections
@@ -34,10 +46,11 @@
 		 *  items are eligible for selection.
 		 */
 		public function SelectionControl(container:InteractiveObject=null,
-										 filter:Function = null)
+					filter:Function = null, hitArea:InteractiveObject=null)
 		{
+			_hit = hitArea;
+			this.filter = filter;
 			attach(container);
-			this.filter = filter;
 		}

 		/** @inheritDoc */
@@ -49,27 +62,46 @@
 			}
 			super.attach(obj);
 			if (obj != null) {
-				obj.addEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
-				obj.addEventListener(MouseEvent.MOUSE_MOVE, mouseMove);
-				obj.addEventListener(MouseEvent.MOUSE_UP, mouseUp);
-				DisplayObjectContainer(obj).addChild(_shape);
+				obj.addEventListener(Event.ADDED_TO_STAGE, onAdd);
+				obj.addEventListener(Event.REMOVED_FROM_STAGE, onRemove);
+				if (obj.stage != null) onAdd();
 			}
 		}

 		/** @inheritDoc */
 		public override function detach():InteractiveObject
 		{
+			onRemove();
 			if (_object != null) {
-				_object.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
-				_object.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMove);
-				_object.removeEventListener(MouseEvent.MOUSE_UP, mouseUp);
+				_object.removeEventListener(Event.ADDED_TO_STAGE, onAdd);
+				_object.removeEventListener(Event.REMOVED_FROM_STAGE, onRemove);
+			}
+			_hit = null;
+			return super.detach();
+		}
+
+		private function onAdd(evt:Event=null):void
+		{
+			_stage = _object.stage;
+			if (_hit == null) _hit = _stage;
+			_hit.addEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
+			DisplayObjectContainer(_object).addChild(_shape);
+		}
+
+		private function onRemove(evt:Event=null):void
+		{
+			if (_hit)
+				_hit.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
+			if (_object)
 				DisplayObjectContainer(_object).removeChild(_shape);
-			}
-			return super.detach();
 		}

 		private function mouseDown(evt:MouseEvent):void
 		{
+			if (_stage == null) return;
+			_stage.addEventListener(MouseEvent.MOUSE_UP, mouseUp);
+			_stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMove);
+
 			_r.x = _object.mouseX;
 			_r.y = _object.mouseY;
 			_r.width = 0;
@@ -92,6 +124,8 @@
 		{
 			_drag = false;
 			_shape.graphics.clear();
+			_stage.removeEventListener(MouseEvent.MOUSE_UP, mouseUp);
+			_stage.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMove);
 		}

 		private function renderShape():void {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/TabBar.as
+++ frameworks/projects/mx/src/mx/controls/TabBar.as
@@ -31,6 +31,11 @@
  *  This event is sent only if the data provider is not a ViewStack container.
  *
  *  @eventType mx.events.ItemClickEvent.ITEM_CLICK
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="itemClick", type="mx.events.ItemClickEvent")]

@@ -43,6 +48,11 @@
  *  first tab navigation item.
  *
  *  @default "tabStyleName"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="firstTabStyleName", type="String", inherit="no")]

@@ -55,12 +65,22 @@
  * and "right".
  *
  * @default "center"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */[Style(name="horizontalAlign", type="String", enumeration="left,center,right", inherit="no")]

 /**
  *  Number of pixels between tab navigation items in the horizontal direction.
  *
  *  @default -1
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="horizontalGap", type="Number", format="Length", inherit="no")]

@@ -69,6 +89,11 @@
  *  last tab navigation item.
  *
  *  @default "tabStyleName"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="lastTabStyleName", type="String", inherit="no")]

@@ -77,6 +102,11 @@
  *  of the selected tab navigation item.
  *
  *  @default "activeTabStyle"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectedTabTextStyleName", type="String", inherit="no")]

@@ -85,6 +115,11 @@
  *  navigation items.
  *
  *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="tabStyleName", type="String", inherit="no")]

@@ -95,6 +130,11 @@
  *  If you set this property, the specified value overrides this calculation.
  *
  *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="tabHeight", type="Number", format="Length", inherit="no")]

@@ -103,6 +143,11 @@
  *  If undefined, the default tab widths are calculated from the label text.
  *
  *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="tabWidth", type="Number", format="Length", inherit="no")]

@@ -115,12 +160,22 @@
  * and "bottom".
  *
  * @default "middle"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */[Style(name="verticalAlign", type="String", enumeration="top,middle,bottom", inherit="no")]

 /**
  *  Number of pixels between tab navigation items in the vertical direction.
  *
  *  @default -1
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="verticalGap", type="Number", format="Length", inherit="no")]

@@ -235,6 +290,11 @@
  *

  *
  *  @includeExample examples/TabBarExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class TabBar extends ToggleButtonBar
 {
@@ -260,6 +320,11 @@

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


quiet warnings

quiet warnings

--- frameworks/projects/Core/as/src/org/apache/flex/core/Application.as
+++ frameworks/projects/Core/as/src/org/apache/flex/core/Application.as
@@ -231,8 +231,10 @@
          *  @playerversion AIR 2.6
          *  @productversion FlexJS 0.0
          */
+        [Bindable("__NoChangeEvent__")]
         public var initialView:ViewBase;

+        [Bindable("__NoChangeEvent__")]
         /**
          *  The data model (for the initial view).
          *
@@ -241,6 +243,7 @@
          *  @playerversion AIR 2.6
          *  @productversion FlexJS 0.0
          */
+        [Bindable("__NoChangeEvent__")]
         public var model:Object;

         /**


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

--- frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as
+++ frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as
@@ -77,7 +77,7 @@
     {
         super();

-        transforms = [ new PolarTransform() ];
+        _transforms = [ new PolarTransform() ];

         var aa:LinearAxis = new LinearAxis();
         aa.autoAdjust = false;
@@ -362,76 +362,7 @@
         axisLayoutDirty = false;
         advanceEffectState();
     }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Overriden methods: ChartBase
-    //
-    //--------------------------------------------------------------------------
-
-    [Deprecated(replacement="IChartElement2.dataToLocal()")]
-    /**
-     *  @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    override public function dataToLocal(...dataValues):Point
-    {
-        var data:Object = {};
-
-        var da:Array /* of Object */ = [ data ];
-
-        var len:int = dataValues.length;
-
-        if (len > 0)
-        {
-            data["d0"] = dataValues[0];
-
-            _transforms[0].getAxis(PolarTransform.ANGULAR_AXIS).
-                mapCache(da, "d0", "v0");
-        }
-
-        if (len > 1)
-        {
-            data["d1"] = dataValues[1];
-
-            _transforms[0].getAxis(PolarTransform.RADIAL_AXIS).
-                mapCache(da, "d1", "v1");
-        }
-
-        _transforms[0].transformCache(da, "v0", "s0", "v1", "s1");
-
-        return new Point(_transforms[0].origin.x +
-                         Math.cos(data.s0) * data.s1,
-                         _transforms[0].origin.y -
-                         Math.sin(data.s0) * data.s1);
-    }
-
-    [Deprecated(replacement="IChartElement2.localToData()")]
-    /**
-     *  @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    override public function localToData(v:Point):Array /* of Object */
-    {
-        var dx:Number = v.x - _transforms[0].origin.x;
-        var dy:Number = v.y - _transforms[0].origin.y;
-
-        var a:Number = calcAngle(dx,dy);
-
-        var r:Number = Math.sqrt(dx * dx + dy * dy);
-
-        var values:Array /* of Object */ = _transforms[0].invertTransform(a, r);
-        return values;
-    }
-
+
     /**
      *  @inheritDoc
      *


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

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

 package mx.styles
 {


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 20097
Author:   jasonsj@adobe.com
Date:     2011-02-03T17:48:25.773740Z

Log Message:
-----------
Remove use of minWidth and minHeight where possible from mobile skins to fix constraint use cases. Replace usage of minWidth/minHeight and layoutMeasuredWidth/layoutMeasuredHeight with MobileSkin property measuredDefaultWidth/measuredDefaultHeight.

Use minWidth/minHeight for skins that do not scale down: Beveled buttons, CheckBox, RadioButton, and scroll bars.

Doc notes:
Bugs:
SDK-28715 Cannot size and position button correctly in i4 build.
Reviewer: egeorgie
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/BeveledActionButtonSkin.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/ButtonBarFirstButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaVScrollBarSkin.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/ButtonBarMiddleButtonSkin.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/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorTabBarTabSkinBase.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/ButtonBarLastButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ImageSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/BeveledBackButtonSkin.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/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaHScrollBarSkin.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/HSliderThumbSkin.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/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ImageSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ImageSkin.as
@@ -69,7 +69,7 @@
             }
             default:
             {
-                // default PPI160
+                // default DPI_160
                 imageInvalidClass = spark.skins.mobile160.assets.ImageInvalid;
                 break;
             }


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

--- frameworks/projects/mx/src/mx/effects/effectClasses/GlowInstance.as
+++ frameworks/projects/mx/src/mx/effects/effectClasses/GlowInstance.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.effects.effectClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 88
Author:   open-source-svn-admin@adobe.com
Date:     2008-01-03T22:47:56.499469Z

Log Message:
-----------
Perforce Change 191925 by proberts@proberts-laptop-flex on 2008/01/03 16:47:12 Severity: ignore Details: doc additions/clean up for FlexNativeMenu. Also FLEXDOCS-320 (update documentation for FlexNativeMenuEvent.MENU_SHOW to explain that the index, label, and item properties are null) Affected files ...

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Consumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/NoChannelAvailableError.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/rpc/src/mx/messaging/channels/DirectHTTPChannel.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/rpc/src/mx/messaging/config/ServerConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</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/rpc/src/mx/messaging/channels/HTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessagingError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/InvalidChannelError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractProducer.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/config/ConfigMap.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.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/rpc/src/mx/messaging/channels/SecureStreamingAMFChannel.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/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/win/AIR Integration Kit.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractConsumer.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/rpc/src/mx/messaging/channels/SecureStreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXContext.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.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/rpc/src/mx/messaging/channels/PollingChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Grammar.jj</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ConsumerMessageDispatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/InvalidDestinationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXResult.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.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/rpc/src/mx/messaging/AbstractMessageStore.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as
@@ -1,23 +1,17 @@
-/*************************************************************************
- *
- * ADOBE CONFIDENTIAL
- * __________________
- *
- *  [2002] - [2007] Adobe Systems Incorporated
- *  All Rights Reserved.
- *
- * NOTICE:  All information contained herein is, and remains
- * the property of Adobe Systems Incorporated and its suppliers,
- * if any.  The intellectual and technical concepts contained
- * herein are proprietary to Adobe Systems Incorporated
- * and its suppliers and may be covered by U.S. and Foreign Patents,
- * patents in process, and are protected by trade secret or copyright law.
- * Dissemination of this information or reproduction of this material
- * is strictly forbidden unless prior written permission is obtained
- * from Adobe Systems Incorporated.
- */
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.messaging.channels
 {
+
 import flash.events.Event;
 import flash.events.TimerEvent;
 import flash.utils.Timer;
@@ -838,4 +832,4 @@
      *  Code that indicates a poll message faulted because the agent isn't subscribed.
      */
     private static const NOT_SUBSCRIBED_CODE:String = "Server.Processing.NotSubscribed";
-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20845
Author:   mhorn@adobe.com
Date:     2011-03-14T15:29:23.391952Z

Log Message:
-----------
merge 20756,20790,20712,20805

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/StringUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>

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

--- frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as
+++ frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as
@@ -1095,7 +1095,8 @@
     }

     /**
-     *  Lists all of the locale ID names supported by this class.
+     *  Lists all of the locale ID names supported by this class. This is a list of locales supported by
+     *  the operating system, not a list of locales that the ResourceManager has resources for.
      *
      *  @return A vector of strings containing all of the locale ID names
      *         supported by this class and operating system.


F removed useless TextureResource instanciation messing with forward instanciation necessary for early return in (static) load functions

--- src/aerys/minko/type/loader/TextureLoader.as
+++ src/aerys/minko/type/loader/TextureLoader.as
@@ -78,6 +78,7 @@

 		private function onLoadIoErrorEvent(e : IOErrorEvent) : void
 		{
+			_textureResource = null;
 			_error.execute(this, e.errorID, e.text);
 		}

@@ -101,7 +102,7 @@
 				if (bitmapData == null)
 					bitmapData = Bitmap(assetObject).bitmapData;

-				_textureResource = new TextureResource();
+//				_textureResource = new TextureResource();
 				_textureResource.setContentFromBitmapData(bitmapData, _mipmap);
 				_complete.execute(this, _textureResource);
 				_isComplete = true;
@@ -130,7 +131,7 @@
 				bytes.readByte() == 'F'.charCodeAt(0))
 			{
 				bytes.position = 0;
-				_textureResource = new TextureResource();
+//				_textureResource = new TextureResource();
 				_textureResource.setContentFromATF(bytes);
 				_complete.execute(this, _textureResource);
 				_isComplete = true;


- change: Removed debugging logs

- change: Removed debugging logs

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

--- src/reprise/controls/Slider.as
+++ src/reprise/controls/Slider.as
@@ -62,9 +62,7 @@
 		{
 			value = Math.min(value, m_maxValue);
 			value = Math.max(value, m_minValue);
-			log("value: " + (value));
 			m_value = m_allowsTickMarkValuesOnly ? closestTickMarkValueToValue(value) : value;
-			log("m_value: " + (m_value));
 			if (!m_isDragging)
 			{
 				applyValue();


remove request header

remove request header

--- src/com/ryanberdeen/echonest/api/v3/ApiSupport.as
+++ src/com/ryanberdeen/echonest/api/v3/ApiSupport.as
@@ -57,7 +57,6 @@
       var request:URLRequest = new URLRequest();
       request.url = _baseUrl + method;
       request.data = variables;
-      request.requestHeaders = new Array(new URLRequestHeader('X-User-Agent', 'echo-nest-flash-api'));

       return request;
     }


added typings

added typings

--- WeaveJS/src/Weave.as
+++ WeaveJS/src/Weave.as
@@ -62,7 +62,7 @@
 		 * @return A WeavePath object.
 		 * @see WeavePath
 		 */
-		public function path(...basePath):WeavePath
+		public function path(...basePath/*/[(string|number)[]] | (string|number)[]/*/):WeavePath
 		{
 			if (basePath.length == 1 && basePath[0] is Array)
 				basePath = basePath[0];
@@ -77,7 +77,7 @@
 		 * @param path An Array (or multiple parameters) specifying the path to an object in the session state.
 		 *             A child index number may be used in place of a name in the path when its parent object is a LinkableHashMap.
 		 */
-		public function getObject(...path):ILinkableObject
+		public function getObject(...path/*/[(string|number)[]] | (string|number)[]/*/):ILinkableObject
 		{
 			if (path.length == 1)
 			{


+ HistoryPanel onRollOver 时自动 setFocus

+ HistoryPanel onRollOver 时自动 setFocus


remove deprecated Matrix4x4.pointAt() refactor Matrix4x4.lookAt() to take directly the position to look at as a tripler of numbers

--- src/aerys/minko/type/math/Matrix4x4.as
+++ src/aerys/minko/type/math/Matrix4x4.as
@@ -421,22 +421,6 @@
 			return this;
 		}

-		public function pointAt(pos	: Vector4,
-								at	: Vector4	= null,
-								up	: Vector4	= null) : Matrix4x4
-		{
-			_matrix.pointAt(
-				pos._vector,
-				at ? at._vector : null,
-				up ? up._vector : null
-			);
-
-			if (!_locked)
-				_changed.execute(this, null);
-
-			return this;
-		}
-
 		public function interpolateTo(target : Matrix4x4, ratio : Number, withScale : Boolean = true) : Matrix4x4
 		{
 			if (withScale)
@@ -748,11 +732,15 @@
 			return this;
 		}

-		public function lookAt(target	: Vector4,
-							   position	: Vector4	= null,
-							   up		: Vector4 	= null) : Matrix4x4
-		{
-			return view(position || getTranslation(), target, up).invert();
+		public function lookAt(x : Number, y : Number, z : Number) : Matrix4x4
+		{
+			view(
+				transformVector(Vector4.ZERO),
+				new Vector4(x, y, z),
+				deltaTransformVector(Vector4.Y_AXIS)
+			)
+
+			return invert();
 		}

 		/**