Transferred from the Adobe Open Source Subversion Repository

Revision: 12062
Author:   smgilson@adobe.com
Date:     2009-11-20T20:27:52.148318Z

Log Message:
-----------
Fix for FLEXDOCS-1033 - hasFocusableChildren and tabChildren properties sound very similar, but only hasFocusableChildren works as expected, tabChildren is ignored

And a localization issue, FLEXDOCS-1119

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/BaseListData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.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/framework/src/mx/core/IDisplayObjectContainerInterface.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/framework/src/mx/managers/IFocusManagerComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
+++ frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
@@ -936,13 +936,13 @@
         invalidateParentSizeAndDisplayList();
     }

-	//----------------------------------
-	//  z
-	//----------------------------------
-
-	[Bindable("zChanged")]
-
-	/**
+    //----------------------------------
+    //  z
+    //----------------------------------
+
+    [Bindable("zChanged")]
+
+    /**
      *  @inheritDoc
      *
      *  @langversion 3.0
@@ -963,23 +963,23 @@
         if (z == value)
             return;

-		if (_layoutFeatures == null)
+        if (_layoutFeatures == null)
             initAdvancedLayoutFeatures();

-		hasDeltaIdentityTransform = false;
-		_layoutFeatures.layoutZ = value;
+        hasDeltaIdentityTransform = false;
+        _layoutFeatures.layoutZ = value;
         invalidateTransform();
         //invalidateProperties();
         invalidateParentSizeAndDisplayList();
     }

-	//----------------------------------
-	//  boundingBoxName
-	//----------------------------------
-
-	[Inspectable]
-
-	/**
+    //----------------------------------
+    //  boundingBoxName
+    //----------------------------------
+
+    [Inspectable]
+
+    /**
      *  Name of the object to use as the bounding box.
      *
      *
The bounding box is an object that is used by Flex to determine
@@ -2445,7 +2445,7 @@
             return;

         if (_layoutFeatures == null)
-			initAdvancedLayoutFeatures();
+            initAdvancedLayoutFeatures();

         hasDeltaIdentityTransform = false;

@@ -2520,7 +2520,7 @@
             return;

         if (_layoutFeatures == null)
-			initAdvancedLayoutFeatures();
+            initAdvancedLayoutFeatures();

         hasDeltaIdentityTransform = false;

@@ -2592,13 +2592,13 @@
         if (scaleZ == value)
             return;
         if (_layoutFeatures == null)
-			initAdvancedLayoutFeatures();
-
-		hasDeltaIdentityTransform = false;
-		_layoutFeatures.layoutScaleZ = value;
+            initAdvancedLayoutFeatures();
+
+        hasDeltaIdentityTransform = false;
+        _layoutFeatures.layoutScaleZ = value;
         invalidateTransform();
         //invalidateProperties();
-		invalidateParentSizeAndDisplayList();
+        invalidateParentSizeAndDisplayList();
     }

     //--------------------------------------------------------------------------
@@ -2708,26 +2708,7 @@
     [Inspectable(defaultValue="true")]

     /**
-     *  A flag that indicates whether child objects can receive focus
-     *
-     *
This is similar to the tabChildren property
-     *  used by the Flash Player.

-     *
-     *
This is usually false because most components
-     *  either receive focus themselves or delegate focus to a single
-     *  internal sub-component and appear as if the component has
-     *  received focus.  For example, a TextInput contains a focusable
-     *  child RichEditableText control, but while the RichEditableText
-     *  sub-component actually receives focus, it appears as if the
-     *  TextInput has focus.  TextInput sets hasFocusableChildren
-     *  to false because TextInput is considered the
-     *  component that has focus.  Its internal structure is an
-     *  abstraction.

-     *
-     *
Usually only navigator components like TabNavigator and
-     *  Accordion have this flag set to true because they
-     *  receive focus on Tab but focus goes to components in the child
-     *  containers on further Tabs

+     *  @copy mx.core.UIComponent#hasFocusableChildren
      *
      *  @default true
      *
@@ -2878,9 +2859,9 @@
     {
         if (value == depth)
             return;
-		if (_layoutFeatures == null)
-			initAdvancedLayoutFeatures();
-
+        if (_layoutFeatures == null)
+            initAdvancedLayoutFeatures();
+
         _layoutFeatures.depth = value;
         if (parent != null && "invalidateLayering" in parent && parent["invalidateLayering"] is Function)
             parent["invalidateLayering"]();
@@ -2906,9 +2887,9 @@
     {
         if (transformX == value)
             return;
-		if (_layoutFeatures == null)
-			initAdvancedLayoutFeatures();
-
+        if (_layoutFeatures == null)
+            initAdvancedLayoutFeatures();
+
         _layoutFeatures.transformX = value;
         invalidateTransform();
         //invalidateProperties();
@@ -2934,8 +2915,8 @@
     {
         if (transformY == value)
             return;
-		if (_layoutFeatures == null)
-			initAdvancedLayoutFeatures();
+        if (_layoutFeatures == null)
+            initAdvancedLayoutFeatures();

         _layoutFeatures.transformY = value;
         invalidateTransform();
@@ -2962,8 +2943,8 @@
     {
         if (transformZ == value)
             return;
-		if (_layoutFeatures == null)
-			initAdvancedLayoutFeatures();
+        if (_layoutFeatures == null)
+            initAdvancedLayoutFeatures();

         _layoutFeatures.transformZ = value;
         invalidateTransform();
@@ -3003,20 +2984,20 @@
         invalidateParentSizeAndDisplayList();
     }

-	/**
-	 *  Indicates the x-axis rotation of the DisplayObject instance, in degrees,
-	 *  from its original orientation relative to the 3D parent container.
-	 *  Values from 0 to 180 represent clockwise rotation; values from 0 to -180
-	 *  represent counterclockwise rotation. Values outside this range are added
-	 *  to or subtracted from 360 to obtain a value within the range.
-	 *
-	 *  This property is ignored during calculation by any of Flex's 2D layouts.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10
-	 *  @playerversion AIR 1.5
-	 *  @productversion Flex 3
-	 */
+    /**
+     *  Indicates the x-axis rotation of the DisplayObject instance, in degrees,
+     *  from its original orientation relative to the 3D parent container.
+     *  Values from 0 to 180 represent clockwise rotation; values from 0 to -180
+     *  represent counterclockwise rotation. Values outside this range are added
+     *  to or subtracted from 360 to obtain a value within the range.
+     *
+     *  This property is ignored during calculation by any of Flex's 2D layouts.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 3
+     */
     override public function get rotationX():Number
     {
         return (_layoutFeatures == null) ? super.rotationX : _layoutFeatures.layoutRotationX;
@@ -3031,7 +3012,7 @@
             return;

         if (_layoutFeatures == null)
-			initAdvancedLayoutFeatures();
+            initAdvancedLayoutFeatures();
         _layoutFeatures.layoutRotationX = value;
         invalidateTransform();
         //invalidateProperties();
@@ -3039,17 +3020,17 @@
     }

     /**
-	 *  Indicates the y-axis rotation of the DisplayObject instance, in degrees,
-	 *  from its original orientation relative to the 3D parent container.
-	 *  Values from 0 to 180 represent clockwise rotation; values from 0 to -180
-	 *  represent counterclockwise rotation. Values outside this range are added
-	 *  to or subtracted from 360 to obtain a value within the range.
+     *  Indicates the y-axis rotation of the DisplayObject instance, in degrees,
+     *  from its original orientation relative to the 3D parent container.
+     *  Values from 0 to 180 represent clockwise rotation; values from 0 to -180
+     *  represent counterclockwise rotation. Values outside this range are added
+     *  to or subtracted from 360 to obtain a value within the range.
      *
      * This property is ignored during calculation by any of Flex's 2D layouts.
      *
      *  @langversion 3.0
-	 *  @playerversion Flash 10
-	 *  @playerversion AIR 1.5
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
      *  @productversion Flex 3
      */
     override public function get rotationY():Number
