Transferred from the Adobe Open Source Subversion Repository

Revision: 134
Author:   proberts@adobe.com
Date:     2008-01-09T17:46:02.145068Z

Log Message:
-----------
Severity: ignore
Description: Added docs for IWindow and updated its implementors. This is a partial fix for FLEXDOCS-262: Several classes missing class descriptions.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>

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

--- frameworks/projects/airframework/src/mx/core/WindowedApplication.as
+++ frameworks/projects/airframework/src/mx/core/WindowedApplication.as
@@ -1051,7 +1051,7 @@
     //----------------------------------

     /**
-     *  Whether the NativeWindow is maximizable.
+     *  Specifies whether the window can be maximized.
      */
     public function get maximizable():Boolean
     {
@@ -1066,7 +1066,7 @@
     //----------------------------------

     /**
-     *  Whether the underlying NativeWindow is minimizable.
+     *  Specifies whether the window can be minimized.
      */
     public function get minimizable():Boolean
     {
@@ -1131,7 +1131,7 @@
     //---------------------------------

     /**
-     *  Whether the NativeWindow is resizable.
+     *  Specifies whether the window can be resized.
      */
     public function get resizable():Boolean
     {
@@ -1406,7 +1406,9 @@
     //----------------------------------

     /**
-     *  What kind of system chrome (if any) the NativeWindow has.
+     *  Specifies the type of system chrome (if any) the window has.
+	 *  The set of possible values is defined by the constants
+	 *  in the NativeWindowSystemChrome class.
 	 *
 	 *  @see flash.display.NativeWindow#systemChrome
      */
@@ -1636,7 +1638,7 @@
     //----------------------------------

     /**
-     *  Whether the NativeWindow is transparent.
+     *  Specifies whether the window is transparent.
      */
     public function get transparent():Boolean
     {
@@ -1650,8 +1652,9 @@
     //----------------------------------

     /**
-     *  What type of NativeWindow the underlying NativeWindow is.
-     *  The values for this property are enumerated in the NativeWindowType class.
+     *  Specifies the type of NativeWindow that this component
+	 *  represents. The set of possible values is defined by the constants
+	 *  in the NativeWindowType class.
 	 *
 	 *  @see flash.display.NativeWindowType
      */
@@ -2126,7 +2129,7 @@
     }

     /**
-     *  Closes the application's NativeWindow. This action is cancelable.
+     *  Closes the application's NativeWindow (the initial native window opened by the application). This action is cancelable.
      */
     public function close():void
     {
@@ -2178,7 +2181,7 @@
     }

     /**
-     *  Maximizes the Application's window, or does nothing it if it's already maximized.
+     *  Maximizes the window, or does nothing if it's already maximized.
      */
     public function maximize():void
     {
@@ -2203,7 +2206,7 @@
     }

     /**
-     *  Minimizes the Application's window.
+     *  Minimizes the window.
      */
     public function minimize():void
     {
@@ -2220,7 +2223,7 @@
     }

     /**
-     *  Restores the application's NativeWindow (unmaximizes it if it's maximized, or
+     *  Restores the window (unmaximizes it if it's maximized, or
      *  unminimizes it if it's minimized).
      */
     public function restore():void


Transferred from the Adobe Open Source Subversion Repository

Revision: 16774
Author:   aharui@adobe.com
Date:     2010-07-01T17:16:15.674334Z

Log Message:
-----------
check for null stage

QE notes: none
Doc notes: none
Bugs: SDK-25373
Reviewer: Corey
Tests run: checkintests mustella/apollo
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</path>

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

--- frameworks/projects/airframework/src/mx/core/WindowedApplication.as
+++ frameworks/projects/airframework/src/mx/core/WindowedApplication.as
@@ -3005,6 +3005,9 @@
      */
     private function enterFrameHandler(e:Event):void
     {
+		if (!stage)
+			return;
+
         removeEventListener(Event.ENTER_FRAME, enterFrameHandler);

         // If nativeApplication.nativeApplication.exit() has been called,


Transferred from the Adobe Open Source Subversion Repository

Revision: 14869
Author:   cframpto@adobe.com
Date:     2010-03-19T02:24:27.434644Z

Log Message:
-----------
Merge mirroring changes 14728-14730, 14772-14775, 14806 from 4.x to trunk.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UIFTETextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</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/spark/src/spark/skins/spark/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>

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

--- frameworks/projects/airframework/src/mx/core/WindowedApplication.as
+++ frameworks/projects/airframework/src/mx/core/WindowedApplication.as
@@ -836,7 +836,7 @@

         // the heightChanged event is dispatched in commitProperties instead of
         // here because it can change based on user-interaction with the window
-        // size and super.height is set in there so don't want to prematurely
+        // size and _height is set in there so don't want to prematurely
         // dispatch here yet
     }

@@ -1131,7 +1131,7 @@

         // the widthChanged event is dispatched in commitProperties instead of
         // here because it can change based on user-interaction with the window
-        // size and super.width is set in there so don't want to prematurely
+        // size and _width is set in there so don't want to prematurely
         // dispatch here yet
      }

@@ -2302,15 +2302,25 @@
                 systemChrome == NativeWindowSystemChrome.STANDARD)
                 nativeWindow.height = chromeHeight() + _bounds.height;

-            systemManager.stage.stageWidth = super.width = _bounds.width;
-            systemManager.stage.stageHeight = super.height =  _bounds.height;
+            systemManager.stage.stageWidth = _bounds.width;
+            systemManager.stage.stageHeight = _bounds.height;
+
+            // Set _width and _height.  This will update the mirroring
+            // transform if applicable.
+            setActualSize(_bounds.width, _bounds.height);
+
             boundsChanged = false;
         }

         if (windowBoundsChanged)
         {
-            _bounds.width = super.width = systemManager.stage.stageWidth;
-            _bounds.height = super.height = systemManager.stage.stageHeight;
+            _bounds.width = systemManager.stage.stageWidth;
+            _bounds.height = systemManager.stage.stageHeight;
+
+            // Set _width and _height.  This will update the mirroring
+            // transform if applicable.
+            setActualSize(_bounds.width, _bounds.height);
+
             windowBoundsChanged = false;
         }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


def: 7746 fix playhead position after playback ended in a session where intelli-seek was performed

--- kdp3Lib/src/com/kaltura/kdpfl/view/media/KMediaPlayerMediator.as
+++ kdp3Lib/src/com/kaltura/kdpfl/view/media/KMediaPlayerMediator.as
@@ -1195,7 +1195,11 @@
 		 *
 		 */
 		private function onPlayHeadChange( event : TimeEvent ) : void
