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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/framework/src/mx/validators/IValidator.as
+++ frameworks/projects/framework/src/mx/validators/IValidator.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2010 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.validators
 {


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

--- frameworks/projects/spark/src/spark/filters/GradientFilter.as
+++ frameworks/projects/spark/src/spark/filters/GradientFilter.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Granting room permissions and requesting room affiliations changed to admin namespace instead of owner to match spec.

Standardized extension variable naming.

--- src/org/igniterealtime/xiff/conference/Room.as
+++ src/org/igniterealtime/xiff/conference/Room.as
@@ -305,8 +305,7 @@

 			for each ( var banJID:UnescapedJID in jids )
 			{
-				adminExt.addItem( Room.AFFILIATION_OUTCAST, null, null, banJID.escaped,
-								  null, null );
+				adminExt.addItem( Room.AFFILIATION_OUTCAST, null, null, banJID.escaped, null, null );
 			}

 			iq.addExtension( adminExt );
@@ -327,13 +326,13 @@
 		public function cancelConfiguration():void
 		{
 			var iq:IQ = new IQ( roomJID.escaped, IQ.TYPE_SET );
-			var owner:MUCOwnerExtension = new MUCOwnerExtension();
+			var ownerExt:MUCOwnerExtension = new MUCOwnerExtension();
 			var form:FormExtension = new FormExtension();

 			form.type = FormExtension.TYPE_CANCEL;

-			owner.addExtension( form );
-			iq.addExtension( owner );
+			ownerExt.addExtension( form );
+			iq.addExtension( ownerExt );
 			_connection.send( iq );
 		}

@@ -368,7 +367,7 @@
 		public function configure( fieldmap:Object ):void
 		{
 			var iq:IQ = new IQ( roomJID.escaped, IQ.TYPE_SET );
-			var owner:MUCOwnerExtension = new MUCOwnerExtension();
+			var ownerExt:MUCOwnerExtension = new MUCOwnerExtension();
 			var form:FormExtension;

 			if ( fieldmap is FormExtension )
@@ -382,10 +381,10 @@
 				form.setFields( fieldmap );
 			}
 			form.type = FormExtension.TYPE_SUBMIT;
-			owner.addExtension( form );
+			ownerExt.addExtension( form );

 			iq.callback = finish_configure;
-			iq.addExtension( owner );
+			iq.addExtension( ownerExt );

 			_connection.send( iq );
 		}
@@ -407,11 +406,11 @@
 		public function decline( jid:UnescapedJID, reason:String ):void
 		{
 			var message:Message = new Message( roomJID.escaped )
-			var muc:MUCUserExtension = new MUCUserExtension();
-
-			muc.decline( jid.escaped, undefined, reason );
-
-			message.addExtension( muc );
+			var userExt:MUCUserExtension = new MUCUserExtension();
+
+			userExt.decline( jid.escaped, undefined, reason );
+
+			message.addExtension( userExt );
 			_connection.send( message );
 		}

@@ -426,7 +425,7 @@
 		public function destroy( reason:String, alternateJID:UnescapedJID = null, callback:Function = null ):void
 		{
 			var iq:IQ = new IQ( roomJID.escaped, IQ.TYPE_SET );
-			var owner:MUCOwnerExtension = new MUCOwnerExtension();
+			var ownerExt:MUCOwnerExtension = new MUCOwnerExtension();
 			var jid:EscapedJID;
 			if (alternateJID != null)
 			{
@@ -434,9 +433,9 @@
 			}

 			iq.callback = callback;
-			owner.destroy( reason, jid );
-
-			iq.addExtension( owner );
+			ownerExt.destroy( reason, jid );
+
+			iq.addExtension( ownerExt );
 			_connection.send( iq );
 		}

@@ -470,8 +469,8 @@
 				return;
 			}

-			var owner:MUCOwnerExtension = iq.getAllExtensionsByNS( MUCOwnerExtension.NS )[ 0 ];
-			var form:FormExtension = owner.getAllExtensionsByNS( FormExtension.NS )[ 0 ];
+			var ownerExt:MUCOwnerExtension = iq.getAllExtensionsByNS( MUCOwnerExtension.NS )[ 0 ];
+			var form:FormExtension = ownerExt.getAllExtensionsByNS( FormExtension.NS )[ 0 ];

 			if ( form.type == FormExtension.TYPE_REQUEST )
 			{
@@ -516,16 +515,16 @@
 		public function grant( affiliation:String, jids:Array ):void
 		{
 			var iq:IQ = new IQ( roomJID.escaped, IQ.TYPE_SET );
-			var owner:MUCOwnerExtension = new MUCOwnerExtension();
+			var adminExt:MUCAdminExtension = new MUCAdminExtension();

 			iq.callback = finish_admin;

 			for each ( var jid:UnescapedJID in jids )
 			{
-				owner.addItem( affiliation, null, null, jid.escaped, null, null );
-			}
-
-			iq.addExtension( owner );
+				adminExt.addItem( affiliation, null, null, jid.escaped, null, null );
+			}
+
+			iq.addExtension( adminExt );
 			_connection.send( iq );
 		}

@@ -545,11 +544,11 @@
 		public function invite( jid:UnescapedJID, reason:String ):void
 		{
 			var message:Message = new Message( roomJID.escaped );
-			var muc:MUCUserExtension = new MUCUserExtension();
-
-			muc.invite( jid.escaped, undefined, reason );
-
-			message.addExtension( muc );
+			var userExt:MUCUserExtension = new MUCUserExtension();
+
+			userExt.invite( jid.escaped, undefined, reason );
+
+			message.addExtension( userExt );
 			_connection.send( message );
 		}

@@ -675,11 +674,10 @@
 		{
 			if ( isActive )
 			{
-				var iq:IQ = new IQ( roomJID.escaped, IQ.TYPE_SET, XMPPStanza.generateID( "kick_occupant_" ));
-				var ext:MUCAdminExtension = new MUCAdminExtension( iq.getNode());
-				//ext.addItem(null, MUC.ROLE_NONE, null, null, null, reason);
-				ext.addItem( null, MUC.ROLE_NONE, occupantNick, null, null, reason );
-				iq.addExtension( ext );
+				var iq:IQ = new IQ( roomJID.escaped, IQ.TYPE_SET, XMPPStanza.generateID( "kick_occupant_" ) );
+				var adminExt:MUCAdminExtension = new MUCAdminExtension( iq.getNode() );
+				adminExt.addItem( null, MUC.ROLE_NONE, occupantNick, null, null, reason );
+				iq.addExtension( adminExt );
 				_connection.send( iq );
 			}
 		}
