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

--- frameworks/projects/mx/src/mx/effects/easing/Cubic.as
+++ frameworks/projects/mx/src/mx/effects/easing/Cubic.as
@@ -0,0 +1,98 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2004-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.effects.easing
+{
+
+/**
+ *  The Cubic class defines three easing functions to implement
+ *  motion with Flex effect classes. The acceleration of motion for a Cubic easing
+ *  equation is greater than for a Quadratic easing equation.
+ *
+ *  For more information, see http://www.robertpenner.com/profmx.
+ */
+public class Cubic
+{
+	include "../../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class methods
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  The easeIn() method starts motion from zero velocity,
+     *  and then accelerates motion as it executes.
+     *
+     *  @param t Specifies time.
+	 *
+     *  @param b Specifies the initial position of a component.
+	 *
+     *  @param c Specifies the total change in position of the component.
+	 *
+     *  @param d Specifies the duration of the effect, in milliseconds.
+     *
+     *  @return Number corresponding to the position of the component.
+     */
+	public static function easeIn(t:Number, b:Number,
+								  c:Number, d:Number):Number
+	{
+		return c * (t /= d) * t * t + b;
+	}
+
+    /**
+     *  The easeOut() method starts motion fast,
+     *  and then decelerates motion to a zero velocity as it executes.
+     *
+     *  @param t Specifies time.
+	 *
+     *  @param b Specifies the initial position of a component.
+	 *
+     *  @param c Specifies the total change in position of the component.
+	 *
+     *  @param d Specifies the duration of the effect, in milliseconds.
+     *
+     *  @return Number corresponding to the position of the component.
+     */
+	public static function easeOut(t:Number, b:Number,
+								   c:Number, d:Number):Number
+	{
+		return c * ((t = t / d - 1) * t * t + 1) + b;
+	}
+
+    /**
+     *  The easeInOut() method combines the motion
+     *  of the easeIn() and easeOut() methods
+	 *  to start the motion from zero velocity, accelerates motion, then decelerates
+	 *  back to a zero velocity.
+     *
+     *  @param t Specifies time.
+	 *
+     *  @param b Specifies the initial position of a component.
+	 *
+     *  @param c Specifies the total change in position of the component.
+	 *
+     *  @param d Specifies the duration of the effect, in milliseconds.
+     *
+     *  @return Number corresponding to the position of the component.
+     */
+	public static function easeInOut(t:Number, b:Number,
+									 c:Number, d:Number):Number
+	{
+		if ((t /= d / 2) < 1)
+			return c / 2 * t * t * t + b;
+
+		return c / 2 * ((t -= 2) * t * t + 2) + b;
+	}
+}
+
+}


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 10936
Author:   gosmith@adobe.com
Date:     2009-10-08T18:38:10.134233Z

Log Message:
-----------
Integrated yesterday's TLF Build 524. In this build the inline IME should now work on Player 10.1, although this TLF feature is not yet code-complete.

This integration required only a trivial modification to the framework: HTML_FORMAT has been renamed to TEXT_FIELD_HTML_FORMAT to indicate that it isn't standard HTML.

Note: The textLayout.zip file posted with Build 524 was missing the IIMEClient interface and CompositionAttributeRange class. These are TLF's copies of Player 10.1 classes, since we are still compiling against a playerglobal.swc for Player 10.0.

QE notes: Please be on the lookup for mustella failures due to a new TLF.
Doc notes: None
Bugs: None
Reviewer: None
Tests run: ant checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/compose/TextFlowLine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/compose/TextLineRecycler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/elements/ParagraphElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/compose/IFlowComposer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_conversion/src/flashx/textLayout/conversion/TextConverter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/events/FlowElementMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/FTETextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flashx/textLayout/EditClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flashx/textLayout/container/TextContainerManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/compose/BaseCompose.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/compose/StandardFlowComposer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/compose/ParcelList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/property/UintProperty.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_conversion/src/flashx/textLayout/conversion/HtmlImporter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/elements/FlowGroupElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flashx/textLayout/operations/InsertTextOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/compose/Parcel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/ReleaseNotes.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/edit/IInteractionEventHandler.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flash/text/ime</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/compose/IParcelList.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flash/text/ime/CompositionAttributeRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/tlf.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_conversion/src/flashx/textLayout/conversion/BaseTextLayoutExporter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/elements/FlowElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flashx/textLayout/edit/SelectionManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flashx/textLayout/edit/EditManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flash/text/ime/IIMEClient.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flash/text</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flashx/textLayout/operations/UndoOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/CoreClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/container/ContainerController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/BuildInfo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flashx/textLayout/edit/IEditManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flashx/textLayout/edit/ParaEdit.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_conversion/src/flashx/textLayout/conversion/HtmlExporter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/compose/FlowComposerBase.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/src/flash</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/elements/TCYElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/elements/FlowLeafElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_conversion/src/flashx/textLayout/conversion/TextLayoutImporter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/elements/SpanElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/src/flashx/textLayout/events/TextLayoutEvent.as</path>

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

--- frameworks/projects/spark/src/mx/core/FTETextField.as
+++ frameworks/projects/spark/src/mx/core/FTETextField.as
@@ -96,7 +96,7 @@
 		plainTextExporter =
 			TextConverter.getExporter(TextConverter.PLAIN_TEXT_FORMAT);

-		// Create an importer for HTML_FORMAT that collapses whitespace.
+		// Create an importer for TEXT_FIELD_HTML_FORMAT that collapses whitespace.
 		// Note: We have to make a copy of the textFlowInitialFormat,
 		// which has various formats set to "inherit",
 		// and then modify it and set it back.
@@ -105,10 +105,10 @@
 		format.whiteSpaceCollapse = "collapse";
 		config.textFlowInitialFormat = format;
 		collapsingHTMLImporter =
-			TextConverter.getImporter(TextConverter.HTML_FORMAT, config);
+			TextConverter.getImporter(TextConverter.TEXT_FIELD_HTML_FORMAT, config);
 		collapsingHTMLImporter.throwOnError = false;

-		// Create an importer for HTML_FORMAT that preserves whitespace.
+		// Create an importer for TEXT_FIELD_HTML_FORMAT that preserves whitespace.
 		// Note: We have to make a copy of the textFlowInitialFormat,
 		// which has various formats set to "inherit",
 		// and then modify it and set it back.
@@ -117,12 +117,12 @@
 		format.whiteSpaceCollapse = "preserve";
 		config.textFlowInitialFormat = format;
 		preservingHTMLImporter =
