fixed null pointer error

fixed null pointer error

--- WeaveUISpark/src/weave/visualization/plotters/GeometryLabelPlotter.as
+++ WeaveUISpark/src/weave/visualization/plotters/GeometryLabelPlotter.as
@@ -19,6 +19,8 @@

 package weave.visualization.plotters
 {
+	import flash.sampler.getLexicalScopes;
+
 	import mx.utils.ObjectUtil;

 	import weave.api.WeaveAPI;
@@ -53,12 +55,13 @@
 			linkSessionState(geometryColumn, dataX.requestLocalObject(ReprojectedGeometryColumn, true));
 			linkSessionState(geometryColumn, dataY.requestLocalObject(ReprojectedGeometryColumn, true));

+			_sortColumnCompare = SortedKeySet.generateCompareFunction([sortColumn, text]);
 			_filteredKeySet.setColumnKeySources([geometryColumn], null, keyCompare);
 		}

 		public const geometryColumn:ReprojectedGeometryColumn = newSpatialProperty(ReprojectedGeometryColumn);

-		private var _sortColumnCompare:Function = SortedKeySet.generateCompareFunction([sortColumn, text]);
+		private var _sortColumnCompare:Function;

 		/**
 		 * This function compares geometry record keys according to geometry bounding box area


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

--- frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as
@@ -0,0 +1,61 @@
+/*************************************************************************
+ *
+ * ADOBE CONFIDENTIAL
+ * __________________
+ *
+ *  [2002] - [2007] Adobe Systems Incorporated
+ *  All Rights Reserved.
+ *
+ * NOTICE:  All information contained herein is, and remains
+ * the property of Adobe Systems Incorporated and its suppliers,
+ * if any.  The intellectual and technical concepts contained
+ * herein are proprietary to Adobe Systems Incorporated
+ * and its suppliers and may be covered by U.S. and Foreign Patents,
+ * patents in process, and are protected by trade secret or copyright law.
+ * Dissemination of this information or reproduction of this material
+ * is strictly forbidden unless prior written permission is obtained
+ * from Adobe Systems Incorporated.
+ */
+package mx.messaging.channels
+{
+
+/**
+ *  The SecureAMFChannel class is identical to the AMFChannel class except that it uses a
+ *  secure protocol, HTTPS, to send messages to an AMF endpoint.
+ */
+public class SecureAMFChannel extends AMFChannel
+{
+    //--------------------------------------------------------------------------
+    //
+    // Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Creates an new SecureAMFChannel instance.
+     *
+	 *  @param id The id of this Channel.
+	 *
+	 *  @param uri The uri for this Channel.
+     */
+    public function SecureAMFChannel(id:String = null, uri:String = null)
+    {
+        super(id, uri);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Properties
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Returns the protocol for this channel (https).
+     */
+    override public function get protocol():String
+    {
+        return "https";
+    }
+}
+
+}


Add workaround to prevent widget load process from hanging.

--- src/com/esri/builder/controllers/supportClasses/WidgetTypeLoader.as
+++ src/com/esri/builder/controllers/supportClasses/WidgetTypeLoader.as
@@ -142,9 +142,21 @@
             fileStream.readBytes(fileBytes);
             fileStream.close();

-            moduleInfo.addEventListener(ModuleEvent.READY, moduleInfo_readyHandler);
+            //Use ModuleEvent.PROGRESS instead of ModuleEvent.READY to avoid the case where the latter is never dispatched.
+            moduleInfo.addEventListener(ModuleEvent.PROGRESS, moduleInfo_progressHandler);
             moduleInfo.addEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler);
             moduleInfo.load(null, null, fileBytes, FlexGlobals.topLevelApplication.moduleFactory);
+        }
+    }
+
+    private function moduleInfo_progressHandler(event:ModuleEvent):void
+    {
+        if (event.bytesLoaded == event.bytesTotal)
+        {
+            var moduleInfo:IModuleInfo = event.currentTarget as IModuleInfo;
+            moduleInfo.removeEventListener(ModuleEvent.PROGRESS, moduleInfo_progressHandler);
+            moduleInfo.removeEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler);
+            FlexGlobals.topLevelApplication.callLater(processModuleInfo, [ moduleInfo ]);
         }
     }

@@ -166,17 +178,13 @@
         FlexGlobals.topLevelApplication.callLater(loadModule);
     }

-    private function moduleInfo_readyHandler(event:ModuleEvent):void
+    private function processModuleInfo(moduleInfo:IModuleInfo):void
     {
         if (Log.isInfo())
         {
             LOG.info('Module loaded: {0}', swf.url);
         }

-        var moduleInfo:IModuleInfo = event.currentTarget as IModuleInfo;
-        moduleInfo.removeEventListener(ModuleEvent.READY, moduleInfo_readyHandler);
-        moduleInfo.removeEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler);
-
         if (config && config.exists)
         {
             if (Log.isInfo())
@@ -187,7 +195,7 @@
         }

-        const builderModule:IBuilderModule = event.module.factory.create() as IBuilderModule;
+        const builderModule:IBuilderModule = moduleInfo.factory.create() as IBuilderModule;
         if (builderModule)
         {
             if (Log.isInfo())
@@ -257,7 +265,7 @@
     {
         var moduleInfo:IModuleInfo = event.module;
         moduleInfo.removeEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler);
-        moduleInfo.removeEventListener(ModuleEvent.READY, moduleInfo_readyHandler);
+        moduleInfo.removeEventListener(ModuleEvent.PROGRESS, moduleInfo_progressHandler);
         this.moduleInfo = null;
         dispatchError();
     }


add DataProvider.dispose() method to remove/unwatch all properties and free the memory

--- src/aerys/minko/type/binding/DataProvider.as
+++ src/aerys/minko/type/binding/DataProvider.as
@@ -212,6 +212,17 @@

 			return this;
 		}
