Transferred from the Adobe Open Source Subversion Repository

Revision: 11247
Author:   klin@adobe.com
Date:     2009-10-28T21:59:11.963883Z

Log Message:
-----------
Fix for https://bugs.adobe.com/jira/browse/SDK-23184.

Updated a bunch of Style metadata ASDocs to describe different defaults between the Halo and Spark themes. Also, fixed a few typos along the way.

defaults.css - rearranged a few styles to be in alphabetical order
Button.as - removed extra emphasizedSkin style metadata
Panel.as - added spark theme to borderAlpha metadata

QE notes: None
Doc notes: None
Bugs: SDK-23184
Reviewer: Glenn
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/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBarButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/fl/video/NCManagerNative.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.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" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.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/controls/treeClasses/TreeItemRenderer.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/styles/metadata/TextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuItemRenderer.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/Tree.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="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.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/skins/halo/PopUpMenuIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/PaddingStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/GapStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/fl/video/NCManagerDynamicStream.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/FocusStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as
@@ -117,7 +117,7 @@

     //--------------------------------------------------------------------------
     //
-	//  overriden methods from GraphicElement
+	//  overridden methods from GraphicElement
     //
     //--------------------------------------------------------------------------


Added missing CModule free calls in rcRasterizeTriangles.

--- as3_lib/src/recastnavigation/recast/rcRasterizeTriangles.as
+++ as3_lib/src/recastnavigation/recast/rcRasterizeTriangles.as
@@ -19,6 +19,10 @@

 		internal_rcRasterizeTriangles(ctx.ptr, verts_ptr, tris_ptr, areas_ptr, nt, solid.ptr, flagMergeThr);

+		CModule.free(verts_ptr);
+		CModule.free(tris_ptr);
+		CModule.free(areas_ptr);
+
 	}

 }


Fix Editor null pointer exception when in UI Element picking mode.

--- Bin/Data/Scripts/Editor/EditorView.as
+++ Bin/Data/Scripts/Editor/EditorView.as
@@ -545,7 +545,7 @@
         bool multiselect = input.qualifierDown[QUAL_CTRL];

         // Only interested in user-created UI elements