-		{
+		{
+			//fix bug when after intelli-seek playhead jumps to a different point in the movie when playback ends
+			if (_loadMediaOnPlay && !_sequenceProxy.vo.isInSequence)
+				return;
+
 			if (player.temporal && !isNaN(event.time))
 			{
 				var time:Number = _sequenceProxy.vo.isInSequence ? event.time : event.time + _offsetAddition;


Proposed fix for FXU-71

Proposed fix for FXU-71

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

--- FlexUnit4/src/org/flexunit/internals/runners/FlexUnit1ClassRunner.as
+++ FlexUnit4/src/org/flexunit/internals/runners/FlexUnit1ClassRunner.as
@@ -75,6 +75,7 @@

 			if ( klassOrTest is TestSuite ) {
 				if ( TestSuite( klassOrTest ).testArrayList.isEmpty() ) {
+					//Fix for FXU-71
 					throw new InitializationError("Empty test Suite!");
 				}
 			}


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 3139
Author:   jimurphy@adobe.com
Date:     2008-09-08T15:42:37.788151Z

Log Message:
-----------
Merged 3.0.x revisions [3074,3079-3080,3086,3094,3096,3098,3101-3102,3104,3108,3114,3123,3125-3126] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FocusRequestDirection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EventListenerRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/SecurityUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/SWFBridgeGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InvalidateRequestData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeProvider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterManagerRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as</path>

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

--- frameworks/projects/framework/src/mx/core/ISWFLoader.as
+++ frameworks/projects/framework/src/mx/core/ISWFLoader.as
@@ -32,12 +32,12 @@
     //----------------------------------

     /**
-     *  A flag that indictes whether the content is loaded so it can
-     *  interop with applications built with a different verion of Flex.
+     *  A flag that indicates whether the content is loaded so that it can
+     *  interoperate with applications that were built with a different verion of Flex.
      *  Compatibility with other Flex Applications is accomplished by loading
-     *  the application into a sibling ApplicationDomain.
-     *  This flag is not respected if the content needs to be loaded into differnt
-     *  SecurityDomain.
+     *  the application into a sibling (or peer) ApplicationDomain.
+     *  This flag is ignored if the sub application is loaded into a different
+     *  SecurityDomain than the main application.
      *  If true, the content loads into a sibling ApplicationDomain.
      *  If false, the content loaded into a child ApplicationDomain.
      *
@@ -54,14 +54,14 @@
      *  Get the bounds of the loaded application that are visible to the user
      *  on the screen.
      *
-     *  @param allApplications Control if the visible rect is calculated based only on the
+     *  @param allApplications Determine if the visible rectangle is calculated based only on the
      *  display objects in this application or all parent applications as well.
-     *  Including more parent applications may reduce the visible area returned.
-     *  If true then all applications are used to find the visible
+     *  Including more parent applications might reduce the visible area returned.
+     *  If true, then all applications are used to find the visible
      *  area, otherwise only the display objects in this application are used.
      *
-     *  @return a Rectangle including the visible portion of the this
-     *  object. The rectangle is in global coordinates.
+     *  @return A Rectangle that includes the visible portion of this
+     *  object. The rectangle uses global coordinates.
      */
     function getVisibleApplicationRect(allApplications:Boolean=false):Rectangle;


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

--- frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as
+++ frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//  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: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

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

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

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

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

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

--- frameworks/projects/rpc/src/mx/rpc/xml/NamespaceUtil.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/NamespaceUtil.as
@@ -0,0 +1,73 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.rpc.xml
+{
+
+import flash.xml.XMLDocument;
+import flash.xml.XMLNode;
+
+[ExcludeClass]
+
+/**
+ * @private
+ */
+public class NamespaceUtil
+{
+    public function NamespaceUtil()
+    {
+        super();
+    }
+
+    public static function getLocalName(xmlNode:XMLNode):String
+    {
+        var name:String = xmlNode.nodeName;
+        var myPrefixIndex:int = name.indexOf(":");
+        if (myPrefixIndex != -1)
+        {
+            name = name.substring(myPrefixIndex+1);
+        }
+        return name;
+    }
+
+    public static function getElementsByLocalName(xmlNode:XMLNode, lname:String):Array
+    {
+        var elements:Array;
+
+        if (xmlNode is XMLDocument)
+        {
+            elements = getElementsByLocalName(xmlNode.firstChild, lname);
+        }
+        else
+        {
+            elements = [];
+            if (getLocalName(xmlNode) == lname)
+            {
+                elements.push(xmlNode);
+            }
+
+            var numChildren:uint = xmlNode.childNodes.length;
+            for (var i:uint = 0; i < numChildren; i++)
+            {
+                var subElement:XMLNode = xmlNode.childNodes[i];
+                // NOTE: No longer digging deeper than one level (big perf boost)
+                if (getLocalName(subElement) == lname)
+                {
+                    elements.push(subElement);
+                }
+            }
+        }
+
+        return elements;
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 5358
Author:   clucier@adobe.com
Date:     2009-03-17T20:24:32.823451Z

Log Message:
-----------
Spark-alike default button theme for halo buttons.
Bugs: SDK-19544.
QE Notes: None.
Doc Notes: None.
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.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/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/defaults.css</path>

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

--- frameworks/projects/sparkskins/src/SparkSkinsClasses.as
+++ frameworks/projects/sparkskins/src/SparkSkinsClasses.as
@@ -25,6 +25,7 @@
 	import mx.skins.spark.AccordionHeaderSkin; AccordionHeaderSkin;
 	import mx.skins.spark.BorderSkin; BorderSkin;
 	import mx.skins.spark.ButtonSkin; ButtonSkin;
+	import mx.skins.spark.DefaultButtonSkin; DefaultButtonSkin;
 	import mx.skins.spark.ButtonBarFirstButtonSkin; ButtonBarFirstButtonSkin;
 	import mx.skins.spark.ButtonBarLastButtonSkin; ButtonBarLastButtonSkin;
 	import mx.skins.spark.ButtonBarMiddleButtonSkin; ButtonBarMiddleButtonSkin;


141 Added Event metadata to BitmapLoader class

--- raw/src/org/yellcorp/bitmap/BitmapLoader.as
+++ raw/src/org/yellcorp/bitmap/BitmapLoader.as
@@ -16,6 +16,11 @@
 import flash.utils.ByteArray;

+[Event(name="complete", type="flash.events.Event")]
+[Event(name="open", type="flash.events.Event")]
+[Event(name="httpStatus", type="flash.events.HTTPStatusEvent")]
+[Event(name="progress", type="flash.events.ProgressEvent")]
+[Event(name="ioError", type="flash.events.IOErrorEvent")]
 public class BitmapLoader extends EventDispatcher implements Destructor
 {
     public static const FP9_MAX_AXIS:uint = 2880;


342 Adding StringUtil.condenseWhitespace

--- raw/src/org/yellcorp/lib/core/StringUtil.as
+++ raw/src/org/yellcorp/lib/core/StringUtil.as
@@ -2,26 +2,33 @@
 {
 public class StringUtil
 {
-    public static const TRIM_LEFT:RegExp = /^[\s\0]+/;
-    public static const TRIM_RIGHT:RegExp = /[\s\0]+$/;
-    public static const ALL_WHITESPACE:RegExp = /^[\s\0]+$/;
+    public static const WHITESPACE:RegExp = /[\s\0]+/;
+    public static const LEADING_WHITESPACE:RegExp = /^[\s\0]+/;
+    public static const TRAILING_WHITESPACE:RegExp = /[\s\0]+$/;
+    public static const ENTIRELY_WHITESPACE:RegExp = /^[\s\0]+$/;

     public static function trimLeft(str:String):String
     {
-        return str.replace(TRIM_LEFT, "");
+        return str.replace(LEADING_WHITESPACE, "");
     }

     public static function trimRight(str:String):String
     {
-        return str.replace(TRIM_RIGHT, "");
+        return str.replace(TRAILING_WHITESPACE, "");
     }

     public static function trim(str:String):String
     {
         return trimLeft(trimRight(str));
+    }
+
+
+    public static function condenseWhitespace(str:String):String
+    {
+        return trim(str).replace(WHITESPACE, " ");
     }

@@ -74,7 +81,7 @@

     public static function hasContent(query:String):Boolean
     {
-        return Boolean(query) && !ALL_WHITESPACE.test(query);
+        return Boolean(query) && !ENTIRELY_WHITESPACE.test(query);
     }


sync bone frame data

sync bone frame data

--- src/model/CopyDataProxy.as
+++ src/model/CopyDataProxy.as
@@ -592,7 +592,7 @@
 			copiedBehavior.setChildren(new XMLList());

 			var movmentData:MovementData = sourceAnimationData.getMovementData(behaviorName);
-			var movementBoneXMLList:XMLList = sourceBehavior[ConstValues.BONE];
+			var movementBoneXMLList:XMLList = sourceBehavior[ConstValues.BONE].copy();
 			for each (var boneName:String in sharedBoneNames)
 			{
 				var movementBoneData:MovementBoneData = movmentData.getMovementBoneData(boneName);
@@ -601,6 +601,7 @@
 					var boneFramesContainer:XML = sourceBehavior[ConstValues.BONE].(@[ConstValues.A_NAME] == boneName)[0].copy();
 					delete boneFramesContainer[ConstValues.FRAME];

+					//movementBoneXMLList will be changed in this function
 					copyBoneFrameData(movementBoneData, plattenDestinationBoneList, boneName, movementBoneXMLList, boneFramesContainer);

 					copiedBehavior.appendChild(boneFramesContainer);
@@ -699,7 +700,7 @@
 				}

 				//写入关键帧坐标
-				var frameXML:XML = frameXMLList[j].copy();
+				var frameXML:XML = frameXMLList[j];
 				totalDuration += int(frameXML.attribute(ConstValues.A_DURATION));
 				frameXML.@[ConstValues.A_X] = _frameNode.x;
 				frameXML.@[ConstValues.A_Y] = _frameNode.y;


fixed bug in draw logic (removed if statement)


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

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

 package mx.charts.chartClasses
 {


added Viewport.dispose()

added Viewport.dispose()

--- src/aerys/minko/render/Viewport.as
+++ src/aerys/minko/render/Viewport.as
@@ -31,7 +31,7 @@
 	 * @author Jean-Marc Le Roux
 	 *
 	 */
-	public final class Viewport extends Sprite
+	public class Viewport extends Sprite
 	{
 		private static const ZERO2		: Point				= new Point();

@@ -283,6 +283,13 @@
 			}

 			setSize(width, height);
+		}
+
+		public function dispose():void
+		{
+			_context3d.dispose();
+
+			return ;
 		}

 		private function setSize(width : Number, height : Number) : void


Transferred from the Adobe Open Source Subversion Repository

Revision: 13742
Author:   rbhat@adobe.com
Date:     2010-01-25T05:44:35.924793Z

Log Message:
-----------
sbannur: Reverting the changes which were done, in previous revision by re-adding the patent comments, this will be done in the branch.

QE notes: None
Doc notes: None
Bugs:
Reviewer: R K Bhat
Tests run: None
Is noteworthy for integration:

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

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

--- frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as
+++ frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as
@@ -7,6 +7,10 @@
 //  NOTICE: Adobe permits you to use, modify, and distribute this file
 //  in accordance with the terms of the license agreement accompanying it.
 //
+//  Adobe Patent or Adobe Patent Pending Invention Included Within this File
+//  Adobe patent application tracking B503, entitled Charting Data Graphics -
+//  graphics drawing API that allows to draw in data space, inventors Ely Greenfield.
+//  AdobePatentID="B503"
 //
 ////////////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 21764
Author:   ksimm@adobe.com
Date:     2011-08-02T00:24:41.948406Z

Log Message:
-----------
Added the localization codes to DateSpinner and DateAndTimeRangeList and add three new globalization classes to the spark.globalization.supportClasses package.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Jason Szeto
Tests run: checkintests, mustella
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="D">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalendarDate.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateAndTimeRangeList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/globalization/supportClasses/FormatPattern.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/globalization/supportClasses/CalendarDate.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/globalization/supportClasses/DateTimeFormatterEx.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as
+++ frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as
@@ -11,9 +11,11 @@
 package spark.components
 {
 import flash.events.Event;
+import flash.utils.getTimer;

 import mx.collections.ArrayCollection;
 import mx.collections.IList;
+import mx.collections.ISort;
 import mx.core.ClassFactory;
 import mx.core.IFactory;
 import mx.core.IVisualElementContainer;
@@ -22,9 +24,14 @@
 import mx.events.FlexEvent;
 import mx.resources.Locale;

+import spark.accessibility.ListAccImpl;
+import spark.collections.Sort;
+import spark.collections.SortField;
 import spark.components.supportClasses.SkinnableComponent;
 import spark.events.IndexChangeEvent;
 import spark.formatters.DateTimeFormatter;
+import spark.globalization.supportClasses.CalendarDate;
+import spark.globalization.supportClasses.DateTimeFormatterEx;

 use namespace mx_internal;

@@ -177,6 +184,14 @@

     private static const MS_IN_DAY:Number = 1000 * 60 * 60 * 24;

+    // choosing January 1980 to guarantee 31 days in the month
+    private static const JAN1980_IN_MS:Number = 315561660000;
+
+    // meridian
+    private static const AM:String = "am";
+    private static const PM:String = "pm";
+
+
     //--------------------------------------------------------------------------
     //
     //  Constructor
@@ -213,8 +228,13 @@
     private var populateMeridianDataProvider:Boolean = true;

     private var refreshDateTimeFormatter:Boolean = true;
+
+    // the internal DateTimeFormatter that provdies a set of extended functionalities
+    private var dateTimeFormatterEx:DateTimeFormatterEx = new DateTimeFormatterEx();
+
     private var dateTimeFormatter:DateTimeFormatter = new DateTimeFormatter();

+    private var dateObj:Date = new Date();
     private var use24HourTime:Boolean;

     //--------------------------------------------------------------------------
@@ -544,80 +564,7 @@
     {
         super.commitProperties();

-        use24HourTime = false; // TODO: determine 24-hour time here from Masa's libraries
-
         var listsCreated:Boolean = false;
-
-        // ==================================================
-        // switch out lists if the display mode changed
-        if (displayModeChanged)
-        {
-            // clean out the container and all existing lists
-            // they may be in different positions, which will affect how they
-            // need to be (re)created
-            cleanContainer();
-
-            // configure the correct lists to use
-            if (displayMode == DateSelectorDisplayMode.TIME ||
-                displayMode == DateSelectorDisplayMode.DATE_AND_TIME)
-            {
-                // number of items shown depends on 24 hour time, e.g. meridian list
-                var numItems:int = use24HourTime ? 2 : 3;
-                var fieldPosition:int = 0;
-
-                if (displayMode == DateSelectorDisplayMode.DATE_AND_TIME)
-                {
-                    // add date field first; increases the number of lists to show
-                    numItems = use24HourTime ? 3 : 4;
-
-                    dateList = createDateItemList(DATE_ITEM, fieldPosition++, numItems);
-                    dateList.addEventListener(IndexChangeEvent.CHANGE, dateItemList_changeHandler);
-                    dateList.wrapElements = false;
-                    listContainer.addElement(dateList);
-                }
-
-                // create components for hours and minutes
-                hourList = createDateItemList(HOUR_ITEM, fieldPosition++, numItems); // TODO: ordinal from locale?
-                hourList.addEventListener(IndexChangeEvent.CHANGE, dateItemList_changeHandler);
-                listContainer.addElement(hourList);
-
-                minuteList = createDateItemList(MINUTE_ITEM, fieldPosition++, numItems); // TODO: ordinal from locale?
-                minuteList.addEventListener(IndexChangeEvent.CHANGE, dateItemList_changeHandler);
-                listContainer.addElement(minuteList);
-
-                if (!use24HourTime)
-                {
-                    meridianList = createDateItemList(MERIDIAN_ITEM, fieldPosition++, numItems); // TODO: ordinal from locale?
-                    meridianList.addEventListener(IndexChangeEvent.CHANGE, dateItemList_changeHandler);
-                    listContainer.addElement(meridianList);
-                }
-            }
-            else // default case: DATE mode
-            {
-                // create components
-                monthList = createDateItemList(MONTH_ITEM, 0, 3); // TODO: ordinal from locale
-                dateList = createDateItemList(DATE_ITEM, 1, 3); // TODO: ordinal from locale
-                yearList = createDateItemList(YEAR_ITEM, 2, 3); // TODO: ordinal from locale
-
-                // set item renderers prototype
-                //                yearList.itemRenderer = new ClassFactory(DefaultDateSpinnnerItemRendererThingy);
-
-                // add listeners
-                monthList.addEventListener(IndexChangeEvent.CHANGE, dateItemList_changeHandler);
-                dateList.addEventListener(IndexChangeEvent.CHANGE, dateItemList_changeHandler);
-                yearList.addEventListener(IndexChangeEvent.CHANGE, dateItemList_changeHandler);
-
-                // TODO: determine order from locale -- use addElementAt(...)
-                listContainer.addElement(monthList);
-                listContainer.addElement(dateList);
-                listContainer.addElement(yearList);
-            }
-
-            displayModeChanged = false;
-            listsCreated = true;
-        }
-
-        // ==============================

         // TODO: CHECK ON THIS ASSUMPTION
         // TODO: Jason says this is wrong; just use styleName = DateSpinner to link styles
@@ -626,18 +573,142 @@
         if (refreshDateTimeFormatter)
         {
             if (localeStr)
+            {
+                dateTimeFormatterEx.setStyle("locale", localeStr);
                 dateTimeFormatter.setStyle("locale", localeStr);
+            }
             else
+            {
+                dateTimeFormatterEx.clearStyle("locale");
                 dateTimeFormatter.clearStyle("locale");
-
+            }
+
+            use24HourTime = dateTimeFormatterEx.getUse24HourFlag();
             refreshDateTimeFormatter = false;
         }
-
-		// ==================================================
+
+        // an array of the list and position objects that will be sorted by position
+        var fieldPositionObjArray:ArrayCollection = new ArrayCollection();
+        var listSort:ISort = new Sort();
+        listSort.fields = [new SortField("position")];
+        fieldPositionObjArray.sort = listSort;
+
+        // ==================================================
+        // switch out lists if the display mode changed
+        if (displayModeChanged)
+        {
+            // clean out the container and all existing lists
+            // they may be in different positions, which will affect how they
+            // need to be (re)created
+            cleanContainer();
+
+            var fieldPosition:int = 0;
+            var listItem:Object;
+            var tempList:SpinnerList;
+            var numItems:int;
+
+            // configure the correct lists to use
+            if (displayMode == DateSelectorDisplayMode.TIME ||
+                displayMode == DateSelectorDisplayMode.DATE_AND_TIME)
+            {
+                fieldPositionObjArray.addItem(generateFieldPositionObject(HOUR_ITEM, dateTimeFormatterEx.getHourPosition()));
+                fieldPositionObjArray.addItem(generateFieldPositionObject(MINUTE_ITEM, dateTimeFormatterEx.getMinutePosition()));
+
+                if (displayMode == DateSelectorDisplayMode.DATE_AND_TIME)
+                    fieldPositionObjArray.addItem(generateFieldPositionObject(DATE_ITEM, dateTimeFormatterEx.getMonthPosition()));
+
+                if (!use24HourTime)
+                    fieldPositionObjArray.addItem(generateFieldPositionObject(MERIDIAN_ITEM, dateTimeFormatterEx.getAmPmPosition()));
+
+                // sort fieldPosition objects by position
+                fieldPositionObjArray.refresh();
+
+                numItems = fieldPositionObjArray.length;
+
+                for each (listItem in fieldPositionObjArray)
+                {
+                    switch(listItem.dateItem)
+                    {
+                        case HOUR_ITEM:
+                        {
+                            hourList = createDateItemList(HOUR_ITEM, fieldPosition++, numItems);
+                            tempList = hourList;
+                            break;
+                        }
+                        case MINUTE_ITEM:
+                        {
+                            minuteList = createDateItemList(MINUTE_ITEM, fieldPosition++, numItems);
+                            tempList = minuteList;
+                            break;
+                        }
+                        case MERIDIAN_ITEM:
+                        {
+                            meridianList = createDateItemList(MERIDIAN_ITEM, fieldPosition++, numItems);
+                            tempList = meridianList;
+                            break;
+                        }
+                        case DATE_ITEM:
+                        {
+                            dateList = createDateItemList(DATE_ITEM, fieldPosition++, numItems);
+                            tempList = dateList;
+                            break;
+                        }
+                    }
+                    tempList.addEventListener(IndexChangeEvent.CHANGE, dateItemList_changeHandler);
+                    listContainer.addElement(tempList);
+                }
+            }
+            else // default case: DATE mode
+            {
+                fieldPositionObjArray.addItem(generateFieldPositionObject(MONTH_ITEM, dateTimeFormatterEx.getMonthPosition()));
+                fieldPositionObjArray.addItem(generateFieldPositionObject(DATE_ITEM, dateTimeFormatterEx.getDayOfMonthPosition()));
+                fieldPositionObjArray.addItem(generateFieldPositionObject(YEAR_ITEM, dateTimeFormatterEx.getYearPosition()));
+
+                // sort fieldPosition objects by position
+                fieldPositionObjArray.refresh();
+
+                numItems = fieldPositionObjArray.length;
+
+                for each (listItem in fieldPositionObjArray)
+                {
+                    switch(listItem.dateItem)
+                    {
+                        case MONTH_ITEM:
+                        {
+                            monthList = createDateItemList(MONTH_ITEM, fieldPosition++, numItems);
+                            tempList = monthList;
+                            break;
+                        }
+                        case DATE_ITEM:
+                        {
+                            dateList = createDateItemList(DATE_ITEM, fieldPosition++, numItems);
+                            tempList = dateList;
+                            break;
+                        }
+                        case YEAR_ITEM:
+                        {
+                            yearList = createDateItemList(YEAR_ITEM, fieldPosition++, numItems);
+                            tempList = yearList;
+                            break;
+                        }
+                    }
+                    tempList.addEventListener(IndexChangeEvent.CHANGE, dateItemList_changeHandler);
+                    listContainer.addElement(tempList);
+                }
+                // set item renderers prototype
+                // yearList.itemRenderer = new ClassFactory(DefaultDateSpinnnerItemRendererThingy);
+            }
+            displayModeChanged = false;
+            listsCreated = true;
+        }
+
+        // ==================================================
+        var today:Date = new Date();
+
         // populate lists that are being shown
         if (yearList && populateYearDataProvider)
         {
-            yearList.dataProvider = generateYears();
+            yearList.dataProvider = generateYears(today);
             //			yearList.dataProvider = new YearRangeList(localeStr, minDate.fullYear, maxDate.fullYear);
             populateYearDataProvider = false;

@@ -645,7 +716,7 @@
         }
         if (monthList && populateMonthDataProvider)
         {
-            monthList.dataProvider = generateMonths();
+            monthList.dataProvider = generateMonths(today);
             populateMonthDataProvider = false;

             // set size
@@ -656,14 +727,14 @@
             if (displayMode == DateSelectorDisplayMode.DATE_AND_TIME)
             {
                 dateList.dataProvider = new DateAndTimeRangeList(minDate, maxDate,
-                    localeStr, new Date(), getStyle("accentColor"));
+                    localeStr, today, getStyle("accentColor"));

                 // set size to longest string
-                dateList.typicalItem = {label:"Wed May 31"}; // TODO: localize? better way to do this? add a dot? ask Masa
+                dateList.typicalItem = dateList.dataProvider.getItemAt(0); // TODO: localize? better way to do this? add a dot? ask Masa
             }
             else
             {
-                dateList.dataProvider = generateMonthOfDates();
+                dateList.dataProvider = generateMonthOfDates(today);

                 // set size to width of longest visible value
                 dateList.typicalItem = getLongestLabel(dateList.dataProvider);
@@ -685,9 +756,8 @@
         }
         if (meridianList && populateMeridianDataProvider)
         {
-            // TODO: replace with localized version, probably break out into function
-            var amObject:Object = generateDateItemObject("AM", "am");
-            var pmObject:Object = generateDateItemObject("PM", "pm");
+            var amObject:Object = generateAmPm(AM);
+            var pmObject:Object = generateAmPm(PM);
             meridianList.dataProvider = new ArrayCollection([amObject, pmObject]);
             meridianList.typicalItem = getLongestLabel(meridianList.dataProvider);
             populateMeridianDataProvider = false;
@@ -833,7 +903,13 @@
      */
     protected function createDateItemList(datePart:String, itemIndex:int, itemCount:int):SpinnerList
     {
+        // itemIndex and itemCount not used yet; will be used when localization support
+        // is put in place, e.g.
+        // if itemIndex == 0, align as first column,
+        // if itemIndex == itemCount - 1, align as last column
+
         var s:SpinnerList = SpinnerList(createDynamicPartInstance("dateItemList"));
+        //		s.itemRenderer = // ...;
         return s;
     }

@@ -846,22 +922,20 @@
     }

     // generate objects to populate a SpinnerList with years
-    private function generateYears():IList
+    private function generateYears(today:Date):IList
     {
         var ac:ArrayCollection = new ArrayCollection();
-
-        var dtf:DateTimeFormatter = dateTimeFormatter;
-        dtf.dateTimePattern = "yyyy"; // TODO: this will need to be localized
-        var d:Date = new Date(0);
-		var today:Date = new Date();
-
+        var todayYear:int = today.getFullYear();
+
+        dateTimeFormatter.dateTimePattern = dateTimeFormatterEx.getYearPattern();
+
         for (var i:Number = minDate.fullYear; i <= maxDate.fullYear; i++)
         {
-            d.fullYear = i;
-            var item:Object = generateDateItemObject(dtf.format(d), i);
+            dateObj.fullYear = i;
+            var item:Object = generateDateItemObject(dateTimeFormatter.format(dateObj), i);

-			if(i == today.getFullYear())
-				item["accentColor"] = getStyle("accentColor");
+            if (i == todayYear)
+                item["accentColor"] = getStyle("accentColor");

             ac.addItem(item);
         }
@@ -870,23 +944,19 @@
     }

     // generate objects to populate a SpinnerList with months
-    private function generateMonths():IList
+    private function generateMonths(today:Date):IList
     {
         var ac:ArrayCollection = new ArrayCollection();
-
-        var dtf:DateTimeFormatter = dateTimeFormatter;
-        dtf.dateTimePattern = "MMMM";
-
-        var d:Date = new Date(1980, 0, 1, 0, 1);
-		var today:Date = new Date();
-
+        var todayMonth:int = today.getMonth();
+
+        var monthNames:Vector.<String> = dateTimeFormatterEx.getMonthNames();
+
         for (var i:Number = 0; i < 12; i++)
         {
-            d.month = i;
-            var item:Object = generateDateItemObject(dtf.format(d), i);
-
-			if(i == today.getMonth())
-				item["accentColor"] = getStyle("accentColor");
+            var item:Object = generateDateItemObject(monthNames[i], i);
+
+            if (i == todayMonth)
+                item["accentColor"] = getStyle("accentColor");

             ac.addItem(item);
         }
@@ -895,24 +965,23 @@
     }

     // generate objects to populate a SpinnerList with dates, e.g. "1, 2, 3, ... 31"
-    private function generateMonthOfDates():IList
+    private function generateMonthOfDates(today:Date):IList
     {
         var ac:ArrayCollection = new ArrayCollection();
-
-        var dtf:DateTimeFormatter = dateTimeFormatter;
-        dtf.dateTimePattern = "d";
-
-        // choosing January 1980 to guarantee 31 days in the month
-        var d:Date = new Date(1980, 0, 1, 0, 1, 0, 0);
-		var today:Date = new Date();
-
+        var todayDate:int = today.getDate();
+
+        dateTimeFormatter.dateTimePattern = dateTimeFormatterEx.getDayOfMonthPattern();
+
+        // guarantee 31 days in the month
+        dateObj.time = JAN1980_IN_MS;
+
         for (var i:int = 1; i <= 31; i++)
         {
-            d.date = i;
-            var item:Object = generateDateItemObject(dtf.format(d), i);
-
-			if(i == today.getDate())
-				item["accentColor"] = getStyle("accentColor");
+            dateObj.date = i;
+            var item:Object = generateDateItemObject(dateTimeFormatter.format(dateObj), i);
+
+			if (i == todayDate)
+                item["accentColor"] = getStyle("accentColor");

             ac.addItem(item);
         }
@@ -928,10 +997,12 @@
         var minHour:int = use24HourTime ? 0 : 1;
         var maxHour:int = use24HourTime ? 23 : 12;

+        dateTimeFormatter.dateTimePattern = dateTimeFormatterEx.getHourPattern();
+
         for (var i:int = minHour; i <= maxHour; i++)
         {
-            // TODO: localize?
-            ac.addItem( generateDateItemObject(String(i), i) );
+            dateObj.hours = i;
+            ac.addItem( generateDateItemObject(dateTimeFormatter.format(dateObj), i) );
         }

         return ac;
@@ -941,13 +1012,24 @@
     {
         var ac:ArrayCollection = new ArrayCollection();

+        dateTimeFormatter.dateTimePattern = dateTimeFormatterEx.getMinutePattern();
+
         for (var i:int = 0; i <= 59; i += minuteStepSize)
         {
-            // TODO: localize?
-            ac.addItem( generateDateItemObject(i < 10 ? "0" + i : String(i), i));
+        	dateObj.minutes = i;
+            ac.addItem( generateDateItemObject(dateTimeFormatter.format(dateObj), i) );
         }

         return ac;
+    }
+
+    private function generateAmPm(value:String):Object
+    {
+        dateTimeFormatter.dateTimePattern = dateTimeFormatterEx.getAmPmPattern();
+
+        dateObj.hours = (value == AM)? 1 : 13;
+
+        return generateDateItemObject(dateTimeFormatter.format(dateObj), value);
     }

     // TODO: possibly optimize usages and remove this function
@@ -1031,7 +1113,7 @@
                     if (curObj.enabled != newEnabledValue)
                     {
                         var o:Object = generateDateItemObject(curObj.label, curObj.data, newEnabledValue);
-						o["accentColor"] = curObj["accentColor"];
+                        o["accentColor"] = curObj["accentColor"];
                         listData[i] = o;
                     }
                 }
@@ -1059,7 +1141,7 @@
                 if (curObj.enabled != newEnabledValue)
                 {
                     o = {data:curObj.data, label:curObj.label, enabled:newEnabledValue};
-					o["accentColor"] = curObj["accentColor"];
+                    o["accentColor"] = curObj["accentColor"];
                     listData[i] = o;
                 }
             }
@@ -1125,6 +1207,13 @@
     private function generateDateItemObject(label:String, data:*, enabled:Boolean = true):Object
     {
         var obj:Object = { label:label, data:data, enabled:enabled };
+        return obj;
+    }
+
+    // generate the fieldPosition object that contains the date part name and position based on locale
+    private function generateFieldPositionObject(datePart:String, position:int):Object
+    {
+        var obj:Object = { dateItem:datePart, position:position };
         return obj;
     }


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

--- frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridHeader.as
+++ frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridHeader.as
@@ -51,12 +51,22 @@
  *  sort arrow (if sorted by that column).
  *
  *  @see mx.controls.DataGrid
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class DataGridHeader extends DataGridHeaderBase
 {

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function DataGridHeader()
     {
@@ -75,6 +85,11 @@

     /**
      *  a function to clear selections
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override mx_internal function clearSelectionLayer():void
     {
@@ -86,41 +101,81 @@

     /**
      *  The DataGrid control associated with this renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var dataGrid:DataGrid;

     /**
      *  An Array of header renderer instances.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var headerItems:Array = [];

     /**
      *  The cached header height, in pixels.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var cachedHeaderHeight:Number = 0;

     /**
      *  The cached padding for the bottom of the renderer, in pixels.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var cachedPaddingBottom:Number = 0;

 	/**
 	 *  The cached padding for the top of the renderer, in pixels.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	protected var cachedPaddingTop:Number = 0;

 	/**
 	 *  Whether we need the separator on the far right
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var needRightSeparator:Boolean = false;

 	/**
 	 *  Whether we need the separator events on the far right
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var needRightSeparatorEvents:Boolean = false;

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override protected function createChildren():void
     {
@@ -133,6 +188,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override protected function measure():void
     {
@@ -146,6 +206,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override protected function updateDisplayList(w:Number, h:Number):void
     {
@@ -283,6 +348,11 @@
      *
      *  @param headerBG A UIComponent that will contain the header
      *  background graphics.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function drawHeaderBackground(headerBG:UIComponent):void
     {
@@ -326,6 +396,11 @@
     /**
      *  Removes column header separators that the user normally uses
      *  to resize columns.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function clearSeparators():void
     {
@@ -352,6 +427,11 @@
      *  instances of the headerSeparatorSkin and attaches mouse
      *  listeners to them in order to know when the user wants
      *  to resize a column.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function drawSeparators():void
     {
@@ -485,6 +565,11 @@
      *
      *  @param itemRenderer The item renderer that is being highlighted.
      *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function drawHeaderIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void
     {
@@ -517,6 +602,11 @@
      *
      *  @param itemRenderer The item renderer that is being selected.
      *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function drawSelectionIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void
     {
@@ -549,6 +639,11 @@
      *
      *  @param itemRenderer The item renderer that is being dragged.
      *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function drawColumnDragOverlay(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void
     {
@@ -1274,6 +1369,11 @@
      *  it in the appropriate column header.  It
      *  also shrinks the size of the column header if the text in the header
      *  would be obscured by the sort arrow.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function placeSortArrow():void
     {
@@ -1408,6 +1508,11 @@

     /**
      *  @copy mx.core.IUIComponent#enabled
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function set enabled(value:Boolean):void
     {
@@ -1495,6 +1600,11 @@

     /**
      *  Specifies a graphic that shows the proposed column width as the user stretches it.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var resizeGraphic:IFlexDisplayObject; //

@@ -1516,11 +1626,21 @@

     /**
      *  The small arrow graphic used to show sortable columns and direction.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     mx_internal var sortArrow:IFlexDisplayObject;

     /**
      *  diagnostics
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     mx_internal function get rendererArray():Array
     {
@@ -1529,21 +1649,41 @@

     /**
      *  The offset, in pixels, from the left side of the content of the renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var leftOffset:Number = 0;

     /**
      *  The offset, in pixels, from the top of the content of the renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var topOffset:Number = 0;

     /**
      *  The offset, in pixels, from the right side of the content of the renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var rightOffset:Number = 0;

     /**
      *  The offset, in pixels, from the bottom of the content of the renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var bottomOffset:Number = 0;


Transferred from the Adobe Open Source Subversion Repository

Revision: 8486
Author:   smgilson@adobe.com
Date:     2009-07-09T18:42:45.734868Z

Log Message:
-----------
Third checkin to update the namespace in ASDoc MXML syntax descriptions for Spark components

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.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/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.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/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.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/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -97,7 +97,7 @@
  *
  *  @mxml
  *
- *
The <SkinnableDataContainer> tag inherits all of the tag
+ *
The <s:SkinnableDataContainer> tag inherits all of the tag
  *  attributes of its superclass and adds the following tag attributes:

  *
  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 18286
Author:   dloverin@adobe.com
Date:     2010-10-22T14:19:42.189298Z

Log Message:
-----------
Final DataGrid editor PARB changes plus bug fixes.

Removed cancel() from GridItemEditor.
ComboBoxGridItemEditor's width is now sized to fit in the cell.

QE notes: None.
Doc notes: None.
Bugs: SDK-28260, SDK-28291, SDK-28258
Reviewer: Hans
Tests run: cyclone
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/IGridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/ComboBoxGridItemEditor.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
@@ -2318,9 +2318,9 @@
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
      */
-    public function getItemRendererAt(rowIndex:int, columnIndex:int):IVisualElement
-    {
-        const visibleItemRenderer:IVisualElement = getVisibleItemRenderer(rowIndex, columnIndex);
+    public function getItemRendererAt(rowIndex:int, columnIndex:int):IGridItemRenderer
+    {
+        const visibleItemRenderer:IGridItemRenderer = getVisibleItemRenderer(rowIndex, columnIndex);
         if (visibleItemRenderer)
             return visibleItemRenderer;


Transferred from the Adobe Open Source Subversion Repository

Revision: 6306
Author:   egeorgie@adobe.com
Date:     2009-04-28T01:17:42.359155Z

Log Message:
-----------
Layout PARB changes - rename "layout" package to "layouts"

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

Modified Paths:
--------------
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/BasicLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/BasicLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutElementHelper.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/RowAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/RowAlign.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/Block.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/Block.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalAlign.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LinearLayoutVector.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBarHorizontalLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/HorizontalLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HGroup.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText2.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutBase.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/HorizontalAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalAlign.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/VGroup.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/ColumnAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/ColumnAlign.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileOrientation.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileOrientation.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package spark.layout.supportClasses
+package spark.layouts.supportClasses
 {

 import flash.geom.Point;
@@ -277,8 +277,8 @@
      *  @default The target's first layout element.
      *  @see target
      *  @see DataGroup#typicalItem
-     *  @see spark.layout.VerticalLayout#variableRowHeight
-     *  @see spark.layout.HorizontalLayout#variableColumnWidth
+     *  @see spark.layouts.VerticalLayout#variableRowHeight
+     *  @see spark.layouts.HorizontalLayout#variableColumnWidth
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 12856
Author:   mhorn@adobe.com
Date:     2009-12-11T17:01:11.225066Z

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuArrow.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperIncrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserTodayIndicatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuRadio.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PopUpButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TextInputBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserSelectionIndicatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserNextMonthSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuCheckDisabled.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ContainerBorderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperDecrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserNextYearSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuArrowDisabled.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserRollOverIndicatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuRadioDisabled.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/RadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PanelBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/EditableComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserPrevMonthSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarDownButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ColorPickerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuCheck.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserPrevYearSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuItemSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarUpButtonSkin.mxml</path>

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

--- frameworks/projects/sparkskins/src/mx/skins/spark/ContainerBorderSkin.as
+++ frameworks/projects/sparkskins/src/mx/skins/spark/ContainerBorderSkin.as
@@ -12,6 +12,9 @@
  */
 public class ContainerBorderSkin extends BorderSkin
 {
+    /**
+     *  Constructor.
+     */
     public function ContainerBorderSkin()
     {
         super();


Utility function for converting from ordinal to Enum

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

--- src/as/com/threerings/util/Enum.as
+++ src/as/com/threerings/util/Enum.as
@@ -144,6 +144,18 @@
     }

     /**
+     * Return the Enum of the given class with the given ordinal value.
+     */
+    public static function fromOrdinal (clazz :Class, ordinal :int) :Enum
+    {
+        var values :Array = (_enums[ClassUtil.getClass(clazz)] as Array);
+        if (values != null && ordinal >= 0 && ordinal < values.length) {
+            return values[ordinal];
+        }
+        throw new ArgumentError("No such enum [class=" + clazz + ", ordinal=" + ordinal + "].");
+    }
+
+    /**
      * Turn a String name into an Enum constant.
      */
     public static function valueOf (clazz :Class, name :String) :Enum
@@ -181,7 +193,7 @@
     protected var _name :String;

     /** An array of enums for each enum class. */
-    private static const _enums :Dictionary = new Dictionary(true);
+    private static const _enums :Dictionary = new Dictionary(true);

     /** Is further instantiation of enum constants for a class allowed? */
     private static const _blocked :Dictionary = new Dictionary(true);


Fix rendering when scene is empty (backbuffer cannot be dumped when nothing was drawn on it) [Romain's fix].

--- src/aerys/minko/render/renderer/DefaultRenderer.as
+++ src/aerys/minko/render/renderer/DefaultRenderer.as
@@ -133,7 +133,8 @@
 		{
 			var time : int = getTimer();

-			_context.drawToBitmapData(bitmapData);
+			if (_numStates != 0)
+				_context.drawToBitmapData(bitmapData);

 			_drawingTime += getTimer() - time;
 			++_frame;


Transferred from the Adobe Open Source Subversion Repository

Revision: 10461
Author:   gruehle@adobe.com
Date:     2009-09-21T16:55:01.374911Z

Log Message:
-----------
Temporarily revert 10435. It broke too many mustella bitmap comparisons.

Checkintests pass.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ApplicationBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableContainerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableContainer.as
@@ -88,31 +88,6 @@
  *  @productversion Flex 4
  */
 [Style(name="alternatingItemColors", type="Array", arrayType="uint", format="Color", inherit="yes", theme="spark")]
-
-/**
- *  Alpha level of the background for this component.
- *  Valid values range from 0.0 to 1.0.
- *
- *  @default 1.0
- *
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[Style(name="backgroundAlpha", type="Number", inherit="no", theme="spark")]
-
-/**
- *  Background color of a component.
- *
- *  @default 0xFFFFFF
- *
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[Style(name="backgroundColor", type="uint", format="Color", inherit="no", theme="spark")]

 /**
  *  The alpha of the content background for this component.


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/effects/easing/EasingFraction.as
+++ frameworks/projects/spark/src/spark/effects/easing/EasingFraction.as
@@ -0,0 +1,68 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.effects.easing
+{
+/**
+ * Provides utility constants for use in subclasses of EaseInOutBase.
+ *
+ * @see EaseInOutBase
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public final class EasingFraction
+{
+    /**
+     * A utility constant which, when supplied as the
+     * easeInFraction to a subclass of EaseInOutBase,
+     * will create an easing instance
+     * that spends the entire animation easing in. This is equivalent
+     * to simply using the easeInFraction = 1.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const IN:Number = 1;
+
+    /**
+     * A utility constant which, when supplied as the
+     * easeInFraction to a subclass of EaseInOutBase,
+     * will create an easing instance
+     * that spends the entire animation easing out. This is equivalent
+     * to simply using the easeInFraction = 0.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const OUT:Number = 0;
+
+    /**
+     * A utility constant which, when supplied as the
+     * easeInFraction to a subclass of EaseInOutBase,
+     * will create an easing instance
+     * that eases in for the first half and eases out for the
+     * remainder. This is equivalent
+     * to simply using the easeInFraction = .5.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const IN_OUT:Number = .5;
+}
+}


def: 4442: don't share bumper entry

def: 4442: don't share bumper entry

git-svn-id: 3f608e5a9a704dd448217c0a64c508e7f145cfa1@85803 6b8eccd3-e8c5-4e7d-8186-e12b5326b719

--- plugins/kalturaSharePlugin/src/AdvancedShareMediator.as
+++ plugins/kalturaSharePlugin/src/AdvancedShareMediator.as
@@ -2,6 +2,7 @@
 {
 	import com.kaltura.KalturaClient;
 	import com.kaltura.kdpfl.model.MediaProxy;
+	import com.kaltura.kdpfl.model.SequenceProxy;
 	import com.kaltura.kdpfl.model.type.EnableType;
 	import com.kaltura.kdpfl.model.type.NotificationType;
 	import com.kaltura.vo.KalturaBaseEntry;
@@ -68,7 +69,9 @@

 					break;
 				case NotificationType.MEDIA_READY:
-					entry = mediaProxy.vo.entry
+					//ignore bumper
+					if (!(facade.retrieveProxy(SequenceProxy.NAME) as SequenceProxy).vo.isInSequence)
+						entry = mediaProxy.vo.entry
 					break;
 			}
 		}


Listen to scene descendantAdded/removed callback to update the transformlist

--- src/aerys/minko/scene/controller/TransformController.as
+++ src/aerys/minko/scene/controller/TransformController.as
@@ -290,18 +290,18 @@
             _target = target;
             _invalidList = true;

+            if (target is Group)
+            {
+                var targetGroup : Group = target as Group;
+
+                targetGroup.descendantAdded.add(descendantAddedHandler);
+                targetGroup.descendantRemoved.add(descendantRemovedHandler);
+            }
+
             if (target is Scene)
             {
                 (target as Scene).renderingBegin.add(renderingBeginHandler);
                 return;
-            }
-
-            if (target is Group)
-            {
-                var targetGroup : Group = target as Group;
-
-                targetGroup.descendantAdded.add(descendantAddedHandler);
-                targetGroup.descendantRemoved.add(descendantRemovedHandler);
             }

             target.added.add(addedHandler);


CHANGED:API address and key values;

CHANGED:API address and key values;

Signed-off-by: Knight.zhou <f39d8fe95cb29fb067be12cded52e3ed985ad3d1@gmail.com>

--- src/com/godpaper/as3/BigML/mvc/consts/BigMLConstants.as
+++ src/com/godpaper/as3/BigML/mvc/consts/BigMLConstants.as
@@ -32,13 +32,13 @@
 		public var CONTENT_TYPE:String = "application/json; charset=UTF-8";
 		//
 		public static const BIGML_USERNAME:String = "yangboz";
-		public static const BIGML_API_KEY:String = "0b463ec129ff48a5406e1206b43a151deb463021";
+		public static const BIGML_API_KEY:String = "5c4f2ce097f02a5916ca59f3b4da8a39737c629d";
 		//
 		public var RESTFUL:String;
 		//----------------------------------
 		// CONSTANTS
 		//----------------------------------
-		public static const BIGML_URI:String = "http://bigml.io/";
+		public static const BIGML_URI:String = "https://ozone.dev.bigml.io/";
 		public static const BIGML_VERSION:String = "andromeda/";
 		//BigML RESTful API resource list


updated docs

updated docs

--- WeaveUISpark/src/weave/utils/DrawUtils.as
+++ WeaveUISpark/src/weave/utils/DrawUtils.as
@@ -37,7 +37,8 @@
 		 * @param startAngle The angle where the arc starts
 		 * @param endAngle The angle where the arc ends
 		 * @param radius The radius of the circle that contains the arc
-		 * @param yRadius Optional y radius for an elliptical arc instead of a circular one
+		 * @param yRadius Optional y radius for an elliptical arc instead of a circular one
+		 * @param outputStartCoords A Point object used to output the starting coordinates of the arc.
 		 * @author adufilie
 		 */
 		public static function arcTo(graphics:Graphics, continueLine:Boolean, xCenter:Number, yCenter:Number, startAngle:Number, endAngle:Number, radius:Number, yRadius:Number = NaN, outputStartCoords:Point = null):void