-			TextConverter.getImporter(TextConverter.HTML_FORMAT, config);
+			TextConverter.getImporter(TextConverter.TEXT_FIELD_HTML_FORMAT, config);
 		preservingHTMLImporter.throwOnError = true;

-		// Create an exporter for HTML_FORMAT.
+		// Create an exporter for TEXT_FIELD_HTML_FORMAT.
 		htmlExporter =
-			TextConverter.getExporter(TextConverter.HTML_FORMAT);
+			TextConverter.getExporter(TextConverter.TEXT_FIELD_HTML_FORMAT);

 		if ("recreateTextLine" in staticTextBlock)
 			recreateTextLine = staticTextBlock["recreateTextLine"];
@@ -230,8 +230,7 @@
 	/**
 	 *  @private
 	 */
-	private static var htmlExporter:ITextExporter =
-		TextConverter.getExporter(TextConverter.HTML_FORMAT);
+	private static var htmlExporter:ITextExporter;

 	/**
 	 *  @private


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

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

 package spark.effects
 {


replace URL class by core.uri

replace URL class by core.uri

--- src/com/google/analytics/campaign/CampaignManager.as
+++ src/com/google/analytics/campaign/CampaignManager.as
@@ -24,10 +24,10 @@
     import com.google.analytics.core.OrganicReferrer;
     import com.google.analytics.debug.DebugConfiguration;
     import com.google.analytics.debug.VisualDebugMode;
-    import com.google.analytics.utils.Protocols;
-    import com.google.analytics.utils.URL;
     import com.google.analytics.utils.Variables;
     import com.google.analytics.v4.Configuration;
+
+    import core.uri;

     /**
      * The CampaignManager class.
@@ -81,39 +81,32 @@
                 return true;
             }

-            if( referrer.indexOf("://") > -1 )
-            {
-                var url:URL = new URL( referrer );
-
-                if( (url.protocol == Protocols.file) ||
-                    (url.protocol == Protocols.none) )
-                    {
+            var url:uri = new uri( referrer );
+
+            if( (url.scheme == "file") ||
+                (url.scheme == "") )
+            {
+                return true;
+            }
+
+            return false;
+        }
+
+        /**
+         * Checks if the document referrer is from the google custom search engine.
+         * @private
+         * @return true if the referrer is from google custom search engine.
+         */
+        public static function isFromGoogleCSE( referrer:String, config:Configuration ):Boolean
+        {
+            var url:uri = new uri( referrer );
+
+            if( url.host.indexOf( config.google ) > -1 )
+            {
+                if( (url.path == "/"+config.googleCsePath ) &&
+                    (url.query.indexOf( config.googleSearchParam+"=" ) > -1) )
+                {
                     return true;
-                    }
-            }
-
-            return false;
-        }
-
-        /**
-         * Checks if the document referrer is from the google custom search engine.
-         * @private
-         * @return true if the referrer is from google custom search engine.
-         */
-        public static function isFromGoogleCSE( referrer:String, config:Configuration ):Boolean
-        {
-            var url:URL = new URL( referrer );
-
-            // verify that the referrer is google cse search query.
-            if( url.hostName.indexOf( config.google ) > -1 )
-            {
-                if( url.search.indexOf( config.googleSearchParam+"=" ) > -1 )
-                {
-                    // check if this is google custom search engine.
-                    if( url.path == "/"+config.googleCsePath )
-                    {
-                        return true;
-                    }
                 }
             }

@@ -288,27 +281,21 @@
                 return camp;
             }