-        if (elementAtPos !is editorUIElement && elementAtPos.GetElementEventSender() is editorUIElement)
+        if (elementAtPos !is null && elementAtPos !is editorUIElement && elementAtPos.GetElementEventSender() is editorUIElement)
         {
             ui.DebugDraw(elementAtPos);


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/containers/accordionClasses/AccordionHeader.as
+++ frameworks/projects/mx/src/mx/containers/accordionClasses/AccordionHeader.as
@@ -24,7 +24,6 @@
 import mx.core.mx_internal;
 import mx.styles.CSSStyleDeclaration;
 import mx.styles.ISimpleStyleClient;
-import mx.styles.StyleManager;

 use namespace mx_internal;


Fix #FLEX-33654 - allow ctrl/command key presses to be recieved and acted uppon in datagrid cells

--- frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as
@@ -1695,7 +1695,14 @@
         // Prevent the DataGrid from processing any keystrokes that were
         // received by the editor. We don't cancel the keystokes here
         // because on AIR that cancels text input into the text field.
-        event.stopPropagation();
+    	// We need to let the copy/cut/past combinations pass through
+    	// because they need to reach the NativeApplication in order to
+    	// be correctly processed by the item editors.
+        // Note on Mac OS ctrlKey covers ctrl and command keys
+    	if (!event.ctrlKey)
+    	{
+    		event.stopPropagation();
+    	}
     }

     /**
@@ -1785,4 +1792,4 @@
     }

 }
-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 12469
Author:   jimurphy@adobe.com
Date:     2009-12-03T22:04:16.560316Z

Log Message:
-----------
fix offsets for FB.  Convert line ending from lf to crlf in svn for the proects directory only.  When checking project files in, be sure to save you files this way.  Another update to make sure happens is set the svn properties svn:eol-style = native and svn:mime-type = text/plain (these have been updated on theses files as well)

QE notes: make sure the proper class is selected
Doc notes: no
Bugs: http://bugs.adobe.com/jira/browse/SDK-24498
Reviewer:
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
133 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/RotateInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/RotateInstance.as
@@ -1,4 +1,4 @@
-////////////////////////////////////////////////////////////////////////////////
+		////////////////////////////////////////////////////////////////////////////////
 //
 //  ADOBE SYSTEMS INCORPORATED
 //  Copyright 2008 Adobe Systems Incorporated
@@ -17,21 +17,21 @@

 //  Let (phi) be angle between r=(Ox,Oy - Cx,Cy) and -X Axis.
 //   (theta) be clockwise further angle of rotation.
-//
+//
 //  Xtheta = Cx - rCos(theta + phi);
 //  Ytheta = Cy - rSin(theta + phi);
-//
+//
 //  Xtheta = Cx - rCos(theta)Cos(phi) + rSin(theta)Sin(phi);
 //  Ytheta = Cy - rSin(theta)Cos(phi) - rCos(theta)Sin(phi);
-//
+//
 //  Now Cos(phi) = w/2r; Sin(phi) = h/2r;
-//
+//
 //  Xtheta = Cx - rCos(theta)Cos(phi) + rSin(theta)Sin(phi);
 //  Ytheta = Cy - rSin(theta)Cos(phi) - rCos(theta)Sin(phi);
-//
+//
 //  Xtheta = Cx - rCos(theta)w/2r + rSin(theta)h/2r;
 //  Ytheta = Cy - rSin(theta)w/2r - rCos(theta)h/2r;
-//
+//
 //  Xtheta = Cx - wCos(theta)/2 + hSin(theta)/2;
 //  Ytheta = Cy - wSin(theta)/2 - hCos(theta)/2;
 //
@@ -41,14 +41,14 @@
  * for the Rotate effect.
  * Flex creates an instance of this class when it plays a Rotate effect;
  * you do not create one yourself.
- *
+ *
  * @see spark.effects.Rotate
- *
+ *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
- */
+ */
 public class RotateInstance extends AnimateInstance
 {
     include "../../core/Version.as";
@@ -63,7 +63,7 @@
      *  Constructor.
      *
      *  @param target The Object to animate with this effect.
-     *
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
@@ -73,7 +73,7 @@
     {
         super(target);
     }
-
+
     //--------------------------------------------------------------------------
     //
     //  Variables
@@ -85,7 +85,7 @@
      * The x coordinate of the absolute point of rotation.
      */
     private var centerX:Number;
-
+
     /**
      * @private
      * The y coordinate of absolute point of rotation.
@@ -96,17 +96,17 @@
      * @private
      */
     private var newX:Number;
-
+
     /**
      * @private
      */
     private var newY:Number;
-
+
     /**
      * @private
      */
     private var originalOffsetX:Number;
-
+
     /**
      * @private
      */
@@ -116,7 +116,7 @@
      * @private
      */
     private var lastRotation:Number;
-
+
     //--------------------------------------------------------------------------
     //
     //  Properties
@@ -129,41 +129,41 @@

     [Inspectable(category="General")]

-    /**
+    /**
      *  @copy spark.effects.Rotate#angleFrom
-     *
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
     public var angleFrom:Number;
-
+
     //----------------------------------
     //  angleTo
     //----------------------------------

     [Inspectable(category="General")]

-    /**
+    /**
      *  @copy spark.effects.Rotate#angleTo
-     *
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
     public var angleTo:Number;
-
+
     //----------------------------------
     //  angleBy
     //----------------------------------

     [Inspectable(category="General")]

-    /**
+    /**
      *  @copy spark.effects.Rotate#angleBy
-     *
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
@@ -177,21 +177,21 @@

     /**
      *  @copy spark.effects.Rotate#originX
-     *
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
     public var originX:Number;
-
+
     //----------------------------------
     //  originY
     //----------------------------------
-
+
     /**
      *  @copy spark.effects.Rotate#originY
-     *
+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
@@ -211,12 +211,12 @@
     override public function play():void
     {
         lastRotation = getCurrentValue("rotation");
-        var radVal:Number = Math.PI * lastRotation / 180;
-
+        var radVal:Number = Math.PI * lastRotation / 180;
+
         // Default to the center
         if (isNaN(originX))
             originX = getCurrentValue("width") / 2;
-
+
         if (isNaN(originY))
             originY = getCurrentValue("height") / 2;

@@ -231,10 +231,10 @@
         if (isNaN(angleFrom))
             if (!isNaN(angleTo) && !isNaN(angleBy))
                 angleFrom = angleTo - angleBy;
-            else if (propertyChanges &&
+            else if (propertyChanges &&
                 propertyChanges.start["rotation"] !== undefined)
                 angleFrom = propertyChanges.start["rotation"];
-
+
         if (isNaN(angleTo))
         {
             if (isNaN(angleBy) &&
@@ -246,26 +246,26 @@
             else
             {
                 if (!isNaN(angleBy) && !isNaN(angleFrom))
-                    angleTo = angleFrom + angleBy;
+                    angleTo = angleFrom + angleBy;
             }
         }
-
+
         originalOffsetX = originX * Math.cos(radVal) - originY * Math.sin(radVal);
         originalOffsetY = originX * Math.sin(radVal) + originY * Math.cos(radVal);

         newX = Number((centerX - originalOffsetX).toFixed(1)); // use a precision of 1
         newY = Number((centerY - originalOffsetY).toFixed(1)); // use a precision of 1
-
+
         motionPaths = new <MotionPath>[new MotionPath("rotation")];
-        motionPaths[0].keyframes = new <Keyframe>[new Keyframe(0, angleFrom),
+        motionPaths[0].keyframes = new <Keyframe>[new Keyframe(0, angleFrom),
             new Keyframe(duration, angleTo, angleBy)];

         super.play();
     }
-
-    /**
-     * @private
-     *
+
+    /**
+     * @private
+     *
      * We override updateHandler because we must set x and y according
      * to the current target location and the specified rotationX/Y values.
      */
@@ -278,13 +278,13 @@
         // If somebody else has changed the rotation
         if (Math.abs(targetRotation - lastRotation) > 0.1)
         {
-            var radValCurr:Number = Math.PI * target.rotation / 180;
-            originalOffsetX = originX * Math.cos(radValCurr) -
+            var radValCurr:Number = Math.PI * target.rotation / 180;
+            originalOffsetX = originX * Math.cos(radValCurr) -
                 originY * Math.sin(radValCurr);
-            originalOffsetY = originX * Math.sin(radValCurr) +
+            originalOffsetY = originX * Math.sin(radValCurr) +
                 originY * Math.cos(radValCurr);
         }
-
+
         // If somebody else has changed the position
         if (Math.abs(newX - targetX) > 0.1)
             centerX = targetX + originalOffsetX;
@@ -292,22 +292,22 @@
         if (Math.abs(newY - targetY) > 0.1)
             centerY = targetY + originalOffsetY;

-        var rotateValue:Number = Number(animation.currentValue["rotation"]);
+        var rotateValue:Number = Number(animation.currentValue["rotation"]);
         var radVal:Number = Math.PI * rotateValue / 180;

         newX = centerX - originX * Math.cos(radVal) + originY * Math.sin(radVal);
         newY = centerY - originX * Math.sin(radVal) - originY * Math.cos(radVal);
-
+
         newX = Number(newX.toFixed(1)); // use a precision of 1
         newY = Number(newY.toFixed(1)); // use a precision of 1
-
+
         setValue("x", newX);
         setValue("y", newY);
-
+
         // Now have the superclass handle the actual rotation as well as any
         // other event processing details
         super.animationUpdate(animation);
-
+
         // Cache the rotation we set for possible future adjustment of offsets
         lastRotation = getCurrentValue("rotation");
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7445
Author:   gruehle@adobe.com
Date:     2009-05-29T20:51:55.035384Z

Log Message:
-----------
Replace a bunch of event name literals with constants.

Bug: SDK-21271
QA Notes:
Doc Notes:
Reviewer: Chet

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/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SoundEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBar.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/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ErrorSkin.as</path>

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

--- frameworks/projects/airspark/src/spark/components/Window.as
+++ frameworks/projects/airspark/src/spark/components/Window.as
@@ -35,6 +35,7 @@
 import mx.core.mx_internal;
 import mx.core.UIComponent;
 import mx.events.AIREvent;
+import mx.events.EffectEvent;
 import mx.events.FlexEvent;
 import mx.events.FlexNativeWindowBoundsEvent;
 import mx.events.WindowExistenceEvent;
@@ -910,7 +911,7 @@
                 e = new FlexEvent(FlexEvent.HIDE);
                 if (getStyle("hideEffect"))
                 {
-                    addEventListener("effectEnd", hideEffectEndHandler);
+                    addEventListener(EffectEvent.EFFECT_END, hideEffectEndHandler);
                 }
                 else
                 {
@@ -1866,8 +1867,8 @@
             nativeApplication.addEventListener(Event.ACTIVATE, nativeApplication_activateHandler, false, 0, true);
             nativeApplication.addEventListener(Event.DEACTIVATE, nativeApplication_deactivateHandler, false, 0, true);
             nativeApplication.addEventListener(Event.NETWORK_CHANGE, dispatchEvent, false, 0, true);
-            _nativeWindow.addEventListener("activate", nativeWindow_activateHandler, false, 0, true);
-            _nativeWindow.addEventListener("deactivate", nativeWindow_deactivateHandler, false, 0, true);
+            _nativeWindow.addEventListener(Event.ACTIVATE, nativeWindow_activateHandler, false, 0, true);
+            _nativeWindow.addEventListener(Event.DEACTIVATE, nativeWindow_deactivateHandler, false, 0, true);

             addEventListener(Event.ENTER_FRAME, enterFrameHandler);

@@ -2402,7 +2403,7 @@
     {
         if (!nativeWindow.closed)
             stage.nativeWindow.minimize();
-        removeEventListener("effectEnd", windowMinimizeHandler);
+        removeEventListener(EffectEvent.EFFECT_END, windowMinimizeHandler);
     }

     /**
@@ -2410,7 +2411,7 @@
      */
     private function windowUnminimizeHandler(event:Event):void
     {
-        removeEventListener("effectEnd", windowUnminimizeHandler);
+        removeEventListener(EffectEvent.EFFECT_END, windowUnminimizeHandler);
     }

     /**
@@ -2455,7 +2456,7 @@
             if (getStyle("minimizeEffect"))
             {
                 event.preventDefault();
-                addEventListener("effectEnd", windowMinimizeHandler);
+                addEventListener(EffectEvent.EFFECT_END, windowMinimizeHandler);
                 dispatchEvent(new Event("windowMinimize"));
             }
         }
@@ -2463,7 +2464,7 @@
         // After here, afterState is normal
         else if (event.beforeDisplayState == NativeWindowDisplayState.MINIMIZED)
         {
-            addEventListener("effectEnd", windowUnminimizeHandler);
+            addEventListener(EffectEvent.EFFECT_END, windowUnminimizeHandler);
             dispatchEvent(new Event("windowUnminimize"));
         }
     }
@@ -2473,7 +2474,7 @@
      */
     private function windowMaximizeHandler(event:Event):void
     {
-        removeEventListener("effectEnd", windowMaximizeHandler);
+        removeEventListener(EffectEvent.EFFECT_END, windowMaximizeHandler);
         if (!nativeWindow.closed)
             stage.nativeWindow.maximize();
     }
@@ -2483,7 +2484,7 @@
      */
     private function windowUnmaximizeHandler(event:Event):void
     {
-        removeEventListener("effectEnd", windowUnmaximizeHandler);
+        removeEventListener(EffectEvent.EFFECT_END, windowUnmaximizeHandler);
         if (!nativeWindow.closed)
             stage.nativeWindow.restore();
     }
@@ -2792,7 +2793,7 @@
      */
     private function window_closeEffectEndHandler(event:Event):void
     {
-        removeEventListener("effectEnd", window_closeEffectEndHandler);
+        removeEventListener(EffectEvent.EFFECT_END, window_closeEffectEndHandler);
         if (!nativeWindow.closed)
             stage.nativeWindow.close();
     }
@@ -2811,7 +2812,7 @@
         else if (getStyle("closeEffect") &&
                  stage.nativeWindow.transparent == true)
         {
-            addEventListener("effectEnd", window_closeEffectEndHandler);
+            addEventListener(EffectEvent.EFFECT_END, window_closeEffectEndHandler);
             dispatchEvent(new Event("windowClose"));
             event.preventDefault();
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17276
Author:   aharui@adobe.com
Date:     2010-08-11T18:13:47.792177Z

Log Message:
-----------
Relax assumptions in Window/WindowedApplication's mouseDownHandler

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

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

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

--- frameworks/projects/airspark/src/spark/components/Window.as
+++ frameworks/projects/airspark/src/spark/components/Window.as
@@ -2485,11 +2485,11 @@
         if (event.target is DisplayObject && event.target != contentGroup)
         {
            var o:DisplayObject = DisplayObject(event.target);
-            while (o != contentGroup && o != this)
-                o = o.parent;
-
-            if (o == contentGroup)
-                return NativeWindowResize.NONE;
+		   while (o && o != contentGroup && o != this)
+			   o = o.parent;
+
+		   if (o == null || o == contentGroup)
+			   return NativeWindowResize.NONE;
         }

         var hitTestResults:String = NativeWindowResize.NONE;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3220
Author:   smgilson@adobe.com
Date:     2008-09-16T13:04:06.258509Z

Log Message:
-----------
Clean up some ASDoc comments to remove the '&' character

Checkin Test Passed: Yes
QA: No
Bug:
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/LayoutItemFDO.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/intf/ILayoutItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TransformUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/LayoutItemUIC.as</path>

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

--- frameworks/projects/framework/src/mx/core/ILayoutElement.as
+++ frameworks/projects/framework/src/mx/core/ILayoutElement.as
@@ -25,7 +25,7 @@
  *
  *  Example: Consider a rectangle width=3, height=1 with rotation=90
  *
- * 	Ubounds (before transform) are (3,1):
+ *  Ubounds (before transform) are (3,1):
  *       +--------+
  *       |        |
  *       +--------+
@@ -77,7 +77,7 @@

     /**
      *  @return Returns the item TBounds size.
-     */
+     */
     function get actualSize():Point;

     /**
@@ -92,13 +92,13 @@
     function setActualPosition( x:Number, y:Number ):void;

     /**
-     * 	setActualSize modifies the item size/transform so that
+     *  setActualSize modifies the item size/transform so that
      *  its TBounds have the specified width and height.
      *
      *  If one of the desired TBounds dimensions is left unspecified, it's size
      *  will be picked such that item can be optimally sized to fit the other
      *  TBounds dimension. This is useful when the layout doesn't want to
-     *  overconstrain the item in cases where the item TBounds width & height
+     *  overconstrain the item in cases where the item TBounds width and height
      *  are dependent (text, components with complex transforms, etc.)
      *
      *  If both TBounds dimensions are left unspecified, the item will have its


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 4496
Author:   rfrishbe@adobe.com
Date:     2009-01-13T07:52:44.833841Z

Log Message:
-----------
Cleanups in Group and DataGroup.  Change RTEs so not as many will have to be localized.  Also, when mxmlContent is set, we clean up the old mxmlContent better and send out remove events.

QE Notes: Need to write tests when the mxmlContent gets set (remove events get dispatched).
Doc Notes: None
Bugs: SDK-18501, SDK-18064
Reviewer: Jason, Glenn
tests: checkintests, mustella Group, DataGroup, FxDataContainer, FxContainer, FxList, and GraphicTags tests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/core/IGraphicElement.as
+++ frameworks/projects/spark/src/spark/core/IGraphicElement.as
@@ -143,10 +143,13 @@
     function createDisplayObject():DisplayObject;

     /**
-     *  Destroys the DisplayObject where the GraphicElement is drawn,
-     *  if it exists.  This methods also nulls out the graphic element's
-     *  displayObject property.
+     *  This method is called to let the GraphicElement know that the
+     *  display object is no longer needed.  This does not remove the
+     *  display object from the display list.
+     *
+     *  @return The display object that this graphic element owned (null
+     *  if it didn't own one).
      */
-    function destroyDisplayObject():void;
+    function destroyDisplayObject():DisplayObject;
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/mx/src/mx/controls/ToggleButtonBar.as
+++ frameworks/projects/mx/src/mx/controls/ToggleButtonBar.as
@@ -29,6 +29,11 @@
 /**
  *  Name of CSS style declaration that specifies styles for the text of the
  *  selected button.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectedButtonTextStyleName", type="String", inherit="no")]

@@ -166,6 +171,11 @@
  *
  *  @see mx.controls.ButtonBar
  *  @see mx.controls.LinkBar
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class ToggleButtonBar extends ButtonBar
 {
@@ -179,6 +189,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function ToggleButtonBar()
     {
@@ -236,6 +251,11 @@
      *
      *
The default value is 0.
 	 *  A value of -1 deselects all the buttons in the bar.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get selectedIndex():int
     {
@@ -300,6 +320,11 @@
      *  the selectedIndex property is set to -1.
      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get toggleOnClick():Boolean
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/mx/src/mx/skins/halo/PopUpMenuIcon.as
+++ frameworks/projects/mx/src/mx/skins/halo/PopUpMenuIcon.as
@@ -17,6 +17,11 @@

 /**
  *  The skin for all the states of the icon in a PopUpMenuButton.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class PopUpMenuIcon extends PopUpIcon
 {
@@ -30,6 +35,11 @@

     /**
      *  Constructor
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function PopUpMenuIcon()
     {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 19337
Author:   mhorn@adobe.com
Date:     2010-12-13T22:01:27.841985Z

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.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/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" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.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="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/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/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextSkinBase.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/ListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.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/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.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/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.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/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/HScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as
@@ -27,10 +27,10 @@
 import spark.skins.mobile320.assets.HSliderThumb_pressed;

 /**
- *  Actionscript based skin for the HSlider thumb skin part on mobile applications.
+ *  ActionScript-based skin for the HSlider thumb skin part in mobile applications.
  *
- *  Note that this particular implementation defines a hit zone which is larger than
- *  the visible thumb for better usability on mobile screens.
+ *
Note that this particular implementation defines a hit zone which is larger than
+ *  the visible thumb for better usability on mobile screens.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 6843
Author:   jimurphy@adobe.com
Date:     2009-05-12T13:58:34.182467Z

Log Message:
-----------
Merged beta1 revisions 6793,6796-6797,6802,6805,6808-6809,6831 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/MouseShieldUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -209,6 +209,55 @@
         return 0;
     }

+    //----------------------------------
+    //  mouseChildren
+    //----------------------------------
+
+    private var _explicitMouseChildren:Boolean = true;
+
+    /**
+     *  @private
+     */
+    override public function set mouseChildren(value:Boolean):void
+    {
+        if (enabled)
+            super.mouseChildren = value;
+        _explicitMouseChildren = value;
+    }
+
+    //----------------------------------
+    //  mouseEnabled
+    //----------------------------------
+
+    private var _explicitMouseEnabled:Boolean = true;
+
+    /**
+     *  @private
+     */
+    override public function set mouseEnabled(value:Boolean):void
+    {
+        if (enabled)
+            super.mouseEnabled = value;
+        _explicitMouseEnabled = value;
+    }
+
+    //----------------------------------
+    //  enabled
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    override public function set enabled(value:Boolean):void
+    {
+        super.enabled = value;
+
+        // If enabled, reset the mouseChildren, mouseEnabled to the previously
+        // set explicit value, otherwise disable mouse interaction.
+        super.mouseChildren = value ? _explicitMouseChildren : false;
+        super.mouseEnabled  = value ? _explicitMouseEnabled  : false;
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Properties


Transferred from the Adobe Open Source Subversion Repository

Revision: 18548
Author:   rfrishbe@adobe.com
Date:     2010-11-11T22:05:22.380108Z

Log Message:
-----------
Just fixing up some ASDocs around touchDelay.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -182,8 +182,8 @@
 [Style(name="symbolColor", type="uint", format="Color", inherit="yes", theme="spark, mobile")]

 /**
- *  When in touch interaction mode, the number of milliseconds to wait before showing the
- *  component in a visually down state.
+ *  When in touch interaction mode, the number of milliseconds to wait after the user
+ *  interaction has occured before showing the component in a visually down state.
  *
  *
The reason for this delay is because when a user initiates a scroll gesture, we don't want
  *  components to flicker as they touch the screen.  By having a reasonable delay, we make
@@ -195,7 +195,7 @@
  *  components inside of a Scroller and 0 ms for components outside of a Scroller.

  *
  *  @langversion 3.0
- *  @playerversion Flash 10
+ *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */


Transferred from the Adobe Open Source Subversion Repository

Revision: 19395
Author:   hmuller@adobe.com
Date:     2010-12-15T19:17:26.366313Z

Log Message:
-----------
Improved List scroll positioning after a dataProvider refresh for one case: if the caret item is visible, after a refresh attempt to scroll so that it's in the same relative position, and select it.

DataGroup/getElementAt(index) now returns the item renderer for index, even if index is not a valid dataProvider index (anymore).

QE notes: Four Mustella tests to be updated (Jacob, Ella).
Doc notes:
Bugs: SDK-23283
Reviewer: Ryan
Tests run: checkin, mustella
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/IGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -24,6 +24,7 @@
 import flash.geom.Point;
 import flash.geom.Rectangle;

+import mx.core.ILayoutElement;
 import mx.core.IVisualElement;
 import mx.core.UIComponent;
 import mx.core.UIComponentGlobals;
@@ -1449,6 +1450,20 @@
         return (layout) ? layout.getVerticalScrollPositionDelta(navigationUnit) : 0;
     }

+    /**
+     *  @private
+     *  @copy spark.layouts.supportClasses.LayoutBase#isElementVisible()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    mx_internal function isElementVisible(elt:ILayoutElement):Boolean
+    {
+        return layout && layout.isElementVisible(elt);
+    }
+
     //--------------------------------------------------------------------------
     //
     //  IViewport properties


Transferred from the Adobe Open Source Subversion Repository

Revision: 18901
Author:   cframpto@adobe.com
Date:     2010-12-01T18:35:45.994592Z

Log Message:
-----------
Redo SDK-28672.  A nice side effect is that setStyle() is now supported in the DefaultGridItemRenderer and the GridItemRenderer.
Fix comment in UIComponent.

QE notes:
Doc notes:
Bugs: SDK-28672
Reviewer: Darrell, Hans
Tests run: cyclone
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as</path>

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

--- frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as
+++ frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as
@@ -58,6 +58,10 @@
 [Exclude(name="layoutDirection", kind="property")]
 [Exclude(name="layoutDirection", kind="style")]

+// Make these properties act like styles.
+[Exclude(name="direction", kind="property")]
+[Exclude(name="locale", kind="property")]
+
 /**
  *   A simple and efficient IGridItemRenderer that displays a single text label.  This
  *   class is the default value for the s:DataGrid itemRenderer property.   It's based
@@ -107,30 +111,27 @@

         addEventListener(ToolTipEvent.TOOL_TIP_SHOW, toolTipShowHandler);
     }
+
+    /**
+     * @private
+     * Convert this property to a style.  UIFTETextField will retrieve the
+     * style and set the underlying property in FTETextField.
+     */
+    override public function set direction(value:String):void
+    {
+        setStyle("direction", value);
+    }
+
+    /**
+     * @private
+     * Convert this property to a style.  UIFTETextField will retrieve the
+     * style and set the underlying property in FTETextField.
+     */
+    override public function set locale(value:String):void
+    {
+        setStyle("locale", value);
+    }

-    /**
-     *  @private
-     *
-     *  Called from initProtoChain() in TextFieldGridItemRendererInclude.as.
-     */
-    private function addStyleDeclarationToProtoChain(chain:Object,
-                                                       target:DisplayObject):Object
-    {
-        // Add style declaration to the proto chain as usual but also add
-        // direction and locale styles.
-        // The "direction" and "locale" are treated as properites instead of
-        // styles by the compiler when the DefaultGridItemRenderer is used.
-        // This means styleDeclaration will not include these inline styles.
-        // This code adds "direction" and "locale" back into styleDeclaration
-        // so the style system sees the styles.
-        var styles:Object = styleDeclaration.addStyleToProtoChain(chain, target);
-
-        styles.direction = direction;
-        styles.locale = locale;
-
-        return styles;
-    }
-
 include "TextFieldGridItemRendererInclude.as"

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12906
Author:   smgilson@adobe.com
Date:     2009-12-14T17:49:41.738470Z

Log Message:
-----------
Hide nonDeltaLayoutMatrix() from ASDoc for UIComponent.as

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

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -13147,6 +13147,9 @@
         return _layoutFeatures.layoutMatrix3D.clone();
     }

+    /**
+     *  @private
+     */
     protected function nonDeltaLayoutMatrix():Matrix
     {
         if (!hasComplexLayoutMatrix)


Transferred from the Adobe Open Source Subversion Repository

Revision: 3829
Author:   shodgson@adobe.com
Date:     2008-10-22T21:57:55.570499Z

Log Message:
-----------
Bug: BLZ-259 - After disconnecting from streaming channel and resubscribing to destination Consumer may not receive messages.
QA: Yes
Doc: No
Checkintests: Pass

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as

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

--- frameworks/projects/rpc/src/mx/messaging/MessageAgent.as
+++ frameworks/projects/rpc/src/mx/messaging/MessageAgent.as
@@ -686,6 +686,9 @@
     {
         if (!_disconnectBarrier)
         {
+            // Ensure wait queue for client id value is destroyed.
+            _clientIdWaitQueue = null;
+
             _disconnectBarrier = true;
             if (_channelSetMode == AUTO_CONFIGURED_CHANNELSET)
                 internalSetChannelSet(null);


Transferred from the Adobe Open Source Subversion Repository

Revision: 20157
Author:   jszeto@adobe.com
Date:     2011-02-05T00:00:00.317113Z

Log Message:
-----------
ViewMenu and SoftKeyboard interaction bug fixes

http://bugs.adobe.com/jira/browse/SDK-29144 - Incorrect ViewMenu and Softkeyboard interraction

FocusManager listens for the VIEW_HIDE event and will clear focus if the lastFocus is contained in the View about to be hidden.

Small updates to Application to make sure the isSoftKeyboardActive flag is set in all use cases.

http://bugs.adobe.com/jira/browse/SDK-29384 - SoftKeybord does not appear onTextArea tap in some test cases

In mouseDown handler, if we are already in focus, then make sure the soft keyboard appears on mouseUp

QE notes: none
Doc notes: none
Bugs: SDK-29144
Reviewer: Alex
Tests run: checkintests
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/supportClasses/StyleableTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/FocusManager.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@1264082 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as
@@ -1226,11 +1226,16 @@
             }
         }

+        if (activeView)
+            activeView.dispatchEvent(new FlexEvent(FlexEvent.VIEW_HIDE));
+
         _proposedSelectedIndex = value;
         selectedIndexChanged = true;
         changingEventDispatched = false;

         invalidateProperties();
+
+
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 17401
Author:   dthakkar@adobe.com
Date:     2010-08-20T03:21:57.711520Z

Log Message:
-----------
Flex integration bug fixes

QE notes: No
Doc notes: No
Bugs: SDK-27420, SDK-26936, SDK-27452
Reviewer: Craig , Masa
Tests run: Checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/GlobalizationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>

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

--- frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as
+++ frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as
@@ -189,7 +189,7 @@
         if (g11nWorkingInstance)
             return g11nWorkingInstance.actualLocaleIDName;

-        if (!localeStyle)
+        if ((localeStyle === undefined) || (localeStyle === null))
         {
             fallbackLastOperationStatus
                                 = LastOperationStatus.LOCALE_UNDEFINED_ERROR;
@@ -514,7 +514,7 @@
      */
     override mx_internal function createWorkingInstance():void
     {
-        if (!localeStyle)
+        if ((localeStyle === undefined) || (localeStyle === null))
         {
             fallbackLastOperationStatus
                                 = LastOperationStatus.LOCALE_UNDEFINED_ERROR;
@@ -593,7 +593,7 @@
         if (g11nWorkingInstance)
             return g11nWorkingInstance.compare(string1, string2);

-        if (!localeStyle)
+        if ((localeStyle === undefined) || (localeStyle === null))
         {
             fallbackLastOperationStatus
                                 = LastOperationStatus.LOCALE_UNDEFINED_ERROR;
@@ -633,7 +633,7 @@
         if (g11nWorkingInstance)
             return g11nWorkingInstance.equals(string1, string2);

-        if (!localeStyle)
+        if ((localeStyle === undefined) || (localeStyle === null))
         {
             fallbackLastOperationStatus
                                 = LastOperationStatus.LOCALE_UNDEFINED_ERROR;


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

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

 package mx.core
 {


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


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

--- frameworks/projects/rpc/src/mx/messaging/AbstractMessageStore.as
+++ frameworks/projects/rpc/src/mx/messaging/AbstractMessageStore.as
@@ -0,0 +1,638 @@
+/*************************************************************************
+ *
+ * ADOBE CONFIDENTIAL
+ * __________________
+ *
+ *  [2002] - [2007] Adobe Systems Incorporated
+ *  All Rights Reserved.
+ *
+ * NOTICE:  All information contained herein is, and remains
+ * the property of Adobe Systems Incorporated and its suppliers,
+ * if any.  The intellectual and technical concepts contained
+ * herein are proprietary to Adobe Systems Incorporated
+ * and its suppliers and may be covered by U.S. and Foreign Patents,
+ * patents in process, and are protected by trade secret or copyright law.
+ * Dissemination of this information or reproduction of this material
+ * is strictly forbidden unless prior written permission is obtained
+ * from Adobe Systems Incorporated.
+ */
+package mx.messaging
+{
+
+import flash.display.DisplayObject;
+import flash.errors.IllegalOperationError;
+import flash.events.StatusEvent;
+import mx.core.mx_internal;
+import mx.collections.ArrayCollection;
+import mx.collections.ListCollectionView;
+import mx.events.PropertyChangeEvent;
+import mx.messaging.messages.IMessage;
+import mx.rpc.AsyncDispatcher;
+import mx.rpc.AsyncToken;
+import mx.rpc.events.FaultEvent;
+import mx.rpc.events.ResultEvent;
+import mx.rpc.Fault;
+
+use namespace mx_internal;
+
+/**
+ *  Dispatched when the status of the message queue changes.
+ *
+ *  @see mx.messaging.events.MessageQueueStatusCode
+ *
+ *  @eventType flash.events.StatusEvent.STATUS
+ */
+[Event(name="status", type="flash.events.StatusEvent")]
+
+/**
+ * The result event is dispatched when an asynchronous operation of
+ * the message queue completes successfully.
+ *
+ * @eventType mx.rpc.events.ResultEvent.RESULT
+ */
+[Event(name="result", type="mx.rpc.events.ResultEvent")]
+
+/**
+ * The fault event is dispatched when an asynchronous operation of
+ * the message queue fails.
+ *
+ * @eventType mx.rpc.events.FaultEvent.FAULT
+ */
+[Event(name="fault", type="mx.rpc.events.FaultEvent")]
+
+[ExcludeClass]
+/**
+ * @private
+ *  The base class for message queue implementations.
+ */
+public class AbstractMessageStore extends ArrayCollection
+{
+    //--------------------------------------------------------------------------
+    //
+    // Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructs an AbstractMessageStore.
+     */
+    public function AbstractMessageStore()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Properties
+    //
+    //--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  autoSend
+	//----------------------------------
+
+    private var _autoSend:Boolean;
+
+    [Bindable(event="propertyChange")]
+
+    /**
+     *  Indicates whether queued messages are automatically sent upon
+     *  connect or reconnect of the associated Producer.
+     */
+    public function get autoSend():Boolean
+    {
+        return _autoSend;
+    }
+
+    public function set autoSend(value:Boolean):void
+    {
+        if (_autoSend != value)
+        {
+            var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "autoSend", _autoSend, value);
+            _autoSend = value;
+
+            attemptToSendOrConnect();
+
+            dispatchEvent(event);
+        }
+    }
+
+	//----------------------------------
+	//  cacheID
+	//----------------------------------
+
+	private var _cacheId:String;
+
+	[Bindable(event="propertyChange")]
+
+    /**
+     *  Provides access to the cache identifier for this service.
+     *  A cache identifier must be set prior to performing any operations that
+     *  require interaction with data stored locally on disk.
+     *  If a cache identifier is not set all cache methods and properties are
+     *  considered inconsistent and a IllegalOperationError will be
+     *  thrown during any operation that requires data from the local disk.
+     *  This property is provides a unique "session" identifier for data stored
+     *  locally.
+     *  A developer must set this property to a unique value for the
+     *  application.
+     *  A value of null or empty string is considered unset.
+     */
+    public function get cacheID():String
+    {
+        return _cacheId;
+    }
+
+    public function set cacheID(value:String):void
+    {
+        if (_cacheId != value)
+        {
+            _initialized = value == null;
+            _cacheId = value;
+
+            internalSetCacheId(value);
+        }
+    }
+
+	//----------------------------------
+	//  isInitialized
+	//----------------------------------
+
+    // only not initialized by default if there is a cacheID set otherwise
+    // this store is in-memory only and is ready to use at construction time
+    // for details see setter for cacheID
+    protected var _initialized:Boolean = true;
+
+    [Bindable(event="propertyChange")]
+    /**
+     *  Indicates if the store has been initialized.
+     *  If not initialized call the initialize() method before
+     *  using this store.
+     */
+     public function get isInitialized():Boolean
+     {
+         return _initialized;
+     }
+
+	//----------------------------------
+	//  loaded
+	//----------------------------------
+
+    private var _loaded:Boolean;
+
+    [Bindable(event="propertyChange")]
+
+    /**
+     *  True if the persistent state for the store has been loaded.
+     */
+    public function get loaded():Boolean
+    {
+        return _loaded;
+    }
+
+	//----------------------------------
+	//  producer
+	//----------------------------------
+
+    private var _producer:AbstractProducer;
+
+    [Bindable(event="propertyChange")]
+
+    /**
+     *  The Producer the queue is assigned to.
+     */
+    public function get producer():AbstractProducer
+    {
+        return _producer;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Public Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Adds the passed message to the queue.
+     *  If the queue is configured to autoSend and the associated Producer is connected
+     *  the message is sent directly rather than being queued.
+     *
+     *  @param item The message to add to the queue.
+     */
+    override public function addItem(item:Object):void
+    {
+        var msg:IMessage = IMessage(item);
+        if (msg != null)
+        {
+            if (autoSend && producer != null && producer.connected)
+                producer.send(msg);
+            else
+                super.addItem(msg);
+        }
+    }
+
+    /**
+     *  Clears out the persistent store and the in-memory state for the MessageStore.
+     *  Add a responder to the returned token to handle success or failure.
+     *  Alternately add any desired data to the token and listen for general
+     *  ResultEvents and FaultEvents dispatched by the MessageStore.
+     *
+     *  @throws IllegalOperationError if no cacheID has been set
+     */
+    public function clearCache():AsyncToken
+    {
+        checkCacheId();
+	    var token:AsyncToken = new AsyncToken(null);
+	    var ms:AbstractMessageStore = this;
+        var success:Function = function():void
+        {
+            ms.internalClearCache(token);
+        }
+
+        var failed:Function = function():void
+        {
+	        dispatchFaultEvent(getInitFailedFault(), token);
+        }
+
+        if (!isInitialized)
+            internalInitialize(success, failed);
+        else
+            new AsyncDispatcher(success, [], 1);
+
+        return token;
+    }
+
+    /**
+     *  This method will fill the specified ListCollectionView
+     *  with all cache identifiers previously used in the application.
+     *
+     *  @param view ListcollectionView reference to a collection that should be
+     *  filled with all cache identifiers previously used in the application.
+	 *  @return AsyncToken reference to the token that will identify this
+	 *  operation in a result or fault event dispatched from this service.
+     */
+    public function getCacheIDs(view:ListCollectionView):AsyncToken
+    {
+        var result:AsyncToken = new AsyncToken(null);
+        internalGetCacheIDs(view, result);
+        return result;
+    }
+
+
+    /**
+     *  Intializes the message store.
+     *
+     *  @return AsyncToken which can be used to respond to the success or
+     *  failure of the operation.
+     */
+    public function initialize():AsyncToken
+    {
+        var result:AsyncToken = new AsyncToken(null);
+        var success:Function = function():void
+        {
+            var event:ResultEvent = ResultEvent.createEvent(null, result);
+            dispatchResultEvent(event, result);
+        }
+
+        var failed:Function = function():void
+        {
+	        dispatchFaultEvent(getInitFailedFault(), result);
+        }
+
+        if (!isInitialized)
+            internalInitialize(success, failed);
+        else
+            new AsyncDispatcher(success, [], 1);
+
+	    return result;
+    }
+
+    /**
+     *  Loads the current persistent messages for the queue after clearing out
+     *  its current in-memory state.
+     *  This method can be used to return the store to its last known good
+     *  persistent state if the addition of a message overruns the allowed
+     *  persistent storage space and fails.
+     *  A cacheID must be set before this method can be called.
+     *
+     *  @throws IllegalOperationError if the cacheID property is
+     *  invalid.
+     *  @see mx.messaging.MessageStore#cacheID
+     */
+    public function loadCache():AsyncToken
+    {
+        checkCacheId();
+	    var token:AsyncToken = new AsyncToken(null);
+	    var ms:AbstractMessageStore = this;
+        var success:Function = function():void
+        {
+            ms.internalLoadCache(token);
+        }
+
+        var failed:Function = function():void
+        {
+	        dispatchFaultEvent(getInitFailedFault(), token);
+        }
+
+        if (!isInitialized)
+            internalInitialize(success, failed);
+        else
+            new AsyncDispatcher(success, [], 1);
+
+        return token;
+    }
+
+    /**
+     *  Releases resources used by this MessageStore.
+     *  Any pending unsaved changes are not pesisted when this method is invoked.
+     *  If this method is invoked before the MessageStore has initialized or
+     *  after it has been released it is a no-op; however it will still return
+     *  a token and dispatch a ResultEvent.
+     */
+    public function release():AsyncToken
+    {
+        if (producer != null)
+            producer.messageStore = null;
+
+        setLoaded(false);
+
+        var token:AsyncToken = new AsyncToken(null);
+        internalRelease(token);
+        return token;
+    }
+
+    /**
+     *  Saves any manual modifations that have been made to messages within the
+     *  Store.
+     *  The MessageStore only automatically saves when messages are added or
+     *  removed as the result of a Producer.send() call.
+     *  Any other manual modifications are not saved unless saveCache() is
+     *  called.
+     *  Add a responder to the returned token to handle success or failure.
+     *  Alternately add any desired data to the token and listen for general
+     *  ResultEvents and FaultEvents dispatched by the MessageStore.
+     *
+     *  @throws IllegalOperationError If the cacheID has not been set.
+     */
+    public function saveCache():AsyncToken
+    {
+        checkCacheId();
+	    var token:AsyncToken = new AsyncToken(null);
+	    var ms:AbstractMessageStore = this;
+        var success:Function = function():void
+        {
+            ms.internalSaveCache(token);
+        }
+
+        var failed:Function = function():void
+        {
+	        dispatchFaultEvent(getInitFailedFault(), token);
+        }
+
+        if (!isInitialized)
+            internalInitialize(success, failed);
+        else
+            new AsyncDispatcher(success, [], 1);
+
+        return token;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Internal Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Invoked by the associated Producer to add a message to the store.
+     *  Subclasses may override to persist the message or perform other custom
+     *  processing. Messages that are added to the store must be tagged with a
+     *  DSMessageStore header by the store implementation.
+     *
+     *  @param msg The message to queue.
+     */
+    mx_internal function addMessage(msg:IMessage):void {}
+
+    /**
+     *  Invoked by the associated Producer to remove a message from the store.
+     *  This method is called when the store has autoSend = false and the
+     *  application passes a queued message to the Producer to send.
+     *  The producer calls this method to ensure that the message is fully
+     *  removed from the store before being sent over the network.
+     *
+     *  @param msg The message to remove.
+     */
+    mx_internal function removeMessage(msg:IMessage):void {}
+
+    /**
+     *  Sets the producer for this message store.
+     *  This method is called by the AbstractProducer when it's messageStore
+     *  property is set.
+     */
+    mx_internal function setProducer(value:AbstractProducer):void
+    {
+        if (_producer != value)
+        {
+            var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "producer", _producer, value);
+
+            if (_producer != null)
+                _producer.removeEventListener(PropertyChangeEvent.PROPERTY_CHANGE, producerPropertyChangeHandler);
+
+            _producer = value;
+
+            if (_producer != null)
+            {
+                _producer.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, producerPropertyChangeHandler);
+                attemptToSendOrConnect();
+            }
+
+            dispatchEvent(event);
+        }
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Protected Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Utility method that checks the queue state and associated Producer state
+     *  and auto sends queued messages if possible or connects the Producer if
+     *  possible.
+     */
+    protected function attemptToSendOrConnect():void
+    {
+        if (length && autoSend && producer != null)
+        {
+            if (!producer.connected && producer.autoConnect)
+                producer.connect(); // This will trigger a send once the connect completes.
+            else if (producer.connected && producer.clientId != null)
+                sendAll();
+        }
+    }
+
+    /**
+     *  Dispatch a fault event associated with a pending call/token.
+     *
+     *  @param token The token associated with the fault.
+     *  @param fault The fault.
+     */
+    protected function dispatchFaultEvent(fault:Fault, token:AsyncToken):void
+    {
+        var faultEvent:FaultEvent = FaultEvent.createEvent(fault, token);
+        faultEvent.callTokenResponders();
+        if (hasEventListener(FaultEvent.FAULT) && token != null)
+            dispatchEvent(faultEvent);
+        else
+            throw fault;
+    }
+
+    /**
+     *  Dispatch a result event associated with a pending call/token.
+     *
+     *  @param token The token associated with the result.
+     *  @param generalDispatch Allows code to trigger responders without dispatching a general result event.
+     */
+    protected function dispatchResultEvent(event:ResultEvent, token:AsyncToken):void
+    {
+        event.callTokenResponders();
+        if (hasEventListener(ResultEvent.RESULT) && token != null)
+            dispatchEvent(event);
+    }
+
+    /**
+     * The decendant class must clear the local disk of any cached data.
+     */
+    protected function internalClearCache(token:AsyncToken):void {}
+
+    /**
+     *  The descendant class must retrieve the cache ids from the local store and
+     *  add them to the specified view.
+     */
+    protected function internalGetCacheIDs(view:ListCollectionView,
+                                           token:AsyncToken):void {}
+
+    /**
+     *  The descendant class must initialize the local store.
+     */
+    protected function internalInitialize(success:Function, failed:Function):void
+    {
+        success();
+    }
+
+    /**
+     *  The descendant class must load the store with any data found for the
+     *  specified cacheID.
+     */
+    protected function internalLoadCache(token:AsyncToken):void {}
+
+    /**
+     *  The descendant class must release any disk/local store resources
+     */
+    protected function internalRelease(token:AsyncToken):void {}
+
+    /**
+     *  The descendant class must perform any local storage configuration here.
+     */
+    protected function internalSetCacheId(value:String):void {}
+
+    /**
+     *  The descendant class must save the current state of the store to disk.
+     */
+    protected function internalSaveCache(token:AsyncToken):void {}
+
+    /**
+     *  @private
+     *  This method sends a message after stripping the queue header.
+     *  It may be invoked by sendAll() or remove() in concrete implementations
+     *  to pass a message back to the associated Producer to be sent.
+     *
+     *  @param msg The message to send.
+     */
+    protected function send(msg:IMessage):void
+    {
+        if (msg.headers[MESSAGE_STORE_HEADER] != null)
+            delete msg.headers[MESSAGE_STORE_HEADER];
+        producer.send(msg);
+    }
+
+    /**
+     *  @private
+     *  This method passes all queued messages to the associated Producer
+     *  to be sent after removing them completely from the queue.
+     */
+    protected function sendAll():void {}
+
+    /**
+     *  This method is called by implementations once all data is loaded from
+     *  disk.
+     */
+	protected function setLoaded(value:Boolean):void
+	{
+	    if (_loaded != value)
+	    {
+	        var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "loaded", _loaded, value);
+	        _loaded = value;
+	        dispatchEvent(event);
+	    }
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    // Private Methods
+    //
+    //--------------------------------------------------------------------------
+
+    private function checkCacheId():void
+    {
+	    if (cacheID == null || cacheID.length == 0)
+	        throw new IllegalOperationError("A cache identifier must be set before performing this operation.");
+    }
+
+    private function getInitFailedFault(details:String = null):Fault
+    {
+        var fault:Fault = new Fault("Client.Initialization.Failed",
+                                    "Could not initialize MessageStore.",
+                                    details);
+        return fault;
+    }
+
+    /**
+     *  @private
+     *  This handler responds to property changes on the associated Producer.
+     */
+    private function producerPropertyChangeHandler(event:PropertyChangeEvent):void
+    {
+        switch (event.property)
+        {
+            case "autoConnect":
+            case "connected":
+                if (event.newValue)
+                    attemptToSendOrConnect();
+            break;
+            case "clientId":
+                if (event.newValue != null && event.oldValue == null)
+                    attemptToSendOrConnect();
+            break;
+        }
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Public Static Constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  A header injected into messages that are added to the queue to allow the
+     *  associated Producer to ensure that queued messages that are passed to it
+     *  originate from the proper queue and have been removed from the queue before
+     *  being sent. This header is automatically removed from the message before it
+     *  is sent.
+     */
+    public static const MESSAGE_STORE_HEADER:String = "DSMessageStore";
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3796
Author:   tan@adobe.com
Date:     2008-10-21T22:01:05.695187Z

Log Message:
-----------
Link the FxHSlider, FxVSlider, FxSpinner and FxNumericStepper examples to ASDoc.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.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/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>

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

--- frameworks/projects/spark/src/spark/components/NumericStepper.as
+++ frameworks/projects/spark/src/spark/components/NumericStepper.as
@@ -40,6 +40,7 @@
  *
  *  @see mx.components.FxSpinner
  *
+ *  @includeExample examples/FxNumericStepperExample.mxml
  */
 public class FxNumericStepper extends FxSpinner implements IFocusManagerComponent
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12392
Author:   smgilson@adobe.com
Date:     2009-12-02T22:32:51.640117Z

Log Message:
-----------
ASDoc localization prep, and added a new example

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/airspark/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/core/examples</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/core/examples/IViewportExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/core/examples/assets/logo.jpg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/IViewport.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/core</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/core/examples/assets</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/TrackBaseEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/TextOperationEvent.as</path>

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

--- frameworks/projects/spark/src/spark/events/TextOperationEvent.as
+++ frameworks/projects/spark/src/spark/events/TextOperationEvent.as
@@ -20,7 +20,9 @@
  *  The TextOperationEvent class represents events that are dispatched
  *  when text content changes due to user operations
  *  such as inserting characters, backspacing, pasting,
- *  changing attributes, etc.
+ *  or changing text attributes.
+ *
+ *  @see spark.components.RichEditableText
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -119,7 +121,7 @@
      *  associated with the event can be prevented.
      *
      *  @param operation The FlowOperation object representing
-	 *  the editing operation being performed on the text by the user.
+     *  the editing operation being performed on the text by the user.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -147,11 +149,11 @@

     /**
      *  The FlowOperation object representing the editing operation
-	 *  being performed on the text by the user.
-	 *
-	 *
This might be an InsertTextOperation, a DeleteTextOperation,
-	 *  a SplitParagraphOperation, a CutOperation, a PasteOperation,
-	 *  an UndoOperation, etc.

+     *  being performed on the text by the user.
+     *
+     *
This might be an InsertTextOperation, a DeleteTextOperation,
+     *  a SplitParagraphOperation, a CutOperation, a PasteOperation,
+     *  an UndoOperation, or other subclass of FlowOperation.

      *
      *  @langversion 3.0
      *  @playerversion Flash 10