Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package spark.automation.delegates.components
 {


Fix fromByteArray when the streamUsage are other than DYNAMICS

--- src/aerys/minko/render/geometry/stream/VertexStream.as
+++ src/aerys/minko/render/geometry/stream/VertexStream.as
@@ -781,7 +781,7 @@
 			// make sure the ByteArray position is at the end of the buffer
 			bytes.position = start + formatIn.numBytesPerVertex * count * dwordSize;

-			stream.data = data;
+			stream._data = data;

 			return stream;
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3512
Author:   jimurphy@adobe.com
Date:     2008-10-07T20:28:56.871176Z

Log Message:
-----------
rename flex4 mx.effects.easing to mx.effects.fxEasing to avoid a name conflict in the framework

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Constant.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/EaseInOut.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="dir" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/easing" copyfrom-rev="3509" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Sine.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/easing</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/IEaser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/CallAction.as</path>

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

--- frameworks/projects/spark/src/spark/effects/animation/Animation.as
+++ frameworks/projects/spark/src/spark/effects/animation/Animation.as
@@ -15,9 +15,9 @@
 import flash.utils.Timer;
 import flash.utils.getTimer;

-import mx.effects.easing.IEaser;
-import mx.effects.easing.Linear;
-import mx.effects.easing.Sine;
+import mx.effects.fxEasing.IEaser;
+import mx.effects.fxEasing.Linear;
+import mx.effects.fxEasing.Sine;
 import mx.effects.interpolation.ArrayInterpolator;
 import mx.effects.interpolation.IInterpolator;
 import mx.effects.interpolation.NumberArrayInterpolator;


Added ability to reverse axes' spatial order

git-svn-id: 6aa7ccb0a2048310a30f08a72aaff4ca39d980ed@87 91848ab2-c4ae-4e4f-8e6a-6a52ea0dccc3

--- flare.vis/flare/vis/axis/CartesianAxes.as
+++ flare.vis/flare/vis/axis/CartesianAxes.as
@@ -1,13 +1,11 @@
 package flare.vis.axis
 {
-	import flash.geom.Rectangle;
-	import flash.display.Shape;
-	import flash.display.Sprite;
+	import flare.animate.Transitioner;
 	import flare.display.RectSprite;
 	import flare.display.TextSprite;
-	import flare.vis.util.graphics.Shapes;
 	import flare.vis.Visualization;
-	import flare.animate.Transitioner;
+
+	import flash.geom.Rectangle;

 	/**
 	 * Axes class representing 2D Cartesian (X-Y) axes.
@@ -23,6 +21,8 @@
 		private var _showXLine:Boolean;
 		private var _showYLine:Boolean;
 		private var _border:RectSprite;
+		private var _xrev:Boolean = false;
+		private var _yrev:Boolean = false;

 		/** The x-axis. */
 		public function get xAxis():Axis { return _xaxis; }
@@ -32,6 +32,14 @@
 		public function get xLine():AxisGridLine { return _xline; }
 		/** Grid line for the origin along the y-axis. */
 		public function get yLine():AxisGridLine { return _yline; }
+
+		/** Determines if the x-axis should be in reverse order. */
+		public function get xReverse():Boolean { return _xrev; }
+		public function set xReverse(b:Boolean):void { _xrev = b; }
+
+		/** Determines if the y-axis should be in reverse order. */
+		public function get yReverse():Boolean { return _yrev; }
+		public function set yReverse(b:Boolean):void { _yrev = b; }

 		/** The x-coordinate of the axes' origin point. */
 		public function get originX():Number { return _xaxis.originX; }
@@ -109,12 +117,22 @@
         	var b:Rectangle = layoutBounds.clone();

         	// set x-axis position
-        	_xaxis.x1 = b.left;  _xaxis.y1 = b.bottom;
-        	_xaxis.x2 = b.right; _xaxis.y2 = b.bottom;
+        	if (_xrev) {
+        		_xaxis.x1 = b.right; _xaxis.y1 = b.bottom;
+        		_xaxis.x2 = b.left;  _xaxis.y2 = b.bottom;
+        	} else {
+        		_xaxis.x1 = b.left;  _xaxis.y1 = b.bottom;
+        		_xaxis.x2 = b.right; _xaxis.y2 = b.bottom;
+        	}

 			// set y-axis position
-			_yaxis.x1 = b.left;  _yaxis.y1 = b.bottom;
-        	_yaxis.x2 = b.left;  _yaxis.y2 = b.top;
+			if (_yrev) {
+				_yaxis.x1 = b.left;  _yaxis.y1 = b.top;
+        		_yaxis.x2 = b.left;  _yaxis.y2 = b.bottom;
+   			} else {
+   				_yaxis.x1 = b.left;  _yaxis.y1 = b.bottom;
+        		_yaxis.x2 = b.left;  _yaxis.y2 = b.top;
+   			}

         	// gridline bias
         	_xaxis.lineBiasX = 0; _xaxis.lineBiasY = -b.height;


Transferred from the Adobe Open Source Subversion Repository

Revision: 5097
Author:   gauravj@adobe.com
Date:     2009-02-27T02:06:23.424936Z

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:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemTreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemControlHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemRawChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>

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

--- frameworks/projects/airframework/src/mx/events/AIREvent.as
+++ frameworks/projects/airframework/src/mx/events/AIREvent.as
@@ -22,6 +22,10 @@
  *  @see mx.core.Window
  *  @see mx.core.WindowedApplication
  *
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class AIREvent extends Event
 {
@@ -56,6 +60,10 @@
      *  </table>
      *
      *  @eventType applicationActivate
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const APPLICATION_ACTIVATE:String = "applicationActivate";

@@ -82,6 +90,10 @@
      *  </table>
      *
      *  @eventType applicationDeactivate
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const APPLICATION_DEACTIVATE:String = "applicationDeactivate";

@@ -108,6 +120,10 @@
      *  </table>
      *
      *  @eventType windowActivate
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const WINDOW_ACTIVATE:String = "windowActivate";

@@ -134,6 +150,10 @@
      *  </table>
      *
      *  @eventType windowDeactivate
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const WINDOW_DEACTIVATE:String = "windowDeactivate";

@@ -160,6 +180,10 @@
      *  </table>
      *
      *  @eventType windowComplete
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const WINDOW_COMPLETE:String = "windowComplete";

@@ -179,6 +203,10 @@
      *
      *  @param cancelable Specifies whether the behavior
      *  associated with the event can be prevented.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function AIREvent(type:String, bubbles:Boolean = false,
                              cancelable:Boolean = false)


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

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

 package mx.rpc.wsdl
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 16296
Author:   jszeto@adobe.com
Date:     2010-05-22T01:07:06.468300Z

Log Message:
-----------
Form Baseline alignment

- Update skins to take advantage of new baseline support in FormItemLayout.
- Add support to Group for baselinePositionElement.
- Fix some bugs
- Added Form into checkintest

QE notes: none
Doc notes: none
Bugs: SDK-26516, SDK-26515, SDK-26508, SDK-26510
Reviewer: Kevin
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexVersion.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/FormTestScript.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/spark/views/FormTests.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/StackedFormItemSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/FormHeading.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FormItemSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FormSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests-config.xml</path>

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

--- frameworks/projects/spark/src/spark/components/FormItem.as
+++ frameworks/projects/spark/src/spark/components/FormItem.as
@@ -102,7 +102,8 @@
     //----------------------------------
     //  helpContent
     //----------------------------------
-    private var _helpContent:IDeferredInstance;
+    private var _helpContent:IDeferredInstance;
+    private var helpContentChanged:Boolean = false;

     [Bindable("labelChanged")]
     [Inspectable(category="General", defaultValue="")]
@@ -116,8 +117,8 @@
     public function set helpContent(value:IDeferredInstance):void
     {
         _helpContent = value;
-
-        createHelpContent();
+        helpContentChanged = true;
+        invalidateProperties();
     }

     /**
@@ -268,6 +269,15 @@
     //
     //--------------------------------------------------------------------------

+    /**
+     *  @private
+     */
+    override protected function commitProperties():void
+    {
+        super.commitProperties();
+
+        createHelpContent();
+    }

     /**
      *  @private
@@ -378,8 +388,10 @@
      */
     private function createHelpContent():void
     {
-        if (_helpContent && helpContentGroup)
+        if (_helpContent && helpContentGroup && helpContentChanged)
         {
+            helpContentChanged = false;
+
             var content:Object = _helpContent.getInstance();

             if (!(content is Array))


Transferred from the Adobe Open Source Subversion Repository

Revision: 15614
Author:   jszeto@adobe.com
Date:     2010-04-20T23:14:52.697983Z

Log Message:
-----------
Initial implementations of Form classes

- uses mx Canvas instead of FormItemLayout

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/IFormItem.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/layouts/FormLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/FormItem.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/skins/spark/StackedFormItemSkin.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/Form.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/skins/spark/FormItemSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/FormItem.as
+++ frameworks/projects/spark/src/spark/components/FormItem.as
@@ -0,0 +1,437 @@
+package spark.components
+{
+    ////////////////////////////////////////////////////////////////////////////////
+    //
+    //  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.
+    //
+    ////////////////////////////////////////////////////////////////////////////////
+
+    import mx.containers.Canvas;
+    import mx.containers.utilityClasses.ConstraintColumn;
+    import mx.core.IVisualElement;
+    import mx.resources.IResourceManager;
+    import mx.resources.ResourceManager;
+
+    /**
+     *  TODO
+     *  - Remove canvasLayout skin part once FormItemLayout is ready
+     *
+     *
+     *
+     *  ISSUES:
+     *  - Consider turning helpText into a helpContentGroup to allow arbitrary content
+     *
+     *
+     */
+
+
+    /**
+     *  FormItem represents an item in a Form. It typically has a label, an optional indicator and a set of input components.
+     */
+    public class FormItem extends SkinnableContainer implements IFormItem
+    {
+
+        public function FormItem()
+        {
+            super();
+        }
+
+        //--------------------------------------------------------------------------
+        //
+        //  Skin Parts
+        //
+        //--------------------------------------------------------------------------
+
+        /**
+         *  Displays this FormItem's label.
+         */
+        [Bindable] // compatability with Halo FormItem itemLabel property
+        [SkinPart(required="false")]
+        public var labelElement:Label;
+
+        /**
+         *  A reference to the visual element that indicates that this FormItem's value is required.
+         *
+         *
Typically the skin only includes the required indicator in the layout for states
+         *  "required" and "disabledAndRequired".

+         */
+        [SkinPart(required="false")]
+        public var indicatorElement:IVisualElement;
+
+        /**
+         *  A reference to the visual element that displays the FormItem's numberLabel.
+         */
+        [SkinPart(required="false")]
+        public var numberLabelElement:Label;
+
+        /**
+         *  A reference to the visual element that display the FormItem's helpText.
+         */
+        [SkinPart(required="false")]
+        public var helpTextElement:RichText;
+
+        // TODO Remove once we have a proper FormItemLayout
+        [SkinPart(required="false")]
+        public var canvasLayout:Canvas;
+
+        //--------------------------------------------------------------------------
+        //
+        //  Properties
+        //
+        //--------------------------------------------------------------------------
+
+        //----------------------------------
+        //  resourceManager
+        //----------------------------------
+
+        /**
+         *  @private
+         *  Used for accessing localized Error messages.
+         */
+        private static function get resourceManager():IResourceManager
+        {
+            return ResourceManager.getInstance();
+        }
+
+        //----------------------------------
+        //  measuredColumnWidths
+        //----------------------------------
+
+        private var _measuredColumnWidths:Vector.<Number>;
+        //private var measuredColumnWidthsChanged:Boolean = false;
+
+        /**
+         *  Used by layout to get the measured column widths
+         */
+        public function set measuredColumnWidths(value:Vector.<Number>):void
+        {
+            _measuredColumnWidths = value;
+            /*measuredColumnWidthsChanged = true;
+            invalidateProperties();*/
+        }
+
+        public function get measuredColumnWidths():Vector.<Number>
+        {
+            // TODO For now, just return the canvas's constraintColumns
+            var measuredCols:Vector.<Number> = new Vector.<Number>;
+            var columns:Array = canvasLayout.constraintColumns;
+
+            for (var i:int = 0; i < columns.length; i++)
+            {
+                var column:ConstraintColumn = columns[i];
+                if (columns[i] != undefined)
+                    measuredCols.push(columns[i].width);
+            }
+
+            return measuredCols;
+            //return _measuredColumnWidths;
+        }
+
+
+
+        //----------------------------------
+        //  layoutColumnWidths
+        //----------------------------------
+
+        private var _layoutColumnWidths:Vector.<Number>;
+        private var layoutColumnWidthsChanged:Boolean = false;
+
+        /**
+         *  Used by layout to set the column widths
+         */
+        public function set layoutColumnWidths(value:Vector.<Number>):void
+        {
+            _layoutColumnWidths = value;
+            layoutColumnWidthsChanged = true;
+            invalidateProperties();
+        }
+
+        public function get layoutColumnWidths():Vector.<Number>
+        {
+            return _layoutColumnWidths;
+        }
+
+
+        //----------------------------------
+        //  helpText
+        //----------------------------------
+
+        private var _helpText:String = "";
+        private var helpTextChanged:Boolean = false;
+
+        [Bindable("helpTextChanged")]
+        [Inspectable(category="General", defaultValue="")]
+
+        /**
+         *  Text that provides a description of the form item or instructions for filling it out.
+         *
+         *  @default ""
+         */
+        public function get helpText():String
+        {
+            return _helpText;
+        }
+
+        /**
+         *  @private
+         */
+        public function set helpText(value:String):void
+        {
+            if (_helpText == value)
+                return;
+
+            _helpText = value;
+            helpTextChanged = true;
+            invalidateProperties();
+        }
+
+        //----------------------------------
+        //  label
+        //----------------------------------
+
+        private var _label:String = "";
+        private var labelChanged:Boolean = false;
+
+        [Bindable("labelChanged")]
+        [Inspectable(category="General", defaultValue="")]
+
+        /**
+         *  Text that names the form content. For example, a FormItem to
+         *  select a state might have a form label of "State"
+         *
+         *  @default ""
+         */
+        public function get label():String
+        {
+            return _label;
+        }
+
+        /**
+         *  @private
+         */
+        public function set label(value:String):void
+        {
+            if (_label == value)
+                return;
+
+            _label = value;
+            labelChanged = true;
+            invalidateProperties();
+        }
+
+        //----------------------------------
+        //  numberLabel
+        //----------------------------------
+
+        private var _numberLabel:String = "";
+        private var numberLabelChanged:Boolean = false;
+
+        [Bindable("numberLabelChanged")]
+        [Inspectable(category="General", defaultValue="")]
+
+        /**
+         *  The number of the form item if the form creates a
+         *  numbered list out of the form items
+         *
+         *  @default ""
+         */
+        public function get numberLabel():String
+        {
+            return _numberLabel;
+        }
+
+        /**
+         *  @private
+         */
+        public function set numberLabel(value:String):void
+        {
+            if (_numberLabel == value)
+                return;
+
+            _numberLabel = value;
+            numberLabelChanged = true;
+            invalidateProperties();
+        }
+
+        //----------------------------------
+        //  required
+        //----------------------------------
+
+        private var _required:Boolean = false;
+
+        [Bindable("requiredChanged")]
+        [Inspectable(category="General", defaultValue="false")]
+
+        /**
+         *  If true, puts the FormItem skin into the
+         *  required state. By default, this displays
+         *  an indicator that the FormItem children require user input.
+         *  If false, indicator is not displayed.
+         *
+         *
This property controls skin's state only.
+         *  You must attach a validator to the children
+         *  if you require input validation.

+         *
+         *  @default false
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 1.5
+         *  @productversion Flex 4.5
+         */
+        public function get required():Boolean
+        {
+            return _required;
+        }
+
+        /**
+         *  @private
+         */
+        public function set required(value:Boolean):void
+        {
+            if (value == _required)
+                return;
+
+            _required = value;
+            invalidateSkinState();
+        }
+
+
+
+
+        //----------------------------------
+        //  baselinePosition
+        //----------------------------------
+
+        /**
+         *  @private
+         */
+        override public function get baselinePosition():Number
+        {
+            return getBaselinePositionForPart(labelElement);
+        }
+
+        //--------------------------------------------------------------------------
+        //
+        //  Overridden Methods
+        //
+        //--------------------------------------------------------------------------
+
+        /**
+         *  @private
+         */
+        override protected function commitProperties():void
+        {
+            super.commitProperties();
+
+            if (labelChanged)
+            {
+                labelChanged = false;
+                if (labelElement)
+                    labelElement.text = label;
+                dispatchEvent(new Event("labelChanged"));
+            }
+
+            if (numberLabelChanged)
+            {
+                numberLabelChanged = false;
+                if (numberLabelElement)
+                    numberLabelElement.text = numberLabel;
+                dispatchEvent(new Event("numberLabelChanged"));
+            }
+
+            if (helpTextChanged)
+            {
+                helpTextChanged = false;
+                if (helpTextElement)
+                    helpTextElement.text = helpText;
+                dispatchEvent(new Event("helpTextChanged"));
+            }
+
+            if (layoutColumnWidthsChanged)
+            {
+                layoutColumnWidthsChanged = false;
+                if (canvasLayout)
+                    applyConstraintColumns(_layoutColumnWidths);
+            }
+        }
+
+        /**
+         *  @private
+         */
+        override protected function getCurrentSkinState():String
+        {
+            if(required && (enabled == false))
+                return "requiredAndDisabled";
+            if (required)
+                return "required";
+            return "normal";
+        }
+
+        /**
+         *  @private
+         */
+        override protected function partAdded(partName:String, instance:Object) : void
+        {
+            super.partAdded(partName, instance);
+
+            if (instance == labelElement)
+                labelElement.text = label;
+            else if (instance == numberLabelElement)
+                numberLabelElement.text = numberLabel;
+            else if (instance == helpTextElement)
+                helpTextElement.text = helpText;
+            else if (instance == canvasLayout)
+                applyConstraintColumns(_layoutColumnWidths);
+        }
+
+        /**
+         *  @private
+         */
+        override public function styleChanged(styleProp:String):void
+        {
+            super.styleChanged(styleProp);
+
+            var allStyles:Boolean = (styleProp == null) || (styleProp == "styleName");
+            if (allStyles || (layoutStyles.indexOf(styleProp) != -1))
+            {
+                invalidateSize();
+                invalidateDisplayList();
+            }
+        }
+
+        private static const layoutStyles:Array =
+            ["indicatorGap", "labelWidth", "paddingBottom", "paddingTop", "paddingLeft", "paddingRight"];
+
+
+        // TODO Remove once we switch from Canvas to FormItemLayout
+        private function applyConstraintColumns(columns:Vector.<Number>):void
+        {
+            if (!columns)
+                return;
+
+            // TODO apply columns to canvasLayout
+            if (columns.length != canvasLayout.constraintColumns.length)
+            {
+                trace("FormItem.applyConstraintColumns lengths don't match");
+                return;
+            }
+
+
+            for (var i:int = 0; i < columns.length; i++)
+            {
+                var column:ConstraintColumn = canvasLayout.constraintColumns[i];
+                if (columns[i] != undefined)
+                    column.width = columns[i];
+                    //column.setActualWidth(columns[i]);
+            }
+        }
+
+
+    }
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8438
Author:   gosmith@adobe.com
Date:     2009-07-08T00:23:15.259930Z

Log Message:
-----------
Fixed a problem with a TextGraphicElement's TextLines drifting inside a shared DisplayObject during effects.

When drawX or drawY changed, TextGraphicElement used to adjust the x and y positions of the TextLines by the delta in drawX and drawY. But accumulated errors (from rounding-to-twips somewhere?) caused the lines to drift by a noticeable amount. So now when the TextLines are created, TextGraphicElement remembers their original x and y positions in two Vectors, and applies the full drawX/Y each time, avoiding any accumulation errors.

QE Notes: None
Doc Notes: None
Bugs: SDK-21350
Reviewer: Carol to review

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/SimpleText.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -897,6 +897,12 @@
     private function addTextLine(textLine:DisplayObject):void
     {
         textLines.push(textLine);
+
+        // Remember the original position of each TextLine.
+		// When TextLines are children of a shared DisplayObject,
+		// these original positions must be offset by drawX and drawY.
+		textLinesX.push(textLine.x);
+		textLinesY.push(textLine.y);
     }

     //--------------------------------------------------------------------------


Transferred from the Adobe Open Source Subversion Repository

Revision: 6792
Author:   jimurphy@adobe.com
Date:     2009-05-11T18:24:09.346026Z

Log Message:
-----------
Merged revisions 6729,6731,6746,6755,6757,6765,6767-6768,6770-6772,6775,6784-6786,6790 from http://p01weblab02.corp.adobe.com/svn/opensource/flex/sdk/branches/beta1

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/FlashContainerPlaceholder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java</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/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</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/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/TypeHelper.java</path>
<path kind="dir" copyfrom-path="/flex/sdk/branches/beta1/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types" copyfrom-rev="6790" action="A">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.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/skins/default/ButtonSkin.mxml</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/modules/fxgutils/src/java/com/adobe/fxg/swf/FXG2SWFTranscoder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/RadioButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/beta1/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types/FXGMatrix.java" copyfrom-rev="6790" action="R">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types/FXGMatrix.java</path>

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -12,6 +12,7 @@
 package spark.primitives
 {

+import flash.display.DisplayObject;
 import flash.display.DisplayObjectContainer;
 import flash.display.Graphics;
 import flash.display.Sprite;
@@ -911,10 +912,15 @@
 		var factory:TextLineFactoryBase;
 		if (textFlow)
             factory = staticTextFlowFactory;
-		else if (mx_internal::_text)
+		else
             factory = staticStringFactory;
- 		else
-		    return;
+
+		// Note: Even if we have nothing to compose, we nevertheless
+		// use the StringTextLineFactory to compose an empty string.
+		// Since it appends the paragraph terminator "\u2029",
+		// it actually creates and measures one TextLine.
+		// Its width is 0 but its height is equal to the font's
+		// ascent plus descent.

         factory.compositionBounds = mx_internal::bounds;

@@ -948,7 +954,7 @@
      *  @private
      *  Callback passed to createTextLines().
      */
-    private function addTextLine(textLine:TextLine):void
+    private function addTextLine(textLine:DisplayObject):void
     {
         mx_internal::textLines.push(textLine);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3890
Author:   rfrishbe@adobe.com
Date:     2008-10-24T22:24:17.938205Z

Log Message:
-----------
Various renames for FxComponent, mostly based on PARB recommendations.  Most were just simple name changes or removal of methods.  Because commitSkinState() no longer exists, Button had to be modified pretty extensively so that it didn't key off of that method.

QE Notes: Joann's updated the tests and excluded them pending this checkin
Doc Notes: None
Bugs: SDK-17116
Reviewer: Hans, Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -289,19 +289,19 @@
     /**
      *  @private
      */
-    override protected function skinLoaded():void
-    {
-        super.skinLoaded();
+    override protected function loadSkin():void
+    {
+        super.loadSkin();
         installViewport();
     }

     /**
      *  @private
      */
-    override protected function unloadingSkin():void
+    override protected function unloadSkin():void
     {
-        super.unloadingSkin();
         uninstallViewport();
+        super.unloadSkin();
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 6363
Author:   mitelman@adobe.com
Date:     2009-04-28T23:26:33.155531Z

Log Message:
-----------
Change FXScroller to Scroller in doc

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -219,7 +219,7 @@
      *  The viewport component to be scrolled.
      *
      *  <p>
-     *  The viewport is added to the FXScroller component's skin
+     *  The viewport is added to the Scroller component's skin
      *  which lays out both the viewport and scrollbars.
      *
      *  When the viewport property is set, the viewport's clipAndEnableScrolling property is


Transferred from the Adobe Open Source Subversion Repository

Revision: 7089
Author:   srahim@adobe.com
Date:     2009-05-19T20:50:14.933082Z

Log Message:
-----------
ASDoc updates
QE Notes: None
Doc Notes: None
Bugs: FLEXDOCS-831
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/filters/BlurFilter.as</path>

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

--- frameworks/projects/spark/src/spark/filters/BevelFilter.as
+++ frameworks/projects/spark/src/spark/filters/BevelFilter.as
@@ -7,8 +7,95 @@
 import mx.filters.BaseDimensionFilter;
 import mx.filters.IBitmapFilter;

+/**
+ * The BevelFilter class lets you add a bevel effect to display objects.
+ * A bevel effect gives objects such as buttons a three-dimensional look. You can customize
+ * the look of the bevel with different highlight and shadow colors, the amount
+ * of blur on the bevel, the angle of the bevel, the placement of the bevel,
+ * and a knockout effect.
+ * You can apply the filter to any display object (that is, objects that inherit from the
+ * DisplayObject class), such as MovieClip, SimpleButton, TextField, and Video objects,
+ * as well as to BitmapData objects.
+ *
+ *
To create a new filter, use the constructor new BevelFilter().
+ * The use of filters depends on the object to which you apply the filter:

+ *

To apply filters to movie clips, text fields, buttons, and video, use the
+ * filters property (inherited from DisplayObject). Setting the filters
+ * property of an object does not modify the object, and you can remove the filter by clearing the
+ * filters property.

+ *
+ *
To apply filters to BitmapData objects, use the BitmapData.applyFilter() method.
+ * Calling applyFilter() on a BitmapData object takes the source BitmapData object
+ * and the filter object and generates a filtered image as a result.

+ *

+ *
+ *
If you apply a filter to a display object, the value of the cacheAsBitmap property of the
+ * object is set to true. If you remove all filters, the original value of
+ * cacheAsBitmap is restored.

+ *
+ *
This filter supports Stage scaling. However, it does not support general scaling, rotation, and
+ * skewing. If the object itself is scaled (if the scaleX and scaleY properties are
+ * not set to 100%), the filter is not scaled. It is scaled only when the user zooms in on the Stage.

+ *
+ *
A filter is not applied if the resulting image exceeds the maximum dimensions.
+ * In  AIR 1.5 and Flash Player 10, the maximum is 8,191 pixels in width or height,
+ * and the total number of pixels cannot exceed 16,777,215 pixels. (So, if an image is 8,191 pixels
+ * wide, it can only be 2,048 pixels high.) If, for example, you zoom in on a large movie clip
+ * with a filter applied, the filter is turned off if the resulting image exceeds the maximum dimensions.

+ *
+ * @tiptext Adds a bevel effect.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10
+ * @playerversion AIR 1.5
+ * @productversion Flex 4
+ *
+ *
+ * @see flash.display.DisplayObject#filters
+ * @see flash.display.DisplayObject#cacheAsBitmap
+ * @see flash.display.BitmapData#applyFilter()
+ */
+
 public class BevelFilter extends BaseDimensionFilter implements IBitmapFilter
 {
+	/**
+	 * Constructor.
+	 *
+	 * @param distance The offset distance of the bevel, in pixels (floating point).
+	 * @param angle The angle of the bevel, from 0 to 360 degrees.
+	 * @param highlightColor The highlight color of the bevel, 0xRRGGBB.
+	 * @param highlightAlpha The alpha transparency value of the highlight color. Valid values are 0.0 to
+	 * 1.0. For example,
+	 * .25 sets a transparency value of 25%.
+	 * @param shadowColor The shadow color of the bevel, 0xRRGGBB.
+	 * @param shadowAlpha The alpha transparency value of the shadow color. Valid values are 0.0 to 1.0. For example,
+	 * .25 sets a transparency value of 25%.
+	 * @param blurX The amount of horizontal blur in pixels. Valid values are 0 to 255.0 (floating point).
+	 * @param blurY The amount of vertical blur in pixels. Valid values are 0 to 255.0 (floating point).
+	 * @param strength The strength of the imprint or spread. The higher the value, the more color is imprinted and the stronger the contrast between the bevel and the background. Valid values are 0 to 255.0.
+	 * @param quality The quality of the bevel. Valid values are 0 to 15, but for most applications,
+	 * you can use flash.filters.BitmapFilterQuality constants:
+	 *

+	 *
BitmapFilterQuality.LOW

+	 *
BitmapFilterQuality.MEDIUM

+	 *
BitmapFilterQuality.HIGH

+	 *

+	 *
Filters with lower values render faster. You can use
+	 * the other available numeric values to achieve different effects.

+	 * @param type The type of bevel. Valid values are flash.filters.BitmapFilterType constants:
+	 * BitmapFilterType.INNER, BitmapFilterType.OUTER, or
+	 * BitmapFilterType.FULL.
+	 * @param knockout Applies a knockout effect (true), which effectively
+	 * makes the object's fill transparent and reveals the background color of the document.
+	 *
+	 * @see flash.filters.BitmapFilterQuality
+	 * @see flash.filters.BitmapFilterType
+	 *
+	 * @langversion 3.0
+	 * @playerversion Flash 10
+	 * @playerversion AIR 1.5
+ 	 * @productversion Flex 4
+	 */
 	public function BevelFilter(distance:Number = 4.0, angle:Number = 45,
 								highlightColor:uint = 0xFFFFFF, highlightAlpha:Number = 1.0,
 								shadowColor:uint = 0x000000, shadowAlpha:Number = 1.0,
@@ -244,6 +331,17 @@
 		}
 	}

+	/**
+	 * Returns a copy of this filter object.
+	 *
+	 * @langversion 3.0
+	 * @playerversion Flash 10
+	 * @playerversion AIR 1.5
+	 * @productversion Flex 4
+	 *
+	 * @return A new BevelFilter instance with all the same properties as
+	 * the original BevelFilter instance.
+	 */
 	public function clone():BitmapFilter
 	{
 		return new flash.filters.BevelFilter(distance, angle, highlightColor, highlightAlpha,


Renamed _hooksBy... Dicts to _mappingsBy - it ain't just about the hooks.

--- src/org/robotlegs/v2/extensions/hooks/HookMap.as
+++ src/org/robotlegs/v2/extensions/hooks/HookMap.as
@@ -33,8 +33,8 @@
 		/* Protected Properties                                                       */
 		/*============================================================================*/

-		private var _hooksByClazz:Dictionary;
-		private var _hooksByMatcher:Dictionary;
+		private var _mappingsByClazz:Dictionary;
+		private var _mappingsByMatcher:Dictionary;

 		/*============================================================================*/
 		/* Constructor                                                                */
@@ -42,8 +42,8 @@

 		public function HookMap()
 		{
-			_hooksByMatcher = new Dictionary();
-			_hooksByClazz = new Dictionary();
+			_mappingsByMatcher = new Dictionary();
+			_mappingsByClazz = new Dictionary();
 		}

 		/*============================================================================*/
@@ -52,17 +52,17 @@

 		public function map(clazz:Class):GuardsAndHooksMapBinding
 		{
-			_hooksByClazz[clazz] = new GuardsAndHooksMapBinding();
+			_mappingsByClazz[clazz] = new GuardsAndHooksMapBinding();

-			return _hooksByClazz[clazz];
+			return _mappingsByClazz[clazz];
 		}

 		public function mapMatcher(matcher:ITypeMatcher):GuardsAndHooksMapBinding
 		{
 			const filter:ITypeFilter = matcher.createTypeFilter();
-			_hooksByMatcher[filter] = new GuardsAndHooksMapBinding();
+			_mappingsByMatcher[filter] = new GuardsAndHooksMapBinding();

-			return _hooksByMatcher[filter];
+			return _mappingsByMatcher[filter];
 		}

 		public function process(item:*):Boolean
@@ -72,23 +72,23 @@

 			var interested:Boolean = false;

-			for (var clazz:* in _hooksByClazz)
+			for (var clazz:* in _mappingsByClazz)
 			{
 				if(item is (clazz as Class))
 				{
 					interested = true;
-					if(!blockedByGuards(_hooksByClazz[clazz].guards) )
-						hooksProcessor.runHooks(injector, _hooksByClazz[clazz].hooks);
+					if(!blockedByGuards(_mappingsByClazz[clazz].guards) )
+						hooksProcessor.runHooks(injector, _mappingsByClazz[clazz].hooks);
 				}
 			}

-			for (var filter:* in _hooksByMatcher)
+			for (var filter:* in _mappingsByMatcher)
 			{
 				if(itemPassesFilter(item, filter as ITypeFilter))
 				{
 					interested = true;
-					if(!blockedByGuards(_hooksByMatcher[filter].guards) )
-						hooksProcessor.runHooks(injector, _hooksByMatcher[filter].hooks);
+					if(!blockedByGuards(_mappingsByMatcher[filter].guards) )
+						hooksProcessor.runHooks(injector, _mappingsByMatcher[filter].hooks);
 				}
 			}


- feature: enabled resetting List index selection
- change: cleanup in List component

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

--- src/reprise/controls/List.as
+++ src/reprise/controls/List.as
@@ -28,7 +28,7 @@
 		*                           Protected properties                           *
 		***************************************************************************/
 		protected var m_items:Array;
-		protected var m_selectedIndex:Number = -1;
+		protected var m_selectedIndex:int = -1;

@@ -85,17 +85,7 @@

 		public function selectItem(item:ListItem):void
 		{
-			var i:uint = m_items.length;
-			while (i--)
-			{
-				var curItem:ListItem = m_items[i] as ListItem;
-				var isSelectedItem:Boolean = curItem == item;
-				if (isSelectedItem)
-				{
-					m_selectedIndex = i;
-				}
-				curItem.selected = isSelectedItem;
-			}
+			setSelectedIndex(m_items.indexOf(item));
 		}

 		public function selectItemWithValue(value:*):void
@@ -103,7 +93,7 @@
 			var i:int = m_items.length;
 			while (i--)
 			{
-				var entry:Object = (m_data as Array)[i];
+				var entry:Object = m_data[i];
 				if (entry.value == value)
 				{
 					setSelectedIndex(i);
@@ -122,18 +112,22 @@
 			return selectedItem().getLabel();
 		}

-		public function selectedIndex():Number
+		public function selectedIndex():int
 		{
 			return m_selectedIndex;
 		}

-		public function setSelectedIndex(index:uint):void
+		public function setSelectedIndex(index : int):void
 		{
-			if (index < 0 || index > m_items.length - 1)
+			if (m_items[m_selectedIndex] is ListItem)
 			{
-				return;
+				ListItem(m_items[m_selectedIndex]).selected = false;
 			}
-			selectItem(m_items[index] as ListItem);
+			m_selectedIndex = Math.min(Math.max(index, -1), m_items.length - 1);
+			if (m_items[m_selectedIndex] is ListItem)
+			{
+				ListItem(m_items[m_selectedIndex]).selected = true;
+			}
 		}

 		public override function setValue(value:*):void


Updated Data.createEdges to be aware of existing edges

git-svn-id: 6aa7ccb0a2048310a30f08a72aaff4ca39d980ed@183 91848ab2-c4ae-4e4f-8e6a-6a52ea0dccc3

--- flare/src/flare/vis/data/Data.as
+++ flare/src/flare/vis/data/Data.as
@@ -266,18 +266,26 @@
 		 * with the same group are sequentially connected to each other in
 		 * sorted order by new edges. This method is useful for generating
 		 * line charts from a plot of nodes.
+		 *
If an edge already exists between nodes, by default this method
+		 * will not add a new edge. Use the ignoreExistingEdges
+		 * argument to change this behavior.

+		 *
 		 * @param sortBy the criteria for sorting the nodes, using the format
 		 *  of flare.util.Sort. The input can either be a string
-		 *  with a single property name, or an array of property names, with
-		 *  optional boolean sort order parameters (true for ascending, false
-		 *  for descending) following each name.
+		 *  with a single property name, or an array of property names.  Items
+		 *  are sorted in ascending order by default, prefix a property name
+		 *  with a "-" (minus) character to sort in descending order.
 		 * @param groupBy the criteria for grouping the nodes, using the format
 		 *  of flare.util.Sort. The input can either be a string
-		 *  with a single property name, or an array of property names, with
-		 *  optional boolean sort order parameters (true for ascending, false
-		 *  for descending) following each name.
-		 */
-		public function createEdges(sortBy:*=null, groupBy:*=null):void
+		 *  with a single property name, or an array of property names. Items
+		 *  are sorted in ascending order by default, prefix a property name
+		 *  with a "-" (minus) character to sort in descending order.
+		 * @param ignoreExistingEdges if false (the default), this method will
+		 *  not create a new edge if one already exists between two nodes. If
+		 *  true, new edges will be created regardless.
+		 */
+		public function createEdges(sortBy:*=null, groupBy:*=null,
+			ignoreExistingEdges:Boolean=false):void
 		{
 			// create arrays and sort criteria
 			var a:Array = Arrays.copy(_nodes.list);
@@ -306,6 +314,8 @@
 			// connect all items who match on the last group by field
 			for (i=1; i<a.length; ++i) {
 				if (!f || f.getValue(a[i-1]) == f.getValue(a[i])) {
+					if (!ignoreExistingEdges && a[i].isConnected(a[i-1]))
+						continue;
 					var e:EdgeSprite = addEdgeFor(a[i-1], a[i], directedEdges);
 					// add data values from nodes
 					for (var j:uint=0; j<p.length; ++j) {


This translate needs to take rotation/scale into account.

Bella is working again, though this needs to be tested more.

--- runtime/src/main/as/flump/xfl/XflKeyframe.as
+++ runtime/src/main/as/flump/xfl/XflKeyframe.as
@@ -80,8 +80,6 @@
             rotation = MatrixUtil.rotation(matrix);
         }

-        x = matrix.tx;
-        y = matrix.ty;
         scaleX = MatrixUtil.scaleX(matrix);
         scaleY = MatrixUtil.scaleY(matrix);

@@ -90,9 +88,16 @@
             var pivotConverter :XmlConverter = new XmlConverter(pivotXml);
             pivotX = pivotConverter.getNumberAttr("x", 0);
             pivotY = pivotConverter.getNumberAttr("y", 0);
-            x += pivotX;
-            y += pivotY;
+
+            // Translate to the pivot point
+            var orig :Matrix = matrix.clone();
+            matrix.identity();
+            matrix.translate(pivotX, pivotY);
+            matrix.concat(orig);
         }
+
+        x = matrix.tx;
+        y = matrix.ty;
     }

     public function checkSymbols (lib :XflLibrary) :void {


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

--- frameworks/projects/airframework/src/mx/core/Version.as
+++ frameworks/projects/airframework/src/mx/core/Version.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: 8171
Author:   smgilson@adobe.com
Date:     2009-06-24T15:52:16.167351Z

Log Message:
-----------
ASDoc fixfor FlexDocs-684

QE Notes: None
Doc Notes: None
Bugs: - FlexDocs-684
checkintests: passed

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/rpc/src/mx/netmon/NetworkMonitor.as

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

--- frameworks/projects/rpc/src/mx/netmon/NetworkMonitor.as
+++ frameworks/projects/rpc/src/mx/netmon/NetworkMonitor.as
@@ -33,77 +33,77 @@
  */
 public class NetworkMonitor
 {
-	//--------------------------------------------------------------------------
-	//
-	//  Class mixins
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-	 *  To be assigned by mix-in.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
+    //--------------------------------------------------------------------------
+    //
+    //  Class mixins
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  To be assigned by mix-in.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public static var isMonitoringImpl:Function;

     /**
-	 *  To be assigned by mix-in.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
+     *  To be assigned by mix-in.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public static var adjustURLRequestImpl:Function;

     /**
-	 *  To be assigned by mix-in.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
+     *  To be assigned by mix-in.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public static var monitorEventImpl:Function;

     /**
-	 *  To be assigned by mix-in.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
+     *  To be assigned by mix-in.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public static var monitorInvocationImpl:Function;

     /**
-	 *  To be assigned by mix-in.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
+     *  To be assigned by mix-in.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public static var monitorResultImpl:Function;

     /**
-	 *  To be assigned by mix-in.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
+     *  To be assigned by mix-in.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public static var monitorFaultImpl:Function;

-	//--------------------------------------------------------------------------
-	//
-	//  Class methods
-	//
-	//--------------------------------------------------------------------------
+    //--------------------------------------------------------------------------
+    //
+    //  Class methods
+    //
+    //--------------------------------------------------------------------------

     /**
      *  Returns true if the monitor is linked and monitoring.
@@ -118,31 +118,31 @@
         return isMonitoringImpl != null ? isMonitoringImpl() : false;
     }

-	/**
-	 *  Adjust the URLRequest so that it goes through the monitor.
-	 *  The URLRequest sent to the monitor will have two headers:
+    /**
+     *  Adjust the URLRequest so that it goes through the monitor.
+     *  The URLRequest sent to the monitor will have two headers:
      *  actualHostPort -- the real host:port for the url
      *  correlationID  -- the correlationID for the request in case it's from
      *                    messaging (Image/Loader requests need to create
      *                    their  own correlationIDs)
-	 *
+     *
      *  @param urlRequest The URLRequest to adjust.
-	 *  (Relative URLs are supported.)
-	 *
+     *  (Relative URLs are supported.)
+     *
      *  @param rootURL Used to compute an absolute URL from the relative
-	 *  if necessary, pass the SWFs URL.
-	 *
+     *  if necessary, pass the SWFs URL.
+     *
      *  @param correlationID The correlationID that may be used
-	 *  for associated events.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
+     *  for associated events.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
     public static function adjustURLRequest(urlRequest:URLRequest,
-											rootURL:String,
-											correlationID:String):void
+                                            rootURL:String,
+                                            correlationID:String):void
     {
         if (adjustURLRequestImpl != null)
             adjustURLRequestImpl(urlRequest, rootURL, correlationID);
@@ -150,15 +150,14 @@

     /**
      *  Tell the monitor that an event occurred.
-	 *  This may be used by the Loader to monitor Security and IOErrors
-	 *  (not that Security will ever be thrown).
-     *  I don't think it should be used in the general case and I'm not
-	 *  sure it should be used for the Loader's complete event either...
+     *  This may be used by the Loader to monitor Security and IOErrors
+     *  (not that Security will ever be thrown).
+     *  It should not be used for the Loader's complete event.
      *
      *  @param event The event that is about to occur (or occurred).
-	 *
+     *
      *  @param correlationID The correlationID to associate with other events
-	 *  or the request.
+     *  or the request.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -166,18 +165,18 @@
      *  @productversion Flex 3
      */
     public static function monitorEvent(event:Event,
-										correlationID:String):void
+                                        correlationID:String):void
     {
         if (monitorEventImpl != null)
-			monitorEventImpl(event, correlationID);
+            monitorEventImpl(event, correlationID);
     }

     /**
      *  Tell the monitor that an invocation is occuring.
-	 *
+     *
      *  @param id The id of the tag causing the invocation
-	 *  if it can be determined.
-	 *
+     *  if it can be determined.
+     *
      *  @param invocationMessage The Message that will be sent across the wire.
      *  (It is untyped here to avoid linking in the dependency.)
      *
@@ -187,18 +186,18 @@
      *  @productversion Flex 3
      */
     public static function monitorInvocation(id:String,
-											 invocationMessage:Object, messageAgent:Object):void
+                                             invocationMessage:Object, messageAgent:Object):void
     {
         if (monitorInvocationImpl != null)
-			monitorInvocationImpl(id, invocationMessage, messageAgent);
+            monitorInvocationImpl(id, invocationMessage, messageAgent);
     }

     /**
      *  Tell the monitor that a result was returned.
-	 *
+     *
      *  @param resultMessage The Message that came back indicating the result.
      *  (It is untyped here to avoid linking in the dependency.)
-	 *
+     *
      *  @param actualResult the decoded result
      *
      *  @langversion 3.0
@@ -207,19 +206,19 @@
      *  @productversion Flex 3
      */
     public static function monitorResult(resultMessage:Object,
-										 actualResult:Object):void
+                                         actualResult:Object):void
     {
         if (monitorResultImpl != null)
-			monitorResultImpl(resultMessage, actualResult);
+            monitorResultImpl(resultMessage, actualResult);
     }

     /**
      *  Tell the monitor that a fault occurred.
-	 *
+     *
      *  @param faultMessage The Message that came back indicating the result.
      *  It be null if this was due to an invocation failure.
      *  (It is untyped here to avoid linking in the dependency.)
-	 *
+     *
      *  @param actualFault The Fault that occurred.
      *  (It is untyped here to avoid linking in the dependency.)
      *
@@ -229,10 +228,10 @@
      *  @productversion Flex 3
      */
     public static function monitorFault(faultMessage:Object,
-										actualFault:Object):void
+                                        actualFault:Object):void
     {
         if (monitorFaultImpl != null)
-			monitorFaultImpl(faultMessage, actualFault);
+            monitorFaultImpl(faultMessage, actualFault);
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6352
Author:   smgilson@adobe.com
Date:     2009-04-28T20:04:17.982098Z

Log Message:
-----------
ASDoc edits for containers

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/IItemRendererOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/IItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/RendererExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -94,11 +94,41 @@

 /**
  *  The Group class is the base container class for visual elements.
+ *  The Group container take as children any components that implement
+ *  the IUIComponent interface, and any components that implement
+ *  the IGraphicElement interface.
+ *  Use this container when you want to manage visual children,
+ *  both visual components and graphical components.
+ *
+ *
To improve performance and minimize application size,
+ *  the Group container cannot be skinned.
+ *  If you want to apply a skin, use the SkinnableContainer instead.

+ *
+ *  @mxml
+ *
+ *
The <Group> tag inherits all of the tag
+ *  attributes of its superclass and adds the following tag attributes:

+ *
+ *

+ *  <Group
+ *    Properties
+ *    blendMode="normal"
+ *    mxmlContent="null"
+ *    scaleGridBottom="null"
+ *    scaleGridLeft"null"
+ *    scaleGridRight="null"
+ *    scaleGridTop"null"
+ *
+ *    Events
+ *    elementAdd="No default"
+ *    elementRemove="No default"
+ *  />
+ *

  *
  *  @see spark.components.DataGroup
+ *  @see spark.components.SkinnableContainer
  *
  *  @includeExample examples/GroupExample.mxml
- *
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -120,7 +150,7 @@
         super();
     }

-	//--------------------------------------------------------------------------
+    //--------------------------------------------------------------------------
     //
     //  Variables
     //
@@ -144,14 +174,14 @@
      */
     override public function set resizeMode(stringValue:String):void
     {
-    	if (isValidScaleGrid())
-        {
-        	// Force the resize mode to be scale if we
-        	// have set scaleGrid properties
-        	stringValue = ResizeMode.SCALE;
+        if (isValidScaleGrid())
+        {
+            // Force the resize mode to be scale if we
+            // have set scaleGrid properties
+            stringValue = ResizeMode.SCALE;
         }

-    	super.resizeMode = stringValue;
+        super.resizeMode = stringValue;
     }

     /**
@@ -168,7 +198,7 @@
             invalidateDisplayObjectOrdering();
     }

-	//--------------------------------------------------------------------------
+    //--------------------------------------------------------------------------
     //
     //  Properties
     //
@@ -295,15 +325,15 @@
     [ArrayElementType("mx.core.IVisualElement")]

     /**
-     *  Visual content children for this Group.
+     *  The visual content children for this Group.
      *
-     *
The content items should only be IVisualItems.  An
-     *  mxmlContent Array shouldn't be shared between multiple
-     *  Groups as visual elements can only live in one Group at
-     *  a time.

+     *
The content items should only be IVisualItem objectss.
+     *  An mxmlContent Array should not be shared between multiple
+     *  Group containers because visual elements can only live in one container
+     *  at a time.

      *
-     *
If the content is an Array, do not modify the array
-     *  directly. Use the methods defined on Group to do this.

+     *
If the content is an Array, do not modify the Array
+     *  directly. Use the methods defined by Group class instead.

      *
      *  @default null
      *
@@ -393,7 +423,7 @@
     // store the scaleGrid into a rectangle to save space (top, left, bottom, right);
     private var scaleGridStorageVariable:Rectangle;

-	//----------------------------------
+    //----------------------------------
     //  scale9Grid
     //----------------------------------

@@ -401,22 +431,22 @@
      *  @private
      */
     override public function set scale9Grid(value:Rectangle):void
-	{
-		if (value != null)
-		{
-			scaleGridTop = value.top;
-			scaleGridBottom = value.bottom;
-			scaleGridLeft = value.left;
-			scaleGridRight = value.right;
-		}
-		else
-		{
-			scaleGridTop = NaN;
-			scaleGridBottom = NaN;
-			scaleGridLeft = NaN;
-			scaleGridRight = NaN;
-		}
-	}
+    {
+        if (value != null)
+        {
+            scaleGridTop = value.top;
+            scaleGridBottom = value.bottom;
+            scaleGridLeft = value.left;
+            scaleGridRight = value.right;
+        }
+        else
+        {
+            scaleGridTop = NaN;
+            scaleGridBottom = NaN;
+            scaleGridLeft = NaN;
+            scaleGridRight = NaN;
+        }
+    }

     //----------------------------------
     //  scaleGridBottom
@@ -425,7 +455,7 @@
     [Inspectable(category="General")]

     /**
-     * Specfies the bottom coordinate of the scale grid.
+     *  Specifies the bottom coordinate of the scale grid.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -461,7 +491,7 @@
     [Inspectable(category="General")]

     /**
-     * Specfies the left coordinate of the scale grid.
+     * Specifies the left coordinate of the scale grid.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -498,7 +528,7 @@
     [Inspectable(category="General")]

     /**
-     * Specfies the right coordinate of the scale grid.
+     * Specifies the right coordinate of the scale grid.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -535,7 +565,7 @@
     [Inspectable(category="General")]

     /**
-     * Specfies the top coordinate of the scale grid.
+     * Specifies the top coordinate of the scale grid.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -566,10 +596,10 @@

     private function isValidScaleGrid():Boolean
     {
-    	return !isNaN(scaleGridLeft) &&
-        	   !isNaN(scaleGridTop) &&
-        	   !isNaN(scaleGridRight) &&
-        	   !isNaN(scaleGridBottom);
+        return !isNaN(scaleGridLeft) &&
+               !isNaN(scaleGridTop) &&
+               !isNaN(scaleGridRight) &&
+               !isNaN(scaleGridBottom);
     }

     //--------------------------------------------------------------------------
@@ -624,9 +654,9 @@

         if (scaleGridChanged)
         {
-        	// Don't reset scaleGridChanged since we also check it in updateDisplayList
-        	if (isValidScaleGrid())
-        		resizeMode = ResizeMode.SCALE; // Force the resizeMode to scale
+            // Don't reset scaleGridChanged since we also check it in updateDisplayList
+            if (isValidScaleGrid())
+                resizeMode = ResizeMode.SCALE; // Force the resizeMode to scale
         }

         // TODO EGeorgie: we need to optimize this, iterating through all the elements is slow.
@@ -671,7 +701,7 @@
      *  @private
      */
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
-    {
+    {
         super.updateDisplayList(unscaledWidth, unscaledHeight);

         // Clear the group's graphic because graphic elements might be drawing to it
@@ -686,70 +716,70 @@
         // the element with the shared displayObject and the next element that has a displayObject.
         if (numGraphicElements > 0)
         {
-	        var length:int = numElements;
-	        for (var i:int = 0; i < length; i++)
-	        {
-	            var element:IGraphicElement = getElementAt(i) as IGraphicElement;
-	            if (!element)
-	               continue;
-
-	            // Do a special check for layer, we may stumble upon an element with layer != 0
-	            // before we're done with the current shared sequence and we don't want to mark
-	            // the sequence as valid, until we reach the next sequence.
+            var length:int = numElements;
+            for (var i:int = 0; i < length; i++)
+            {
+                var element:IGraphicElement = getElementAt(i) as IGraphicElement;
+                if (!element)
+                   continue;
+
+                // Do a special check for layer, we may stumble upon an element with layer != 0
+                // before we're done with the current shared sequence and we don't want to mark
+                // the sequence as valid, until we reach the next sequence.
                 if (element.layer == 0)
                 {
-                    // Is this the start of a new shared sequence?
-	            	if (element.shareIndex <= 0)
-	            	{
-	            	    // We have finished redrawing the previous sequence
-	            	    if (sharedDisplayObject)
-	            	        sharedDisplayObject.redrawRequested = false;
-
-	            	    // Start the new sequence
+                    // Is this the start of a new shared sequence?
+                    if (element.shareIndex <= 0)
+                    {
+                        // We have finished redrawing the previous sequence
+                        if (sharedDisplayObject)
+                            sharedDisplayObject.redrawRequested = false;
+
+                        // Start the new sequence
                         sharedDisplayObject = element.displayObject as ISharedDisplayObject;
-	            	}
-
-	            	if (!sharedDisplayObject || sharedDisplayObject.redrawRequested)
-	            		element.validateDisplayList();
-	            }
-	            else
-	            {
-	                // If we have layering, we don't share the display objects.
-	                // Don't update the current sharedDisplayObject
-	                var elementDisplayObject:ISharedDisplayObject = element.displayObject as ISharedDisplayObject;
-	                if (!elementDisplayObject || elementDisplayObject.redrawRequested)
-	                {
-	                   element.validateDisplayList();
-
-	                   if (elementDisplayObject)
+                    }
+
+                    if (!sharedDisplayObject || sharedDisplayObject.redrawRequested)
+                        element.validateDisplayList();
+                }
+                else
+                {
+                    // If we have layering, we don't share the display objects.
+                    // Don't update the current sharedDisplayObject
+                    var elementDisplayObject:ISharedDisplayObject = element.displayObject as ISharedDisplayObject;
+                    if (!elementDisplayObject || elementDisplayObject.redrawRequested)
+                    {
+                       element.validateDisplayList();
+
+                       if (elementDisplayObject)
                            elementDisplayObject.redrawRequested = false;
-	                }
-	            }
-	        }
-        }
-
+                    }
+                }
+            }
+        }
+
         // Mark the last shared displayObject valid
         if (sharedDisplayObject)
             sharedDisplayObject.redrawRequested = false;

         if (scaleGridChanged)
         {
-        	scaleGridChanged = false;
-
-        	if (isValidScaleGrid())
-        	{
-	        	if (numChildren > 0)
-	        		throw new Error(resourceManager.getString("components", "scaleGridGroupError"));
-
-	        	super.scale9Grid = new Rectangle(scaleGridLeft,
-	        							   scaleGridTop,
-	        							   scaleGridRight - scaleGridLeft,
-	        							   scaleGridBottom - scaleGridTop);
-	        }
-	        else
-	        {
-	        	super.scale9Grid = null;
-	        }
+            scaleGridChanged = false;
+
+            if (isValidScaleGrid())
+            {
+                if (numChildren > 0)
+                    throw new Error(resourceManager.getString("components", "scaleGridGroupError"));
+
+                super.scale9Grid = new Rectangle(scaleGridLeft,
+                                           scaleGridTop,
+                                           scaleGridRight - scaleGridLeft,
+                                           scaleGridBottom - scaleGridTop);
+            }
+            else
+            {
+                super.scale9Grid = null;
+            }
         }
     }

@@ -1558,8 +1588,8 @@
     }

     /**
-     *  Notify the host that an element has changed and needs to be redrawn.
-     *  Group will call validateDisplayList() on the IGraphicElement
+     *  Notify the host component that an element has changed and needs to be redrawn.
+     *  Group calls the validateDisplayList() method on the IGraphicElement
      *  to give it a chance to redraw.
      *
      *  @param element The element that has changed.
@@ -1579,9 +1609,9 @@
     }

     /**
-     *  Notify the host that an element has changed and needs to validate properties.
-     *  Group will call validateProperties() on the IGraphicElement
-     *  to give it a chnace to commit its properties.
+     *  Notify the host component that an element changed and needs to validate properties.
+     *  Group calls the validateProperties() method on the IGraphicElement
+     *  to give it a chance to commit its properties.
      *
      *  @param element The element that has changed.
      *
@@ -1596,8 +1626,8 @@
     }

     /**
-     *  Notify the host that an element size has changed.
-     *  Group will call validateSize() on the IGraphicElement
+     *  Notify the host component that an element size has changed.
+     *  Group calls the validateSize() method on the IGraphicElement
      *  to give it a chance to validate its size.
      *
      *  @param element The element that has changed size.
@@ -1700,8 +1730,10 @@
     private var _redrawRequested:Boolean = false;

     /**
-     *  True when any of the IGraphicElement objects, that share
-     *  this DisplayObject, needs to redraw.  This is used internally
+     *  @private
+     *  Contains true when any of the IGraphicElement objects that share
+     *  this DisplayObject object needs to redraw.
+     *  This is used internally
      *  by the Group class and developers don't typically use this.
      *
      *  @langversion 3.0


Transferred from the Adobe Open Source Subversion Repository

Revision: 4386
Author:   rfrishbe@adobe.com
Date:     2008-12-23T18:40:13.562967Z

Log Message:
-----------
Ths is a regression from my checkin yesterday.  If the mxmlContent hasn't been validated yet and something gets added in the interrim, we should just add it anywhere on the display list.

This isn't an optimal fix as if th mxmlContent is invalid, we probably don't need to do anything here.  I'll make this optimization later.

QE Notes: We should add tests to make sure we test all these methods before proper initialization
Doc Notes: None
Bugs: SDK-18531
Reviewer: Corey
tests: checkintests, mustella Group tests

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -697,7 +697,7 @@
             // if the display object ordering is invalidated (because we have graphic elements
             // that aren't actually in the display list), then lets just add our item to the end.
             // If the ordering isn't invalidated, then let's just try to add it to the proper index.
-            if (invalidateDisplayObjectOrdering())
+            if (invalidateDisplayObjectOrdering() || mxmlContentChanged)
             {
                 // This always adds the child to the end of the display list. Any
                 // ordering discrepancies will be fixed up in assignDisplayObjects().


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

--- frameworks/projects/rpc/src/mx/rpc/xml/SchemaConstants.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/SchemaConstants.as
@@ -0,0 +1,291 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.rpc.xml
+{
+
+import mx.utils.StringUtil;
+import mx.utils.URLUtil;
+
+[ExcludeClass]
+
+/**
+ * Establishes the constants for a particular version of XML Schema
+ * Definition (XSD) and XML Schema Instance (XSI). The default namespaces are
+ * http://www.w3.org/2001/XMLSchema and
+ * http://www.w3.org/2001/XMLSchema-instance respectively (which correspond
+ * to XML Schema 1.1).
+ *
+ * @private
+ */
+public class SchemaConstants
+{
+    public function SchemaConstants(xsdNS:Namespace = null, xsiNS:Namespace = null)
+    {
+        super();
+
+        // Default to XSD and XSI 2001
+        if (xsdNS == null)
+            xsdNS = new Namespace(XML_SCHEMA_PREFIX, XSD_URI_2001);
+
+        if (xsiNS == null)
+            xsiNS = new Namespace(XML_SCHEMA_INSTANCE_PREFIX, XSI_URI_2001);
+
+        _xsdNS = xsdNS;
+        _xsiNS = xsiNS;
+
+        allQName = new QName(xsdURI, "all");
+        annotationQName = new QName(xsdURI, "annotation");
+        anyQName = new QName(xsdURI, "any");
+        anyTypeQName = new QName(xsdURI, "anyType");
+        anyAttributeQName = new QName(xsdURI, "anyAttribute");
+        appinfoQName = new QName(xsdURI, "appinfo");
+        attributeQName = new QName(xsdURI, "attribute");
+        attributeGroupQName = new QName(xsdURI, "attributeGroup");
+        choiceQName = new QName(xsdURI, "choice");
+        complexContentQName = new QName(xsdURI, "complexContent");
+        complexTypeQName = new QName(xsdURI, "complexType");
+        documentationQName = new QName(xsdURI, "documentation");
+        elementTypeQName = new QName(xsdURI, "element");
+        enumerationTypeQName = new QName(xsdURI, "enumeration");
+        extensionQName = new QName(xsdURI, "extension");
+        fieldQName = new QName(xsdURI, "field");
+        groupQName = new QName(xsdURI, "group");
+        importQName = new QName(xsdURI, "import");
+        includeQName = new QName(xsdURI, "include");
+        keyQName = new QName(xsdURI, "key");
+        keyrefQName = new QName(xsdURI, "keyref");
+        lengthQName = new QName(xsdURI, "length");
+        listQName = new QName(xsdURI, "list");
+        maxInclusiveQName = new QName(xsdURI, "maxInclusive");
+        maxLengthQName = new QName(xsdURI, "maxLength");
+        minInclusiveQName = new QName(xsdURI, "minInclusive");
+        minLengthQName = new QName(xsdURI, "minLength");
+        nameQName = new QName(xsdURI, "name");
+        patternQName = new QName(xsdURI, "pattern");
+        redefineQName = new QName(xsdURI, "redefine");
+        restrictionQName = new QName(xsdURI, "restriction");
+        schemaQName = new QName(xsdURI, "schema");
+        selectorQName = new QName(xsdURI, "selector");
+        sequenceQName = new QName(xsdURI, "sequence");
+        simpleContentQName = new QName(xsdURI, "simpleContent");
+        simpleTypeQName = new QName(xsdURI, "simpleType");
+        unionQName = new QName(xsdURI, "union");
+        uniqueQName = new QName(xsdURI, "unique");
+
+        var nilStr:String = "nil";
+        if (xsdURI == SchemaConstants.XSD_URI_1999)
+            nilStr = "null";
+
+        nilQName = new QName(xsiURI, nilStr);
+
+        // XML Schema Instance
+        typeAttrQName = new QName(xsiURI, "type");
+    }
+
+
+    //--------------------------------------------------------------------------
+    //
+    // Properties
+    //
+    //--------------------------------------------------------------------------
+
+    public function get xsdURI():String
+    {
+        return xsdNamespace.uri;
+    }
+
+    public function get xsdNamespace():Namespace
+    {
+        return _xsdNS;
+    }
+
+    public function get xsiURI():String
+    {
+        return xsiNamespace.uri;
+    }
+
+    public function get xsiNamespace():Namespace
+    {
+        return _xsiNS;
+    }
+
+
+    //--------------------------------------------------------------------------
+    //
+    // Methods
+    //
+    //--------------------------------------------------------------------------
+
+    public function getXSDToken(type:QName):String
+    {
+        return xsdNamespace.prefix + ":" + type.localName;
+    }
+
+    public function getXSIToken(type:QName):String
+    {
+        return xsiNamespace.prefix + ":" + type.localName;
+    }
+
+    public function getQName(localName:String):QName
+    {
+        if (localName == "type")
+            return typeAttrQName;
+        else
+            return new QName(xsdURI, localName);
+    }
+
+    public static function getConstants(xml:XML = null):SchemaConstants
+    {
+        var xsdNS:Namespace;
+        var xsiNS:Namespace;
+
+        if (xml != null)
+        {
+            var nsArray:Array = xml.namespaceDeclarations();
+            for each (var ns:Namespace in nsArray)
+            {
+                if (URLUtil.urisEqual(ns.uri, XSD_URI_1999))
+                {
+                    xsdNS = ns;
+                }
+                else if (URLUtil.urisEqual(ns.uri, XSD_URI_2000))
+                {
+                    xsdNS = ns;
+                }
+                else if (URLUtil.urisEqual(ns.uri, XSD_URI_2001))
+                {
+                    xsdNS = ns;
+                }
+                else if (URLUtil.urisEqual(ns.uri, XSI_URI_1999))
+                {
+                    xsiNS = ns;
+                }
+                else if (URLUtil.urisEqual(ns.uri, XSI_URI_2000))
+                {
+                    xsiNS = ns;
+                }
+                else if (URLUtil.urisEqual(ns.uri, XSI_URI_2001))
+                {
+                    xsiNS = ns;
+                }
+            }
+        }
+
+        // Default to XSD and XSI 2001
+        if (xsdNS == null)
+            xsdNS = new Namespace(XML_SCHEMA_PREFIX, XSD_URI_2001);
+
+        if (xsiNS == null)
+            xsiNS = new Namespace(XML_SCHEMA_INSTANCE_PREFIX, XSI_URI_2001);
+
+        if (constantsCache == null)
+            constantsCache = {};
+
+        var constants:SchemaConstants = constantsCache[xsdNS.uri];
+        if (constants == null)
+        {
+            constants = new SchemaConstants(xsdNS, xsiNS);
+            constantsCache[xsdNS.uri] = constants;
+        }
+
+        return constants;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Variables
+    //
+    //--------------------------------------------------------------------------
+
+    // XSD Elements
+    public var allQName:QName;
+    public var anyTypeQName:QName;
+    public var annotationQName:QName;
+    public var anyQName:QName;
+    public var anyAttributeQName:QName;
+    public var appinfoQName:QName;
+    public var attributeQName:QName;
+    public var attributeGroupQName:QName;
+    public var choiceQName:QName;
+    public var complexContentQName:QName;
+    public var complexTypeQName:QName;
+    public var documentationQName:QName;
+    public var elementTypeQName:QName;
+    public var enumerationTypeQName:QName;
+    public var extensionQName:QName;
+    public var fieldQName:QName;
+    public var groupQName:QName;
+    public var importQName:QName;
+    public var includeQName:QName;
+    public var keyQName:QName;
+    public var keyrefQName:QName;
+    public var lengthQName:QName;
+    public var listQName:QName;
+    public var maxInclusiveQName:QName;
+    public var maxLengthQName:QName;
+    public var minInclusiveQName:QName;
+    public var minLengthQName:QName;
+    public var nameQName:QName;
+    public var patternQName:QName;
+    public var redefineQName:QName;
+    public var restrictionQName:QName;
+    public var schemaQName:QName;
+    public var selectorQName:QName;
+    public var sequenceQName:QName;
+    public var simpleContentQName:QName;
+    public var simpleTypeQName:QName;
+    public var unionQName:QName;
+    public var uniqueQName:QName;
+
+    // XSI Elements
+    public var nilQName:QName;
+    public var typeAttrQName:QName;
+
+    /**
+     * The namespace representing the version of XML Schema Definition (XSD).
+     * Currently versions 1999, 2000 and 2001 are supported.
+     */
+    private var _xsdNS:Namespace;
+
+    /**
+     * The namespace representing the version of XML Schema Instance (XSI).
+     * Currently versions 1999, 2000 and 2001 are supported.
+     */
+    private var _xsiNS:Namespace;
+
+    private static var constantsCache:Object;
+
+
+    //--------------------------------------------------------------------------
+    //
+    // Constants
+    //
+    //--------------------------------------------------------------------------
+
+    //Diff between types and elements
+    public static const MODE_TYPE:int = 0;
+    public static const MODE_ELEMENT:int = 1;
+
+    // XML Namespace URI Constants
+    public static const XSD_URI_1999:String = "http://www.w3.org/1999/XMLSchema";
+    public static const XSD_URI_2000:String = "http://www.w3.org/2000/10/XMLSchema";
+    public static const XSD_URI_2001:String = "http://www.w3.org/2001/XMLSchema";
+    public static const XSI_URI_1999:String = "http://www.w3.org/1999/XMLSchema-instance";
+    public static const XSI_URI_2000:String = "http://www.w3.org/2000/10/XMLSchema-instance";
+    public static const XSI_URI_2001:String = "http://www.w3.org/2001/XMLSchema-instance";
+    public static const XML_SCHEMA_PREFIX:String = "xsd";
+    public static const XML_SCHEMA_INSTANCE_PREFIX:String = "xsi";
+    public static const XML_SCHEMA_URI:String = "http://www.w3.org/2001/XMLSchema";
+    public static const XML_SCHEMA_INSTANCE_URI:String = "http://www.w3.org/2001/XMLSchema-instance";
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 7448
Author:   jszeto@adobe.com
Date:     2009-05-29T21:11:34.571514Z

Log Message:
-----------
http://bugs.adobe.com/jira/browse/SDK-18373 - Defaults for some properties of Flex graphics classes do not match defaults in FXG xsd

Updated SolidColorStroke, GradientStroke, LinearGradientStroke and RadialGradientStroke with new default values. This shouldn't change the default behavior for caps and joints because the Player defaults to "round" if the value is null.

Updated GlowFilter and GradientGlowFilter

http://bugs.adobe.com/jira/browse/SDK-21493 - BitmapImage resizeMode default value is repeat should be normal

Updated the ASDoc comments to set default to "repeat"

QE Notes: None
Doc Notes: I made lots of small ASDoc changes
Bugs: SDK-18373, SDK-21493
Reviewer: Deepa

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

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

--- frameworks/projects/spark/src/spark/filters/GlowFilter.as
+++ frameworks/projects/spark/src/spark/filters/GlowFilter.as
@@ -96,8 +96,8 @@
 	 *
 	 */
 	public function GlowFilter(color:uint = 0xFF0000, alpha:Number = 1.0,
-							   blurX:Number = 6.0, blurY:Number = 6.0,
-							   strength:Number = 2, quality:int = 1,
+							   blurX:Number = 4.0, blurY:Number = 4.0,
+							   strength:Number = 1, quality:int = 1,
 							   inner:Boolean = false, knockout:Boolean = false)
 	{
 		this.color = color;