@@ -3066,34 +3047,34 @@
             return;

         if (_layoutFeatures == null)
-			initAdvancedLayoutFeatures();
+            initAdvancedLayoutFeatures();
         _layoutFeatures.layoutRotationY = value;
         invalidateTransform();
         //invalidateProperties();
         invalidateParentSizeAndDisplayList();
     }

-	/**
-	 *  @inheritDoc
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10
-	 *  @playerversion AIR 1.5
-	 *  @productversion Flex 3
-	 */
-	override public function get rotationZ():Number
-	{
-		return rotation;
-	}
-
-	/**
-	 *  @private
-	 */
-	override public function set rotationZ(value:Number):void
-	{
-		rotation = value;
-	}
-
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 3
+     */
+    override public function get rotationZ():Number
+    {
+        return rotation;
+    }
+
+    /**
+     *  @private
+     */
+    override public function set rotationZ(value:Number):void
+    {
+        rotation = value;
+    }
+
     /**
      *  Defines a set of adjustments that can be applied to the component's transform in a way that is
      *  invisible to the component's parent's layout. For example, if you want a layout to adjust
@@ -3108,8 +3089,8 @@
      */
     public function set postLayoutTransformOffsets(value:TransformOffsets):void
     {
-		if (_layoutFeatures == null)
-			initAdvancedLayoutFeatures();
+        if (_layoutFeatures == null)
+            initAdvancedLayoutFeatures();

         if (_layoutFeatures.postLayoutTransformOffsets != null)
@@ -3546,32 +3527,32 @@
      */
     mx_internal var _layoutFeatures:AdvancedLayoutFeatures;

-	/**
-	 *  @private
-	 *  When true, the transform on this component consists only of translation.
-	 *  Otherwise, it may be arbitrarily complex.
-	 */
+    /**
+     *  @private
+     *  When true, the transform on this component consists only of translation.
+     *  Otherwise, it may be arbitrarily complex.
+     */
     protected var hasDeltaIdentityTransform:Boolean = true;

-	/**
-	 *  @private
-	 *  Storage for the modified Transform object that can dispatch
-	 *  change events correctly.
-	 */
+    /**
+     *  @private
+     *  Storage for the modified Transform object that can dispatch
+     *  change events correctly.
+     */
     private var _transform:flash.geom.Transform;

-	/**
-	 *  @private
-	 *  Initializes the implementation and storage of some of the less
-	 *  frequently used advanced layout features of a component.
-	 *  Call this function before attempting to use any of the
-	 *  features implemented by the AdvancedLayoutFeatures object.
-	 *
+    /**
+     *  @private
+     *  Initializes the implementation and storage of some of the less
+     *  frequently used advanced layout features of a component.
+     *  Call this function before attempting to use any of the
+     *  features implemented by the AdvancedLayoutFeatures object.
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
-	 */
+     */
     private function initAdvancedLayoutFeatures():void
     {
         var features:AdvancedLayoutFeatures = new AdvancedLayoutFeatures();
@@ -3587,12 +3568,12 @@
         features.layoutX = x;
         features.layoutY = y;
         features.layoutZ = z;
-
-		// Initialize the internal variable last,
-		// since the transform getters depend on it.
+
+        // Initialize the internal variable last,
+        // since the transform getters depend on it.
         _layoutFeatures = features;

-		invalidateTransform();
+        invalidateTransform();
     }

     private function invalidateTransform():void
@@ -3796,10 +3777,10 @@
         LayoutElementUIComponentUtils.setLayoutBoundsSize(this,width,height,postLayoutTransform? nonDeltaLayoutMatrix():null);
     }

-	/**
-	 *  @private
-	 *  Returns the layout matrix, or null if it only consists of translations.
-	 */
+    /**
+     *  @private
+     *  Returns the layout matrix, or null if it only consists of translations.
+     */
     private function nonDeltaLayoutMatrix():Matrix
     {
         if (hasDeltaIdentityTransform)
@@ -3814,7 +3795,7 @@
             // if scale is actually set (and it's not just our "secret scale"), then
             // layoutFeatures wont' be null and we won't be down here
             return MatrixUtil.composeMatrix(x, y, 1, 1, rotation,
-                        					transformX, transformY);
+                                            transformX, transformY);
         }
     }


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

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

 package mx.graphics
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20503
Author:   chiedozi@adobe.com
Date:     2011-03-01T01:35:23.376092Z

Log Message:
-----------
Altering focus changes made in revision 20384.  View and ViewNavigatorBase can no longer gain focus.

QE notes:
Doc notes:
Bugs: SDK-29667
Reviewer: Ryan, Alex
Tests run:
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as</path>
<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/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigatorApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/View.as
+++ frameworks/projects/mobilecomponents/src/spark/components/View.as
@@ -19,8 +19,6 @@
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.events.PropertyChangeEvent;
-import mx.managers.IFocusManagerComponent;
-import mx.managers.SystemManager;

 import spark.core.ContainerDestructionPolicy;
 import spark.events.ViewNavigatorEvent;