-            var ref:URL = new URL( _referrer );
-            var name:String = "";
-
-            if( ref.hostName != "" )
-            {
-                if( ref.hostName.indexOf( "." ) > -1 )
-                {
-                    var tmp:Array = ref.hostName.split( "." );
+            var ref:uri = new uri( _referrer );
+            var name:String;
+
+            if( (ref.host != "") && (ref.host.indexOf(".") > -1) )
+            {
+                var tmp:Array = ref.host.split( "." );
+
+                switch( tmp.length )
+                {
+                    case 2:
+                    name = tmp[0];
+                    break;

-                    switch( tmp.length)
-                    {
-                        case 2:
-                        // case: http://domain.com
-                        name = tmp[0];
-                        break;
-
-                        case 3:
-                        //case: http://www.domain.com
-                        name = tmp[1];
-                        break;
-                    }
+                    case 3:
+                    name = tmp[1];
                 }
             }

@@ -318,7 +305,7 @@
                 var currentOrganicSource:OrganicReferrer = _config.organic.getReferrerByName( name );

                 // extract keyword value from query string
-                var keyword:String = _config.organic.getKeywordValue( currentOrganicSource, ref.search );
+                var keyword:String = _config.organic.getKeywordValue( currentOrganicSource, ref.query );

                 camp = new CampaignTracker();
                 camp.source = currentOrganicSource.engine;
@@ -349,9 +336,11 @@
             }

             // get host name from referrer
-            var ref:URL = new URL( _referrer );
-            var hostname:String = ref.hostName;
+            var ref:uri = new uri( _referrer );
+            var hostname:String = ref.host;
             var content:String  = ref.path;
+
+            if( content == "" ) { content = "/"; } //fix empty path

             if( hostname.indexOf( "www." ) == 0 )
             {


update user agent prop get

update user agent prop get

--- src/com/google/analytics/v4/Tracker.as
+++ src/com/google/analytics/v4/Tracker.as
@@ -546,7 +546,7 @@
                 hash       += _info.appVersion;
                 hash       += _info.language;
                 hash       += _info.platform;
-                hash       += _info.userAgent.toString();
+                hash       += _info.userAgent;
                 hash       += _info.screenWidth+"x"+_info.screenHeight+_info.screenColorDepth;
                 hash       += _info.referrer;


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

--- frameworks/projects/framework/src/mx/utils/UIDUtil.as
+++ frameworks/projects/framework/src/mx/utils/UIDUtil.as
@@ -0,0 +1,385 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.utils
+{
+
+import flash.utils.ByteArray;
+import flash.utils.Dictionary;
+
+import mx.core.IPropertyChangeNotifier;
+import mx.core.IUIComponent;
+import mx.core.IUID;
+import mx.core.mx_internal;
+
+use namespace mx_internal;
+
+/**
+ *  The UIDUtil class is an all-static class
+ *  with methods for working with UIDs (unique identifiers) within Flex.
+ *  You do not create instances of UIDUtil;
+ *  instead you simply call static methods such as the
+ *  UIDUtil.createUID() method.
+ *
+ *
Note: If you have a dynamic object that has no [Bindable] properties
+ *  (which force the object to implement the IUID interface), Flex  adds an
+ *  mx_internal_uid property that contains a UID to the object.
+ *  To avoid having this field
+ *  in your dynamic object, make it [Bindable], implement the IUID interface
+ *  in the object class, or set a <coded>uid</coded> property with a value.

+ */
+public class UIDUtil
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Char codes for 0123456789ABCDEF
+     */
+    private static const ALPHA_CHAR_CODES:Array = [48, 49, 50, 51, 52, 53, 54,
+        55, 56, 57, 65, 66, 67, 68, 69, 70];
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  This Dictionary records all generated uids for all existing items.
+     */
+    private static var uidDictionary:Dictionary = new Dictionary(true);
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Generates a UID (unique identifier) based on ActionScript's
+     *  pseudo-random number generator and the current time.
+     *
+     *
The UID has the form
+     *  "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
+     *  where X is a hexadecimal digit (0-9, A-F).

+     *
+     *
This UID will not be truly globally unique; but it is the best
+     *  we can do without player support for UID generation.

+     *
+     *  @return The newly-generated UID.
+     */
+    public static function createUID():String
+    {
+        var uid:Array = new Array(36);
+        var index:int = 0;
+
+        var i:int;
+        var j:int;
+
+        for (i = 0; i < 8; i++)
+        {
+            uid[index++] = ALPHA_CHAR_CODES[Math.floor(Math.random() *  16)];
+        }
+
+        for (i = 0; i < 3; i++)
+        {
+            uid[index++] = 45; // charCode for "-"
+
+            for (j = 0; j < 4; j++)
+            {
+                uid[index++] = ALPHA_CHAR_CODES[Math.floor(Math.random() *  16)];
+            }
+        }
+
+        uid[index++] = 45; // charCode for "-"
+
+        var time:Number = new Date().getTime();
+        // Note: time is the number of milliseconds since 1970,
+        // which is currently more than one trillion.
+        // We use the low 8 hex digits of this number in the UID.
+        // Just in case the system clock has been reset to
+        // Jan 1-4, 1970 (in which case this number could have only
+        // 1-7 hex digits), we pad on the left with 7 zeros
+        // before taking the low digits.
+        var timeString:String = ("0000000" + time.toString(16).toUpperCase()).substr(-8);
+
+        for (i = 0; i < 8; i++)
+        {
+            uid[index++] = timeString.charCodeAt(i);
+        }
+
+        for (i = 0; i < 4; i++)
+        {
+            uid[index++] = ALPHA_CHAR_CODES[Math.floor(Math.random() *  16)];
+        }
+
+        return String.fromCharCode.apply(null, uid);
+    }
+
+    /**
+     * Converts a 128-bit UID encoded as a ByteArray to a String representation.
+     * The format matches that generated by createUID. If a suitable ByteArray
+     * is not provided, null is returned.
+     *
+     * @param ba ByteArray 16 bytes in length representing a 128-bit UID.
+     *
+     * @return String representation of the UID, or null if an invalid
+     * ByteArray is provided.
+     */
+    public static function fromByteArray(ba:ByteArray):String
+    {
+        if (ba != null && ba.length >= 16 && ba.bytesAvailable >= 16)
+        {
+            var chars:Array = new Array(36);
+            var index:uint = 0;
+            for (var i:uint = 0; i < 16; i++)
+            {
+                if (i == 4 || i == 6 || i == 8 || i == 10)
+                    chars[index++] = 45; // Hyphen char code
+
+                var b:int = ba.readByte();
+                chars[index++] = ALPHA_CHAR_CODES[(b & 0xF0) >>> 4];
+                chars[index++] = ALPHA_CHAR_CODES[(b & 0x0F)];
+            }
+            return String.fromCharCode.apply(null, chars);
+        }
+
+        return null;
+    }
+
+    /**
+     * A utility method to check whether a String value represents a
+     * correctly formatted UID value. UID values are expected to be
+     * in the format generated by createUID(), implying that only
+     * capitalized A-F characters in addition to 0-9 digits are
+     * supported.
+     *
+     * @param uid The value to test whether it is formatted as a UID.
+     *
+     * @return Returns true if the value is formatted as a UID.
+     */
+    public static function isUID(uid:String):Boolean
+    {
+        if (uid != null && uid.length == 36)
+        {
+            for (var i:uint = 0; i < 36; i++)
+            {
+                var c:Number = uid.charCodeAt(i);
+
+                // Check for correctly placed hyphens
+                if (i == 8 || i == 13 || i == 18 || i == 23)
+                {
+                    if (c != 45)
+                    {
+                        return false;
+                    }
+                }
+                // We allow capital alpha-numeric hex digits only
+                else if (c < 48 || c > 70 || (c > 57 && c < 65))
+                {
+                    return false;
+                }
+            }
+
+            return true;
+        }
+
+        return false;
+    }
+
+    /**
+     * Converts a UID formatted String to a ByteArray. The UID must be in the
+     * format generated by createUID, otherwise null is returned.
+     *
+     * @param String representing a 128-bit UID
+     *
+     * @return ByteArray 16 bytes in length representing the 128-bits of the
+     * UID or null if the uid could not be converted.
+     */
+    public static function toByteArray(uid:String):ByteArray
+    {
+        if (isUID(uid))
+        {
+            var result:ByteArray = new ByteArray();
+
+            for (var i:uint = 0; i < uid.length; i++)
+            {
+                var c:String = uid.charAt(i);
+                if (c == "-")
+                    continue;
+                var h1:uint = getDigit(c);
+                i++;
+                var h2:uint = getDigit(uid.charAt(i));
+                result.writeByte(((h1 << 4) | h2) & 0xFF);
+            }
+            result.position = 0;
+            return result;
+        }
+
+        return null;
+    }
+
+    /**
+     *  Returns the UID (unique identifier) for the specified object.
+     *  If the specified object doesn't have an UID
+     *  then the method assigns one to it.
+     *  If a map is specified this method will use the map
+     *  to construct the UID.
+     *  As a special case, if the item passed in is null,
+     *  this method returns a null UID.
+     *
+     *  @param item Object that we need to find the UID for.
+     *
+     *  @return The UID that was either found or generated.
+     */
+    public static function getUID(item:Object):String
+    {
+        var result:String = null;
+
+        if (item == null)
+            return result;
+
+        if (item is IUID)
+        {
+            result = IUID(item).uid;
+            if (result == null || result.length == 0)
+            {
+                result = createUID();
+                IUID(item).uid = result;
+            }
+        }
+        else if ((item is IPropertyChangeNotifier) &&
+                 !(item is IUIComponent))
+        {
+            result = IPropertyChangeNotifier(item).uid;
+            if (result == null || result.length == 0)
+            {
+                result = createUID();
+                IPropertyChangeNotifier(item).uid = result;
+            }
+        }
+        else if (item is String)
+        {
+            return item as String;
+        }
+        else
+        {
+            try
+            {
+                // We don't create uids for XMLLists, but if
+                // there's only a single XML node, we'll extract it.
+                if (item is XMLList && item.length == 1)
+                    item = item[0];
+
+                if (item is XML)
+                {
+                    // XML nodes carry their UID on the
+                    // function-that-is-a-hashtable they can carry around.
+                    // To decorate an XML node with a UID,
+                    // we need to first initialize it for notification.
+                    // There is a potential performance issue here,
+                    // since notification does have a cost,
+                    // but most use cases for needing a UID on an XML node also
+                    // require listening for change notifications on the node.
+                    var xitem:XML = XML(item);
+                    var nodeKind:String = xitem.nodeKind();
+                    if (nodeKind == "text" || nodeKind == "attribute")
+                        return xitem.toString();
+
+                    var notificationFunction:Function = xitem.notification();
+                    if (!(notificationFunction is Function))
+                    {
+                        // The xml node hasn't already been initialized
+                        // for notification, so do so now.
+                        notificationFunction =
+                            XMLNotifier.initializeXMLForNotification();
+                        xitem.setNotification(notificationFunction);
+                    }
+
+                    // Generate a new uid for the node if necessary.
+                    if (notificationFunction["uid"] == undefined)
+                        result = notificationFunction["uid"] = createUID();
+
+                    result = notificationFunction["uid"];
+                }
+                else
+                {
+                    if ("mx_internal_uid" in item)
+                        return item.mx_internal_uid;
+
+                    if ("uid" in item)
+                        return item.uid;
+
+                    result = uidDictionary[item];
+
+                    if (!result)
+                    {
+                        result = createUID();
+                        try
+                        {
+                            item.mx_internal_uid = result;
+                        }
+                        catch(e:Error)
+                        {
+                            uidDictionary[item] = result;
+                        }
+                    }
+                }
+            }
+            catch(e:Error)
+            {
+                result = item.toString();
+            }
+        }
+
+        return result;
+    }
+
+    /**
+     * Returns the decimal representation of a hex digit.
+     * @private
+     */
+    private static function getDigit(hex:String):uint
+    {
+        switch (hex)
+        {
+            case "A":
+            case "a":
+                return 10;
+            case "B":
+            case "b":
+                return 11;
+            case "C":
+            case "c":
+                return 12;
+            case "D":
+            case "d":
+                return 13;
+            case "E":
+            case "e":
+                return 14;
+            case "F":
+            case "f":
+                return 15;
+            default:
+                return new uint(hex);
+        }
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/containers/Accordion.as
+++ frameworks/projects/mx/src/mx/containers/Accordion.as
@@ -2061,9 +2061,9 @@

         var prevValue:int = selectedIndex;

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

         switch (keyCode)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5099
Author:   gauravj@adobe.com
Date:     2009-02-27T03:43:02.639229Z

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:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/rpc/soap/SOAPHeader.as
+++ frameworks/projects/rpc/src/mx/rpc/soap/SOAPHeader.as
@@ -15,6 +15,11 @@
 /**
  * You use a SOAPHeader to specify the headers that need
  * to be added to a SOAP envelope of a WebService Operation request.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class SOAPHeader
 {
@@ -25,6 +30,11 @@
      * @param qname The qualified name of the SOAP header.
      *
      * @param content The content to send for the header value.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function SOAPHeader(qname:QName, content:Object)
     {
@@ -40,11 +50,21 @@
      * Otherwise, you can provide the value as a String or Number, etc. and the underlying SOAP encoder
      * attempts to encode the value correctly based on the QName provided in the SOAPHeader
      * (with the last resort being xsd:anyType if a type definition is not present).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var content:Object;

     /**
      * The qualified name of the SOAP header.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var qname:QName;

@@ -59,6 +79,11 @@
      * Specifies whether the header must be understood by the endpoint. If
      * the header is handled but must be understood the endpoint should
      * return a SOAP fault.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var mustUnderstand:Boolean;

@@ -67,6 +92,11 @@
      * potential chain of endpoints processing a SOAP request. If defined,
      * this value is used to specify the actor for the SOAP
      * header.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var role:String;


Facade add and remove methods returns a boolean value

--- src/ru/whitered/kote/Facade.as
+++ src/ru/whitered/kote/Facade.as
@@ -34,9 +34,9 @@
 		 *
 		 * @param proxy Proxy instance to register
 		 */
-		public function addProxy(proxy:Proxy):void
-		{
-			registerNotifier(proxy);
+		public function addProxy(proxy:Proxy):Boolean
+		{
+			return registerNotifier(proxy);
 		}

@@ -46,9 +46,9 @@
 		 *
 		 * @param proxy Proxy to remove
 		 */
-		public function removeProxy(proxy:Proxy):void
-		{
-			unregisterNotifier(proxy);
+		public function removeProxy(proxy:Proxy):Boolean
+		{
+			return unregisterNotifier(proxy);
 		}

@@ -75,9 +75,9 @@
 		 *
 		 * @param mediator
 		 */
-		public function addMediator(mediator:Mediator):void
-		{
-			if(!registerNotifier(mediator)) return;
+		public function addMediator(mediator:Mediator):Boolean
+		{
+			if(!registerNotifier(mediator)) return false;

 			const subscriptions:Vector.<NotificationType> = mediator.listSubscriptions();
 			const subscriptionsLength:int = subscriptions.length;
@@ -91,6 +91,8 @@
 			mediator.onUnsubscribe.addCallback(unsubscribeMediator);

 			mediator.onAdd.dispatch(mediator, this);
+
+			return true;
 		}

@@ -100,9 +102,9 @@
 		 *
 		 * @param mediator
 		 */
-		public function removeMediator(mediator:Mediator):void
-		{
-			if(!unregisterNotifier(mediator)) return;
+		public function removeMediator(mediator:Mediator):Boolean
+		{
+			if(!unregisterNotifier(mediator)) return false;

 			const subscriptions:Vector.<NotificationType> = mediator.listSubscriptions();
 			const subscriptionsLength:int = subscriptions.length;
@@ -116,6 +118,8 @@
 			mediator.onSubscribe.removeCallback(subscribeMediator);

 			mediator.onRemove.dispatch(mediator, this);
+
+			return true;
 		}

@@ -169,10 +173,10 @@
 		 * @param command
 		 * @param priority Priority of the command. Commands with a higher priority will be executed first
 		 */
-		public function addCommand(notificationType:NotificationType, command:Command, priority:int = 0):void
+		public function addCommand(notificationType:NotificationType, command:Command, priority:int = 0):Boolean
 		{
 			const controller:Controller = controllers[notificationType] ||= new Controller();
-			controller.addCommand(command, priority);
+			return controller.addCommand(command, priority);
 		}

@@ -183,13 +187,18 @@
 		 * @param notificationType
 		 * @param command
 		 */
-		public function removeCommand(notificationType:NotificationType, command:Command):void
+		public function removeCommand(notificationType:NotificationType, command:Command):Boolean
 		{
 			const controller:Controller = controllers[notificationType];
-			if(controller && controller.removeCommand(command) && controller.isEmpty())
-			{
-				// if the last command of the controller was removed
-				delete controllers[notificationType];
+			if(controller && controller.removeCommand(command))
+			{
+				// if the last command of the controller was removed:
+				if(controller.isEmpty()) delete controllers[notificationType];
+				return true;
+			}
+			else
+			{
+				return 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@1248771 13f79535-47bb-0310-9956-ffa450edef68

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 6122
Author:   chaase@adobe.com
Date:     2009-04-10T14:30:17.762458Z

Log Message:
-----------
Various refactorings/renamings/changes from effects PARB review.

QE Notes: mx/effects and spark/effects currently broken (and disabled) due to these API changes. Matt is fixing.
Doc Notes: None
Bugs:
Reviewer: Hans
tests: checkintests, mustella tests/ListDataEffects

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOut.as" copyfrom-rev="5944" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOut.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EasingFraction.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/framework/src/mx/events/EffectEvent.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/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/TweenEffectInstance.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/Animate.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/RepeatBehavior.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/NumberArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/Animate3DInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimationProperty.as" copyfrom-rev="5944" action="A">/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/supportClasses/AnimateShaderTransitionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateFilterInstance.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/supportClasses/Rotate3DInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/AnimationEvent.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/framework/src/mx/effects/IEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RotateInstance.as</path>
<path kind="file" action="A">/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/supportClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimationProperty.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>

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

--- frameworks/projects/framework/src/mx/events/EffectEvent.as
+++ frameworks/projects/framework/src/mx/events/EffectEvent.as
@@ -10,7 +10,9 @@
  *

  *
effectStart

  *
effectStop

+ *
effectRepeat

  *
effectEnd

+ *
effectRepeat

  *

  *
  *  @see mx.effects.Effect
@@ -129,6 +131,72 @@
 	 */
 	public static const EFFECT_START:String = "effectStart";

+    /**
+     *  The EffectEvent.EFFECT_REPEAT constant defines the value of the
+     *  type property of the event object for an
+     *  effectRepeat event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+     *
bubbles	false

+     *
cancelable	false

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

+     *
effectInstance	The effect instance object
+     *       for the event.

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

+     *

+     *
+     *  @see mx.effects.Effect
+     *
+     *  @eventType effectRepeat
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const EFFECT_REPEAT:String = "effectRepeat";
+
+    /**
+     *  The EffectEvent.EFFECT_UPDATE constant defines the value of the
+     *  type property of the event object for an
+     *  effectUpdate event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+     *
bubbles	false

+     *
cancelable	false

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

+     *
effectInstance	The effect instance object
+     *       for the event.

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

+     *

+     *
+     *  @see mx.effects.Effect
+     *
+     *  @eventType effectUpdate
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public static const EFFECT_UPDATE:String = "effectUpdate";
+
 	//--------------------------------------------------------------------------
 	//
 	//  Constructor


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

--- frameworks/projects/mx/src/mx/controls/RadioButtonGroup.as
+++ frameworks/projects/mx/src/mx/controls/RadioButtonGroup.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: 5573
Author:   jimurphy@adobe.com
Date:     2009-03-26T15:11:59.159776Z

Log Message:
-----------
-more updated package and class names that were missed in the first pass
-remove the mx folder

qa: probably
doc: this updated more asdoc comments so you may want to make sure that this pass made the correct updates
checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.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/layout/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.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/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/SetActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/IEaser.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/asdoc/en_US/mx/components/examples/DataGroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/pathSegments/PathSegment.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/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxToggleButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/AnimationEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.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/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/WipeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SetAction.as</path>

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

--- frameworks/projects/spark/src/spark/components/CheckBox.as
+++ frameworks/projects/spark/src/spark/components/CheckBox.as
@@ -18,7 +18,7 @@
 import spark.components.supportClasses.ToggleButtonBase;

 /**
- *  @copy mx.components.baseClasses.GroupBase#symbolColor
+ *  @copy spark.components.supportClasses.GroupBase#symbolColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 5269
Author:   egeorgie@adobe.com
Date:     2009-03-12T18:35:42.425116Z

Log Message:
-----------
Remove style metadata for the non-inheriting verticalAlign, paddingLeft, paddingTop, paddingRight, paddingBottom styles.

QE Notes: None
Doc Notes:
Bugs: None
Reviewer: None
tests: checkintests, mustella

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/NonInheritingTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicTextLayoutFormatStyles.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -42,6 +42,7 @@

 include "../styles/metadata/AdvancedTextLayoutFormatStyles.as"
 include "../styles/metadata/BasicTextLayoutFormatStyles.as"
+include "../styles/metadata/NonInheritingTextLayoutFormatStyles.as"

 //--------------------------------------
 //  Other metadata


Transferred from the Adobe Open Source Subversion Repository

Revision: 22233
Author:   eday@adobe.com
Date:     2011-08-25T23:21:02.310998Z

Log Message:
-----------
Scroll range fix, take two.

QE notes:
Doc notes:
Bugs: SDK-31145
Reviewer: Glenn
Tests run: Cyclone Assist, Mobile List Android/iOS
Is noteworthy for integration: no

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/Scroller.as

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -1077,6 +1077,7 @@
             viewport.clipAndEnableScrolling = true;
             Group(skin).addElementAt(viewport, 0);
             viewport.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, viewport_propertyChangeHandler);
+            viewport.addEventListener(Event.RESIZE, viewport_resizeHandler);
         }
         if (verticalScrollBar)
             verticalScrollBar.viewport = viewport;
@@ -1095,6 +1096,7 @@
             viewport.clipAndEnableScrolling = false;
             Group(skin).removeElement(viewport);
             viewport.removeEventListener(PropertyChangeEvent.PROPERTY_CHANGE, viewport_propertyChangeHandler);
+            viewport.removeEventListener(Event.RESIZE, viewport_resizeHandler);
         }
     }

@@ -1903,6 +1905,22 @@
             handleContentSizeChangeOnUpdateComplete);

         handleContentSizeChange();
+    }
+
+    /**
+     *  @private
+     */
+    private function viewport_resizeHandler(event:Event):void
+    {
+        if (getStyle("interactionMode") == InteractionMode.TOUCH)
+        {
+            // If the viewport dimensions have changed, then we may need to update the
+            // scroll ranges per the new viewport size.
+            // Note that the orientationChangeHandler serves the same purpose, but on
+            // some platforms (i.e. Android) the runtime sends the "orientationChange"
+            // event before the new viewport dimensions are set.
+            determineScrollRanges();
+        }
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 8386
Author:   srahim@adobe.com
Date:     2009-07-06T19:50:00.014831Z

Log Message:
-----------
ASDoc updates for Spark components

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -183,6 +183,26 @@
  *  of a viewport and its scrollbars, instead of using Scroller, just add them
  *  to a Group and use the scrollbar viewport property
  *  to link them together.

+ *
+ *
The Scroller control has the following default characteristics:

+ *

+ *

+ *           Characteristic
+ *           Description
+ *

+ *

+ *           Default size
+ *           0
+ *

+ *

+ *           Minimum size
+ *           0
+ *

+ *

+ *           Maximum size
+ *           10000 pixels wide and 10000 pixels high
+ *

+ *

  *
  *  @mxml
  *


Initialize slider with current inertia instead of constant

--- src/tire/ui/WheelDataScreen.as
+++ src/tire/ui/WheelDataScreen.as
@@ -76,7 +76,7 @@
         _wheelInertiaSlider.minimum = 0.1;
         _wheelInertiaSlider.maximum = 50;
         _wheelInertiaSlider.step = 0.1;
-        _wheelInertiaSlider.value = 20;
+        _wheelInertiaSlider.value = tirePhysics.wheelInertia;
         _wheelInertiaSlider.isEnabled = _tirePhysics.wheelInertiaLocked;
         _wheelInertiaSlider.addEventListener(Event.CHANGE, function (e:Event):void {
             _tirePhysics.wheelInertia = _wheelInertiaSlider.value;


Some optimizations in DescribeTypeJSONReflector, leading to about 25% performance improvement

--- src/org/swiftsuspenders/DescribeTypeJSONReflector.as
+++ src/org/swiftsuspenders/DescribeTypeJSONReflector.as
@@ -12,8 +12,6 @@
 	import flash.system.ApplicationDomain;
 	import flash.utils.getDefinitionByName;
 	import flash.utils.getQualifiedClassName;
-
-	import org.swiftsuspenders.injectionpoints.ConstructorInjectionPoint;

 	import org.swiftsuspenders.injectionpoints.ConstructorInjectionPoint;
 	import org.swiftsuspenders.injectionpoints.InjectionPoint;
@@ -101,8 +99,9 @@
 				}
 				return null;
 			}
-			var injectParameters : Array = extractInjectParameters(_traits.metadata);
-			var parameterNames : Array = extractMappingName(injectParameters);
+			var injectParameters : Array =
+					_traits.metadata && extractInjectParameters(_traits.metadata);
+			var parameterNames : Array = extractMappingName(injectParameters || []);
 			return new ConstructorInjectionPoint(
 					gatherMethodParameters(parameters, parameterNames));
 		}
@@ -117,9 +116,17 @@
 		public function addMethodInjectionPointsToList(
 				lastInjectionPoint : InjectionPoint) : InjectionPoint
 		{
-			for each (var method : Object in _traits.methods)
-			{
-				var injectParameters : Array = extractInjectParameters(method.metadata);
+			const methods : Array = _traits.methods;
+			if (!methods)
+			{
+				return lastInjectionPoint;
+			}
+			const length : uint = methods.length;
+			for (var i : int = 0; i < length; i++)
+			{
+				var method : Object = methods[i];
+				var injectParameters : Array =
+						method.metadata && extractInjectParameters(method.metadata);
 				if (!injectParameters)
 				{
 					continue;
@@ -139,10 +146,17 @@
 				lastInjectionPoint : InjectionPoint) : InjectionPoint
 		{
 			const postConstructMethodPoints : Array = [];
-			for each (var method : Object in _traits.methods)
-			{
+			const methods : Array = _traits.methods;
+			if (!methods)
+			{
+				return lastInjectionPoint;
+			}
+			var length : uint = methods.length;
+			for (var i : int = 0; i < length; i++)
+			{
+				var method : Object = methods[i];
 				var postConstructParameters : Array =
-						extractPostConstructParameters(method.metadata);
+						method.metadata && extractPostConstructParameters(method.metadata);
 				if (!postConstructParameters)
 				{
 					continue;
@@ -153,8 +167,10 @@
 			if (postConstructMethodPoints.length > 0)
 			{
 				postConstructMethodPoints.sortOn('order', Array.NUMERIC);
-				for each (var injectionPoint : InjectionPoint in postConstructMethodPoints)
-				{
+				length = postConstructMethodPoints.length;
+				for (i = 0; i < length; i++)
+				{
+					var injectionPoint : InjectionPoint = postConstructMethodPoints[i];
 					lastInjectionPoint.next = injectionPoint;
 					lastInjectionPoint = injectionPoint;
 				}
@@ -165,11 +181,18 @@

 		//----------------------         Private / Protected Methods        ----------------------//
 		private function gatherFieldInjectionPoints(
-				fields : Object, lastInjectionPoint : InjectionPoint) : InjectionPoint
-		{
-			for each (var field : Object in fields)
-			{
-				var injectParameters : Array = extractInjectParameters(field.metadata);
+				fields : Array, lastInjectionPoint : InjectionPoint) : InjectionPoint
+		{
+			if (!fields)
+			{
+				return lastInjectionPoint;
+			}
+			const length : uint = fields.length;
+			for (var i : int = 0; i < length; i++)
+			{
+				var field : Object = fields[i];
+				var injectParameters : Array =
+						field.metadata && extractInjectParameters(field.metadata);
 				if (!injectParameters)
 				{
 					continue;
@@ -214,8 +237,10 @@

 		private function extractInjectParameters(metadata : Array) : Array
 		{
-			for each (var entry : Object in metadata)
-			{
+			var length : uint = metadata.length;
+			for (var i : int = 0; i < length; i++)
+			{
+				var entry : Object = metadata[i];
 				if (entry.name == 'Inject')
 				{
 					return entry.value;
@@ -226,8 +251,10 @@

 		private function extractPostConstructParameters(metadata : Array) : Array
 		{
-			for each (var entry : Object in metadata)
-			{
+			var length : uint = metadata.length;
+			for (var i : int = 0; i < length; i++)
+			{
+				var entry : Object = metadata[i];
 				if (entry.name == 'PostConstruct')
 				{
 					return entry.value;
@@ -238,8 +265,10 @@

 		private function extractOrder(postConstructParameters : Array) : int
 		{
-			for each (var parameter : Object in postConstructParameters)
-			{
+			var length : uint = postConstructParameters.length;
+			for (var i : int = 0; i < length; i++)
+			{
+				var parameter : Object = postConstructParameters[i];
 				if (parameter.key == 'order')
 				{
 					const result : Number = parseInt(parameter.value, 10);
@@ -252,8 +281,10 @@
 		private function extractMappingName(injectParameters : Array) : Array
 		{
 			var names : Array = [];
-			for each (var parameter : Object in injectParameters)
-			{
+			var length : uint = injectParameters.length;
+			for (var i : int = 0; i < length; i++)
+			{
+				var parameter : Object = injectParameters[i];
 				if (parameter.key == 'name')
 				{
 					names.push(parameter.value);
@@ -264,8 +295,10 @@

 		private function extractOptionalFlag(injectParameters : Array) : Boolean
 		{
-			for each (var parameter : Object in injectParameters)
-			{
+			var length : uint = injectParameters.length;
+			for (var i : int = 0; i < length; i++)
+			{
+				var parameter : Object = injectParameters[i];
 				if (parameter.key == 'optional')
 				{
 					return parameter.value == 'true' || parameter.value == '1';


fixed issue with spaces in paths

fixed issue with spaces in paths

--- source/ASConfigC.as
+++ source/ASConfigC.as
@@ -418,6 +418,24 @@
 			return jarPath;
 		}

+		private function escapePath(path:String):String
+		{
+			//we don't want spaces in paths or they will be interpreted as new
+			//command line options
+			if(process.platform === "win32")
+			{
+				//on windows, paths may be wrapped in quotes to include spaces
+				path = "\"" + path + "\"";
+			}
+			else
+			{
+				//on other platforms, a backslash preceding a string will
+				//include the space in the path
+				path = path.replace(/\ /g, "\\ ");
+			}
+			return path;
+		}
+
 		private function compileProject():void
 		{
 			var jarPath:String = this.findJarPath();
@@ -427,14 +445,14 @@
 				process.exit(1);
 			}
 			var frameworkPath:String = path.join(this._flexHome, "frameworks");
-			this._args.unshift("+flexlib=" + frameworkPath);
-			this._args.unshift(jarPath);
+			this._args.unshift("+flexlib=" + escapePath(frameworkPath);
+			this._args.unshift(escapePath(jarPath));
 			this._args.unshift("-jar");
-			this._args.unshift("-Dflexlib=" + frameworkPath);
-			this._args.unshift("-Dflexcompiler=" + this._flexHome);
-			try
-			{
-				var command:String = this._javaExecutable + " " + this._args.join(" ");
+			this._args.unshift("-Dflexlib=" + escapePath(frameworkPath));
+			this._args.unshift("-Dflexcompiler=" + escapePath(this._flexHome));
+			try
+			{
+				var command:String = escapePath(this._javaExecutable) + " " + this._args.join(" ");
 				if(this._additionalOptions)
 				{
 					command += " " + this._additionalOptions;


changed private function name

changed private function name

--- WeaveUI/src/weave/ui/SubMenu.as
+++ WeaveUI/src/weave/ui/SubMenu.as
@@ -165,7 +165,7 @@
 			var yMax:Number = tempBounds.getYNumericMax();

 			setStyle("openDuration",0);
-			popUpMenu(this, _uiParent, subMenuDataProvider.filter(isItemEnabled));
+			popUpMenu(this, _uiParent, subMenuDataProvider.filter(isItemShown));
 			show(menuLocation.x, menuLocation.y);

 			if (menuLocation.x < xMin)
@@ -181,7 +181,7 @@
 			move(menuLocation.x, menuLocation.y);
 		}

-		private function isItemEnabled(item:SubMenuItem, ..._):Boolean
+		private function isItemShown(item:SubMenuItem, ..._):Boolean
 		{
 			return getLabel(item) && (item.shown == null || item.shown());
 		}


using WeakMap for map_key_geomArray

using WeakMap for map_key_geomArray

--- WeaveJS/src/weavejs/data/column/GeometryColumn.as
+++ WeaveJS/src/weavejs/data/column/GeometryColumn.as
@@ -34,7 +34,7 @@
 		/**
 		 * This object maps a key to an array of geometry objects that have that key.
 		 */
-		private var map_key_geomArray:Object = new JS.Map();
+		private var map_key_geomArray:Object = new JS.WeakMap();

 		/**
 		 * This vector maps an index value to a GeneralizedGeometry object.
@@ -70,7 +70,7 @@
 			if (_geometryVector.length > 0)
 			{
 				// clear existing mappings
-				map_key_geomArray = new JS.Map();
+				map_key_geomArray = new JS.WeakMap();
 				_geometryToIndexMapping = new JS.WeakMap();
 			}


nuke research bar flashes after halfway point is reached

--- src/battlecode/client/viewer/render/DrawHUDResearch.as
+++ src/battlecode/client/viewer/render/DrawHUDResearch.as
@@ -1,11 +1,14 @@
 package battlecode.client.viewer.render {
     import battlecode.common.ResearchType;
+
+    import flash.utils.getTimer;

     import mx.containers.Canvas;
     import mx.controls.Image;

     public class DrawHUDResearch extends Canvas {
         private var image:Image;
+        private var type:String;
         private var progress:Number;

         public function DrawHUDResearch(type:String) {
@@ -23,6 +26,7 @@
             image.y = 0;

             progress = 0;
+            this.type = type;

             addChild(image);
         }
@@ -50,10 +54,16 @@
             visible = true;
             this.graphics.clear();

+            var color:uint = progress < 1.0 ? 0x00FFFF : 0x00FF00;
+            if (progress < 1.0 && progress > 0.5
+                    && type == ResearchType.NUKE && Math.floor(getTimer() / 400) % 2 == 0) {
+                color = 0xFFFF66;
+            }
+
             // draw progress bar
             var progressBarWidth:Number = width - image.width;
             this.graphics.lineStyle();
-            this.graphics.beginFill(progress < 1.0 ? 0x00FFFF : 0x00FF00, 0.8);
+            this.graphics.beginFill(color, 0.8);
             this.graphics.drawRect(0, (height / 2) - 2.5, progress * progressBarWidth, 5);
             this.graphics.endFill();
             this.graphics.beginFill(0x000000, 0.8);


removed assignment within if condition to avoid compiler warning

--- src/eu/stefaner/elasticlists/ui/facetboxes/FacetBox.as
+++ src/eu/stefaner/elasticlists/ui/facetboxes/FacetBox.as
@@ -224,7 +224,8 @@
 					yPos += Math.floor(transitioner.$(f).height);
 					f.visible = true;
 					f.parent.addChildAt(f, 0);
-				} else if(f = facetBoxElementForDataObject[facetValue]) {
+				} else if(facetBoxElementForDataObject[facetValue]) {
+					f = facetBoxElementForDataObject[facetValue];
 					f.y = 0;
 					f.height = 0;
 					f.visible = false;


FEC-4079 Some entries play with interrupts

--- HLSPlugin/src/com/kaltura/hls/m2ts/M2TSFileHandler.as
+++ HLSPlugin/src/com/kaltura/hls/m2ts/M2TSFileHandler.as
@@ -410,7 +410,7 @@
 		public static var flvLowWaterAudio:uint = 0;
 		public static var flvLowWaterVideo:uint = 0;
 		public static var flvRecoveringIFrame:Boolean = false;
-		public const filterThresholdMs:uint = 32;
+		public const filterThresholdMs:uint = 64;

 		private function clearFLVWaterMarkFilter():void
 		{


Transferred from the Adobe Open Source Subversion Repository

Revision: 13063
Author:   jimurphy@adobe.com
Date:     2009-12-17T19:29:44.938405Z

Log Message:
-----------
merge 3.x revs 13014 -> trunk

Committed a change to AccImpl for Jon Avila, involving the logic for accessible component inside FormItems.

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

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccImpl.as</path>

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

--- frameworks/projects/framework/src/mx/accessibility/AccImpl.as
+++ frameworks/projects/framework/src/mx/accessibility/AccImpl.as
@@ -170,7 +170,11 @@
         // Accessible name if it exists, else label text.
         var f:String = "";
         if (formItem.accessibilityProperties)
+        {
             f = formItem.accessibilityProperties.name
+            if (formItem.itemLabel && formItem.itemLabel.accessibilityEnabled)
+                formItem.itemLabel.accessibilityEnabled = false;
+        }
         if (f == "")
             f = formItem.label;


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

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


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

--- frameworks/projects/framework/src/mx/managers/PopUpManager.as
+++ frameworks/projects/framework/src/mx/managers/PopUpManager.as
@@ -29,6 +29,11 @@
  *  the window or warn the user.

  *
  *  @see PopUpManagerChildList
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class PopUpManager
 {
@@ -115,6 +120,11 @@
      *  @return Reference to new top-level window.
      *
      *  @see PopUpManagerChildList
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function createPopUp(parent:DisplayObject,
                                        className:Class,
@@ -160,6 +170,11 @@
      *  or PopUpManagerChildList.PARENT (default).
      *
      *  @see PopUpManagerChildList
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function addPopUp(window:IFlexDisplayObject,
                     parent:DisplayObject,
@@ -178,6 +193,11 @@
      *  popup window before centering it.

      *
      *  @param The IFlexDisplayObject representing the popup.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function centerPopUp(popUp:IFlexDisplayObject):void
     {
@@ -190,6 +210,11 @@
      *  the createPopUp() or addPopUp() method.
      *
      *  @param window The IFlexDisplayObject representing the popup window.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function removePopUp(popUp:IFlexDisplayObject):void
     {
@@ -203,6 +228,11 @@
      *  but otherwise you have to take care of this yourself.
      *
      *  @param The IFlexDisplayObject representing the popup.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function bringToFront(popUp:IFlexDisplayObject):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 10633
Author:   dloverin@adobe.com
Date:     2009-09-28T13:24:30.559033Z

Log Message:
-----------
Use styleManager instance instead of StyleManager singleton (framework and compiler generated code)

Modified compiler generated style code for the FlexInit class. The style related changes are only available with the -keep option. AST generation is coming later.

Only the framework project is changed here. The other projects are will be changed soon.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex and Paul
Tests run: checkintests, all Mustella tests(no new failures)
Is noteworthy for integration: no.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonBarButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/accordionClasses/AccordionHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserMonthArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</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/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollThumbSkin.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/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleModule.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/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TitleBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperDownSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TabSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/textClasses/TextRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/CheckBoxIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperUpSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/RadioButtonIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ComboBoxArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeaderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/MenuBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressBarSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.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/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollTrackSkin.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/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>

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

--- frameworks/projects/framework/src/mx/modules/ModuleManager.as
+++ frameworks/projects/framework/src/mx/modules/ModuleManager.as
@@ -586,7 +586,7 @@
                 {
                     loader.content.removeEventListener("ready", readyHandler);
                     loader.content.removeEventListener("error", moduleErrorHandler);
-                    loader.content.removeEventListener(Request.GET_FLEX_MODULE_FACTORY_REQUEST,
+                    loader.content.removeEventListener(Request.GET_PARENT_FLEX_MODULE_FACTORY_REQUEST,
                                                        getFlexModuleFactoryRequestHandler);
                 }
             }
@@ -715,7 +715,7 @@

         loader.content.addEventListener("ready", readyHandler);
         loader.content.addEventListener("error", moduleErrorHandler);
-        loader.content.addEventListener(Request.GET_FLEX_MODULE_FACTORY_REQUEST,
+        loader.content.addEventListener(Request.GET_PARENT_FLEX_MODULE_FACTORY_REQUEST,
                                         getFlexModuleFactoryRequestHandler);

         try


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

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