@@ -730,8 +728,8 @@
 			finish_admin( iq );
 			if ( iq.type == IQ.TYPE_RESULT )
 			{
-				var owner:MUCOwnerExtension = iq.getAllExtensionsByNS( MUCOwnerExtension.NS )[ 0 ];
-				var items:Array = owner.getAllItems();
+				var adminExt:MUCAdminExtension = iq.getAllExtensionsByNS( MUCAdminExtension.NS )[ 0 ];
+				var items:Array = adminExt.getAllItems();
 				// trace("Affiliates: " + items);
 				var event:RoomEvent = new RoomEvent( RoomEvent.AFFILIATIONS );
 				event.data = items;
@@ -762,15 +760,18 @@
 		 */
 		private function handleEvent( eventObj:Object ):void
 		{
+			var userExt:MUCUserExtension;
+
 			switch ( eventObj.type )
 			{
 				case "message":
 					var message:Message = eventObj.data;
+					var userExts:Array = message.getAllExtensionsByNS( MUCUserExtension.NS );
+					var roomEvent:RoomEvent;

 					// Check to see that the message is from this room
 					if ( isThisRoom( message.from.unescaped ))
 					{
-						var roomEvent:RoomEvent;
 						if ( message.type == Message.TYPE_GROUPCHAT )
 						{
 							// Check for a subject change
@@ -785,8 +786,7 @@
 							{
 								//silently ignore "room is not anonymous" message, identified by status code 100
 								//Clients should display that information in their UI based on the appropriate room property
-								var userexts:Array = message.getAllExtensionsByNS( MUCUserExtension.NS );
-								if ( !userexts || userexts.length == 0 || !( userexts[ 0 ].hasStatusCode( 100 )))
+								if ( !userExts || userExts.length == 0 || !( userExts[ 0 ].hasStatusCode( 100 )))
 								{
 									roomEvent = new RoomEvent( RoomEvent.GROUP_MESSAGE );
 									roomEvent.nickname = message.from.resource;
@@ -821,16 +821,15 @@
 					}
 					else
 					{
-						// Could be an decline to a previous invite
-						var mucExtensions:Array = message.getAllExtensionsByNS( MUCUserExtension.NS );
-						if ( mucExtensions != null && mucExtensions.length > 0 )
+						// Could be a decline to a previous invite
+						if ( userExts != null && userExts.length > 0 )
 						{
-							var muc:MUCUserExtension = mucExtensions[ 0 ];
-							if ( muc && muc.type == MUCUserExtension.TYPE_DECLINE )
+							userExt = userExts[ 0 ];
+							if ( userExt && userExt.type == MUCUserExtension.TYPE_DECLINE )
 							{
 								roomEvent = new RoomEvent( RoomEvent.DECLINED );
-								roomEvent.from = muc.reason;
-								roomEvent.reason = muc.reason;
+								roomEvent.from = userExt.reason;
+								roomEvent.reason = userExt.reason;
 								roomEvent.data = message;
 								dispatchEvent( roomEvent );
 							}
@@ -888,8 +887,8 @@
 								pendingNickname = null;
 							}

-							var user:MUCUserExtension = presence.getAllExtensionsByNS( MUCUserExtension.NS )[ 0 ];
-							for each ( var status:MUCStatus in user.statuses )
+							userExt = presence.getAllExtensionsByNS( MUCUserExtension.NS )[ 0 ];
+							for each ( var status:MUCStatus in userExt.statuses )
 							{
 								switch ( status.code )
 								{
@@ -915,7 +914,7 @@
 							{
 								//trace("Room: becoming inactive: " + presence.getNode());
 								setActive( false );
-								if ( user.type == MUCUserExtension.TYPE_DESTROY )
+								if ( userExt.type == MUCUserExtension.TYPE_DESTROY )
 								{
 									roomEvent = new RoomEvent( RoomEvent.ROOM_DESTROYED );
 								}
@@ -972,13 +971,13 @@
 				// so the application can decide to block configuration messages

 				var iq:IQ = new IQ( roomJID.escaped, IQ.TYPE_SET );
-				var owner:MUCOwnerExtension = new MUCOwnerExtension();
+				var ownerExt:MUCOwnerExtension = new MUCOwnerExtension();
 				var form:FormExtension = new FormExtension();

 				form.type = FormExtension.TYPE_SUBMIT;

-				owner.addExtension( form );
-				iq.addExtension( owner );
+				ownerExt.addExtension( form );
+				iq.addExtension( ownerExt );
 				_connection.send( iq );
 			}
 		}
@@ -1020,8 +1019,8 @@
 				{
 					removeItemAt( getItemIndex( occupant ));

-					var user:MUCUserExtension = aPresence.getAllExtensionsByNS( MUCUserExtension.NS )[ 0 ];
-					for each ( var status:MUCStatus in user.statuses )
+					var userExt:MUCUserExtension = aPresence.getAllExtensionsByNS( MUCUserExtension.NS )[ 0 ];
+					for each ( var status:MUCStatus in userExt.statuses )
 					{
 						switch ( status.code )
 						{
@@ -1092,13 +1091,13 @@
 		public function requestAffiliations( affiliation:String ):void
 		{
 			var iq:IQ = new IQ( roomJID.escaped, IQ.TYPE_GET );
-			var owner:MUCOwnerExtension = new MUCOwnerExtension();
+			var adminExt:MUCAdminExtension = new MUCAdminExtension();

 			iq.callback = finish_requestAffiliates;

-			owner.addItem( affiliation );
-
-			iq.addExtension( owner );
+			adminExt.addItem( affiliation );
+
+			iq.addExtension( adminExt );
 			_connection.send( iq );
 		}

@@ -1117,10 +1116,10 @@
 		public function requestConfiguration():void
 		{
 			var iq:IQ = new IQ( roomJID.escaped, IQ.TYPE_GET );
-			var owner:MUCOwnerExtension = new MUCOwnerExtension();
+			var ownerExt:MUCOwnerExtension = new MUCOwnerExtension();

 			iq.callback = finish_requestConfiguration;
-			iq.addExtension( owner );
+			iq.addExtension( ownerExt );

 			_connection.send( iq );
 		}
@@ -1203,9 +1202,9 @@
 			if ( isActive )
 			{
 				var iq:IQ = new IQ( roomJID.escaped, IQ.TYPE_SET, XMPPStanza.generateID( "voice_" ) );
-				var ext:MUCAdminExtension = new MUCAdminExtension( iq.getNode() );
-				ext.addItem( null, voice ? MUC.ROLE_PARTICIPANT : MUC.ROLE_VISITOR, occupantNick );
-				iq.addExtension( ext );
+				var adminExt:MUCAdminExtension = new MUCAdminExtension( iq.getNode() );
+				adminExt.addItem( null, voice ? MUC.ROLE_PARTICIPANT : MUC.ROLE_VISITOR, occupantNick );
+				iq.addExtension( adminExt );
 				_connection.send( iq );
 			}
 		}


flashlsFlowPlayer.swf: accurately report backBuffer

--- src/org/mangui/flowplayer/HLSStreamProvider.as
+++ src/org/mangui/flowplayer/HLSStreamProvider.as
@@ -321,7 +321,8 @@
          * The point in timeline where the buffered data region begins, in seconds.
          */
         public function get bufferStart() : Number {
-            return 0;
+            var _buffer : Number = Math.max(0, _hls.position - _hls.stream.backBufferLength);
+            return _buffer;
         }

         /**


Don't destructively modify the array given us by usercode.

git-svn-id: a3e1eb16dde062992de22c830ed8045c8013209a@469 c613c5cb-e716-0410-b11b-feb51c14d237

--- src/as/com/threerings/ezgame/client/GameControlBackend.as
+++ src/as/com/threerings/ezgame/client/GameControlBackend.as
@@ -915,9 +915,7 @@
     protected function toTypedIntArray (array :Array) :TypedArray
     {
         var tarray :TypedArray = TypedArray.create(int);
-        while (array.length > 0) {
-            tarray.push(int(array.shift()));
-        }
+        tarray.addAll(array);
         return tarray;
     }


save file path

save file path

--- Exporter/src/harayoki/app/bitmapfont/export/FntExporter.as
+++ Exporter/src/harayoki/app/bitmapfont/export/FntExporter.as
@@ -6,6 +6,7 @@
 	import flash.filesystem.File;
 	import flash.filesystem.FileMode;
 	import flash.filesystem.FileStream;
+	import flash.net.SharedObject;
 	import flash.utils.ByteArray;
 	import flash.utils.setTimeout;

@@ -15,6 +16,8 @@

 	public class FntExporter
 	{
+		private static const SO_KEY:String = "BitmapFOntExporter";
+		private static const LAST_SAVED:String = "lastsaved";

 		private var _onResult:Signal = new Signal();
 		private var _errorMessage:String;
@@ -47,7 +50,22 @@
 			_errorMessage = "";
 			_isSuccess = false;

-			var file:File = File.desktopDirectory;
+			var file:File;
+			var so:SharedObject = SharedObject.getLocal(SO_KEY);
+			var path:String = so.data[LAST_SAVED];
+			if(path)
+			{
+				file = new File(path);
+				if(!file.exists)
+				{
+					file = File.userDirectory;
+				}
+			}
+			else
+			{
+				file = File.userDirectory;
+			}
+
 			file.browseForDirectory("select save dirctory");
 			file.addEventListener(Event.SELECT,onSelectDir);
 			file.addEventListener(Event.CANCEL,onCancelSelectDir);
@@ -133,6 +151,8 @@

 			function finish():void
 			{
+				so.data[LAST_SAVED] = file.nativePath;
+				trace(file.nativePath);
 				_isSuccess = true;
 				_onResult.dispatch();
 			}


Test

Test

git-svn-id: 9278a788294a4258aac04586390fc35fb4a5f335@6667 a9308255-753e-0410-a2e9-80b3fbc4fff6

--- FlexUnit4/src/org/fluint/uiImpersonation/UIImpersonator.as
+++ FlexUnit4/src/org/fluint/uiImpersonation/UIImpersonator.as
@@ -25,6 +25,7 @@
  * @author     Michael Labriola <labriola@digitalprimates.net>
  * @version
  **/
+
  package org.fluint.uiImpersonation
 {
 	import flash.display.DisplayObject;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/advancedgrids/src/mx/olap/OLAPCell.as
+++ frameworks/projects/advancedgrids/src/mx/olap/OLAPCell.as
@@ -0,0 +1,103 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+
+/**
+ *  The OLAPCell class represents a cell in an OLAPResult instance.
+ *
+ *  @see mx.olap.OLAPResult
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class OLAPCell implements IOLAPCell
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor
+     *
+     *  @param value The raw value in the cell.
+     *
+     *  @param formattedValue The formatted value in the cell.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function OLAPCell(value:Number, formattedValue:String=null)
+    {
+        _value = value;
+        _formattedValue = formattedValue;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    // formattedValue
+    //----------------------------------
+
+    /**
+     * @private
+     */
+    protected var _formattedValue:String;
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get formattedValue():String
+    {
+        if (_formattedValue)
+            return _formattedValue;
+        return _value.toString();
+    }
+
+    //----------------------------------
+    // value
+    //----------------------------------
+
+    private var _value:Number;
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get value():Number
+    {
+        return _value;
+    }
+
+}
+}


FLEX-34712 bug fix for callout

FLEX-34712 bug fix for callout

Created function queued_systemManager_resizeHandler() and moved code from systemManager_resizeHandler() to that new function. New function is called via callLater() from original systemManager_resizeHandler(), allowing for calculatePopUpPosition() to get correct x and y.

--- frameworks/projects/spark/src/spark/components/Callout.as
+++ frameworks/projects/spark/src/spark/components/Callout.as
@@ -1685,24 +1685,27 @@
     {
     	//callLater() solves bug FLEX-34712 only affecting device and not found on simulator
     	//where calculatePopUpPosition()'s correct x or y may not be immediately available
-        callLater(
-            function():void
-            {
-                // Remove explicit settings if due to Resize effect
-                softKeyboardEffectResetExplicitSize();
-
-                // Screen resize might require a new arrow direction and callout position
-                invalidatePosition();
-
-                if (!isSoftKeyboardEffectActive)
-                {
-                    // Force validation and use new screen size only if the keyboard
-                    // effect is not active. The stage dimensions may be invalid while
-                    // the soft keyboard is active. See SDK-31860.
-                    validateNow();
-                }
-            }
-        );
+        callLater(queued_systemManager_resizeHandler, [event]);
+    }
+
+    /**
+     *  @private
+     */
+    private function queued_systemManager_resizeHandler(event:Event):void
+    {
+        // Remove explicit settings if due to Resize effect
+        softKeyboardEffectResetExplicitSize();
+
+        // Screen resize might require a new arrow direction and callout position
+        invalidatePosition();
+
+        if (!isSoftKeyboardEffectActive)
+        {
+            // Force validation and use new screen size only if the keyboard
+            // effect is not active. The stage dimensions may be invalid while
+            // the soft keyboard is active. See SDK-31860.
+            validateNow();
+        }
     }
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5309
Author:   gruehle@adobe.com
Date:     2009-03-13T21:54:51.752954Z

Log Message:
-----------
Add Spark style metadata to Halo components.

baseColor - added to:
 UIComponent
 ScrollControlBase

symbolColor - added to:
 CheckBox
 ComboBase
 Container
 DateChooser
 ScrollBar
 NumericStepper
 PopUpButton
 RadioButton
 ScrollControlBase

contentBackgroundColor - added to:
 ComboBase
 Container
 DateChooser
 NumericStepper
 ScrollControlBase
 TextInput

focusColor - added to:
 Button
 ComboBase
 Container
 DateChooser
 NumericStepper
 ScrollControlBase
 Slider
 TextInput

The remaining Spark styles - alternatingItemColors, rollOverColor, and selectionColor are already defined for the Halo components.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.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/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/controls/CheckBox.as
+++ frameworks/projects/mx/src/mx/controls/CheckBox.as
@@ -23,6 +23,19 @@

 include "../styles/metadata/IconColorStyles.as"

+/**
+ *  Color of any symbol of a component. Examples include the check mark of a CheckBox or
+ *  the arrow of a ScrollBar button.
+ *
+ *  @default 0x000000
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="symbolColor", type="uint", format="Color", inherit="yes")]
+
 //--------------------------------------
 //  Excluded APIs
 //--------------------------------------


Transferred from the Adobe Open Source Subversion Repository

Revision: 6129
Author:   aharui@adobe.com
Date:     2009-04-10T15:29:30.622891Z

Log Message:
-----------
TLFDataGridItemRenderer and defaultDataGridItemRenderer style

QE Notes: None
Doc Notes: Yes
Bugs:
Reviewer: gordon
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/controls/dataGridClasses/TLFDataGridItemRenderer.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/controls/dataGridClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/controls</path>

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

--- frameworks/projects/mx/src/mx/controls/DataGrid.as
+++ frameworks/projects/mx/src/mx/controls/DataGrid.as
@@ -221,6 +221,21 @@
 //--------------------------------------

 include "../styles/metadata/IconColorStyles.as"
+
+/**
+ *  Name of the class of the itemRenderer to be used if one is not
+ *  specified for a column or its header.  This is a way to set
+ *  an itemRenderer for a group of DataGrids instead of having to
+ *  set each one individually.  If you set the DataGrid's itemRenderer
+ *  property, it supercedes this value.
+ *  @default null
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="defaultDataGridItemRenderer", type="Class", inherit="no")]

 /**
  *  A flag that indicates whether to show vertical grid lines between
@@ -1154,8 +1169,11 @@
             var flexModuleFactory:IFlexModuleFactory =
                 getFontContext(fontName, bold, italic);

+            var c:Class = getStyle("defaultDataGridItemRenderer");
+            if (!c)
+                c = DataGridItemRenderer;
             super.itemRenderer = new ContextualClassFactory(
-                DataGridItemRenderer, flexModuleFactory);
+                c, flexModuleFactory);
         }

         return super.itemRenderer;


fix RenderingController.bind() to avoid listening to the same scene/mesh bindings twice

--- src/aerys/minko/scene/controller/scene/RenderingController.as
+++ src/aerys/minko/scene/controller/scene/RenderingController.as
@@ -801,9 +801,12 @@
 				var flags	: uint		= signature.getFlags(i);

 				if (flags & Signature.SOURCE_MESH)
-					meshBindings.addCallback(key, bindingsPropertyChangedHandler);
-				else
-					sceneBindings.addCallback(key, bindingsPropertyChangedHandler);
+                {
+                    if (!meshBindings.hasCallback(key, bindingsPropertyChangedHandler))
+					    meshBindings.addCallback(key, bindingsPropertyChangedHandler);
+                }
+                else if (!sceneBindings.hasCallback(key, bindingsPropertyChangedHandler))
+                        sceneBindings.addCallback(key, bindingsPropertyChangedHandler);
 			}

 			// retain the shader


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

--- frameworks/projects/automation/src/AutomationClasses.as
+++ frameworks/projects/automation/src/AutomationClasses.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.
-//
-////////////////////////////////////////////////////////////////////////////////


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

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

 package mx.core
 {


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

--- frameworks/projects/framework/src/mx/utils/ColorUtil.as
+++ frameworks/projects/framework/src/mx/utils/ColorUtil.as
@@ -18,6 +18,11 @@
  *  You do not create instances of ColorUtil;
  *  instead you simply call static methods such as
  *  the ColorUtil.adjustBrightness() method.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class ColorUtil
 {
@@ -45,6 +50,11 @@
 	 *  is the same as the original color.
 	 *
 	 *  @return New RGB color.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function adjustBrightness(rgb:uint, brite:Number):uint
 	{
@@ -70,6 +80,11 @@
 	 *  is the same as the original color.
 	 *
 	 *  @return New RGB color.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function adjustBrightness2(rgb:uint, brite:Number):uint
 	{
@@ -118,6 +133,11 @@
 	 *  @param rgb2 Second RGB color.
 	 *
 	 *  @return RGB multiplication of the two colors.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function rgbMultiply(rgb1:uint, rgb2:uint):uint
 	{


Transferred from the Adobe Open Source Subversion Repository

Revision: 12969
Author:   egeorgie@adobe.com
Date:     2009-12-15T21:56:35.581732Z

Log Message:
-----------
Cleanup FIXMEs.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListItemDragProxy.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -837,7 +837,6 @@
                 resizeMode = ResizeMode.SCALE; // Force the resizeMode to scale
         }

-        // FIXME (egeorgie): we need to optimize this, iterating through all the elements is slow.
         // Validate element properties
         if (numGraphicElements > 0)
         {
@@ -859,7 +858,6 @@
         // Since IGraphicElement is not ILayoutManagerClient, we need to make sure we
         // validate sizes of the elements, even in cases where recursive==false.

-        // FIXME (egeorgie): we need to optimize this, iterating through all the elements is slow.
         // Validate element size
         if (numGraphicElements > 0)
         {
@@ -983,14 +981,15 @@

             if (isValidScaleGrid())
             {
-                // FIXME (egeorgie): how about overlays in this case? Should we care about those?
-                if (numChildren > 0)
+                // Check for DisplayObjects other than overlays
+                var overlayCount:int = _overlay ? _overlay.numDisplayObjects : 0;
+                if (numChildren - overlayCount > 0)
                     throw new Error(resourceManager.getString("components", "scaleGridGroupError"));

                 super.scale9Grid = new Rectangle(scaleGridLeft,
-                                           scaleGridTop,
-                                           scaleGridRight - scaleGridLeft,
-                                           scaleGridBottom - scaleGridTop);
+                                                 scaleGridTop,
+                                                 scaleGridRight - scaleGridLeft,
+                                                 scaleGridBottom - scaleGridTop);
             }
             else
             {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12870
Author:   klin@adobe.com
Date:     2009-12-11T23:52:43.652707Z

Log Message:
-----------
Couple of minor fixes including SDK-24627 and SDK-24628.

-Added metadata so that resizeMode code hints. Needed to add the same metadata to Group since it doesn't inherit the enumerations from GroupBase. Renamed NOSCALE to NO_SCALE, which is more in line with naming conventions.
-Added null checks in VScrollBar and HScrollBar in pointToValue().
-Cleaned up VSlider's code.

QE notes: No
Doc notes: No
Bugs: SDK-24627, SDK-24628
Reviewer: Ryan
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<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/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ResizeMode.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -208,6 +208,8 @@
     //
     //--------------------------------------------------------------------------

+    [Inspectable(category="General", enumeration="noScale,scale", defaultValue="noScale")]
+
     /**
      *  @private
      */


Transferred from the Adobe Open Source Subversion Repository

Revision: 7087
Author:   rfrishbe@adobe.com
Date:     2009-05-19T20:44:50.609964Z

Log Message:
-----------
VideoPlayer bug fixes:

- Forgot to dispatch the ready event

- The properties on videoplayer that are proxied from videoelement now take into account the correct defaults

- We deal with null or empty string sources better by clearing the video and closing the connection to the net stream.  It looks like play() won’t take in any arguments—at that point, I’ll clean up this code around dealign with startTime and duration as well as refactoring some of this “close” the connection code.

- PopUpAnchor pushes the concatenated color matrix, similar to the concatenated transform matrix.  This will need to undergo any changes based on Chet’s findings.

- Adding enabling/disabling support.  This change is dependent on Jason’s SKinnableComponent change around enabling/disabling.

- Skin changes in VideoPlayerSkin and volume bar/volumebarmutebutton.

QE Notes: -
Doc Notes: -
Bugs: SDK-21185, SDK-21187, SDK-21015, SDK-20971, SDK-20969, SDK-20928, SDK-21098, SDK-20986, SDK-20947, SDK-20939, SDK-20934, SDK-21014
Reviewer: Deepa
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerVolumeBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/VideoElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerSkin.mxml</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/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerVolumeBarMuteButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -368,7 +368,7 @@
     /**
      *  The visual content children for this Group.
      *
-     *
The content items should only be IVisualItem objectss.
+     *
The content items should only be IVisualElement objects.
      *  An mxmlContent Array should not be shared between multiple
      *  Group containers because visual elements can only live in one container
      *  at a time.


Transferred from the Adobe Open Source Subversion Repository

Revision: 3509
Author:   jimurphy@adobe.com
Date:     2008-10-07T18:19:17.646255Z

Log Message:
-----------
Rename of flex -> mx.

For compatibility reasons it was decided that the new functionality remain integrated with the old framework, although we will continue to build two separate SWCs, one with primarily existing framework classes, and one with new Flex 4 classes. This change removes duplicate names from the Flex 4 framework to avoid class name overlapping with the old framework code.  The naming overlap consists of two major areas:  New Components, and New Effects

Modified Paths:
--------------
386 paths were modified

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

--- frameworks/projects/spark/src/spark/events/ElementExistenceEvent.as
+++ frameworks/projects/spark/src/spark/events/ElementExistenceEvent.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package flex.events
+package mx.events
 {

 import flash.events.Event;


Transferred from the Adobe Open Source Subversion Repository

Revision: 12069
Author:   dloverin@adobe.com
Date:     2009-11-20T23:24:46.331262Z

Log Message:
-----------
Split airspark project off airframework.

QE notes: None.
Doc notes: None.
Bugs: SDK-24109
Reviewer: Paul, Jim
Tests run: checkintests, tests/apollo/spark/components/Window
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_close_down.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_close_down.png</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/AIRFrameworkClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_restore_over.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_min_over.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_max_over.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_min_over.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/src/AIRSparkClasses.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/airframework/src/spark</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_max_over.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/Window.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_min_dis.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_max_dis.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_restore_up.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_min_up.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_max_up.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_min_up.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/accessibility/WindowedApplicationAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_max_up.png</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/core</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/accessibility/WindowAccImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/gripper_up.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_close_over.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_close_over.png</path>
<path kind="dir" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark" copyfrom-rev="11985" action="A">/flex/sdk/trunk/frameworks/projects/airspark/src/spark</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/airframework/spark-air-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_close_up.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_restore_down.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_min_down.png</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/airframework/mx-air-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_max_down.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_close_up.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_min_down.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/mac_max_down.png</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/mx-air-manifest.xml" copyfrom-rev="11985" action="A">/flex/sdk/trunk/frameworks/projects/airframework/manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_min_dis.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/assets/win_max_dis.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/core/Version.as</path>

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

--- frameworks/projects/airspark/src/spark/core/Version.as
+++ frameworks/projects/airspark/src/spark/core/Version.as
@@ -0,0 +1,18 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+import mx.core.mx_internal;
+
+/**
+ *  @private
+ *  Version string for this class.
+ */
+mx_internal static const VERSION:String = "4.0.0.0";


Transferred from the Adobe Open Source Subversion Repository

Revision: 1570
Author:   jimurphy@adobe.com
Date:     2008-05-06T17:43:41.713917Z

Log Message:
-----------
Merge 3.0.x revision [1569] -> trunk

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</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TitleWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.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/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>

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

--- frameworks/projects/mx/src/mx/containers/DividedBox.as
+++ frameworks/projects/mx/src/mx/containers/DividedBox.as
@@ -62,6 +62,12 @@
  *  The dividerRelease event is dispatched
  *  after the dividerDrag events,
  *  but before the container's children are resized.
+ *  The divider's x and y properties are not updated until
+ *  after this event is triggered. As a result, a call to
+ *  hDividerBox.getDividerAt(0).x will return
+ *  the value of the original x position of the first divider. If you want the
+ *  position of the divider after the move, you can access it when the
+ *  DividerBox's updateComplete event has been triggered.
  *
  *  @eventType mx.events.DividerEvent.DIVIDER_RELEASE
  */
@@ -106,7 +112,7 @@
 /**
  *  The divider skin.
  *
- *  @default mx.skin.BoxDividerSkin
+ *  The default value is the "mx.skin.BoxDividerSkin" symbol in the Assets.swf file.
  */
 [Style(name="dividerSkin", type="Class", inherit="no")]

@@ -124,14 +130,14 @@
 /**
  *  The cursor skin for a horizontal DividedBox.
  *
- *  @default mx.skins.cursor.HBoxDivider
+ *  The default value is the "mx.skins.cursor.HBoxDivider" symbol in the Assets.swf file.
  */
 [Style(name="horizontalDividerCursor", type="Class", inherit="no")]

 /**
  *  The cursor skin for a vertical DividedBox.
  *
- *  @default mx.skins.cursor.VBoxDivider
+ *  The default value is the "mx.skins.cursor.VBoxDivider" symbol in the Assets.swf file.
  */
 [Style(name="verticalDividerCursor", type="Class", inherit="no")]

@@ -211,10 +217,10 @@
  *    dividerAffordance="6"
  *    dividerAlpha="0.75"
  *    dividerColor="0x6F7777"
- *    dividerSkin="BoxDividerSkin"
+ *    dividerSkin="'mx.skins.BoxDividerSkin' symbol in Assets.swf"
  *    dividerThickness="3"
- *    horizontalDividerCursor="mx.skins.cursor.HBoxDivider"
- *    verticalDividerCursor="mx.skins.cursor.VBoxDivider"
+ *    horizontalDividerCursor="'mx.skins.cursor.HBoxDivider' symbol in Assets.swf"
+ *    verticalDividerCursor="'mx.skins.cursor.VBoxDivider' symbol in Assets.swf"
  *
  *    Events
  *    dividerPress="No default"


Transferred from the Adobe Open Source Subversion Repository

Revision: 19363
Author:   mhorn@adobe.com
Date:     2010-12-14T16:57:25.600360Z

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/graphics/GradientEntry.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/Path.as</path>

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

--- frameworks/projects/spark/src/spark/components/List.as
+++ frameworks/projects/spark/src/spark/components/List.as
@@ -337,7 +337,7 @@
  *
Default size	112 pixels wide by 112 pixels high

  *
Minimum size	112 pixels wide by 112 pixels high

  *
Maximum size	10000 pixels wide and 10000 pixels high

- *
Default skin class	spark.skins.spark.BorderContainerSkin

+ *
Default skin class	spark.skins.spark.ListSkin

  *

  *
  *  @mxml
The <s:List> tag inherits all of the tag
@@ -502,7 +502,7 @@
      *  that spans the width of the control.
      *  Create a custom drop indicator by creating a custom skin class for the drop target.
      *  In your skin class, create a skin part named dropIndicator,
-     *  in the <fx:Declarations> area of the skin class

+     *  in the <fx:Declarations> area of the skin class.

      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -922,14 +922,14 @@
             (value && value.length == 1 &&
              selectedIndices && selectedIndices.length == 1 &&
              value[0] == selectedIndices[0]))
-		{
-			// this should short-circuit, but we should check to make sure
-			// that caret doesn't need to be changed either, as that's a side
-			// effect of setting selectedIndex
-			setCurrentCaretIndex(selectedIndex);
-
-			return;
-		}
+        {
+            // this should short-circuit, but we should check to make sure
+            // that caret doesn't need to be changed either, as that's a side
+            // effect of setting selectedIndex
+            setCurrentCaretIndex(selectedIndex);
+
+            return;
+        }

         if (dispatchChangeEvent)
             dispatchChangeAfterSelection = (dispatchChangeAfterSelection || dispatchChangeEvent);
@@ -1682,9 +1682,9 @@
                 }
             }
             else
-			{
+            {
                 setSelectedIndex(newIndex, true);
-			}
+            }
         }
         else
         {


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

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

 package spark.skins
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13354
Author:   egeorgie@adobe.com
Date:     2010-01-08T00:38:34.223711Z

Log Message:
-----------
Fix http://bugs.adobe.com/jira/browse/SDK-24962 verticalAlign rounds differently than horizontalAlign in spark VerticalLayout/HorizontaLayout

Update the rounding for the major axis alignment centering.

QE notes: N/A
Doc notes: N/A
Bugs: SDK-24416
Reviewer: Hans
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -1713,7 +1713,7 @@
             var vAlign:String = verticalAlign;
             if (vAlign == VerticalAlign.MIDDLE)
             {
-                dy = Math.floor(excessHeight / 2);
+                dy = Math.round(excessHeight / 2);
             }
             else if (vAlign == VerticalAlign.BOTTOM)
             {
@@ -1808,7 +1808,7 @@
             var vAlign:String = verticalAlign;
             if (vAlign == VerticalAlign.MIDDLE)
             {
-                y = paddingTop + Math.floor(excessHeight / 2);
+                y = paddingTop + Math.round(excessHeight / 2);
             }
             else if (vAlign == VerticalAlign.BOTTOM)
             {


Transferred from the Adobe Open Source Subversion Repository

Revision: 22095
Author:   smgilson@adobe.com
Date:     2011-08-19T15:05:35.517487Z

Log Message:
-----------
ASDoc updates for new ZOOM attribute of BitmapScaleMode.as

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/Image.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/graphics/BitmapFillMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/graphics/BitmapScaleMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/BitmapImage.as
+++ frameworks/projects/spark/src/spark/primitives/BitmapImage.as
@@ -395,7 +395,7 @@
     /**
      *  Determines how the bitmap fills in the dimensions. If you set the value
      *  of this property in a tag, use the string (such as "repeat"). If you set the value of
-     *  this property in ActionScript, use the constant (such as BitmapFillMode.CLIP).
+     *  this property in ActionScript, use the constant (such as mx.graphics.BitmapFillMode.CLIP).
      *
      *
When set to BitmapFillMode.CLIP ("clip"), the bitmap
      *  ends at the edge of the region.

@@ -408,6 +408,8 @@
      *
      *  @default BitmapFillMode.SCALE
      *
+     *  @see mx.graphics.BitmapFillMode
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
@@ -443,17 +445,20 @@

     /**
      *  The horizontal alignment of the content when it does not have
-     *  a one-to-one aspect ratio and scaleMode is set to
-     *  BitmapScaleMode.LETTERBOX.
+     *  a one-to-one aspect ratio and scaleMode is set to
+     *  mx.graphics.BitmapScaleMode.LETTERBOX.
      *
      *
Can be one of HorizontalAlign.LEFT ("left"),
      *  HorizontalAlign.RIGHT ("right"), or
      *  HorizontalAlign.CENTER ("center").

      *
-     *
This property is only applicable when fillMode is set to
-     *  to BitmapFillMode.SCALE ("scale").

+     *
This property is only applicable when fillMode is set to
+     *  to mx.graphics.BitmapFillMode.SCALE ("scale").

      *
      *  @default HorizontalAlign.CENTER
+     *
+     *  @see mx.graphics.BitmapFillMode
+     *  @see mx.graphics.BitmapScaleMode
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -581,9 +586,9 @@

     /**
      *  Determines how the image is scaled when fillMode is set to
-     *  BitmapFillMode.SCALE.
-     *
-     *
When set to BitmapScaleMode.STRETCH ("stretch"),
+     *  mx.graphics.BitmapFillMode.SCALE.
+     *
+     *
When set to mx.graphics.BitmapScaleMode.STRETCH ("stretch"),
      *  the image is stretched to fit.

      *
      *
When set to BitmapScaleMode.LETTERBOX ("letterbox"),
@@ -595,6 +600,9 @@
      *  aspect ratio. This results in cropping on one axis.

      *
      *  @default BitmapScaleMode.STRETCH
+     *
+     *  @see mx.graphics.BitmapFillMode
+     *  @see mx.graphics.BitmapScaleMode
      *
      *  @langversion 3.0
      *  @playerversion Flash 10.1
@@ -852,7 +860,7 @@
     /**
      *  The vertical alignment of the content when it does not have
      *  a one-to-one aspect ratio and scaleMode is set to
-     *  BitmapScaleMode.LETTERBOX.
+     *  mx.graphics.BitmapScaleMode.LETTERBOX.
      *
      *
Can be one of VerticalAlign.TOP ("top"),
      *  VerticalAlign.BOTTOM ("bottom"), or
@@ -862,6 +870,9 @@
      *  to BitmapFillMode.SCALE ("scale").

      *
      *  @default VerticalAlign.MIDDLE
+     *
+     *  @see mx.graphics.BitmapFillMode
+     *  @see mx.graphics.BitmapScaleMode
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


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

--- frameworks/projects/framework/src/mx/utils/DensityUtil.as
+++ frameworks/projects/framework/src/mx/utils/DensityUtil.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2010 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
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7803
Author:   dsubrama@adobe.com
Date:     2009-06-12T22:33:24.106666Z

Log Message:
-----------
Metadata needed by Bangalore team for event-handler generation.

Bug: http://bugs.adobe.com/jira/browse/SDK-21632
Checkintests: Pass
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TabBar.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/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.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/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToggleButtonBar.as</path>

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

--- frameworks/projects/spark/src/spark/components/VSlider.as
+++ frameworks/projects/spark/src/spark/components/VSlider.as
@@ -20,7 +20,12 @@
 import mx.core.UIComponent;
 import mx.core.ILayoutElement;

+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
 [IconFile("VSlider.png")]
+[DefaultTriggerEvent("change")]

 /**
  *  The VSlider class defines a vertical slider component.


Transferred from the Adobe Open Source Subversion Repository

Revision: 22217
Author:   mhorn@adobe.com
Date:     2011-08-25T18:07:03.696931Z

Log Message:
-----------
minor asdoc change

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/FormHeading.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/Form.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/TitleWindow.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mx/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/BorderContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/VSlider.as
+++ frameworks/projects/spark/src/spark/components/VSlider.as
@@ -34,7 +34,7 @@
  * Because this component does not define a skin for the mobile theme, Adobe
  * recommends that you not use it in a mobile application. Alternatively, you
  * can define your own mobile skin for the component. For more information,
- * see Spark Skinning.
+ * see Basics of mobile skinning.
  */
 [DiscouragedForProfile("mobileDevice")]


Transferred from the Adobe Open Source Subversion Repository

Revision: 5213
Author:   egeorgie@adobe.com
Date:     2009-03-09T21:36:12.100484Z

Log Message:
-----------
Fix bug SDK-19480 Horizontal gaps can become nonzero when explicitly set to 0,
SDK-19233 Increasing the width of the content (e.g. columnWidth or horizontalGap) eventually causes a Group to unnecessarily increase its height,
SDK-19519 TileLayout justifyColumns and justifyRows should use classes with static constant

Fix: SDK-19480: Make sure that we enforce the maximum rounded cell width/height instead of the original value.
Fix: SDK-19233: Make sure there are no empty rows/columns, check for both top and bottom rounding for both rows and columns.

QE Notes: None
Doc Notes: None
Bugs: SDK-19480, SDK-19233
Reviewer: Hans
tests: checkintests, gen docs, mustella (tileLayout)

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/TileOrientation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/TileLayout.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/TileJustifyColumns.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/TileJustifyRows.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/TileLayout.as
+++ frameworks/projects/spark/src/spark/layouts/TileLayout.as
@@ -18,6 +18,9 @@
 import mx.events.PropertyChangeEvent;
 import mx.layout.HorizontalAlign;
 import mx.layout.LayoutBase;
+import mx.layout.TileJustifyColumns;
+import mx.layout.TileJustifyRows;
+import mx.layout.TileOrientation;
 import mx.layout.VerticalAlign;

 /**
@@ -464,20 +467,22 @@
     //  justifyColumns
     //----------------------------------

-    // TODO EGeorgie: add String enum
-    private var _justifyColumns:String = "none";
-
-    [Inspectable(category="General")]
+    private var _justifyColumns:String = TileJustifyColumns.NONE;
+
+    [Inspectable(category="General", enumeration="none,gapSize,columnSize", defaultValue="none")]

     /**
      *  Specifies how to justify the fully visible columns to the container width.
-     *  Supported values are "none", "gapSize", "columnSize".
-     *
-     *
When set to "none" - turns column justification off, there may
+     *  ActionScript values can be TileJustifyColumns.NONE, TileJustifyColumns.GAPSIZE
+     *  and TileJustifyColumns.COLUMNSIZE.
+     *  MXML values can be "none", "gapSize" and "columnSize".
+     *
+     *
When set to TileJustifyColumns.NONE - turns column justification off, there may
      *  be partially visible columns or whitespace between the last column and
      *  the right edge of the container.  This is the default value.

      *
-     *
When set to "gapSize" - the horizontalGap actual value will increase so that
+     *
When set to TileJustifyColumns.GAPSIZE - the horizontalGap
+     *  actual value will increase so that
      *  the last fully visible column right edge aligns with the container's right edge.
      *  In case there is only a single fully visible column, the horizontalGap actual value
      *  will increase so that it pushes any partially visible column just beyond the right edge
@@ -485,7 +490,8 @@
      *  justification, but just determines the initial gap value, and after thatn justification
      *  may increases it.

      *
-     *
When set to "columnSize" - the columnWidth actual value will increase so that
+     *
When set to TileJustifyColumns.COLUMNSIZE - the columnWidth
+     *  actual value will increase so that
      *  the last fully visible column right edge aligns with the container's right edge.  Note that
      *  explicitly setting the columnWidth does not turn off justification, but simply
      *  determines the initial column width value, and after that justification may increases it.

@@ -493,7 +499,7 @@
      *  @see #horizontalGap
      *  @see #columnWidth
      *  @see #justifyRows
-     *  @default "none"
+     *  @default TileJustifyColumns.NONE
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -521,20 +527,22 @@
     //  justifyRows
     //----------------------------------

-    // TODO EGeorgie: add enum class
-    private var _justifyRows:String = "none";
-
-    [Inspectable(category="General")]
+    private var _justifyRows:String = TileJustifyRows.NONE;
+
+    [Inspectable(category="General", enumeration="none,gapSize,rowSize", defaultValue="none")]

     /**
      *  Specifies how to justify the fully visible rows to the container height.
-     *  Supported values are "none", "gapSize", "rowSize".
-     *
-     *
When set to "none" - turns column justification off, there may
+     *  ActionScript values can be TileJustifyRows.NONE, TileJustifyRows.GAPSIZE
+     *  and TileJustifyRows.ROWSIZE.
+     *  MXML values can be "none", "gapSize" and "rowSize".
+     *
+     *
When set to TileJustifyRows.NONE - turns column justification off, there may
      *  be partially visible rows or whitespace between the last row and
      *  the bottom edge of the container.  This is the default value.

      *
-     *
When set to "gapSize" - the verticalGap actual value will increase so that
+     *
When set to TileJustifyRows.GAPSIZE - the verticalGap
+     *  actual value will increase so that
      *  the last fully visible row bottom edge aligns with the container's bottom edge.
      *  In case there is only a single fully visible row, the verticalGap actual value
      *  will increase so that it pushes any partially visible row just beyond the bottom edge
@@ -542,7 +550,8 @@
      *  justification, but just determines the initial gap value, and after that justification
      *  may increases it.

      *
-     *
When set to "rowSize" - the rowHeight actual value will increase so that
+     *
When set to TileJustifyRows.ROWSIZE - the rowHeight
+     *  actual value will increase so that
      *  the last fully visible row bottom edge aligns with the container's bottom edge.  Note that
      *  explicitly setting the rowHeight does not turn off justification, but simply
      *  determines the initial row height value, and after that justification may increases it.

@@ -550,7 +559,7 @@
      *  @see #verticalGap
      *  @see #rowHeight
      *  @see #justifyColumns
-     *  @default "none"
+     *  @default TileJustifyRows.NONE
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -578,18 +587,19 @@
     //  orientation
     //----------------------------------

-    // TODO EGeorgie: add an enum instead of hardcoding
     private var _orientation:String = "rows";

     [Bindable("propertyChange")]
-    [Inspectable(category="General")]
-
-    /**
-     *  Determines whether elements are arranged row by row or
+    [Inspectable(category="General", enumeration="rows,columns", defaultValue="rows")]
+
+    /**
+     *  Specifies whether elements are arranged row by row or
      *  column by column.
-     *  Supported values are "rows", "columns".
-     *
-     *  @default "rows"
+     *  ActionScript values can be TileOrientation.ROWS and
+     *  TileOrientation.COLUMNS.
+     *  MXML values can be "rows" and "columns".
+     *
+     *  @default TileOrientation.ROWS
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -709,20 +719,20 @@
         // Justify
         switch(justifyColumns)
         {
-            case "gapSize":
+            case TileJustifyColumns.GAPSIZE:
                 _horizontalGap = justifyByGapSize(width, _columnWidth, _horizontalGap, _columnCount);
             break;
-            case "columnSize":
+            case TileJustifyColumns.COLUMNSIZE:
                 _columnWidth = justifyByElementSize(width, _columnWidth, _horizontalGap, _columnCount);
             break;
         }

         switch(justifyRows)
         {
-            case "gapSize":
+            case TileJustifyRows.GAPSIZE:
                 _verticalGap = justifyByGapSize(height, _rowHeight, _verticalGap, _rowCount);
             break;
-            case "rowSize":
+            case TileJustifyRows.ROWSIZE:
                 _rowHeight = justifyByElementSize(height, _rowHeight, _verticalGap, _rowCount);
             break;
         }
@@ -741,6 +751,22 @@
                 _columnCount = Math.max(_columnCount, Math.ceil(elementCount / Math.max(1, explicitRowCount)));
         }
     }
+
+    /**
+     *  @private
+     *  Returns true, if the dimensions (colCounr1, rowCount1) are more square than (colCount2, rowCount2).
+     *  Squareness is the difference between width and height of a tile layout
+     *  with the specified number of columns and rows.
+     */
+    private function closerToSquare(colCount1:int, rowCount1:int, colCount2:int, rowCount2:int):Boolean
+    {
+        var difference1:Number = Math.abs(colCount1 * (_columnWidth + _horizontalGap) - _horizontalGap -
+                                          rowCount1 * (_rowHeight   +   _verticalGap) + _verticalGap);
+        var difference2:Number = Math.abs(colCount2 * (_columnWidth + _horizontalGap) - _horizontalGap -
+                                          rowCount2 * (_rowHeight   +   _verticalGap) + _verticalGap);
+
+        return difference1 < difference2 || (difference1 == difference2 && rowCount1 <= rowCount2);
+    }

     /**
      *  @private
@@ -798,26 +824,37 @@
             // We are guaranteed that we have only one positive root, since d >= b:
             var rowCount:Number = (a != 0) ? (b + d) / (2 * a) : elementCount;

-            var row1:int = Math.max(1, Math.round(rowCount));
+            // To get integer count for the columns/rows we round up and down so
+            // we get four possible solutions. Then we pick the best one.
+            var row1:int = Math.max(1, Math.floor(rowCount));
             var col1:int = Math.max(1, Math.ceil(elementCount / row1));
-
-            // Now try to reduce the bigger dimension and see if we can come up with a better distribution
-            var row2:int;
-            var col2:int;
-            if (col1 * (_columnWidth + hGap) - hGap > row1 * (_rowHeight + vGap) - vGap)
+            row1 = Math.max(1, Math.ceil(elementCount / col1));
+
+            var row2:int = Math.max(1, Math.ceil(rowCount));
+            var col2:int = Math.max(1, Math.ceil(elementCount / row2));
+            row2 = Math.max(1, Math.ceil(elementCount / col2));
+
+            var col3:int = Math.max(1, Math.floor(elementCount / rowCount));
+            var row3:int = Math.max(1, Math.ceil(elementCount / col3));
+            col3 = Math.max(1, Math.ceil(elementCount / row3));
+
+            var col4:int = Math.max(1, Math.ceil(elementCount / rowCount));
+            var row4:int = Math.max(1, Math.ceil(elementCount / col4));
+            col4 = Math.max(1, Math.ceil(elementCount / row4));
+
+            if (closerToSquare(col3, row3, col1, row1))
             {
-                col2 = Math.max(1, col1 - 1);
-                row2 = Math.max(1, Math.ceil(elementCount / col2));
+                col1 = col3;
+                row1 = row3;
             }
-            else
+
+            if (closerToSquare(col4, row4, col2, row2))
             {
-                row2 = Math.max(1, row2 - 1);
-                col2 = Math.max(1, Math.ceil(elementCount / row2));
+                col2 = col4;
+                row2 = row4;
             }

-            // Pick the better one of the two
-            if (Math.abs(col1 * (_columnWidth + hGap) - hGap - row1 * (_rowHeight + vGap) + vGap) <=
-                Math.abs(col2 * (_columnWidth + hGap) - hGap - row2 * (_rowHeight + vGap) + vGap))
+            if (closerToSquare(col1, row1, col2, row2))
             {
                 _columnCount = col1;
                 _rowCount = row1;
@@ -1008,8 +1045,8 @@
             childHeight = element.getPreferredBoundsHeight();

         // Enforce min and max limits
-        var maxChildWidth:Number = Math.min(element.getMaxBoundsWidth(), _columnWidth);
-        var maxChildHeight:Number = Math.min(element.getMaxBoundsHeight(), _rowHeight);
+        var maxChildWidth:Number = Math.min(element.getMaxBoundsWidth(), cellWidth);
+        var maxChildHeight:Number = Math.min(element.getMaxBoundsHeight(), cellHeight);
         // Make sure we enforce element's minimum last, since it has the highest priority
         childWidth = Math.max(element.getMinBoundsWidth(), Math.min(maxChildWidth, childWidth));
         childHeight = Math.max(element.getMinBoundsHeight(), Math.min(maxChildHeight, childHeight));


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

--- frameworks/projects/advancedgrids/src/mx/olap/IOLAPAttribute.as
+++ frameworks/projects/advancedgrids/src/mx/olap/IOLAPAttribute.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: 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@1248795 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/advancedgrids/src/mx/olap/OLAPResultAxis.as
+++ frameworks/projects/advancedgrids/src/mx/olap/OLAPResultAxis.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: 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@1258488 13f79535-47bb-0310-9956-ffa450edef68

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


Transferred from the Adobe Open Source Subversion Repository

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

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

 package mx.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5047
Author:   jszeto@adobe.com
Date:     2009-02-24T01:26:03.149191Z

Log Message:
-----------
Change default weight of Stroke from 0 to 1

SDK-19000 - Getting the default weight property of a Stroke returns 0 instead of 1

Changed default value from 0 to 1

QE Notes: This changes the size of scaled graphic elements
Doc Notes:
Bugs: SDK-19000
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/GradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/GradientStroke.as
@@ -18,7 +18,7 @@
      *
      *  @param weight Specifies the line weight, in pixels.
      *  This parameter is optional,
-     *  with a default value of 0.
+     *  with a default value of 1.
      *
      *  @param pixelHinting A Boolean value that specifies
      *  whether to hint strokes to full pixels.
@@ -71,7 +71,7 @@
      *  This parameter is optional,
      *  with a default value of 0.
      */
-    public function GradientStroke(weight:Number = 0,
+    public function GradientStroke(weight:Number = 1,
                                      pixelHinting:Boolean = false,
                                      scaleMode:String = "normal",
                                      caps:String = null,


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.managers
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13129
Author:   smgilson@adobe.com
Date:     2009-12-21T21:50:37.238504Z

Log Message:
-----------
ASDoc bug fixes, and added a note that Scroller no longer has a default value of hasFocusableChildren="false" and focusEnabled="true"

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/VideoEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/interpolation/MultiValueInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
+++ frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
@@ -723,7 +723,7 @@
     private var _id:String;

     /**
-     *  @inheritDoc
+     *  The identity of the component.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -1811,24 +1811,24 @@
     //
     //--------------------------------------------------------------------------

-	/**
-	 *  Called automatically by the MXML compiler when the SpriteVisualElement
-	 *  is created using an MXML tag.
-	 *  If you create the SpriteVisualElement through ActionScript you
-	 *  must set the id property manually.
-	 *
-	 *  @param document The MXML document containing this SpriteVisualElement (not used).
-	 *  @param id The MXML id for this SpriteVisualElement.
-	 *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-	 */
-	public function initialized(document:Object, id:String):void
-	{
-		this.id = id;
-	}
+    /**
+     *  Called automatically by the MXML compiler when the SpriteVisualElement
+     *  is created using an MXML tag.
+     *  If you create the SpriteVisualElement through ActionScript you
+     *  must set the id property manually.
+     *
+     *  @param document The MXML document containing this SpriteVisualElement (not used).
+     *  @param id The MXML id for this SpriteVisualElement.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function initialized(document:Object, id:String):void
+    {
+        this.id = id;
+    }

     /**
      * @private