@@ -175,7 +173,7 @@
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
-public class View extends SkinnableContainer implements IDataRenderer, IFocusManagerComponent
+public class View extends SkinnableContainer implements IDataRenderer
 {
     //--------------------------------------------------------------------------
     //


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

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

 package mx.controls.videoClasses
 {


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

--- frameworks/projects/mx/src/mx/styles/metadata/BackgroundStyles.as
+++ frameworks/projects/mx/src/mx/styles/metadata/BackgroundStyles.as
@@ -1,4 +1,28 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////

+/**
+ *  Alpha level of the color defined by the backgroundColor
+ *  property, of the image or SWF file defined by the backgroundImage
+ *  style.
+ *  Valid values range from 0.0 to 1.0. For most controls, the default value is 1.0,
+ *  but for ToolTip controls, the default value is 0.95 and for Alert controls, the default value is 0.9.
+ *
+ *  @default 1.0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
 [Style(name="backgroundAlpha", type="Number", inherit="no", theme="halo")]

 /**


empty string can now be used to set globalName to null.

Change-Id: I471aa4bfef72f48985e54a07a058ef6d50bd729b

--- WeaveCore/src/weave/core/LinkableDynamicObject.as
+++ WeaveCore/src/weave/core/LinkableDynamicObject.as
@@ -122,7 +122,11 @@
 		 * @param newGlobalName This is the name of the global object to link to, or null to unlink from the current global object.
 		 */
 		public function set globalName(newGlobalName:String):void
-		{
+		{
+			// change empty string to null
+			if (!newGlobalName)
+				newGlobalName = null;
+
 			if (_globalName == newGlobalName || _locked)
 				return;


Transferred from the Adobe Open Source Subversion Repository

Revision: 153
Author:   proberts@adobe.com
Date:     2008-01-10T20:22:23.867658Z

Log Message:
-----------
Severity: ignore
Description: docs update -- added @productVersion tag to Flex AIR classes' 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/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.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/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.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/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>

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

--- frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as
+++ frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as
@@ -257,6 +257,8 @@
  *  </pre>
  *
  *  @see flash.filesystem.File
+ *
+ *  @productversion Apollo 1.0
  */
 public class FileSystemDataGrid extends DataGrid
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 19344
Author:   egeorgie@adobe.com
Date:     2010-12-14T00:38:13.222484Z

Log Message:
-----------
PARB changes for density scaling

- authorDensity -> applicationDPI, type changed to int
- DensityUtil not visible in the documentation anymore [ExcludeClass]
- DensityUtil. screenDPIToDeviceDensity() -> classifyDPI(), returns int now
- DensityUtil. getDensityScale() -> getDPIScale(), takes int now
- DeviceDensity enum -> DPIClassification enum
- ISystemManager.densityScale property has been removed.
- New property to Application -> runtimeDPI.

QE notes: can start writing automated tests now
Doc notes:
Bugs:
Reviewer: Alex, Glenn, Jason SJ,
Tests run: checkintest
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/DensityUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/DeviceDensity.as" copyfrom-rev="19256" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/DPIClassification.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/NavigationAngledButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionButtonSkin.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/DeviceDensity.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/NavigationButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as
@@ -14,7 +14,7 @@

 import flash.events.Event;

-import mx.core.DeviceDensity;
+import mx.core.DPIClassification;
 import mx.core.UIComponentGlobals;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
@@ -59,9 +59,9 @@

         useChromeColor = false;

-        switch (authorDensity)
-        {
-            case DeviceDensity.PPI_320:
+        switch (applicationDPI)
+        {
+            case DPIClassification.DPI_320:
             {
                 borderClass = spark.skins.mobile320.assets.TextInput_border;
                 layoutCornerEllipseSize = 24;
@@ -71,7 +71,7 @@

                 break;
             }
-            case DeviceDensity.PPI_240:
+            case DPIClassification.DPI_240:
             {
                 borderClass = spark.skins.mobile240.assets.TextInput_border;
                 layoutCornerEllipseSize = 12;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3057
Author:   jimurphy@adobe.com
Date:     2008-09-02T15:18:38.819662Z

Log Message:
-----------
Merged 3.0.x revisions [2966,2969,2995,3004,3018-3019,3023,3029-3030,3046,3049,3052] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ModalWindowRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.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/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as" copyfrom-rev="3052" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterDragManagerEvent.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/PopUpRequest.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/events/SWFBridgeEvent.as</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/controls/DateField.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/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SizeRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InterManagerRequest.as" copyfrom-rev="3052" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/InterManagerRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FocusRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDL.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/dividedBoxClasses/BoxDivider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxRootDragEvent.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/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.as" copyfrom-rev="3052" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxMouseEvent.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/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxRootRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/EventUtil.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SandboxRootMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as</path>

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

--- frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as
+++ frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as
@@ -544,7 +544,7 @@
 		// Calculate global position of label.
 		var pt:Point = new Point(0, 0);
 		pt = label.localToGlobal(pt);
-		pt = stage.globalToLocal(pt);
+		pt = toolTip.parent.globalToLocal(pt);

 		toolTip.move(pt.x, pt.y + (height - toolTip.height) / 2);


Alternativa3D.versionを出力するように実装.

--- src/Main.as
+++ src/Main.as
@@ -1,5 +1,6 @@
 package
 {
+	import alternativa.Alternativa3D;
 	import alternativa.engine3d.controllers.SimpleObjectController;
 	import alternativa.engine3d.core.Camera3D;
 	import alternativa.engine3d.core.Object3D;
@@ -76,6 +77,7 @@
 			_stage3d.removeEventListener(Event.CONTEXT3D_CREATE, onContent3DCreate);
 			_stage3d.removeEventListener(ErrorEvent.ERROR, onContent3DCreateError);
 			_extended3dEnabled = (_profiles[0] != Context3DProfile.BASELINE);
+			Utils.Trace("Alternativa3D.version: " + Alternativa3D.version);
 			Utils.Trace("Using Context3DProfile: " + _profiles[0]);

 			var htmlParams:Object = LoaderInfo(root.loaderInfo).parameters;


Change 20081024-maxcarlson-L by maxcarlson@Bank on 2008-10-24 15:28:57 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Preserve text formatting when setting color

Bugs Fixed: LPP-6664 - Setting 'fgcolor' For LzText Causes HTML Formatting To Be Removed

Technical Reviewer: andre.bargull@udo.edu
QA Reviewer: ptw

Details: Set the text to the value returned by getText() to preserve formatting.

Tests: See LPP-6664

git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@11569 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

--- WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
+++ WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
@@ -639,7 +639,7 @@
     this.__setFormat();
     // recompute dimensions: must use clip html here -- inputtext may
     // have modified the contents
-    this.setText( this.__LZtextclip.htmlText );
+    this.setText( this.getText() );
 }

 /**
@@ -650,7 +650,7 @@
     this.__setFormat();
     // recompute dimensions: must use clip html here -- inputtext may
     // have modified the contents
-    this.setText( this.__LZtextclip.htmlText );
+    this.setText( this.getText() );

 }

@@ -662,7 +662,7 @@
     this.__setFormat();
     // recompute dimensions: must use clip html here -- inputtext may
     // have modified the contents
-    this.setText( this.__LZtextclip.htmlText );
+    this.setText( this.getText() );
 }

 /**
@@ -674,7 +674,7 @@
     this.__setFormat();
     // recompute dimensions: must use clip html here -- inputtext may
     // have modified the contents
-    this.setText( this.__LZtextclip.htmlText );
+    this.setText( this.getText() );
 }

 /**


accidentally commented out something that closed folders- un-commented it so it is again fixed

--- flexEditor/src/org/arisgames/editor/view/GameEditorObjectPaletteView.as
+++ flexEditor/src/org/arisgames/editor/view/GameEditorObjectPaletteView.as
@@ -624,7 +624,7 @@
         trace("In handleRefreshTreeEvent...");
         refreshData = true;
         this.renderTree();
-		//paletteTree.openFolders();
+		paletteTree.openFolders();
         trace("Done in handleRefreshTreeEvent.");
     }


also create fx:Declaration instances

also create fx:Declaration instances

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
@@ -121,6 +121,8 @@

         private function initHandler(event:flash.events.Event):void
         {
+            MXMLDataInterpreter.generateMXMLInstances(this, null, MXMLDescriptor);
+
             dispatchEvent(new Event("initialize"));

             if (initialView)


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

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

 package mx.charts.chartClasses
 {


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

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

 package mx.charts.chartClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 11163
Author:   dloverin@adobe.com
Date:     2009-10-26T20:35:33.260693Z

Log Message:
-----------
Changes to turn on the per-module style feature by default.

The feature can be turned off by compiling with -isolateStyles=false.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex, Paul
Tests run: checkintests, all mustella
Is noteworthy for integration: Yes.

Summary of changes:

frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as
Propagate the module factory in setFlexContent.

frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
Implement IFlexModule

frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
Move getting style declaration from the constructor to the override of the module factory setter.

frameworks/projects/framework/src/mx/controls/Alert.as
Set moduleFactory to parent if parent is an IFlexModuleFactory.

frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as
Pass styleManager in CSSStyleDeclaration.

frameworks/projects/framework/src/mx/controls/menuClasses/MenuBarItem.as
Pass styleManager in CSSStyleDeclaration.

frameworks/projects/framework/src/mx/controls/RadioButton.as
Move getting style declaration from the constructor to the override of the module factory setter.

frameworks/projects/framework/src/mx/controls/SWFLoader.as
Handle the “get parent module factory” request from an embedded swf.

frameworks/projects/framework/src/mx/core/Container.as
Pass styleManager in CSSStyleDeclaration.

frameworks/projects/framework/src/mx/core/UIComponent.as
Defer setting styles until a module factory is set.

frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as
Set the module factory of an added child.

frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as
Set the module factory of the tooltip to be the same as the target.

frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
Rename parameter based on PARB feedback.

frameworks/projects/framework/src/mx/styles/IStyleModule.as
Add setStyleDeclarations per spec.

frameworks/projects/framework/src/mx/styles/StyleManager.as
Deprecate old static StyleManager API.

frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
Use IStyleModule.setStyleDeclarations.

frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
A fix to get the correct style manager and pass styleManager in CSSStyleDeclaration.

frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as
Pass styleManager in CSSStyleDeclaration.

frameworks/projects/spark/src/spark/components/Group.as
Propagate moduleFactory in elementAdded().

modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
Rename –create-style-manager option to –isloateStyles. The option has been changed from hidden to advanced.

modules/compiler/src/java/flex2/compiler/css/StyleDef.vm
Fix bug to not add a default factory that is not needed.

modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDef.vm
Initialize styles in a module factory setter override.

modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm
Changed emitComponentInitializers_1 to not emit style related code if the document implements IFlexModule. Created emitComponentStyleInitializers to emit those styles.

modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java
Generate code to match ClassDef.vm and ClassDefLib.vm changes.

modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
Add IFlexModuleFactory to standard imports.

modules/compiler/src/java/flex2/configuration_en.properties
Rename –create-style-manager option to –isloateStyles.

modules/compiler/src/java/flex2/tools/PreLink.java
Rename –create-style-manager option to –isloateStyles.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDef.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuBarItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.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/framework/src/mx/styles/StyleManagerImpl.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/IStyleModule.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/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.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/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.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/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/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/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java</path>

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

--- frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as
+++ frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as
@@ -18,6 +18,7 @@
 import flash.events.Event;
 import flash.utils.getDefinitionByName;

+import mx.core.IFlexModule;
 import mx.core.IUIComponent;
 import mx.core.mx_internal;

@@ -239,7 +240,7 @@
             addChild(DisplayObject(flexContent));

             var uiComponentClass:Class;
-
+
             // Dynamically load the UIComponent class, but don't fail on error.
             // This allows us to work in Flex (where UIComponent is defined), and
             // in Flash (where it UIComponent is not defined).
@@ -300,6 +301,18 @@
                     if (doubleClickEnabled)
                         InteractiveObject(flexContent).doubleClickEnabled = true;

+                // Propagate moduleFactory to the child, but don't overwrite an existing moduleFactory.
+                if (flexContent is IFlexModule && IFlexModule(flexContent).moduleFactory == null)
+                {
+                    if (uicParent is IFlexModule && IFlexModule(uicParent).moduleFactory != null)
+                        IFlexModule(flexContent).moduleFactory = IFlexModule(uicParent).moduleFactory;
+
+                    else if (document is IFlexModule && uicParent.document.moduleFactory != null)
+                        IFlexModule(flexContent).moduleFactory = uicParent.document.moduleFactory;
+
+                    else if (uicParent is IFlexModule && IFlexModule(uicParent).moduleFactory != null)
+                        IFlexModule(flexContent).moduleFactory = IFlexModule(uicParent).moduleFactory;
+                }

                 // Sets up the inheritingStyles and nonInheritingStyles objects
                 // and their proto chains so that getStyle() works.


Transferred from the Adobe Open Source Subversion Repository

Revision: 13080
Author:   gosmith@adobe.com
Date:     2009-12-17T23:14:55.659169Z

Log Message:
-----------
Added ASDoc for the Spark PanelAccImpl and TitleWindowAccImpl, based on the opensource specs.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TitleWindowAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/TitleWindowAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/TitleWindowAccImpl.as
@@ -29,8 +29,93 @@
 use namespace mx_internal;

 /**
- *  TitleWindowAccImpl is a subclass of AccessibilityImplementation
- *  which implements accessibility for the TitleWindow class.
+ *  TitleWindowAccImpl is the accessibility implementation class
+ *  for spark.components.TitleWindow.
+ *
+ *
When a Spark TitleWindow is created,
+ *  the accessibilityImplementation property
+ *  of its titleDisplay is set to an instance of this class.
+ *  The Flash Player then uses this class to allow MSAA clients
+ *  such as screen readers to see this component.
+ *  See the mx.accessibility.AccImpl and
+ *  flash.accessibility.AccessibilityImplementation classes
+ *  for background information about accessibility implementation
+ *  classes and MSAA.
+ *
+ *
Children

+ *
+ *
A TitleWindow has no MSAA children.
+ *  All children of the actual TitleWindow are siblings of the TitleWindow
+ *  in the FlashPlayer's MSAA tree, because Flash Player
+ *  does not support objects with accessibility implementations
+ *  having children with their own accessibility implementations.

+ *
+ *
The TitleWindowAcImpl is set as the
+ *  accessibilityImplementation of the titleDisplay
+ *   because setting it on the TitleWindow itself would not allow the
+ *  TitleWindows's children to be exposed in MSAA.
+ *  Because of this an invisible rectangle is drawn in the
+ *  titleDisplay making it the same size as the TitleWindow
+ *  as a whole so that the MSAA Location is the bounding rectangle
+ *  of the entire TitleWindow.
+ *  Screen readers like JAWS rely on the MSAA Location to announce whether
+ *  some component is in the TitleWindow since the MSAA structure is flat.

+ *
+ *
Role

+ *
+ *
The MSAA Role of a TitleWindow is ROLE_SYSTEM_PANE.

+ *
+ *
Name

+ *
+ *
The MSAA Name of a TitleWindow is, by default,
+ *  the title that it displays.
+ *  To override this behavior,
+ *  set the TitleWindow's accessibilityName property.

+ *
+ *
When the Name changes,
+ *  a TitleWindow dispatches the MSAA event EVENT_OBJECT_NAMECHANGE.

+ *
+ *
Description

+ *
+ *
The MSAA Description of a TitleWindow is, by default,
+ *  the empty string, but you can set the TitleWindows's
+ *  accessibilityDescription property.

+ *
+ *
State

+ *
+ *
The MSAA State of a TitleWindow is always STATE_SYSTEM_MOVEABLE.

+ *
+ *
Since the State does not change,
+ *  a TitleWindow does not dispatch the MSAA event EVENT_OBJECT_STATECHANGE.

+ *
+ *
Value

+ *
+ *
The MSAA Value of a TitleWindow is always the empty string.

+ *
+ *
Location

+ *
+ *
The MSAA Location of a TitleWindow is its bounding rectangle.

+ *
+ *
Default Action

+ *
+ *
A TitleWindow does not have an MSAA DefaultAction.

+ *
+ *
Focus

+ *
+ *
A TitleWindow does not accept focus.

+ *
+ *
Selection

+ *
+ *
A TitleWindow does not support selection in the MSAA sense.

+ *
+ *
Other

+ *
+ *
A TitleWindow also dispatches the following MSAA events:
+ *

+ *
EVENT_OBJECT_CREATE, when it is created

+ *
EVENT_OBJECT_DESTROY, when it is closed

+ *
EVENT_OBJECT_LOCATIONCHANGE, when it is moved

+ *

  *
  *  @langversion 3.0
  *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 12026
Author:   gosmith@adobe.com
Date:     2009-11-20T02:13:33.060081Z

Log Message:
-----------
Added the SELFLAG_ constants from MSAA 1.0 and some new EVENT_ constants from MSAA 2.0 to the new AccConst class.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextInputAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccConst.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as
@@ -50,11 +50,6 @@
 	//  Class constants
 	//
 	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private static const SELFLAG_TAKEFOCUS:uint = 0x1;

     /**
      *  @private
@@ -644,7 +639,7 @@
 	{
         var videoPlayer:VideoPlayer = VideoPlayer(master);

-	    if (selFlag == SELFLAG_TAKEFOCUS)
+	    if (selFlag == AccConst.SELFLAG_TAKEFOCUS)
         {
 	       	switch (childID)
             {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2506
Author:   jimurphy@adobe.com
Date:     2008-07-16T13:25:03.893431Z

Log Message:
-----------
Merged 3.0.x revisions [2417,2458,2504] -> trunk
-I also manually updated modules/compiler/src/java/flex2/tools/oem/internal/LinkerConfiguration.java to implement flex2.linker.LinkerConfiguration due to a name change in trunk
-removed player 9 stuff

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.project" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.project</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/DependencyChecker.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/IResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.actionScriptProperties" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.actionScriptProperties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/air-config.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="A">/flex/sdk/trunk/in/player/mac/Install Flash Player 10 UB.dmg</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/modules/compiler/src/java/flex2/tools/oem/internal/LinkerConfiguration.java</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.settings/org.eclipse.core.resources.prefs" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.settings/org.eclipse.core.resources.prefs</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.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/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.flexLibProperties" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.flexLibProperties</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/lnx/install_flash_player_9_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/LibrariesNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/DependencyNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/win/Install Flash Player 9 Plugin.exe</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/mac/Install Flash Player 9 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/MarshalMouseEvent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/resources/LocaleSorter.as" copyfrom-rev="2504" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/LocaleSorter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/win/Install Flash Player 9 ActiveX.exe</path>
<path kind="dir" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework" copyfrom-rev="2504" action="A">/flex/sdk/trunk/development/eclipse/flex/airframework</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollThumb.as</path>
<path kind="file" action="A">/flex/sdk/trunk/in/player/win/Install Flash Player 10 Plugin.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/DefNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/in/player/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/LibraryNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/ScriptNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/DepNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>
<path kind="dir" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.settings" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.settings</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/10/lnx/Flash Player.app.zip</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/libs/player/9</path>

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

--- frameworks/projects/framework/src/mx/resources/IResourceManager.as
+++ frameworks/projects/framework/src/mx/resources/IResourceManager.as
@@ -264,7 +264,18 @@
      *  @return An Array of locale Strings.
      */
     function getLocales():Array /* of String */;
-
+
+    /**
+     *  Returns an Array of Strings specifying all locales for which
+     *  ResourceBundle objects exist in the ResourceManager,
+     *  ordered using  user preferences as reported by
+     *  Capabilities.language or
+     *  Capabilities.languages.
+     *
+     *  @return An Array of locale Strings.
+     */
+    function getPreferredLocaleChain():Array /* of String */;
+
     /**
      *  Returns an Array of Strings specifying the bundle names
      *  for all ResourceBundle objects that exist in the ResourceManager
@@ -609,13 +620,17 @@
                       locale:String = null):Class;

     /**
-     *  Used by modules loaders only.
+     *  Used only by classes which implement IFlexModuleFactory.
      */
     function installCompiledResourceBundles(
                                 applicationDomain:ApplicationDomain,
                                 locales:Array /* of String */,
                                 bundleNames:Array /* of String */):void;

+	/**
+	 *  Used only by classes which implement IFlexModuleFactory.
+	 */
+    function initializeLocaleChain(compiledLocales:Array):void;
 }

 }


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

--- frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
+++ frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
@@ -0,0 +1,628 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.styles
+{
+
+import flash.display.DisplayObject;
+import flash.events.EventDispatcher;
+import flash.utils.Dictionary;
+import mx.core.Singleton;
+import mx.core.mx_internal;
+import mx.managers.SystemManagerGlobals;
+
+use namespace mx_internal;
+
+/**
+ *  The CSSStyleDeclaration class represents a set of CSS style rules.
+ *  The MXML compiler automatically generates one CSSStyleDeclaration object
+ *  for each selector in the CSS files associated with a Flex application.
+ *
+ *
A CSS rule such as
+ *

+ *      Button { color: #FF0000 }
+ *

+ *  affects every instance of the Button class;
+ *  a selector like Button is called a type selector
+ *  and must not start with a dot.

+ *
+ *
A CSS rule such as
+ *

+ *      .redButton { color: #FF0000 }
+ *

+ *  affects only components whose styleName property
+ *  is set to ".redButton";
+ *  a selector like .redButton is called a class selector
+ *  and must start with a dot.

+ *
+ *
You can access the autogenerated CSSStyleDeclaration objects
+ *  using the StyleManager.getStyleDeclaration() method,
+ *  passing it either a type selector
+ *

+ *  var buttonDeclaration:CSSStyleDeclaration =
+ *      StyleManager.getStyleDeclaration("Button");
+ *

+ *  or a class selector
+ *

+ *  var redButtonStyleDeclaration:CSSStyleDeclaration =
+ *      StyleManager.getStyleDeclaration(".redButton");
+ *

+ *

+ *
+ *
You can use the getStyle(), setStyle(),
+ *  and clearStyle() methods to get, set, and clear
+ *  style properties on a CSSStyleDeclaration.

+ *
+ *
You can also create and install a CSSStyleDeclaration at run time
+ *  using the StyleManager.setStyleDeclaration() method:
+ *

+ *  var newStyleDeclaration:CSSStyleDeclaration = new CSSStyleDeclaration();
+ *  newStyleDeclaration.defaultFactory = function():void
+ *  {
+ *      leftMargin = 50;
+ *      rightMargin = 50;
+ *  }
+ *  StyleManager.setStyleDeclaration(".bigMargins", newStyleDeclaration, true);
+ *

+ *

+ *
+ *  @see mx.core.UIComponent
+ *  @see mx.styles.StyleManager
+ */
+public class CSSStyleDeclaration extends EventDispatcher
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private static const NOT_A_COLOR:uint = 0xFFFFFFFF;
+
+    /**
+     *  @private
+     */
+    private static const FILTERMAP_PROP:String = "__reserved__filterMap";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param selector If not null, this CSSStyleDeclaration will be
+     *  registered with the StyleManager using the selector value.
+     */
+    public function CSSStyleDeclaration(selector:String = null)
+    {
+        super();
+
+        if (selector)
+        {
+            // do not reference StyleManager directly because this is a bootstrap class
+            styleManager = Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2;
+            styleManager.setStyleDeclaration(selector, this, false);
+        }
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  This Array keeps track of all the style name/value objects
+     *  produced from this CSSStyleDeclaration and already inserted into
+     *  prototype chains. Whenever this CSSStyleDeclaration's overrides object
+     *  is updated by setStyle(), these clone objects must also be updated.
+     */
+    private var clones:Dictionary = new Dictionary(true);
+
+    /**
+     *  @private
+     *  The number of CSS selectors pointing to this CSSStyleDeclaration.
+     *  It will be greater than 0 if this CSSStyleDeclaration has been
+     *  installed in the StyleManager.styles table by
+     *  StyleManager.setStyleDeclaration().
+     */
+    mx_internal var selectorRefCount:int = 0;
+
+    /**
+     *  @private
+     *  Array that specifies the names of the events declared
+     *  by this CSS style declaration.
+     *  This Array is used by the StyleProtoChain.initObject()
+     *  method to register the effect events with the Effect manager.
+     */
+    mx_internal var effects:Array;
+
+    /**
+     *  @private
+     *  reference to StyleManager
+     */
+    private var styleManager:IStyleManager2;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  defaultFactory
+    //----------------------------------
+
+    [Inspectable(environment="none")]
+
+    /**
+     *  This function, if it isn't null,
+     *  is usually autogenerated by the MXML compiler.
+     *  It produce copies of a plain Object, such as
+     *  { leftMargin: 10, rightMargin: 10 },
+     *  containing name/value pairs for style properties; the object is used
+     *  to build a node of the prototype chain for looking up style properties.
+     *
+     *
If this CSSStyleDeclaration is owned by a UIComponent
+     *  written in MXML, this function encodes the style attributes
+     *  that were specified on the root tag of the component definition.

+     *
+     *
If the UIComponent was written in ActionScript,
+     *  this property is null.

+     */
+    public var defaultFactory:Function;
+
+    //----------------------------------
+    //  factory
+    //----------------------------------
+
+    [Inspectable(environment="none")]
+
+    /**
+     *  This function, if it isn't null,
+     *  is usually autogenerated by the MXML compiler.
+     *  It produce copies of a plain Object, such as
+     *  { leftMargin: 10, rightMargin: 10 },
+     *  containing name/value pairs for style properties; the object is used
+     *  to build a node of the prototype chain for looking up style properties.
+     *
+     *
If this CSSStyleDeclaration is owned by a UIComponent,
+     *  this function encodes the style attributes that were specified in MXML
+     *  for an instance of that component.

+     */
+    public var factory:Function;
+
+    //----------------------------------
+    //  overrides
+    //----------------------------------
+
+    /**
+     *  If the setStyle() method is called on a UIComponent or CSSStyleDeclaration
+     *  at run time, this object stores the name/value pairs that were set;
+     *  they override the name/value pairs in the objects produced by
+     *  the  methods specified by the defaultFactory and
+     *  factory properties.
+     */
+    protected var overrides:Object;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Gets the value for a specified style property,
+     *  as determined solely by this CSSStyleDeclaration.
+     *
+     *
The returned value may be of any type.

+     *
+     *
The values null, "", false,
+     *  NaN, and 0 are all valid style values,
+     *  but the value undefined is not; it indicates that
+     *  the specified style is not set on this CSSStyleDeclaration.
+     *  You can use the method StyleManager.isValidStyleValue()
+     *  to test the value that is returned.

+     *
+     *  @param styleProp The name of the style property.
+     *
+     *  @return The value of the specified style property if set,
+     *  or undefined if not.
+     */
+    public function getStyle(styleProp:String):*
+    {
+        var o:*;
+        var v:*;
+
+        // First look in the overrides, in case setStyle()
+        // has been called on this CSSStyleDeclaration.
+        if (overrides)
+        {
+            // If the property exists in our overrides, but
+            // has 'undefined' as its value, it has been
+            // cleared from this stylesheet so return
+            // undefined.
+            if (styleProp in overrides &&
+                overrides[styleProp] === undefined)
+                return undefined;
+
+            v = overrides[styleProp];
+            if (v !== undefined) // must use !==
+                return v;
+        }
+
+        // Next look in the style object that this CSSStyleDeclaration's
+        // factory function produces; it contains styles that
+        // were specified in an instance tag of an MXML component
+        // (if this CSSStyleDeclaration is attached to a UIComponent).
+        if (factory != null)
+        {
+            factory.prototype = {};
+            o = new factory();
+            v = o[styleProp];
+            if (v !== undefined) // must use !==
+                return v;
+        }
+
+        // Next look in the style object that this CSSStyleDeclaration's
+        // defaultFactory function produces; it contains styles that
+        // were specified on the root tag of an MXML component.
+        if (defaultFactory != null)
+        {
+            defaultFactory.prototype = {};
+            o = new defaultFactory();
+            v = o[styleProp];
+            if (v !== undefined) // must use !==
+                return v;
+        }
+
+        // Return undefined if the style isn't specified
+        // in any of these three places.
+        return undefined;
+    }
+
+    /**
+     *  Sets a style property on this CSSStyleDeclaration.
+     *
+     *  @param styleProp The name of the style property.
+     *
+     *  @param newValue The value of the style property.
+     *  The value may be of any type.
+     *  The values null, "", false,
+     *  NaN, and 0 are all valid style values,
+     *  but the value undefined is not.
+     *  Setting a style property to the value undefined
+     *  is the same as calling the clearStyle() method.
+     */
+    public function setStyle(styleProp:String, newValue:*):void
+    {
+        var oldValue:Object = getStyle(styleProp);
+        var regenerate:Boolean = false;
+
+        // If this CSSStyleDeclaration didn't previously have a factory,
+        // defaultFactory, or overrides object, then this CSSStyleDeclaration
+        // hasn't been added to anyone's proto chain.  In that case, we
+        // need to regenerate everyone's proto chain.
+        if (selectorRefCount > 0 &&
+            factory == null &&
+            defaultFactory == null &&
+            !overrides &&
+            (oldValue !== newValue)) // must be !==
+        {
+            regenerate = true;
+        }
+
+        if (newValue !== undefined) // must be !==
+        {
+            mx_internal::setStyle(styleProp, newValue);
+        }
+        else
+        {
+            if (newValue == oldValue)
+                return;
+            mx_internal::setStyle(styleProp, newValue);
+        }
+
+        var sms:Array = SystemManagerGlobals.topLevelSystemManagers;
+        var n:int = sms.length;
+        var i:int;
+
+        // Type as Object to avoid dependency on SystemManager.
+        var sm:Object;
+
+        if (regenerate)
+        {
+            // Regenerate all the proto chains
+            // for all objects in the application.
+            for (i = 0; i < n; i++)
+            {
+                sm = sms[i];
+                sm.regenerateStyleCache(true);
+            }
+        }
+
+        for (i = 0; i < n; i++)
+        {
+            sm = sms[i];
+            sm.notifyStyleChangeInChildren(styleProp, true);
+        }
+    }
+
+    /**
+     *  @private
+     *  Sets a style property on this CSSStyleDeclaration.
+     *
+     *  @param styleProp The name of the style property.
+     *
+     *  @param newValue The value of the style property.
+     *  The value may be of any type.
+     *  The values null, "", false,
+     *  NaN, and 0 are all valid style values,
+     *  but the value undefined is not.
+     *  Setting a style property to the value undefined
+     *  is the same as calling clearStyle().
+     */
+    mx_internal function setStyle(styleProp:String, value:*):void
+    {
+        // If setting to undefined, clear the style attribute.
+        if (value === undefined) // must use ===
+        {
+            clearStyleAttr(styleProp);
+            return;
+        }
+
+        var o:Object;
+
+        // If the value is a String of the form "#FFFFFF" or "red",
+        // then convert it to a RGB color uint (e.g.: 0xFFFFFF).
+        if (value is String)
+        {
+            if (!styleManager)
+                styleManager = Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2;
+            var colorNumber:Number = styleManager.getColorName(value);
+            if (colorNumber != NOT_A_COLOR)
+                value = colorNumber;
+        }
+
+        // If the new value for styleProp is different from the one returned
+        // from the defaultFactory function, then store the new value on the
+        // overrides object. That way, future clones will get the new value.
+        if (defaultFactory != null)
+        {
+            o = new defaultFactory();
+            if (o[styleProp] !== value) // must use !==
+            {
+                if (!overrides)
+                    overrides = {};
+                overrides[styleProp] = value;
+            }
+            else if (overrides)
+            {
+                delete overrides[styleProp];
+            }
+        }
+
+        // If the new value for styleProp is different from the one returned
+        // from the factory function, then store the new value on the
+        // overrides object. That way, future clones will get the new value.
+        if (factory != null)
+        {
+            o = new factory();
+            if (o[styleProp] !== value) // must use !==
+            {
+                if (!overrides)
+                    overrides = {};
+                overrides[styleProp] = value;
+            }
+            else if (overrides)
+            {
+                delete overrides[styleProp];
+            }
+        }
+
+        if (defaultFactory == null && factory == null)
+        {
+            if (!overrides)
+                overrides = {};
+            overrides[styleProp] = value;
+        }
+
+        // Update all clones of this style sheet.
+        for (var clone:* in clones)
+        {
+            var cloneFilter:Object = clone[FILTERMAP_PROP];
+            if (cloneFilter)
+            {
+                if (cloneFilter[styleProp] != null)
+                {
+                    clone[cloneFilter[styleProp]] = value;
+                }
+            }
+            else
+            {
+                clone[styleProp] = value;
+            }
+        }
+    }
+
+    /**
+     *  Clears a style property on this CSSStyleDeclaration.
+     *
+     *  This is the same as setting the style value to undefined.
+     *
+     *  @param styleProp The name of the style property.
+     */
+    public function clearStyle(styleProp:String):void
+    {
+        public::setStyle(styleProp, undefined);
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal function createProtoChainRoot():Object
+    {
+        var root:Object = {};
+
+        // If there's a defaultFactory for this style sheet,
+        // then add the object it produces to the root.
+        if (defaultFactory != null)
+        {
+            defaultFactory.prototype = root;
+            root = new defaultFactory();
+        }
+
+        // If there's a factory for this style sheet,
+        // then add the object it produces to the root.
+        if (factory != null)
+        {
+            factory.prototype = root;
+            root = new factory();
+        }
+
+        clones[ root ] = 1;
+
+        return root;
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal function addStyleToProtoChain(chain:Object,
+                                         target:DisplayObject,
+                                         filterMap:Object = null):Object
+    {
+        var nodeAddedToChain:Boolean = false;
+        var originalChain:Object = chain;
+
+        if (filterMap)
+        {
+            chain = {};
+        }
+
+        // If there's a defaultFactory for this style sheet,
+        // then add the object it produces to the chain.
+        if (defaultFactory != null)
+        {
+            defaultFactory.prototype = chain;
+            chain = new defaultFactory();
+            nodeAddedToChain = true;
+        }
+
+        // If there's a factory for this style sheet,
+        // then add the object it produces to the chain.
+        if (factory != null)
+        {
+            factory.prototype = chain;
+            chain = new factory();
+            nodeAddedToChain = true;
+        }
+
+        // If someone has called setStyle() on this CSSStyleDeclaration,
+        // then some of the values returned from the factory are
+        // out-of-date. Overwrite them with the up-to-date values.
+        if (overrides)
+        {
+            // Before we add our overrides to the object at the head of
+            // the chain, make sure that we added an object at the head
+            // of the chain.
+            if (defaultFactory == null && factory == null)
+            {
+                var emptyObjectFactory:Function = function():void
+                {
+                };
+                emptyObjectFactory.prototype = chain;
+                chain = new emptyObjectFactory();
+                nodeAddedToChain = true;
+            }
+
+            for (var p:String in overrides)
+            {
+                if (overrides[p] === undefined)
+                    delete chain[p];
+                else
+                    chain[p] = overrides[p];
+            }
+        }
+
+        if (filterMap)
+        {
+            if (nodeAddedToChain)
+            {
+
+                var filteredChain:Object = {};
+                // Create an object on the head of the chain using the original chain
+                var filterObjectFactory:Function = function():void
+                {
+                };
+                filterObjectFactory.prototype = originalChain;
+                filteredChain = new filterObjectFactory();
+
+                for (var i:String in chain)
+                {
+                    if (filterMap[i] != null)
+                    {
+                        filteredChain[filterMap[i]] = chain[i];
+                    }
+                }
+
+                chain = filteredChain;
+                chain[FILTERMAP_PROP] = filterMap;
+            }
+            else
+            {
+                chain = originalChain;
+            }
+        }
+
+        if (nodeAddedToChain)
+            clones[chain] = 1;
+
+        return chain;
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal function clearOverride(styleProp:String):void
+    {
+        if (overrides && overrides[styleProp])
+            delete overrides[styleProp];
+    }
+
+    /**
+     *  @private
+     */
+    private function clearStyleAttr(styleProp:String):void
+    {
+        // Put "undefined" into our overrides Array
+        if (!overrides)
+            overrides = {};
+        overrides[styleProp] = undefined;
+
+        // Remove the property from all our clones
+        for (var clone:* in clones)
+        {
+            delete clone[styleProp];
+        }
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 17517
Author:   aharui@adobe.com
Date:     2010-08-30T20:12:47.469643Z

Log Message:
-----------
components should invalidateSize or invalidateDisplayList if needed in commitProperties.  There is no guarantee that measure or updateDisplayList will get called after commitProperties.

QE notes: none
Doc notes: none
Bugs: SDK-26815
Reviewer: Carol
Tests run: checkintests mustella/gumbo/RichEditableText, TextInput, TextArea
Is noteworthy for integration: no

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -2507,7 +2507,9 @@

                 textChanged = false;
                 textFlowChanged = false;
-                contentChanged = false;
+                contentChanged = false;
+				invalidateSize();
+				invalidateDisplayList();
             }

             // If displayAsPassword changed, it only applies to the display,


Transferred from the Adobe Open Source Subversion Repository

Revision: 8568
Author:   gosmith@adobe.com
Date:     2009-07-14T23:49:06.402675Z

Log Message:
-----------
My previous commit was unnecessary. We don't need to clone the TextScrap when post-processing a PasteOperation.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Carol to review

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -40,7 +40,6 @@
 import flashx.textLayout.edit.ISelectionManager;
 import flashx.textLayout.edit.SelectionManager;
 import flashx.textLayout.edit.SelectionState;
-import flashx.textLayout.edit.TextScrap;
 import flashx.textLayout.elements.Configuration;
 import flashx.textLayout.elements.InlineGraphicElementStatus;
 import flashx.textLayout.elements.TextFlow;
@@ -3011,12 +3010,10 @@
     {
         if (!restrict && !maxChars && !displayAsPassword)
             return;
-
-		var textScrap:TextScrap = op.textScrap.clone();

         // If copied/cut from displayAsPassword field the pastedText
         // is '*' characters but this is correct.
-        var pastedText:String = TextUtil.extractText(textScrap.textFlow);
+        var pastedText:String = TextUtil.extractText(op.textScrap.textFlow);

         // We know it's an EditManager or we wouldn't have gotten here.
         var editManager:IEditManager = getEditManager();


- change: Added Document#remove override that correctly de-registers nested documents from their parent document structures

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

--- src/reprise/ui/DocumentView.as
+++ src/reprise/ui/DocumentView.as
@@ -227,7 +227,23 @@
 		{
 			return false;
 		}
-
+
+		override public function remove(...args : *) : void
+		{
+			if (parentDocument)
+			{
+				parentDocument.removeChild(this);
+			}
+			else if (m_parentElement && m_parentElement != this)
+			{
+				m_parentElement.removeChild(this);
+			}
+			if (parent)
+			{
+				parent.removeChild(this);
+			}
+		}
+

 		/***************************************************************************
 		*							reprise methods								   *


Transferred from the Adobe Open Source Subversion Repository

Revision: 5257
Author:   jszeto@adobe.com
Date:     2009-03-11T22:12:50.289894Z

Log Message:
-----------
Flex SDK Bug Fixes

SDK-19314 Arrow keys which move a slider's thumb also scroll the player window.

If we handle an arrow key or HOME/END, then we stop it from propagating.

SDK-19443 FxHSlider doesnt position tooltip/datatip correctly when on the right edge of the flex app

Added logic to ensure that the dataTip stays in the bounds of the screen

SDK-19384 @review tags are appearing before asdoc descriptions, causing empty ASDoc tooltips in Flex Builder

Removed all occurrences of @review since it is no longer used.

QE Notes: n/a
Doc Notes: n/a
Bugs: SDK-19314, SDK-19443, SDK-19384
Reviewer: Ryan

Modified Paths:
--------------
<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/framework/src/mx/controls/MenuBar.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/frameworks/projects/flex4/src/mx/components/FxVSlider.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/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/DropDownBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>

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

--- frameworks/projects/mx/src/mx/controls/MenuBar.as
+++ frameworks/projects/mx/src/mx/controls/MenuBar.as
@@ -986,7 +986,6 @@
     /**
      *  The set of styles to pass from the MenuBar to the menuBar items.
      *  @see mx.styles.StyleProxy
-     *  @review
      *
      *  @langversion 3.0
      *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 11468
Author:   smgilson@adobe.com
Date:     2009-11-05T16:54:31.738281Z

Log Message:
-----------
Part 1 of ASDoc localization bug fixes

QE notes: -
Doc notes: -
Bugs: - FLEXDOCS-934, FLEXDOCS-909, FLEXDOCS-908, FLEXDOCS-906, FLEXDOCS-882, FLEXDOCS-883, FLEXDOCS-881
Reviewer: -
Tests run: - checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Pause.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quartic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeLeft.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quintic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quadratic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Cubic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeDown.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/HSBColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ArrayUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/TweenEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeRight.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/DefaultListEffect.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeUp.as</path>

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

--- frameworks/projects/mx/src/mx/effects/WipeDown.as
+++ frameworks/projects/mx/src/mx/effects/WipeDown.as
@@ -22,7 +22,7 @@
 [Alternative(replacement="spark.effects.Wipe", since="4.0")]

 /**
- *  The WipeDown class defines a bar wipe down effect.
+ *  The WipeDown class defines a wipe down effect.
  *  The before or after state of the component must be invisible.
  *
  *
You often use this effect with the showEffect
@@ -68,28 +68,28 @@
 {
     include "../core/Version.as";

-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------

-	/**
-	 *  Constructor.
-	 *
-	 *  @param target The Object to animate with this effect.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function WipeDown(target:Object = null)
-	{
-		super(target);
+    /**
+     *  Constructor.
+     *
+     *  @param target The Object to animate with this effect.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function WipeDown(target:Object = null)
+    {
+        super(target);

-		instanceClass = WipeDownInstance;
-	}
+        instanceClass = WipeDownInstance;
+    }
 }

 }


fixes #2, if users compile using Flex SDK 4 they'll have to uncomment the line in Text.as. See http://www.bit-101.com/blog/?p=2555 for details

--- net/flashpunk/graphics/Text.as
+++ net/flashpunk/graphics/Text.as
@@ -111,6 +111,9 @@
 		/** @private */ private var _size:uint;

 		// Default font family.
+		// Use this option when compiling with Flex SDK 4
+		// [Embed(source = '04B_03__.TTF', embedAsCFF="false", fontFamily = 'default')]
+		// Use this option when compiling with Flex SDK <4
 		[Embed(source = '04B_03__.TTF', fontFamily = 'default')]
 		/** @private */ private static var _FONT_DEFAULT:Class;
 	}


Remove default instantiation of CompositeCloneableClass.cloneable field.

--- dolly-framework/src/test/resources/dolly/data/CompositeCloneableClass.as
+++ dolly-framework/src/test/resources/dolly/data/CompositeCloneableClass.as
@@ -5,7 +5,7 @@
 [Cloneable]
 public class CompositeCloneableClass {

-	public var cloneable:CloneableClass = new CloneableClass();
+	public var cloneable:CloneableClass;

 	public var array:Array = [0, 1, 2, 3, 4];