+
+        public function dispose() : void
+        {
+            removeAllProperties();
+            _propertyToNames = null;
+            _nameToProperty = null;
+            _descriptor = null;
+            _propertyAdded = null;
+            _propertyChanged = null;
+            _propertyRemoved = null;
+        }

 		public function propertyExists(name : String) : Boolean
 		{


Was logging warnings for any message bundle that didn't use a custom
class. Fixed.

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

--- src/as/com/threerings/util/MessageManager.as
+++ src/as/com/threerings/util/MessageManager.as
@@ -126,14 +126,17 @@
             try {
                 mbclass = rbundle.getString(MBUNDLE_CLASS_KEY);
                 if (!StringUtil.isBlank(mbclass)) {
-                    var clazz :Class = ClassUtil.getClassByName(mbclass);
-                    bundle = new clazz();
+                    try {
+                        var clazz :Class = ClassUtil.getClassByName(mbclass);
+                        bundle = new clazz();
+                    } catch (ee :Error) {
+                        Log.getLog(this).warning(
+                            "Failure instantiating custom message bundle " +
+                            "[mbclass=" + mbclass + ", error=" + ee + "].");
+                    }
                 }
-
-            } catch (t :Error) {
-                Log.getLog(this).warning(
-                    "Failure instantiating custom message bundle " +
-                    "[mbclass=" + mbclass + ", error=" + t + "].");
+            } catch (eee :Error) {
+                // nada
             }
         }


Added support for recursive custom modules


FLEX-33976 Don't unblur until you are the last modal window

--- frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
@@ -1030,19 +1030,27 @@
             o.fade = fade;
             fade.play();

-            // Blur effect on the application
-            const blurAmount:Number = popUpStyleClient.getStyle("modalTransparencyBlur");
-
-            if (blurAmount)
+            var sm:ISystemManager = o.systemManager;
+            var awm:IActiveWindowManager =
+                IActiveWindowManager(sm.getImplementation("mx.managers::IActiveWindowManager"));
+            // don't remove blur unless this is the last modal window
+            if (awm.numModalWindows == 1)
             {
-                const blur:Blur = new Blur(o.blurTarget);
-                blur.blurXFrom = blur.blurYFrom = blurAmount;
-                blur.blurXTo = blur.blurYTo = 0;
-                blur.duration = duration;
-                blur.addEventListener(EffectEvent.EFFECT_END, effectEndHandler);
-                o.blur = blur;

-                blur.play();
+                // Blur effect on the application
+                const blurAmount:Number = popUpStyleClient.getStyle("modalTransparencyBlur");
+
+                if (blurAmount)
+                {
+                    const blur:Blur = new Blur(o.blurTarget);
+                    blur.blurXFrom = blur.blurYFrom = blurAmount;
+                    blur.blurXTo = blur.blurYTo = 0;
+                    blur.duration = duration;
+                    blur.addEventListener(EffectEvent.EFFECT_END, effectEndHandler);
+                    o.blur = blur;
+
+                    blur.play();
+                }
             }
         }
         else


Remove the temporary test code.

Remove the temporary test code.


Transferred from the Adobe Open Source Subversion Repository

Revision: 20736
Author:   smgilson@adobe.com
Date:     2011-03-09T21:18:00.204102Z

Log Message:
-----------
Merge 20719 - ASDoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/RuntimeDPIProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EdgeMetrics.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DeferredInstanceFromFunction.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/core/Container.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/FTETextField.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ITextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ITextFieldInterface.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DPIClassification.as</path>

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

--- frameworks/projects/framework/src/mx/core/ITextFieldInterface.as
+++ frameworks/projects/framework/src/mx/core/ITextFieldInterface.as
@@ -597,6 +597,6 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
+    function get useRichTextClipboard():Boolean;
     function set useRichTextClipboard(value:Boolean):void;
-    function get useRichTextClipboard():Boolean;
-
+


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8627
Author:   jszeto@adobe.com
Date:     2009-07-16T18:40:07.408921Z

Log Message:
-----------
Adding copyright headers to filter classes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientFilter.as</path>

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

--- frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as
+++ frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as
@@ -1,3 +1,14 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.filters
 {
 import flash.filters.BitmapFilter;


Transferred from the Adobe Open Source Subversion Repository

Revision: 22438
Author:   jszeto@adobe.com
Date:     2011-09-08T00:32:35.089685Z

Log Message:
-----------
SpinnerList bug fixes

SDK-31466 - Empty SpinnerListContainer height doesn't match visual height

Set minHeight to the selectionIndicatorHeight plus some border height

SDK-31454 - SpinnerList.mx_internal::animateToSelectedIndex() animates in the wrong direction for some indices

Fix the logic so we animate to the closest unwrapped index even if that index isn't on screen

SDK-31444 - SpinnerList should have DefaultTriggerEvent metadata on event "change

SDK-31473 - SpinnerList with IconItemRenderer stopped sizing properly between 4.5.2.22385 and 4.5.2.22427

Don't set measuredMinHeight to the measuredHeight in SpinnerListSkin

QE notes: none
Doc notes: none
Bugs: SDK-31466, SDK-31454, SDK-31444, SDK-31473
Reviewer: Tom K
Tests run: checkintests, cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/layouts/VerticalSpinnerLayout.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListSkin.as
@@ -143,11 +143,8 @@

 	override protected function measure():void
 	{
-		measuredMinWidth = scroller.getPreferredBoundsWidth() + borderThickness * 2;
-		measuredMinHeight = scroller.getPreferredBoundsHeight();
-
-		measuredWidth = measuredMinWidth;
-		measuredHeight = measuredMinHeight;
+        measuredWidth = scroller.getPreferredBoundsWidth() + borderThickness * 2;
+        measuredHeight = scroller.getPreferredBoundsHeight();
 	}

     override protected function drawBackground(unscaledWidth:Number, unscaledHeight:Number):void


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -9,14 +9,15 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package flex.component
+package mx.components.baseClasses
 {
 import flash.events.Event;

-import flex.events.FlexEvent;
-import flex.events.ItemExistenceChangedEvent;
+import mx.events.FlexEvent;
+import mx.events.ItemExistenceChangedEvent;

 import mx.collections.IList;
+import mx.components.FxDataComponent;
 import mx.events.IndexChangedEvent;
 import mx.events.CollectionEvent;
 import mx.events.CollectionEventKind;
@@ -36,9 +37,9 @@
  *  The Selector class is the base class for all components that support
  *  selection.
  */
-public class Selector extends DataComponent
+public class FxSelector extends FxDataComponent
 {
-    include "../core/Version.as";
+    include "../../core/Version.as";

     //--------------------------------------------------------------------------
     //
@@ -67,7 +68,7 @@
 	/**
 	 *  Constructor.
 	 */
-	public function Selector()
+	public function FxSelector()
     {
     	super();
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5026
Author:   pfarland@adobe.com
Date:     2009-02-20T20:27:07.892548Z

Log Message:
-----------
Changing pseudo-selector matching by allowing an object to decide whether its state matches a pseudo-selector. This allows top level components like FxApplication to decide whether a pseudo-selector matches its document state OR its skin state.

Also modified StyleManager data structure to allow multiple identical selectors to exist per subject while retaining declaration order. This allows programmatic addition of CSSStyleDeclaration's with identical selectors.

Finally, added preparation for qualified vs unqualified class names in type selectors. This is not yet enabled.

QA: Yes, please retest SDK-19127
Doc: Not yet.
Checkintests: Pass
mustella: AdvancedCSS, and other component style testsuites such as Button and MenuBar passed.
Review: Discussed pseudo-selector approach with Glenn. Other API changes will be part of final PARB review.
Bugs:
SDK-19127 - [Advanced CSS] Pseudo Selectors do not work when you change the "currentState" property of an FxApplication.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager3.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
@@ -326,20 +326,6 @@
     //--------------------------------------------------------------------------

     //----------------------------------
-    //  pseudoSelectorState
-    //----------------------------------
-
-    /**
-     *  This property is required by the IAdvancedStyleClient interface,
-     *  but returns null for TextGraphicElements as they do not have
-     *  state specific behavior.
-     */
-    public function get pseudoSelectorState():String
-    {
-        return null;
-    }
-
-    //----------------------------------
     //  styleParent
     //----------------------------------

@@ -543,12 +529,22 @@
     //--------------------------------------------------------------------------

     /**
+     *  This method is required by the IAdvancedStyleClient interface,
+     *  but always returns false for TextGraphicElements as they do not have
+     *  state specific behavior.
+     */
+    public function isPseudoSelectorMatch(pseudoState:String):Boolean
+    {
+        return false;
+    }
+
+    /**
      *  Determines whether this instance is the same as - or is a subclass of -
      *  the given type.
      */
-    public function isAssignableToType(type:String):Boolean
-    {
-        return StyleProtoChain.isAssignableToType(this, type);
+    public function isTypeSelectorMatch(type:String):Boolean
+    {
+        return StyleProtoChain.isTypeSelectorMatch(this, type);
     }

     /**


simplified code.

simplified code.

--- WeaveUISpark/src/weave/visualization/plotters/BackgroundTextPlotter.as
+++ WeaveUISpark/src/weave/visualization/plotters/BackgroundTextPlotter.as
@@ -44,12 +44,11 @@
 		{
 			bitmapText.x = screenBounds.getXCenter();
 			bitmapText.y = screenBounds.getYCenter();
-			bitmapText.width = screenBounds.getXCoverage();
-			bitmapText.height = screenBounds.getYCoverage();
+			bitmapText.maxWidth = screenBounds.getXCoverage();
+			bitmapText.maxHeight = screenBounds.getYCoverage();
 			bitmapText.verticalAlign = BitmapText.VERTICAL_ALIGN_MIDDLE;
 			bitmapText.horizontalAlign = BitmapText.HORIZONTAL_ALIGN_CENTER;
 			textFormat.copyTo(bitmapText.textFormat);
-			bitmapText.textFormat.align = BitmapText.HORIZONTAL_ALIGN_CENTER;
 			try
 			{
 				bitmapText.text = textFunction.apply(this, [dependency.target]);


cleaned up init and disposal on MobilePasswordField

--- raw/src/org/yellcorp/lib/text/MobilePasswordField.as
+++ raw/src/org/yellcorp/lib/text/MobilePasswordField.as
@@ -35,7 +35,7 @@
     private var _text:String;

     private var textField:TextField;
-    private var textFieldSemaphore:int = 1;
+    private var textFieldSemaphore:int = 0;

     private var selectionStart:int;
     private var selectionEnd:int;
@@ -59,8 +59,15 @@
     {
         super();
         this.textField = textField;
-        endInternalEdit();
+        addListeners();
         textField.text = _text = "";
+    }
+
+    public function dispose():void
+    {
+        removeListeners();
+        hideAllCharacters();
+        textField = null;
     }

     /**
@@ -224,27 +231,7 @@
         textFieldSemaphore--;
         if (textFieldSemaphore == 0)
         {
-            // listen for these events and update changes to selection range.
-            // this must be done because not all text changes result in an
-            // event that allows us to read the state of the selection before
-            // it is changed. most commonly, deletes and backspaces with and
-            // without selected text, and cutting/pasting using the context menu
-
-            // changes can be made without any keyboard events at all; i.e.
-            // mousedown -> highlight text -> mouseup -> context menu -> delete
-            textField.addEventListener(MouseEvent.MOUSE_DOWN, onFieldMouseDown);
-            textField.addEventListener(MouseEvent.MOUSE_UP, onStageMouseUp);
-
-            // these are listed in the order they occur
-            textField.addEventListener(KeyboardEvent.KEY_DOWN, onFieldKeyDown);
-
-            // dispatched only by operations that add text, before the change is
-            // made. we can read the pre-change selection state here
-            textField.addEventListener(TextEvent.TEXT_INPUT, onFieldTextInput);
-
-            // after the change is made
-            textField.addEventListener(Event.CHANGE, onFieldChange);
-            textField.addEventListener(KeyboardEvent.KEY_UP, onFieldKeyUp);
+            addListeners();
         }
     }

@@ -252,14 +239,44 @@
     {
         if (textFieldSemaphore == 0)
         {
-            textField.removeEventListener(MouseEvent.MOUSE_DOWN, onFieldMouseDown);
-            textField.removeEventListener(MouseEvent.MOUSE_UP, onStageMouseUp);
-            textField.removeEventListener(KeyboardEvent.KEY_DOWN, onFieldKeyDown);
-            textField.removeEventListener(KeyboardEvent.KEY_UP, onFieldKeyUp);
-            textField.removeEventListener(TextEvent.TEXT_INPUT, onFieldTextInput);
-            textField.removeEventListener(Event.CHANGE, onFieldChange);
+            removeListeners();
         }
         textFieldSemaphore++;
+    }
+
+    private function addListeners():void
+    {
+        // listen for these events and update changes to selection range.
+        // this must be done because not all text changes result in an
+        // event that allows us to read the state of the selection before
+        // it is changed. most commonly, deletes and backspaces with and
+        // without selected text, and cutting/pasting using the context menu
+
+        // changes can be made without any keyboard events at all; i.e.
+        // mousedown -> highlight text -> mouseup -> context menu -> delete
+        textField.addEventListener(MouseEvent.MOUSE_DOWN, onFieldMouseDown);
+        textField.addEventListener(MouseEvent.MOUSE_UP, onStageMouseUp);
+
+        // these are listed in the order they occur
+        textField.addEventListener(KeyboardEvent.KEY_DOWN, onFieldKeyDown);
+
+        // dispatched only by operations that add text, before the change is
+        // made. we can read the pre-change selection state here
+        textField.addEventListener(TextEvent.TEXT_INPUT, onFieldTextInput);
+
+        // after the change is made
+        textField.addEventListener(Event.CHANGE, onFieldChange);
+        textField.addEventListener(KeyboardEvent.KEY_UP, onFieldKeyUp);
+    }
+
+    private function removeListeners():void
+    {
+        textField.removeEventListener(MouseEvent.MOUSE_DOWN, onFieldMouseDown);
+        textField.removeEventListener(MouseEvent.MOUSE_UP, onStageMouseUp);
+        textField.removeEventListener(KeyboardEvent.KEY_DOWN, onFieldKeyDown);
+        textField.removeEventListener(KeyboardEvent.KEY_UP, onFieldKeyUp);
+        textField.removeEventListener(TextEvent.TEXT_INPUT, onFieldTextInput);
+        textField.removeEventListener(Event.CHANGE, onFieldChange);
     }
 }
 }


update version 3.9.2

update version 3.9.2

--- kdp3Lib/src/com/kaltura/kdpfl/ApplicationFacade.as
+++ kdp3Lib/src/com/kaltura/kdpfl/ApplicationFacade.as
@@ -32,7 +32,7 @@
 		/**
 		 * The current version of the KDP.
 		 */
-		public var kdpVersion : String = "v3.9.1";
+		public var kdpVersion : String = "v3.9.2";

 		/**


Transferred from the Adobe Open Source Subversion Repository

Revision: 18561
Author:   klin@adobe.com
Date:     2010-11-12T19:56:05.261580Z

Log Message:
-----------
Add down state to IGridItemRenderer. Added down state support in GridColumnHeaderGroup for UI feedback. Also, fixed various bugs relating to the header renderers.

IGridItemRenderer.as, GridItemRenderer.as, TextFieldGridItemRendererInclude.as
-Add down property

DefaultGridColumnHeaderRenderer.mxml (Both spark and wireframe)
-Add back missing showTruncationTip property.
-Modified the states to be GridItemRenderer states. This gives us the UI feedback like a Button
-Only include the sort indicator in the layout when its visible so that the sort indicator doesn’t overlap the header text.

GridColumnHeaderGroup.as
-Added downColumnIndex, hoverColumnIndex to support the header renderer states. I modified the mouse handlers to handle these cases.

GridColumnHeaderGroupLayout.as
-Added initalizeItemRenderer to set the properties on the header renderers using the down/hoverColumnIndex from GCHG.
-Fixed a bug in getHeaderIndex() so that we return the correct header if the x is past the end of the grid but still over the vertical scroll bar.

QE notes: No
Doc notes: No
Bugs: SDK-28299, SDK-28431, SDK-28442, SDK-28450
Reviewer: Hans
Tests run: cyclone, checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultGridHeaderRenderer.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/IGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultGridHeaderRenderer.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridColumnHeaderGroupLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as</path>

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

--- frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
+++ frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
@@ -21,7 +21,6 @@
 import mx.core.IFactory;
 import mx.core.mx_internal;
 import mx.events.PropertyChangeEvent;
-import mx.managers.IFocusManagerComponent;

 import spark.components.gridClasses.GridColumn;
 import spark.components.gridClasses.GridColumnHeaderGroupLayout;
@@ -48,7 +47,6 @@
  */
 [Event(name="gridMouseDown", type="spark.events.GridEvent")]

-
 /**
  *  Dispatched after a GRID_MOUSE_DOWN event if the mouse moves before the button is released.
  *
@@ -122,7 +120,6 @@
  */
 [Event(name="gridDoubleClick", type="spark.events.GridEvent")]

-
 /**
  *  Dispatched when the mouse button is pressed over a column header.
  *
@@ -211,7 +208,6 @@
  *  @productversion Flex 4.5
  */
 [Event(name="separatorDoubleClick", type="spark.events.GridEvent")]
-

 //--------------------------------------
 //  Styles
@@ -230,8 +226,8 @@
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
+ *  @playerversion AIR 2.0
+ *  @productversion Flex 4.5
 */
 [Style(name="separatorAffordance", type="Number", format="Length", inherit="no")]

@@ -242,8 +238,8 @@
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
+ *  @playerversion AIR 2.0
+ *  @productversion Flex 4.5
  */
 [Style(name="paddingBottom", type="Number", format="Length", inherit="no")]

@@ -254,8 +250,8 @@
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
+ *  @playerversion AIR 2.0
+ *  @productversion Flex 4.5
  */
 [Style(name="paddingLeft", type="Number", format="Length", inherit="no")]

@@ -266,8 +262,8 @@
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
+ *  @playerversion AIR 2.0
+ *  @productversion Flex 4.5
  */
 [Style(name="paddingRight", type="Number", format="Length", inherit="no")]

@@ -278,8 +274,8 @@
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
+ *  @playerversion AIR 2.0
+ *  @productversion Flex 4.5
  */
 [Style(name="paddingTop", type="Number", format="Length", inherit="no")]

@@ -310,8 +306,8 @@
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
      */
     public function GridColumnHeaderGroup()
     {
@@ -323,14 +319,14 @@
         // Event handlers that dispatch GridEvents

         MouseEventUtil.addDownDragUpListeners(this,
-            chb_mouseDownDragUpHandler,
-            chb_mouseDownDragUpHandler,
-            chb_mouseDownDragUpHandler);
-
-        addEventListener(MouseEvent.MOUSE_MOVE, chg_mouseMoveHandler);
-        addEventListener(MouseEvent.ROLL_OUT, chg_mouseRollOutHandler);
-        addEventListener(MouseEvent.CLICK, chg_clickHandler);
-        addEventListener(MouseEvent.DOUBLE_CLICK, chg_doubleClickHandler);
+            gchg_mouseDownDragUpHandler,
+            gchg_mouseDownDragUpHandler,
+            gchg_mouseDownDragUpHandler);
+
+        addEventListener(MouseEvent.MOUSE_MOVE, gchg_mouseMoveHandler);
+        addEventListener(MouseEvent.ROLL_OUT, gchg_mouseRollOutHandler);
+        addEventListener(MouseEvent.CLICK, gchg_clickHandler);
+        addEventListener(MouseEvent.DOUBLE_CLICK, gchg_doubleClickHandler);
     }

     //--------------------------------------------------------------------------
@@ -349,143 +345,222 @@
     }

     //----------------------------------
-    //  headerRenderer
-    //----------------------------------
-
-    [Bindable("headerRendererChanged")]
-
-    private var _headerRenderer:IFactory = null;
-
-    /**
-     *  The IGridItemRenderer class used to renderer each column header.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4.5
-     */
-    public function get headerRenderer():IFactory
-    {
-        return _headerRenderer;
+    //  columnSeparator
+    //----------------------------------
+
+    private var _columnSeparator:IFactory = null;
+
+    [Bindable("columnSeparatorChanged")]
+
+    /**
+     *  A visual element that's displayed in between each column.
+     *
+     *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    public function get columnSeparator():IFactory
+    {
+        return _columnSeparator;
     }

     /**
      *  @private
      */
-    public function set headerRenderer(value:IFactory):void
-    {
-        if (value == _headerRenderer)
+    public function set columnSeparator(value:IFactory):void
+    {
+        if (_columnSeparator == value)
             return;

-
-        _headerRenderer = value;
+        _columnSeparator = value;
+        invalidateDisplayList();
+        dispatchChangeEvent("columnSeparatorChanged");
+    }
+
+    //----------------------------------
+    //  dataGrid
+    //----------------------------------
+
+    private var _dataGrid:DataGrid = null;
+
+    [Bindable("dataGridChanged")]
+
+    /**
+     *  The DataGrid that defines the column layout and horizontal scroll position for this component.
+     *  This property is set by the DataGrid after its grid skin part has been added.
+     *
+     *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    public function get dataGrid():DataGrid
+    {
+        return _dataGrid;
+    }
+
+    /**
+     *  @private
+     */
+    public function set dataGrid(value:DataGrid):void
+    {
+        if (_dataGrid == value)
+            return;
+
+        if (_dataGrid && _dataGrid.grid)
+            _dataGrid.grid.removeEventListener(PropertyChangeEvent.PROPERTY_CHANGE, grid_changeEventHandler);
+
+        _dataGrid = value;
+
+        if (_dataGrid && _dataGrid.grid)
+            _dataGrid.grid.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, grid_changeEventHandler);

         layout.clearVirtualLayoutCache();
         invalidateSize();
         invalidateDisplayList();

-        dispatchChangeEvent("headerRendererChanged");
-    }
-
-    //----------------------------------
-    //  columnSeparator
-    //----------------------------------
-
-    [Bindable("columnSeparatorChanged")]
-
-    private var _columnSeparator:IFactory = null;
-
-    /**
-     *  A visual element that's displayed in between each column.
-     *
-     *  @default null
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4.5
-     */
-    public function get columnSeparator():IFactory
-    {
-        return _columnSeparator;
+        dispatchChangeEvent("dataGridChanged");
     }

     /**
      *  @private
      */
-    public function set columnSeparator(value:IFactory):void
-    {
-        if (_columnSeparator == value)
+    private function grid_changeEventHandler(event:PropertyChangeEvent):void
+    {
+        if (event.property == "horizontalScrollPosition")
+            horizontalScrollPosition = Number(event.newValue);
+    }
+
+    //----------------------------------
+    //  downColumnIndex
+    //----------------------------------
+
+    private var _downColumnIndex:int = -1;
+
+    [Bindable("downColumnIndexChanged")]
+
+    /**
+     *  Specifies the column index of the header renderer currently
+     *  being pressed down by the user.
+     *
+     *
Setting downColumnIndex to -1 (the default) means that the column index
+     *  is undefined and the header renderer will have its down property set to false.

+     *
+     *  @default -1
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    public function get downColumnIndex():int
+    {
+        return _downColumnIndex;
+    }
+
+    /**
+     *  @private
+     */
+    public function set downColumnIndex(value:int):void
+    {
+        if (_downColumnIndex == value)
             return;

-        _columnSeparator = value;
+        _downColumnIndex = value;
         invalidateDisplayList();
-        dispatchChangeEvent("columnSeparatorChanged");
-    }
-
-    //----------------------------------
-    //  dataGrid
-    //----------------------------------
-
-    [Bindable("dataGridChanged")]
-
-    private var _dataGrid:DataGrid = null;
-
-    /**
-     *  The DataGrid that defines the column layout and horizontal scroll position for this component.
-     *  This property is set by the DataGrid after its grid skin part has been added.
-     *
-     *  @default null
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4.5
-     */
-    public function get dataGrid():DataGrid
-    {
-        return _dataGrid;
+        dispatchChangeEvent("downColumnIndexChanged");
+    }
+
+    //----------------------------------
+    //  headerRenderer
+    //----------------------------------
+
+    private var _headerRenderer:IFactory = null;
+
+    [Bindable("headerRendererChanged")]
+
+    /**
+     *  The IGridItemRenderer class used to renderer each column header.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    public function get headerRenderer():IFactory
+    {
+        return _headerRenderer;
     }

     /**
      *  @private
      */
-    public function set dataGrid(value:DataGrid):void
-    {
-        if (_dataGrid == value)
+    public function set headerRenderer(value:IFactory):void
+    {
+        if (value == _headerRenderer)
             return;

-        if (_dataGrid && _dataGrid.grid)
-            _dataGrid.grid.removeEventListener(PropertyChangeEvent.PROPERTY_CHANGE, grid_changeEventHandler);
-
-        _dataGrid = value;
-
-        if (_dataGrid && _dataGrid.grid)
-            _dataGrid.grid.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, grid_changeEventHandler);
+        _headerRenderer = value;

         layout.clearVirtualLayoutCache();
         invalidateSize();
         invalidateDisplayList();

-        dispatchChangeEvent("dataGridChanged");
+        dispatchChangeEvent("headerRendererChanged");
+    }
+
+    //----------------------------------
+    //  hoverColumnIndex
+    //----------------------------------
+
+    private var _hoverColumnIndex:int = -1;
+
+    [Bindable("hoverColumnIndexChanged")]
+
+    /**
+     *  Specifies the column index of the header renderer currently
+     *  being hovered over by the user.
+     *
+     *
Setting hoverColumnIndex to -1 (the default) means that the column index
+     *  is undefined and the header renderer will have its hovered property set to false.

+     *
+     *  @default -1
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    public function get hoverColumnIndex():int
+    {
+        return _hoverColumnIndex;
     }

     /**
      *  @private
      */
-    private function grid_changeEventHandler(event:PropertyChangeEvent):void
-    {
-        if (event.property == "horizontalScrollPosition")
-            horizontalScrollPosition = Number(event.newValue);
-    }
+    public function set hoverColumnIndex(value:int):void
+    {
+        if (_hoverColumnIndex == value)
+            return;
+
+        _hoverColumnIndex = value;
+        invalidateDisplayList();
+        dispatchChangeEvent("hoverColumnIndexChanged");
+    }

     //----------------------------------
     //  visibleSortIndicatorIndices
     //----------------------------------

+    private var _visibleSortIndicatorIndices:Vector.<int> = new Vector.<int>();
+
     [Bindable("visibleSortIndicatorIndicesChanged")]
-
-    private var _visibleSortIndicatorIndices:Vector.<int> = new Vector.<int>();

     /**
      *  A vector of column indices corresponding to the header renderers
@@ -495,7 +570,7 @@
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
+     *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
      */
     public function get visibleSortIndicatorIndices():Vector.<int>
@@ -526,7 +601,7 @@
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
+     *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
      */
     public function isSortIndicatorVisible(columnIndex:int):Boolean
@@ -603,8 +678,8 @@

     private var rollColumnIndex:int = -1;      // column mouse has rolled into
     private var rollSeparatorIndex:int = -1;   // separator mouse has rolled into
-    private var downColumnIndex:int = -1;      // column button press occurred on
-    private var downSeparatorIndex:int = -1;   // separator button press occurred on
+    private var pressColumnIndex:int = -1;      // column button press occurred on
+    private var pressSeparatorIndex:int = -1;   // separator button press occurred on

     /**
      *  This method is called when a MOUSE_DOWN event occurs within the column header group and
@@ -627,7 +702,7 @@
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
      */
-    protected function chb_mouseDownDragUpHandler(event:MouseEvent):void
+    protected function gchg_mouseDownDragUpHandler(event:MouseEvent):void
     {
         const eventStageXY:Point = new Point(event.stageX, event.stageY);
         const eventHeaderGroupXY:Point = globalToLocal(eventStageXY);
@@ -638,28 +713,37 @@
         var gridEventType:String;
         switch(event.type)
         {
-            case MouseEvent.MOUSE_MOVE:
-                gridEventType = (downSeparatorIndex != -1) ? GridEvent.SEPARATOR_MOUSE_DRAG : GridEvent.GRID_MOUSE_DRAG;
+            case MouseEvent.MOUSE_MOVE:
+            {
+                gridEventType = (pressSeparatorIndex != -1) ? GridEvent.SEPARATOR_MOUSE_DRAG : GridEvent.GRID_MOUSE_DRAG;
                 break;
-
-            case MouseEvent.MOUSE_UP:
-                gridEventType = (downSeparatorIndex != -1) ? GridEvent.SEPARATOR_MOUSE_UP : GridEvent.GRID_MOUSE_UP;
+            }
+
+            case MouseEvent.MOUSE_UP:
+            {
+                gridEventType = (pressSeparatorIndex != -1) ? GridEvent.SEPARATOR_MOUSE_UP : GridEvent.GRID_MOUSE_UP;
+                downColumnIndex = -1; // update renderer property
                 break;
+            }

             case MouseEvent.MOUSE_DOWN:
+            {
                 if (eventSeparatorIndex != -1)
                 {
                     gridEventType = GridEvent.SEPARATOR_MOUSE_DOWN;
-                    downSeparatorIndex = eventSeparatorIndex;
-                    downColumnIndex = -1;
+                    pressSeparatorIndex = eventSeparatorIndex;
+                    pressColumnIndex = -1;
+                    downColumnIndex = -1; // update renderer property
                 }
                 else
                 {
                     gridEventType = GridEvent.GRID_MOUSE_DOWN;
-                    downSeparatorIndex = -1;
-                    downColumnIndex = eventColumnIndex;
+                    pressSeparatorIndex = -1;
+                    pressColumnIndex = eventColumnIndex;
+                    downColumnIndex = eventColumnIndex; // update renderer property
                 }
                 break;
+            }
         }

         const columnIndex:int = (eventSeparatorIndex != -1) ? eventSeparatorIndex : eventColumnIndex;
@@ -687,7 +771,7 @@
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
      */
-    protected function chg_mouseMoveHandler(event:MouseEvent):void
+    protected function gchg_mouseMoveHandler(event:MouseEvent):void
     {
         const eventStageXY:Point = new Point(event.stageX, event.stageY);
         const eventHeaderGroupXY:Point = globalToLocal(eventStageXY);
@@ -713,6 +797,9 @@

         rollColumnIndex = eventColumnIndex;
         rollSeparatorIndex = eventSeparatorIndex;
+
+        // update renderer property
+        hoverColumnIndex = eventColumnIndex;
     }

     /**
@@ -727,7 +814,7 @@
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
      */
-    protected function chg_mouseRollOutHandler(event:MouseEvent):void
+    protected function gchg_mouseRollOutHandler(event:MouseEvent):void
     {
         const eventStageXY:Point = new Point(event.stageX, event.stageY);
         const eventHeaderGroupXY:Point = globalToLocal(eventStageXY);
@@ -739,6 +826,9 @@

         rollColumnIndex = -1;
         rollSeparatorIndex = -1;
+
+        // update renderer property
+        hoverColumnIndex = -1;
     }

     /**
@@ -754,7 +844,7 @@
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
      */
-    protected function chg_clickHandler(event:MouseEvent):void
+    protected function gchg_clickHandler(event:MouseEvent):void
     {
         const eventStageXY:Point = new Point(event.stageX, event.stageY);
         const eventHeaderGroupXY:Point = globalToLocal(eventStageXY);
@@ -762,9 +852,9 @@
         const eventColumnIndex:int =
             (eventSeparatorIndex == -1) ? getHeaderIndexAt(eventHeaderGroupXY.x, 0) : -1;

-        if ((eventSeparatorIndex != -1) && (downSeparatorIndex == eventSeparatorIndex))
+        if ((eventSeparatorIndex != -1) && (pressSeparatorIndex == eventSeparatorIndex))
             dispatchGridEvent(event, GridEvent.SEPARATOR_CLICK, eventHeaderGroupXY, eventSeparatorIndex);
-        else if ((eventColumnIndex != -1) && (downColumnIndex == eventColumnIndex))
+        else if ((eventColumnIndex != -1) && (pressColumnIndex == eventColumnIndex))
             dispatchGridEvent(event, GridEvent.GRID_CLICK, eventHeaderGroupXY, eventColumnIndex);
     }

@@ -782,7 +872,7 @@
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
      */
-    protected function chg_doubleClickHandler(event:MouseEvent):void
+    protected function gchg_doubleClickHandler(event:MouseEvent):void
     {
         const eventStageXY:Point = new Point(event.stageX, event.stageY);
         const eventHeaderGroupXY:Point = globalToLocal(eventStageXY);
@@ -790,9 +880,9 @@
         const eventColumnIndex:int =
             (eventSeparatorIndex == -1) ? getHeaderIndexAt(eventHeaderGroupXY.x, 0) : -1;

-        if ((eventSeparatorIndex != -1) && (downSeparatorIndex == eventSeparatorIndex))
+        if ((eventSeparatorIndex != -1) && (pressSeparatorIndex == eventSeparatorIndex))
             dispatchGridEvent(event, GridEvent.SEPARATOR_DOUBLE_CLICK, eventHeaderGroupXY, eventSeparatorIndex);
-        else if ((eventColumnIndex != -1) && (downColumnIndex == eventColumnIndex))
+        else if ((eventColumnIndex != -1) && (pressColumnIndex == eventColumnIndex))
             dispatchGridEvent(event, GridEvent.GRID_DOUBLE_CLICK, eventHeaderGroupXY, eventColumnIndex);
     }

@@ -826,6 +916,9 @@
     //
     //--------------------------------------------------------------------------

+    /**
+     *  @private
+     */
     private function getColumnAt(columnIndex:int):GridColumn
     {
         const grid:Grid = (dataGrid) ? dataGrid.grid : null;
@@ -835,6 +928,5 @@
         const columns:IList = grid.columns;
         return ((columnIndex >= 0) && (columnIndex < columns.length)) ? columns.getItemAt(columnIndex) as GridColumn : null;
     }
-
 }
-}
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.binding
 {


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

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

 package mx.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7163
Author:   aharui@adobe.com
Date:     2009-05-21T02:19:55.813792Z

Log Message:
-----------
Initial checkin of frame 1 cleanup.  In an RSL linkage, more classes will now come from the RSL because they are no longer needed in frame 1, and the size of the application SWF will be smaller.

QE Notes: None
Doc Notes: Maybe.  All new classes should be undocumented, but it might be worth checking that and any changes to interfaces
Bugs:
Reviewer: darrell
tests: checkintests mustella/MarshallPlan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/RSLEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/MarshalPopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IEmbeddedFontRegistry.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/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.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/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFontRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFont.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ResourceModuleRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeProvider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IMarshalSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EventListenerRequest.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/ToolTipManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/mustella/MustellaResultsParser.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.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/controls/alertClasses/AlertForm.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.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_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/DragManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.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/FlexEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IActiveWindowManager.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/flex4/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/PopUpManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManagerChildManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/CursorManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as</path>

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

--- frameworks/projects/framework/src/mx/events/EventListenerRequest.as
+++ frameworks/projects/framework/src/mx/events/EventListenerRequest.as
@@ -23,6 +23,11 @@
  *  SystemManager picks up the event and redispatches it from itself.
  *  In general, this request is generated because some other code called
  *  the addEventListener() method for one of the approved events on its SystemManager.
+ *
+ *  This request is also dispatched by SystemManager to allow the marshal implementation
+ *  to handle adding or removing listeners differently.  When dispatched by the
+ *  SystemManager, the listener property is non-null;
+ *
  *
  *  @langversion 3.0
  *  @playerversion Flash 9
@@ -85,6 +90,7 @@

 		return new EventListenerRequest(eventObj.type, eventObj.bubbles,
 										eventObj.cancelable, eventObj.eventType,
+										eventObj.listener,
                                         eventObj.useCapture, eventObj.priority,
                                         eventObj.useWeakReference);
 	}
@@ -123,6 +129,7 @@
 	public function EventListenerRequest(type:String, bubbles:Boolean = false,
 										 cancelable:Boolean = true,
 								         eventType:String = null,
+										 listener:Function = null,
 								         useCapture:Boolean = false,
 								         priority:int = 0,
 								         useWeakReference:Boolean = false)
@@ -131,6 +138,7 @@
 		super(type, false, false);

 		_eventType = eventType;
+		_listener = listener;
 		_useCapture = useCapture;
 		_priority = priority;
 		_useWeakReference = useWeakReference;
@@ -217,6 +225,25 @@
 	}

 	//----------------------------------
+	//  listener
+	//----------------------------------
+
+	/**
+     *  @private
+     */
+    private var _listener:Function;
+
+	/**
+	 *  The method or function to call
+     *
+	 *  @see flash.events.IEventDispatcher#addEventListener
+	 */
+	public function get listener():Function
+	{
+		return _listener;
+	}
+
+	//----------------------------------
 	//  useWeakReference
 	//----------------------------------

@@ -253,7 +280,7 @@
 	override public function clone():Event
 	{
 		return new EventListenerRequest(type, bubbles, cancelable,
-										eventType, useCapture,
+										eventType, listener, useCapture,
                                         priority, useWeakReference);
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5098
Author:   gauravj@adobe.com
Date:     2009-02-27T02:21:27.489350Z

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

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

--- frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as
+++ frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as
@@ -16,6 +16,11 @@
  * The default behavior of this class will simply return a linear
  * interpolation for both easing phases; developers should create a subclass
  * of EaseInOut to get more interestion behavior.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class EaseInOut implements IEaser
 {
@@ -24,6 +29,11 @@
      * easeInFraction, 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;

@@ -32,6 +42,11 @@
      * easeInFraction, 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;

@@ -41,6 +56,11 @@
      * 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;

@@ -50,6 +70,11 @@
      *
      * @param easeInFraction Optional parameter that sets the value of
      * the easeInFraction property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function EaseInOut(easeInFraction:Number = EaseInOut.IN_OUT)
     {
@@ -58,6 +83,11 @@

     /**
      * Storage for the _easeInFraction property
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     private var _easeInFraction:Number = .5;

@@ -74,6 +104,11 @@
      * @see IN_OUT
      *
      * @default .5
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get easeInFraction():Number
     {
@@ -96,6 +131,11 @@
      *
      * @param fraction The elapsed fraction of the animation
      * @return The eased fraction of the animation
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function ease(fraction:Number):Number
     {
@@ -119,6 +159,11 @@
      * of the animation.
      * @return A value that represents the eased value for this
      * part of the animation.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     protected function easeIn(fraction:Number):Number
     {
@@ -136,6 +181,11 @@
      * of the animation.
      * @return A value that represents the eased value for this
      * part of the animation.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     protected function easeOut(fraction:Number):Number
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20013
Author:   harishs@adobe.com
Date:     2011-01-31T15:32:09.255609Z

Log Message:
-----------
QE notes: Globalization changes. Full cyclone run has been done. Default locale changes and sort bug fixes since Dec 14 2010
Doc notes: ASDOC comments for all classes have been updated.
Bugs: SDK-29132 SDK-29127 SDK-28163  SDK-29075 SDK-28600 SDK-28492 SDK-28856

Reviewer: Gordon Smith, Xie Fang, Zhigang Qi
Tests run: cyclone and checkintests
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/NumberValidatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationValidatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/NumberValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/GlobalizationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/SortingCollator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/LastOperationStatus.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberFormatterBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/MatchingCollator.as</path>

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

--- frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as
+++ frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as
@@ -137,19 +137,21 @@
      *

      *

      *

-     *  If the locale style is not set by one of the above techniques,
-     *  the methods of this class that depend on the locale
-     *  sets lastOperationStatus to
-     *  LastOperationStatus.LOCALE_UNDEFINED_ERROR
-     *  and depending on the return type the methods will return
-     *  null, 0, or undefined.

+     *  If the locale style is not set by one of the above
+     *  techniques, the instance of this class will be added as a
+     *  StyleClient to the topLevelApplication and
+     *  will therefore inherit the locale style from the
+     *  topLevelApplication object when the locale
+     *  dependent property getter or locale dependent method is
+     *  called.
+     *

      *
      *
Most of the properties of
-     *  this class are automatically set based on the locale style. If the
-     *  locale style is changed, any properties that have not been explicitly
-     *  set will also be updated based on the new locale. Note that the
-     *  actual locale that is used is specified by the actualLocaleIDName
-     *  property.

+     *  this class are automatically set based on the locale style.
+     *  If the locale style is changed, any properties that have
+     *  not been explicitly set will also be updated based on the new locale.
+     *  Note that the actual locale that is used is specified by the
+     *  actualLocaleIDName property.

      *
      *
NOTE: When a fallback locale is used, the currency
      *  properties are set to default values,


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

--- frameworks/projects/framework/src/mx/managers/PopUpManagerChildList.as
+++ frameworks/projects/framework/src/mx/managers/PopUpManagerChildList.as
@@ -0,0 +1,53 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.managers
+{
+
+/**
+ *  The PopUpManagerChildList class defines the constant values for
+ *  the detail property of the
+ *  PopUpManager addPopUp() and createPopUp()
+ *  methods.
+ *
+ *  @see PopUpManager
+ */
+public final class PopUpManagerChildList
+{
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Indicates that the popup is placed in the same child list as the
+	 *  application.
+	 */
+	public static const APPLICATION:String = "application";
+
+	/**
+	 *  Indicates that the popup is placed in the popup child list
+	 *  which will cause it to float over other popups in the application
+	 *  layer.
+	 */
+	public static const POPUP:String = "popup";
+
+	/**
+	 *  Indicates that the popup is placed in whatever child list the
+	 *  parent component is in.
+	 */
+	public static const PARENT:String = "parent";
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 19370
Author:   smgilson@adobe.com
Date:     2010-12-14T19:07:03.991198Z

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

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as
@@ -522,12 +522,12 @@
      *  in the navigationGroup skin part.
      *
      *
The location and appearance of the navigationGroup
-     *  skin part is determined by the skin.
+     *  skin part is determined by the ActionBarSkin class.
      *  The default ActionBarSkin class defines the navigationGroup
      *  to appear to the left of the titleGroup area of the ActionBar.

      *
-     *
Create a custom skin to change the default location and appearance of
-     *  the navigationGroup skin part.

+     *
Create a custom ActionBarSkin skin class to change the default location
+     *  and appearance of the navigationGroup skin part.

      *
      *  @default null
      *
@@ -618,7 +618,7 @@
      *  skin part of the ActionBar control.
      *
      *
The location and appearance of the titleGroup
-     *  skin part is determined by the skin.
+     *  skin part is determined by the ActionBarSkin class.
      *  The default ActionBarSkin class defines the titleGroup
      *  to appear in the center of the ActionBar,
      *  using the space remaining between navigationGroup
@@ -628,8 +628,8 @@
      *  titleDisplay skin part, if present, is displayed
      *  in place of the titleGroup skin part.

      *
-     *
Create a custom skin to change the default location and appearance of
-     *  the titleGroup skin part.

+     *
Create a custom ActionBarSkin skin class to change the default
+     *  location and appearance of the titleGroup skin part.

      *
      *  @default null
      *
@@ -683,10 +683,9 @@
      *  in place of the titleGroup skin part.
      *  The titleDisplay skin part is positioned
      *  in the center of the ActionBar control
-     *  by using the padding specified by the
-     *  paddingLeft and paddingRight properties
-     *  of the layout class specified by the
-     *  titleLayout property.

+     *  by using the paddingLeft and
+     *  paddingRight properties  of the layout
+     *  class specified by the titleLayout property.

      *
      *  @default HorizontalLayout
      *  @see #titleContent
@@ -732,12 +731,12 @@
      *  using the actionGroup skin part.
      *
      *
The location and appearance of the actionGroup
-     *  skin part is determined by the skin.
+     *  skin part is determined by the ActionBarSkin class.
      *  The default ActionBarSkin class defines the actionGroup
      *  to appear to the right of the title display area of the ActionBar.

      *
-     *
Create a custom skin to change the default location and appearance of
-     *  the actionGroup skin part.

+     *
Create a custom ActionBarSkin skin class to change the default location
+     *  and appearance of the actionGroup skin part.

      *
      *  @default null
      *