Transferred from the Adobe Open Source Subversion Repository

Revision: 19493
Author:   rfrishbe@adobe.com
Date:     2010-12-20T23:03:58.406534Z

Log Message:
-----------
Three fixes in LabelItemRenderer and IconItemRenderer:

1) When the iconField is not defined in the data, let's explicitly set the icon's source to null so we don't accidentally display any old data when the item renderer gets re-used
2) Push explicitWidth/explicitHeight down into the icon when iconWidth/iconHeight are set. This will save us a BitmapImage.measure() call when both are set.
3) When itemIndex is set, we only invalidate the display list when using alternatingItemColors.

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/IconItemRenderer.as
+++ frameworks/projects/mobilecomponents/src/spark/components/IconItemRenderer.as
@@ -761,6 +761,9 @@
             return;

         _iconHeight = value;
+
+		if (iconDisplay)
+			iconDisplay.explicitHeight = _iconHeight;

         invalidateSize();
         invalidateDisplayList();
@@ -842,6 +845,9 @@
             return;

         _iconWidth = value;
+
+		if (iconDisplay)
+			iconDisplay.explicitWidth = _iconWidth;

         invalidateSize();
         invalidateDisplayList();
@@ -1233,6 +1239,11 @@
                 iconDisplay.contentLoader = iconContentLoader;
                 iconDisplay.fillMode = iconFillMode;
                 iconDisplay.scaleMode = iconScaleMode;
+
+				if (!isNaN(iconWidth))
+					iconDisplay.explicitWidth = iconWidth;
+				if (!isNaN(iconHeight))
+					iconDisplay.explicitHeight = iconHeight;

                 iconDisplay.parentChanged(this);

@@ -1320,10 +1331,10 @@
             {
                 try
                 {
-                    if (iconField in data)
-                    {
+                    if (iconField in data && data[iconField] != null)
                         setIconDisplaySource(data[iconField]);
-                    }
+					else
+						setIconDisplaySource(null);
                 }
                 catch(e:Error)
                 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 16891
Author:   chiedozi@adobe.com
Date:     2010-07-12T22:24:37.031023Z

Log Message:
-----------
Added a couple of null checks to PersistenceManager to deal with DesignView RTEs

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

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers/PersistenceManager.as

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

--- frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as
+++ frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as
@@ -30,6 +30,7 @@
             {
                 so = SharedObject.getLocal("FXAppCache");
                 initialized = true;
+				enabled = (so != null);
             }
             catch (e:Error)
             {
@@ -66,13 +67,17 @@
             if (!initialized)
                 initialize();

-            so.clear();
-            so.flush();
+			if (enabled)
+			{
+	            so.clear();
+	            so.flush();
+			}
         }

         public function flush():void
         {
-            so.flush();
+			if (enabled)
+            	so.flush();
         }

     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6006
Author:   dsubrama@adobe.com
Date:     2009-04-07T23:13:52.682149Z

Log Message:
-----------
-new property, labelText, added to IItemRenderer interface
-owning components always push the right text down to the renderer (ie: setting the labelText property)
-DataGroup, SkinnableDataContainer now implement IItemRendererOwner
-labelField/labelFunction work for ButtonBar

QA: Yes
Checkintests: Pass
Reviewer: Ryan

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/skins/default/DefaultItemRenderer.mxml</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/ButtonBarButton.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/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
@@ -11,18 +11,19 @@

 package spark.components.supportClasses
 {
-import flash.display.DisplayObjectContainer;
 import flash.events.Event;
 import flash.events.MouseEvent;
 import flash.geom.Point;

 import mx.core.mx_internal;
+import mx.events.FlexEvent;
+import mx.styles.StyleManager;
+
 import spark.components.DataGroup;
 import spark.components.Group;
 import spark.components.IItemRenderer;
-import spark.components.MXMLComponent;
+import spark.components.MXMLComponent;
 import spark.primitives.supportClasses.TextGraphicElement;
-import mx.styles.StyleManager;

 /**
  *  The ItemRenderer class is the base class for Spark item renderers.
@@ -230,13 +231,42 @@
      *  @productversion Flex 4
      */
     public var labelElement:TextGraphicElement;
-
-    //--------------------------------------------------------------------------
-    //
-    //  Overridden properties: UIComponent
-    //
-    //--------------------------------------------------------------------------
-
+
+    //----------------------------------
+    //  labelText
+    //----------------------------------
+    [Bindable("textChanged")]
+
+    /**
+     *  @private
+     *  Storage var for labelText
+     */
+    private var _labelText:String = "";
+
+    /**
+     * @inheritDoc
+     */
+    public function get labelText():String
+    {
+        return _labelText;
+    }
+
+    /**
+     *  @private
+     */
+    public function set labelText(value:String):void
+    {
+        if (value != _labelText)
+            _labelText = value;
+        dispatchEvent(new FlexEvent("textChanged"));
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden Properties - UIComponent
+    //
+    //--------------------------------------------------------------------------
+
     //----------------------------------
     //  baselinePosition
     //----------------------------------


Removed unused object

Removed unused object

--- WeaveUISpark/src/weave/visualization/plotters/AbstractGlyphPlotter.as
+++ WeaveUISpark/src/weave/visualization/plotters/AbstractGlyphPlotter.as
@@ -68,8 +68,6 @@
 			linkSessionState(_filteredKeySet.keyFilter, filteredDataY.filter);
 		}

-		private var _keySetUnion:KeySetUnion = newDisposableChild(this, KeySetUnion);
-
 		protected const filteredDataX:FilteredColumn = newDisposableChild(this, FilteredColumn);
 		protected const filteredDataY:FilteredColumn = newDisposableChild(this, FilteredColumn);
 		public const zoomToSubset:LinkableBoolean = registerSpatialProperty(new LinkableBoolean(false));


Transferred from the Adobe Open Source Subversion Repository

Revision: 22039
Author:   ksimm@adobe.com
Date:     2011-08-16T23:49:42.938596Z

Log Message:
-----------
Fix for SDK-31203, SDK-31202, SDK-31086.
- check whether minStepSize is positive, and 60 is divisible by minStepSize
- compare date using minDate.date instead of minDate.time when disabling invalid date
- add doc about the minDate's year range that is from 1601 to 9999 (range that can be formatted using DateTimeFormatter)

QE notes: none
Doc notes: none
Bugs: SDK-31203, SDK-31202, SDK-31086
Reviewer: Tom Kraikit
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/DateAndTimeProvider.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as
+++ frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as
@@ -451,13 +451,15 @@

     private var minDateChanged:Boolean = false;

+    // TODO: add reference after the global team adds the doc
     /**
      *  Minimum selectable date; only dates after this date are selectable.
      *
      *  @default If minDate is null, the value defaults to 100 years prior to
      *           the currently selected date in DATE mode, and 100 days prior
      *           to the currently selected date in DATE_AND_TIME mode.
-     *
+     *           minDate's year should be greater than or equal to 1601 since
+     *           DateTimeFormatter only supports the range from 1601 to 30827.
      *  @langversion 3.0
      *  @playerversion AIR 3
      *  @productversion Flex 4.5.2
@@ -510,6 +512,9 @@
         if (value == _minuteStepSize)
             return;

+        if (value <= 0 || 60 % value != 0)
+            value = 1;
+
         _minuteStepSize = value;
         minuteStepSizeChanged = true;
         populateMinuteDataProvider = true;
@@ -1169,13 +1174,14 @@
                     // is the date invalid for this month?
                     var newEnabledValue:Boolean = i < numDaysInMonth;

-                    if (newEnabledValue && (minMonthMatch || maxMonthMatch))
+                    if (newEnabledValue)
                     {
                         // test for outside min/max range
                         tempDate.date = curObj.data;

-                        if (tempDate.time < minDate.time ||
-                            tempDate.time > maxDate.time)
+                        if (minMonthMatch && tempDate.date < minDate.date)
+                            newEnabledValue = false;
+                        if (maxMonthMatch && tempDate.date > maxDate.date)
                             newEnabledValue = false;
                     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 9177
Author:   jimurphy@adobe.com
Date:     2009-08-07T21:15:07.894169Z

Log Message:
-----------
Merged 3.4 revisions 8630,8660,8683,8735,8750,8753,8755,8757,8759,8764,8776,8798,8821,8824,8837,8862,8911,8946,8949,8962,8965,9026,9109,9131,9138-9139,9147 -> trunk

integrates:
player: 10.0.32.18
AIR kit: 1.5.2.8870 (20090721ap)

checkintests: pass

(btw: I'm not happy about doing this on a Friday PM!)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Install Flash Player 10 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/player/10/playerglobal.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLDecoder.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/flashplayer.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/win/AIR Integration Kit.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/libflashplayer.so.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/FlashPlayer.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Flash Player.app.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 Plugin.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/mxml/IMXMLSupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/ISOAPDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/install_flash_player_10_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLSchemaInstance.as</path>

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

--- frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridColumn.as
+++ frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridColumn.as
@@ -288,6 +288,13 @@

     /**
      *  @private
+     *  cached header renderer so we don't have to keep
+     *  making new ones
+     */
+    mx_internal var cachedHeaderRenderer:IListItemRenderer;
+
+    /**
+     *  @private
      * Holds the last recorded value of the module factory used to create the font.
      */
     private var oldEmbeddedFontContext:IFlexModuleFactory = null;


Transferred from the Adobe Open Source Subversion Repository

Revision: 16560
Author:   smgilson@adobe.com
Date:     2010-06-14T21:14:37.093170Z

Log Message:
-----------
Fix ASDoc version tags for several Flex 4 classes makred as Flex 3

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NavigatorContent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/LoaderInvalidationEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/ListDropIndicator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -89,9 +89,9 @@
  *  @default 2
  *
  *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 [Style(name="focusThickness", type="Number", format="Length", inherit="no", minValue="0.0")]


Transferred from the Adobe Open Source Subversion Repository

Revision: 18469
Author:   hmuller@adobe.com
Date:     2010-11-05T16:58:04.832522Z

Log Message:
-----------
Removed temporary change from GridLayout; shouldn't have been part of commit SVN 18468.

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

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
@@ -498,8 +498,6 @@

         oldVisibleRowIndices.length = 0;
         oldVisibleColumnIndices.length = 0;
-
-        grid.dataGrid.dispatchEvent(new Event("invalidateSize"));

         if (enablePerformanceStatistics)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13082
Author:   jszeto@adobe.com
Date:     2009-12-18T00:02:56.908450Z

Log Message:
-----------
BaselinePosition bug fixes

SDK-23462 - When using embedded fonts with some components (DropDownList, HSlider, Border, DataGroup), the baselinePosition is a bad value

Added override of baselinePosition to Combobox. Removed override from DropDownListBase. Updated a few overrides to use getBaselinePositionForPart.

QE notes: none
Doc notes: none
Bugs: SDK-23462
Reviewer: Evtim
Tests run: checkintests, DropDownList, ComboBox
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as
+++ frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as
@@ -320,10 +320,7 @@
      */
     override public function get baselinePosition():Number
     {
-        if (muteButton)
-            return muteButton.baselinePosition;
-        else
-            return NaN;
+        return getBaselinePositionForPart(muteButton);
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 4104
Author:   hmuller@adobe.com
Date:     2008-11-13T19:50:54.902668Z

Log Message:
-----------
Fixed 17891, added LayoutBase::getScrollPositionDelta().

LayoutBase::getScrollPositionDelta() computes the
vertical,horizontalScrollPosition deltas needed to scroll the item at
the specified index into view.

QE Notes: Regression test for 17891 is needed, and new tests for getScrollPositionDelta()
Doc Notes: None
Bugs: sdk-17891
Reviewer: Ryan

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as

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

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

 import flash.events.Event;
 import flash.geom.Rectangle;
+import flash.geom.Point;
 import flash.ui.Keyboard;

 import mx.components.baseClasses.GroupBase;
@@ -204,10 +205,10 @@
         switch (unit)
         {
             case ScrollUnit.LEFT:
-                return (scrollR.x <= 0) ? 0 : -1;
+                return Math.max(-1, minDelta);

             case ScrollUnit.RIGHT:
-                return (scrollR.x >= maxDelta) ? 0 : 1;
+                return Math.min(1, maxDelta);

             case ScrollUnit.PAGE_LEFT:
                 return Math.max(minDelta, -scrollR.width);
@@ -249,10 +250,10 @@
         switch (unit)
         {
         	case ScrollUnit.UP:
-        	    return (scrollR.y <= 0) ? 0 : -1;
+        	    return Math.max(-1, minDelta);

         	case ScrollUnit.DOWN:
-        	    return (scrollR.y >= maxDelta) ? 0 : 1;
+        	    return Math.min(1, maxDelta);

             case ScrollUnit.PAGE_UP:
                 return Math.max(minDelta, -scrollR.height);
@@ -269,7 +270,89 @@
             default:
                 return 0;
         }
-    }
+    }
+
+    /**
+     *  LayoutBase::getScrollPositionDelta() computes the
+     *  vertical and horizontalScrollPosition deltas needed to
+     *  scroll the item at the specified index into view.
+     *
+     *  If clipContent is true and the item at the specified index is not
+     *  entirely visible relative to the target's scrollRect, then
+     *  return the delta to be added to horizontalScrollPosition and
+     *  verticalScrollPosition that will scroll the item completely
+     *  within the scrollRect's bounds.
+     *
+     *  If the specified item is partially visible and larger than the
+     *  scrollRect, i.e. it's already the only item visible, then
+     *  null is returned.
+     *
+     *  This method attempts to minmimze the change to verticalScrollPosition
+     *  and horizontalScrollPosition.
+     *
+     *  If the specified index is invalid, or target is null, then
+     *  null is returned.
+     *
+     *  If the item at the specified index is null or includeInLayout
+     *  false, then null is returned.
+     *
+     *  @param index The index of the item to be scrolled into view.
+     *  @return A Point that contains offsets to horizontalScrollPosition
+     *      and verticalScrollPosition that will scroll the specified
+     *      item into view, or null if no change is needed.
+     *
+     *  @see clipContent
+     *  @see verticalScrollPosition
+     *  @see horizontalScrollPosition
+     *  @see udpdateScrollRect
+     */
+     public function getScrollPositionDelta(index:int):Point
+     {
+         if (!target || !clipContent)
+            return null;
+
+         var n:int = target.numLayoutItems;
+         if ((index < 0) || (index >= n))
+            return null;
+
+         var item:ILayoutItem = target.getLayoutItemAt(index);
+         if (!item || !item.includeInLayout)
+            return null;
+
+         var scrollR:Rectangle = target.scrollRect;
+         if (!scrollR)
+            return null;
+
+         var itemXY:Point = item.actualPosition;
+         var itemWH:Point = item.actualSize;
+         var itemR:Rectangle = new Rectangle(itemXY.x, itemXY.y, itemWH.x, itemWH.y);
+
+         if (scrollR.containsRect(itemR) || itemR.containsRect(scrollR))
+            return null;
+
+         var dxl:Number = itemR.left - scrollR.left;     // left justify item
+         var dxr:Number = itemR.right - scrollR.right;   // right justify item
+         var dyt:Number = itemR.top - scrollR.top;       // top justify item
+         var dyb:Number = itemR.bottom - scrollR.bottom; // bottom justify item
+
+         // minimize the scroll
+         var dx:Number = (Math.abs(dxl) < Math.abs(dxr)) ? dxl : dxr;
+         var dy:Number = (Math.abs(dyt) < Math.abs(dyb)) ? dyt : dyb;
+
+         // scrollR "contains"  itemR in just one dimension
+         if ((itemR.left >= scrollR.left) && (itemR.right <= scrollR.right))
+            dx = 0;
+         else if ((itemR.bottom >= scrollR.bottom) && (itemR.top <= scrollR.top))
+            dy = 0;
+
+         // itemR "contains" scrollR in just one dimension
+         if ((itemR.left <= scrollR.left) && (itemR.right >= scrollR.right))
+            dx = 0;
+         else if ((itemR.bottom <= scrollR.bottom) && (itemR.top >= scrollR.top))
+            dy = 0;
+
+         return new Point(dx, dy);
+     }

     /**
      *  Called when the verticalScrollPosition or horizontalScrollPosition


Transferred from the Adobe Open Source Subversion Repository

Revision: 3554
Author:   hmuller@adobe.com
Date:     2008-10-09T23:47:11.193434Z

Log Message:
-----------
Bug fixes: 17258, 17146, 17193

Now correctly handle the
HorizontalLayout::horizontalScrollPositionDelta() special case where
there's just one item the scrollRect, and the item is partially
visible and left justified, and the requested scroll unit is RIGHT.
Likewise for right justified and RIGHT and likewise for
VerticalLayout.

The fix is in findLayoutItemBounds() (defined in both Horizontal
and VerticalLayout), which now deals with this case correctly.
This method's responsibilities have changed as part of a larger
refactoring effort that also supports better step/page behavior
for extremely large items.

QE: No
Doc: No
Checkintests: Pass
Reviewer: Evtim
Bugs:
    SDK-17258 - inView method throws an RTE when passing in invalid indexes
    SDK-17146 - Horizontal Scroller only respond to RIGHT/LEFT buttons
    SDK-17193 - Scroll position delta methods loop when scrolling through items larger than the viewport size

Modified Paths:
--------------
<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/FxVScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -30,12 +30,12 @@
     //
     //--------------------------------------------------------------------------

-    protected static function hasPercentWidth(layoutItem:ILayoutItem):Boolean
+    internal static function hasPercentWidth(layoutItem:ILayoutItem):Boolean
     {
         return !isNaN( layoutItem.percentSize.x );
     }

-    protected static function hasPercentHeight(layoutItem:ILayoutItem):Boolean
+    internal static function hasPercentHeight(layoutItem:ILayoutItem):Boolean
     {
         return !isNaN( layoutItem.percentSize.y );
     }


- bugfix: the last batch of validation changes broke box-sizing: border-box for elements that where validated more than once without the dimension relevant dimension being changed during the validations

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

--- src/reprise/ui/UIComponent.as
+++ src/reprise/ui/UIComponent.as
@@ -2062,6 +2062,10 @@
 					m_currentStyles.width =
 						wProp.resolveRelativeValueTo(relevantWidth, this);
 				}
+				else if (borderBoxSizing)
+				{
+					m_currentStyles.width = wProp.specifiedValue();
+				}
 				if (borderBoxSizing)
 				{
 					m_currentStyles.width -=
@@ -2084,18 +2088,18 @@

 			if (borderBoxSizing && !m_autoFlags.height)
 			{
-				var baseHeight : int = m_currentStyles.height;
-				m_contentBoxHeight -=
-					m_currentStyles.borderTopWidth + m_currentStyles.paddingTop +
-					m_currentStyles.borderBottomWidth + m_currentStyles.paddingBottom;
+				var baseHeight : int = styles.getStyle('height').resolveRelativeValueTo(parentH);
+				m_contentBoxHeight = baseHeight -
+					(m_currentStyles.borderTopWidth + m_currentStyles.paddingTop +
+					m_currentStyles.borderBottomWidth + m_currentStyles.paddingBottom);
 				if (m_contentBoxHeight < 0)
 				{
 					m_contentBoxHeight = 0;
 				}
 				m_currentStyles.height = m_contentBoxHeight;
-				if (!m_changedStyleProperties.height && m_currentStyles.height != baseHeight)
-				{
-				m_changedStyleProperties.addChange('height');
+				if (!m_changedStyleProperties.height && m_contentBoxHeight != baseHeight)
+				{
+					m_changedStyleProperties.addChange('height');
 				}
 			}
 			//TODO: verify that we should really resolve the border-radii this way


Transferred from the Adobe Open Source Subversion Repository

Revision: 8309
Author:   aharui@adobe.com
Date:     2009-06-26T15:41:04.510261Z

Log Message:
-----------
Fix bugs in WindowedSystemManager related to drag-drop, off-screen mouse events, performance when lots of windows are up, and some cleanup

QE Notes: None
Doc Notes: None
Bugs: SDK-21507, SDK-20619, SDK-21453, SDK-21539
Reviewer: darrell
tests: checkintests mustella/MarshallPlan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/StageEventProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.as
+++ frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.as
@@ -27,6 +27,8 @@

 	public static var changingListenersInOtherSystemManagers:Boolean;

+	public static var dispatchingEventToOtherSystemManagers:Boolean;
+
     /**
      *  @private
      *  reference to the info() object from the first systemManager


fix for RTE in mustella tests

fix for RTE in mustella tests

--- frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
+++ frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
@@ -865,7 +865,10 @@
                 {
                     if (bundleObject[obj] == localeBundleNameString)
                     {
-                        bundle = obj as IResourceBundle;
+						if (bundleObject is ResourceBundleProxy)
+							bundle = loadResourceBundleProxy(ResourceBundleProxy(bundleObject));
+						else
+							bundle = bundleObject as IResourceBundle;
                         break;
                     }
                 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 18259
Author:   deeptika@adobe.com
Date:     2010-10-21T09:02:19.811454Z

Log Message:
-----------
Automation support for item-editing, column resize and header clicks in spark DG
(New xml should be taken from changelist 290001 in perforce)

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/tabularData/SparkDataGridTabularData.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkUITextFieldGridItemRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/manifest_automation_spark.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkComboBoxAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/AutomationSparkClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkDefaultGridHeaderRendererAutomationImpl.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/gridClasses</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/SparkRichEditableTextAutomationHelper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkDropDownListBaseAutomationImpl.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/gridClasses/SparkGridItemRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkDataGridAutomationImpl.as</path>

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

--- frameworks/projects/automation_spark/src/spark/automation/tabularData/SparkDataGridTabularData.as
+++ frameworks/projects/automation_spark/src/spark/automation/tabularData/SparkDataGridTabularData.as
@@ -132,7 +132,7 @@
 				var colValues:Array = [];
 				for(var j:int = 0; j < col; j++)
 				{
-					var autObj:IAutomationObject = renderers[i][j] as IAutomationObject;
+					var autObj:IAutomationObject = renderers[i+1][j] as IAutomationObject;	//i+1 in order to by pass header item
 					if(autObj)
 					{
 						colValues.push(autObj.automationValue.join(" | "));


Transferred from the Adobe Open Source Subversion Repository

Revision: 4111
Author:   chaase@adobe.com
Date:     2008-11-14T16:39:46.711628Z

Log Message:
-----------
Makes auto-reversal of transitions work more completely and correctly, fixing some API issues and other related animation/effect issues along the way. Seeking behavior in effects is improved (although still far from perfect, especially for non-playing effects), and dynamic behavior of effects (picking up values dynamically from the environment) is improved.

QE Notes: better seek() behavior, can just call it on non-playing effects and it will automatically play/pause the effect if necessary
Doc Notes: None
Bugs: sdk-17294, sdk-16595, sdk-18104, sdk-18105, sdk-18106, sdk-18107
Reviewer: Jason
tests: checkintests, Mustella: tests/Effects, tests/gumbo/effects tests/ListDataEffects

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/Transition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EffectEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Parallel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/CallAction.as</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/framework/src/mx/effects/IEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Sequence.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/AddAction.as</path>

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

--- frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as
@@ -84,17 +84,6 @@
 	//
 	//--------------------------------------------------------------------------

-    /**
-     * Returns the duration of this Parallel effect, which is the
-     * max of the duration of all child effects. This does not include
-     * any startDelay or repeatCount/repeatDelay on the Parallel effect,
-     * but just the durations of the child effects.
-     */
-    override public function get duration():Number
-    {
-        return durationWithoutRepeat;
-    }
-
 	//----------------------------------
 	//  durationWithoutRepeat
 	//----------------------------------
@@ -104,24 +93,17 @@
 	 */
     override mx_internal function get durationWithoutRepeat():Number
     {
-        var compositeDuration:Number = 0;
+        var _duration:Number = 0;

         // Get the largest actualDuration of all of our children
         var n:int = childSets.length;
         for (var i:int = 0; i < n; i++)
         {
             var instances:Array = childSets[i];
-            var childInstanceDur:Number =
-                instances[0].mx_internal::durationExplicitlySet ?
-                instances[0].actualDuration :
-                super.duration * instances[0].repeatCount +
-                    (instances[0].repeatDelay * instances[0].repeatCount - 1) +
-                    instances[0].startDelay;
-
-            compositeDuration = Math.max(childInstanceDur, compositeDuration);
+            _duration = Math.max(instances[0].actualDuration, _duration);
         }

-        return compositeDuration;
+        return _duration;
     }

 	//--------------------------------------------------------------------------
@@ -129,30 +111,6 @@
 	//  Overridden methods
 	//
 	//--------------------------------------------------------------------------
-
-    /**
-     * @inheritDoc
-     *
-     * In a Parallel effect, seek will cause all child effects to seek to
-     * the same seekTime. This may cause child effects to
-     * lessen their startDelay (if they are currently waiting to be played),
-     * start playing (if the seekTime is greater than their startDelay), or
-     * come to an end (if the seekTime is greater than their startDelay plus
-     * their duration).
-     */
-    override public function seek(seekTime:Number):void
-    {
-        // Tell all of our active children to seek()
-
-        var n:int = childSets.length;
-        for (var i:int = 0; i < n; i++)
-        {
-            var instances:Array = childSets[i];
-            for (var j:int = 0; j < instances.length; ++j)
-                instances[j].seek(seekTime);
-        }
-        super.seek(seekTime);
-    }

 	/**
 	 *  @private


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

--- frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as
+++ frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as
@@ -1,4 +1,18 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 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.
+//
+////////////////////////////////////////////////////////////////////////////////

+// Warning: the implementation of this class is identical to DefaultGridItemRenderer.
+// Although most of the common code has been factored into the "TextFieldGridItemRendererInclude.as"
+// include file, the imports metadata and other code below have been copied.  All changes
+// to this file should be mirrored by DefaultGridItemRenderer.as.

 package spark.skins.spark
 {


Shader constants allocation tables are now padded to have table.length % 4 == 0. It fixes shader constant upload that consider only numConstants - 1 constants if the length of the constants table is not a multiple of 4.

--- src/aerys/minko/render/shader/compiler/allocator/ConstantAllocator.as
+++ src/aerys/minko/render/shader/compiler/allocator/ConstantAllocator.as
@@ -40,14 +40,16 @@

 		public function computeConstantAllocation() : Vector.<Number>
 		{
-			var result		: Vector.<Number>	= new Vector.<Number>();
+			var result		: Vector.<Number>	= new Vector.<Number>(_maxOffset);
 			var allocLength	: int				= _allocations.length;
+			var size		: int				= 0;

 			for (var i : uint = 0; i < allocLength; ++i)
 			{
 				var alloc : Allocation = _allocations[i];
-				if (result.length < alloc.offset + alloc.size)
-					result.length = alloc.offset + alloc.size;
+
+				if (size < alloc.offset + alloc.size)
+					size = alloc.offset + alloc.size;

 				if (alloc.node is Constant)
 				{
@@ -56,6 +58,9 @@
 				}
 			}

+			// make sure table.length % 4 == 0
+			result.length = Math.ceil(size / 4) * 4;
+
 			return result;
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 10075
Author:   rfrishbe@adobe.com
Date:     2009-09-09T01:01:58.077369Z

Log Message:
-----------
Cleanups from the spark text changes and some bug fixes for VideoElement.  Also some PARB changes for UIComponent.

TitleBar: Changing the skin part type from Label to Textbase

UIComponent: skipMeasure()->canSkipMeasurement() to be in line with GraphicElement.  This has been PARB approved.
UIComponent: same with hasComplexLayoutMatrix...this replaces hasDeltaIdentityTransform.  This has been PARB approved.

StyleProtoChain: cleanup around what interfaces to use

TextBase: clean up code that’s no longer needed.

VideoElement: Fixing 4 bugs:
SDK-22824: sourceLastPlayed keeps track of what video file we’ve called play() with last.  This way if a user pauses the video and wants to start it up again at the same point, we can call play(null) on the underlying FLVPlayback videoPlayer.  However, anytime the souce changes, we want to null out sourceLastPlayed.  This was causing a bug when someone set the source to null and then reset it to it’s previous value.

SDK-23034 (GUMBO_PRIORITY): This deals with some FLVPlayback quirks around sizing.  I had put in a fix so we weren’t setting width/height on the underlying videoPlayer too many times, but apparently we need to make sure it always gets called once.  Hopefully when switching to Strobe we can cleanup this logic...I put a FIXME in to do this.

SDK-21947/ SDK-22533 - some video files don’t always send out a metadata event.  I’m not quite sure why this is, but in case this happens, we do a check in the ready handler to see whether we should call invalidateSize() to make sure it gets sized properly.

QE notes:-
Doc notes:-
Bugs: SDK-22824, SDK-23034, SDK-21947, SDK-22533
Reviewer: Glenn, Corey
Tests run: checkintests, Button, GraphicTags, VideoElement, and VideoPlayer (some VideoPlayer were failing, but I think it should be fine)
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AddActionInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AddActionInstance.as
@@ -123,8 +123,6 @@

     private function addChild(container:*, child:*):void
     {
-        // FIXME (rfrishbe): can remove once we're sure all parents are
-        // IVisualElementContainers (Flash Component Kit)
         if (container is IVisualElementContainer)
            IVisualElementContainer(container).addElement(child);
         else


Transferred from the Adobe Open Source Subversion Repository

Revision: 3973
Author:   rfrishbe@adobe.com
Date:     2008-10-30T20:30:13.007923Z

Log Message:
-----------
Adding IVisualContainer interface.  Group, FxContainer, and FxScroller implement this interface now.  Added owner and parent to IVisualItem.  GraphicElement and UIComponent implement this interface--work had to be done in GraphicElement to do this.  In doing so, elementHost is going to be renamed to parent.  For now, I added parent in GraphicElement and left elementHost in there; however, it is removed from IGraphicElement.  I’ve removed all references to elementHost in our code; however, I think mustella needs to be updated as do mustella tests, so I’m not going to remove elementHost until later.

Most of the changes here are name changes dealing with "elementHost" -> "parent".  If we decide that Gumbo components only support IVisualItems, we should clean up some of the code, but for now, I kept any assumptions that were in the original code (meaning we may be able to support DisplayObjects and old definitions of UIComponents/IUIComponents that aren’t IVisualItems).

I ran checkin tests, Group mustella tests, DataGroup mustella tests, FxContainer mustella tests, graphic tags tests, and all effects Mustella tests.

QE Notes: We will need to update mustella and mustella tests to use elementHost rather than parent.  We can also update mustella to use IVisualContainer rather than what it's doing now.  However, let's wait on these changes for now.  I'll send out an email when we're ready to make these changes and remove elementHost from GraphicElement.
Doc Notes: None
Bugs: -
Reviewer: Chet

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IVisualContainer.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/effects/effectClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IUIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -46,6 +46,7 @@
 import mx.managers.ILayoutManagerClient;
 import mx.utils.MatrixUtil;
 import mx.utils.OnDemandEventDispatcher;
+import flash.display.DisplayObjectContainer;

 use namespace mx_internal;

@@ -402,6 +403,48 @@
         _bottom = value;
         invalidateParentSizeAndDisplayList();
     }
+
+    //----------------------------------
+    //  owner
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _owner:DisplayObjectContainer;
+
+    /**
+     *  @inheritDoc
+     */
+    public function get owner():DisplayObjectContainer
+    {
+        return _owner ? _owner : parent;
+    }
+
+    public function set owner(value:DisplayObjectContainer):void
+    {
+        _owner = value;
+    }
+
+    //----------------------------------
+    //  parent
+    //----------------------------------
+
+    /**
+     *  @inheritDoc
+     */
+    public function get parent():DisplayObjectContainer
+    {
+        return elementHost;
+    }
+
+    /**
+     *  @private
+     */
+    public function set parent(value:DisplayObjectContainer):void
+    {
+        elementHost = GroupBase(value);
+    }

     //----------------------------------
     //  elementHost
@@ -414,7 +457,8 @@
     protected var _host:GroupBase;

     /**
-     *  The Group or Graphic tag that contains this element.
+     *  The is a temporary property, which will be removed when all references to
+     *  elementHost have been removed.
      */
     public function get elementHost():GroupBase
     {
@@ -2073,7 +2117,9 @@
         var result:Number = x;
         if(layoutFeatures != null && layoutFeatures.offsets != null)
             result +=  layoutFeatures.offsets.x;
-        return sharedDisplayObject && sharedDisplayObject != elementHost ? result - sharedDisplayObject.x : result;
+        return (sharedDisplayObject && (sharedDisplayObject != parent)) ?
+                    result - sharedDisplayObject.x :
+                    result;
     }

     //----------------------------------
@@ -2092,7 +2138,7 @@
         var result:Number = y;
         if(layoutFeatures != null && layoutFeatures.offsets != null)
             result +=  layoutFeatures.offsets.y;
-        return sharedDisplayObject && sharedDisplayObject != elementHost ? result - sharedDisplayObject.y : result;
+        return sharedDisplayObject && sharedDisplayObject != parent ? result - sharedDisplayObject.y : result;
     }

     //----------------------------------
@@ -2370,8 +2416,8 @@
         // to preseve original behavior before layout API unification.
         invalidateDisplayList();

-        if (elementHost)
-            elementHost.elementLayerChanged(this);
+        if (parent)
+            GroupBase(parent).elementLayerChanged(this);
     }

     /**
@@ -2389,8 +2435,8 @@
         invalidatePropertiesFlag = true;

         // TODO EGeorgie: hook up directly with the layout manager?
-        if (elementHost && elementHost is IInvalidating)
-            IInvalidating(elementHost).invalidateProperties();
+        if (parent && parent is IInvalidating)
+            IInvalidating(parent).invalidateProperties();
     }

     /**
@@ -2411,8 +2457,8 @@
         invalidateSizeFlag = true;

         // TODO EGeorgie: hook up directly with the layout manager?
-        if (elementHost)
-            elementHost.elementSizeChanged(this);
+        if (parent)
+            GroupBase(parent).elementSizeChanged(this);
     }

     /**
@@ -2425,10 +2471,10 @@
             return;

         // We want to invalidate both the parent size and parent display list.
-        if (elementHost && elementHost is IInvalidating)
-        {
-            IInvalidating(elementHost).invalidateSize();
-            IInvalidating(elementHost).invalidateDisplayList();
+        if (parent && parent is IInvalidating)
+        {
+            IInvalidating(parent).invalidateSize();
+            IInvalidating(parent).invalidateDisplayList();
         }
     }

@@ -2450,8 +2496,8 @@
         // will be invalidated as well.

         // TODO EGeorgie: hook up directly with the layout manager?
-        if (elementHost)
-            elementHost.elementChanged(this);
+        if (parent)
+            GroupBase(parent).elementChanged(this);
     }

     /**
@@ -2462,10 +2508,10 @@
      */
     public function validateNow():void
     {
-        if (elementHost)
+        if (parent)
         {
             UIComponentGlobals.layoutManager.validateClient(
-                ILayoutManagerClient(elementHost));
+                ILayoutManagerClient(parent));
         }
     }

@@ -2546,11 +2592,11 @@
 	                	var maskComp:UIComponent = _mask as UIComponent;
 		                if (maskComp)
 		                {
-		                	if (elementHost)
+		                	if (parent)
 		                	{
 		                		// Add the mask to the UIComponent document tree.
 		                		// This is required to properly render the mask.
-		                		UIComponent(elementHost).addingChild(maskComp);
+		                		UIComponent(parent).addingChild(maskComp);
 		                	}

 		                	// Size the mask so that it actually renders


Transferred from the Adobe Open Source Subversion Repository

Revision: 7866
Author:   jszeto@adobe.com
Date:     2009-06-15T23:11:45.128254Z

Log Message:
-----------
GraphicElement PARB Changes

- Deprecated mx.graphics.RoundedRectangle
- Added mx.geom.RoundedRectangle
- Removed GraphicElement.getStroke
- Moved code from GraphicElement.getStrokeExtents into StrokedElement.
- Updated the dependency checker

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/RoundedRectangle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RoundedRectangle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/DissolveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Dissolve.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/framework/src/mx/effects/effectClasses/DissolveInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/DissolveInstance.as
@@ -17,7 +17,7 @@
 import mx.core.mx_internal;
 import mx.events.ChildExistenceChangedEvent;
 import mx.events.FlexEvent;
-import mx.graphics.RoundedRectangle;
+import mx.geom.RoundedRectangle;
 import mx.styles.StyleManager;

 use namespace mx_internal;


Transferred from the Adobe Open Source Subversion Repository

Revision: 22564
Author:   tkraikit@adobe.com
Date:     2011-09-14T19:50:07.656843Z

Log Message:
-----------
Update ASDoc "@productversion Flex 4.5.2" => "@productversion Flex 4.6"

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/collections/OnDemandDataProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DateSpinnerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/graphics/BitmapScaleMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ContentBackgroundAppearance.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/FlexVersion.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ArrowDirection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/globalization/supportClasses/FormatPattern.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DefaultTransparentNavigationButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/core/ISoftKeyboardHintClient.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/CalloutArrow.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/YearProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/calendarClasses/DateSelectorDisplayMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ToggleSwitch.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DefaultBeveledBackButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListScrollerSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/ScrollSnappingMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/StageTextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DefaultTransparentActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerListContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/ToggleSwitchSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/DateAndTimeProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutPosition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImageSource.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/SkinnablePopUpContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/Callout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/collections/NumericDataProvider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableStageText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreenImage.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/DateSpinnerItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/globalization/supportClasses/CalendarDate.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DefaultBeveledActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerListItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/globalization/supportClasses/DateTimeFormatterEx.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutActionBarSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutActionBarSkin.as
@@ -23,7 +23,7 @@
  *
  *  @langversion 3.0
  *  @playerversion AIR 3
- *  @productversion Flex 4.5.2
+ *  @productversion Flex 4.6
  */
 public class CalloutActionBarSkin extends ActionBarSkin
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18351
Author:   cframpto@adobe.com
Date:     2010-10-28T19:40:47.134160Z

Log Message:
-----------
Many DataGrid fixes.

DescribeTypeCache.as/describeType
	a string which wasn't a definition would RTE (SDK-28237)

UIFTETestField.as
	explicitWidth/Height always pushed down to FTETextField even if setLayoutBounds set width/height after explcitWidth/Height was set (SDK-27844, SDK-28130)
	alphabetized the properties

GridItemRenderer.as
	should not show dataTip on header (SDK-28212)
	prepare and discard arg names were swapped

DataGrid.as
	if mouse down on a part of the grid where there isn't a row/cell it should be a no-op (SDK-28013)

DefaultGridHeaderRenderer.as
	should show truncation tip if header is truncated (SDK-27259)

TextFieldGridItemRenderInclude.as
	should not show dataTip on header (SDK-28212)

QE notes: setting explicitWidth/Height on the grid IR now does what it should and height/width for text will be reduced by the padding
Doc notes:
Bugs: SDK-28212, SDK-27259, SDK-28237, SDK-27844, SDK-28130
Reviewer: Hans
Tests run: a few cyclones
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultGridHeaderRenderer.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/textLayout/bin</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/mx/core/UIFTETextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/DescribeTypeCache.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
@@ -496,7 +496,7 @@

         // TBD(hmuller) - this code should be common with DefaultGridItemRenderer

-        const showDataTips:Boolean = column && column.getShowDataTips();
+        const showDataTips:Boolean = rowIndex != -1 && column && column.getShowDataTips();
         const dataTip:String = toolTip;
         if (showDataTips && !dataTip)
             toolTip = "<dataTip>";
@@ -508,14 +508,14 @@
     /**
      *  @inheritDoc
      */
-    public function prepare(willBeRecycled:Boolean):void
+    public function prepare(hasBeenRecycled:Boolean):void
     {
     }

     /**
      *  @inheritDoc
      */
-    public function discard(hasBeenRecycled:Boolean):void
+    public function discard(willBeRecycled:Boolean):void
     {
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 18843
Author:   dloverin@adobe.com
Date:     2010-11-29T21:51:45.548568Z

Log Message:
-----------
Fix for inline styles on default item renderer.

Rewrote the previous fix. Added a “addStyleDeclarationToProtoChain()” function that is called from TextFieldItemRendererInclude.as. DefaultGridItemRenderer and UITextFieldGridItemRenderer override this method to supply their styleDeclaration. DefaultGridItemRenderer adds the “direction” and “locale” style.

QE notes: None.
Doc notes: None.
Bugs: SDK-28672
Reviewer: Carol
Tests run: checkintests, cyclone server
Is noteworthy for integration: No.

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

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

--- frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as
+++ frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as
@@ -95,35 +95,17 @@
         addEventListener(ToolTipEvent.TOOL_TIP_SHOW, toolTipShowHandler);
     }

-    //--------------------------------------------------------------------------
-    //
-    //  IStyleClient Methods and Properties
-    //  (source code from mx.controls.dataGridClassses.DataGridItemRenderer.as)
-    //
-    //--------------------------------------------------------------------------
-
-    //----------------------------------
-    //  styleDeclaration
-    //----------------------------------
-
-    private var _styleDeclaration:CSSStyleDeclaration;
-
     /**
      *  @private
+     *
+     *  Called from initProtoChain() in TextFieldGridItemRendererInclude.as
      */
-    public function get styleDeclaration():CSSStyleDeclaration
+    private function addStyleDeclarationToProtoChain(chain:Object,
+                                                     target:DisplayObject):Object
     {
-        return _styleDeclaration;
-    }
+        return styleDeclaration.addStyleToProtoChain(chain, target);
+    }

-    /**
-     *  @private
-     */
-    public function set styleDeclaration(value:CSSStyleDeclaration):void
-    {
-        _styleDeclaration = value;
-    }
-
 include "TextFieldGridItemRendererInclude.as"

 }


一个空指针判断

一个空指针判断

--- OcgSee/src/com/application/ocgsee/mediators/CardItemRendererMediator.as
+++ OcgSee/src/com/application/ocgsee/mediators/CardItemRendererMediator.as
@@ -49,6 +49,9 @@

 		private function gcDispose(notification:INotification):void
 		{
+			if(!view.data){
+				return;
+			}
 			var obj:Object=notification.getBody();
 			var id:int=obj.id;
 			if(view.data.id==id)
@@ -137,6 +140,9 @@
 		}
 		private function refreshCardTexture(notification:INotification):void
 		{
+			if(!view.data){
+				return;
+			}
 			var obj:Object=notification.getBody();
 			var id:int=obj.id;
 			if(view.data.id==id)


Set test to ignore while stack trace is still under investigation

--- FlexUnit4Test/src/org/flexunit/experimental/theories/internals/cases/ParameterizedAssertionErrorCase.as
+++ FlexUnit4Test/src/org/flexunit/experimental/theories/internals/cases/ParameterizedAssertionErrorCase.as
@@ -1,33 +1,34 @@
-package org.flexunit.experimental.theories.internals.cases
-{
-	import org.flexunit.Assert;
-	import org.flexunit.experimental.theories.internals.ParameterizedAssertionError;
-
-	public class ParameterizedAssertionErrorCase
-	{
-		//TODO: Ensure that these tests and this test case are being implemented correctly.
-		//It is currently impossible to test the stringValueOf function.
-
-		[Test(description="Ensure that the ParameterizedAssertionError constructor is correctly assigning parameter values")]
-		public function constructorTest():void {
-			var targetException:Error = new Error();
-			var methodName:String = "methodName";
-			var params:Array = new Array("valueOne", "valueTwo");
-
-			var parameterizedAssertionError:ParameterizedAssertionError = new ParameterizedAssertionError(targetException, methodName, "valueOne", "valueTwo");
-
-			var message:String = methodName + " " + params.join( ", " );
-			Assert.assertEquals( message, parameterizedAssertionError.message);
-			Assert.assertEquals( targetException, parameterizedAssertionError.targetException );
-		}
-
-		[Test(description="Ensure that the join function is correctly joining the delimiter to the other parameters")]
-		public function joinTest():void {
-			var delimiter:String = ", ";
-			var params:Array = new Array("valueOne", "valueTwo", "valueThree");
-
-			var message:String = params.join( delimiter );
-			Assert.assertEquals( message, ParameterizedAssertionError.join(delimiter, "valueOne", "valueTwo", "valueThree") );
-		}
-	}
+package org.flexunit.experimental.theories.internals.cases
+{
+	import org.flexunit.Assert;
+	import org.flexunit.experimental.theories.internals.ParameterizedAssertionError;
+
+	public class ParameterizedAssertionErrorCase
+	{
+		//TODO: Ensure that these tests and this test case are being implemented correctly.
+		//It is currently impossible to test the stringValueOf function.
+
+		[Ignore("Currently Ignoring Test as this functionality is under investigation due to Max stack overflow issue")]
+		[Test(description="Ensure that the ParameterizedAssertionError constructor is correctly assigning parameter values")]
+		public function constructorTest():void {
+			var targetException:Error = new Error();
+			var methodName:String = "methodName";
+			var params:Array = new Array("valueOne", "valueTwo");
+
+			var parameterizedAssertionError:ParameterizedAssertionError = new ParameterizedAssertionError(targetException, methodName, "valueOne", "valueTwo");
+
+			var message:String = methodName + " " + params.join( ", " );
+			Assert.assertEquals( message, parameterizedAssertionError.message);
+			Assert.assertEquals( targetException, parameterizedAssertionError.targetException );
+		}
+
+		[Test(description="Ensure that the join function is correctly joining the delimiter to the other parameters")]
+		public function joinTest():void {
+			var delimiter:String = ", ";
+			var params:Array = new Array("valueOne", "valueTwo", "valueThree");
+
+			var message:String = params.join( delimiter );
+			Assert.assertEquals( message, ParameterizedAssertionError.join(delimiter, "valueOne", "valueTwo", "valueThree") );
+		}
+	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19242
Author:   aharui@adobe.com
Date:     2010-12-09T22:27:31.442236Z

Log Message:
-----------
Disable MEASURED_SIZE_PRELIMINARY if icon not used.  All fix up propagation of estimatedSizes

QE notes: none
Doc notes: none
Bugs: SDK-28658
Reviewer: Evtim
Tests run: checkintests mustella full run
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/IconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/core/Application.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airspark/src/spark/components/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as
@@ -11,6 +11,13 @@

 package spark.skins.mobile
 {
+import mx.core.IContainerInvalidating;
+import mx.core.IFactory;
+import mx.core.ILayoutElement;
+import mx.core.mx_internal;
+import mx.managers.ILayoutManagerContainerClient;
+use namespace mx_internal;
+
 import spark.components.Group;
 import spark.components.SkinnableContainer;
 import spark.components.View;
@@ -112,13 +119,37 @@
         measuredHeight = contentGroup.getPreferredBoundsHeight();
     }

-	/**
-	 *  @private
-	 */
-	override public function validateEstimatedSizesOfChildren():void
-	{
-		contentGroup.setEstimatedSize(estimatedWidth, estimatedHeight);
-	}
+    /**
+     *  @private
+     */
+    override mx_internal function validateEstimatedSizesOfChild(child:ILayoutElement):void
+    {
+        var cw:Number;
+        var ch:Number;
+        var c:Number;
+        var oldcw:Number = child.estimatedWidth;
+        var oldch:Number = child.estimatedHeight;
+        // the child contentGroup is constrained to the size of the skin
+        cw = estimatedWidth;
+        if (isNaN(cw) && !isNaN(explicitWidth))
+            cw = explicitWidth;
+        ch = estimatedHeight;
+        if (isNaN(ch) && !isNaN(explicitHeight))
+            ch = explicitHeight;
+
+        child.setEstimatedSize(cw, ch);
+        if (child is ILayoutManagerContainerClient)
+        {
+            var sameWidth:Boolean = isNaN(cw) && isNaN(oldcw) || cw == oldcw;
+            var sameHeight:Boolean = isNaN(ch) && isNaN(oldch) || ch == oldch;
+            if (!(sameHeight && sameWidth))
+            {
+                if (child is IContainerInvalidating)
+                    IContainerInvalidating(child).invalidateEstimatedSizesOfChildren();
+                ILayoutManagerContainerClient(child).validateEstimatedSizesOfChildren();
+            }
+        }
+    }

     /**
      *  @private
@@ -129,6 +160,8 @@

         super.updateDisplayList(unscaledWidth, unscaledHeight);

+        // contentGroup is constrained to the size of the skin.
+        // if you change this, also update validateEstimatedSizesOfChild
         contentGroup.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
         contentGroup.setLayoutBoundsPosition(0, 0);


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

--- frameworks/projects/spark/src/spark/styles/metadata/SelectionFormatTextStyles.as
+++ frameworks/projects/spark/src/spark/styles/metadata/SelectionFormatTextStyles.as
@@ -1,4 +1,24 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////

+/**
+ *  The color of text when the component is enabled and has focus.
+ *
+ *
For the Mobile theme, this is not supported.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
 [Style(name="focusedTextSelectionColor", type="uint", format="Color", inherit="yes")]

 /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 16489
Author:   clucier@adobe.com
Date:     2010-06-07T23:56:58.881239Z

Log Message:
-----------
Merge revisions 16409 and 16410 from trunk.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="dir" action="M">/private/flex/sdk/branches/hero_private</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/graphics/BitmapSmoothingQuality.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/LinkedList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/ContentCache.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Image.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/BitmapSmoothingQuality.as
+++ frameworks/projects/framework/src/mx/graphics/BitmapSmoothingQuality.as
@@ -37,10 +37,10 @@

     /**
      *  High quality smoothing algorithm is used when scaling. Used
-     *  when a higher quality (down-sampled) scale is preferred. Yields
-     *  a result similar to one obtained when stage.quality is set to
-     *  'best', without requiring global stage quality be set to something
-     *  other than the default.
+     *  when a higher quality (down-sampled) scale is preferred. This option
+     *  yields the best results when the image is scaled to a size equal to the
+     *  aspect ratio of the original image and is useful for generating high
+     *  quality thumbnails.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


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

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

 package mx.controls.advancedDataGridClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20062
Author:   chiedozi@adobe.com
Date:     2011-02-02T18:59:57.668632Z

Log Message:
-----------
Removed Flash @playerversion tags from ViewNavigatorApplication and ViewNavigatorApplicationBase because the components are AIR only

QE notes:
Doc notes:
Bugs:
Reviewer: Jason San Jose
Tests run:
Is noteworthy for integration: No

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as
@@ -64,7 +64,6 @@
  *  @eventType mx.events.FlexEvent.NAVIGATOR_STATE_LOADING
  *
  *  @langversion 3.0
- *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -79,7 +78,6 @@
  *  @eventType mx.events.FlexEvent.NAVIGATOR_STATE_SAVING
  *
  *  @langversion 3.0
- *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -107,7 +105,6 @@
  *  @see spark.components.TabbedViewNavigatorApplication
  *
  *  @langversion 3.0
- *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -123,7 +120,6 @@
      *  Constructor
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -181,7 +177,6 @@
      *  exit when the back key is pressed.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -243,7 +238,6 @@
      *  @see spark.core.managers.PersistenceManager
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -295,7 +289,6 @@
      *  @default false
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -362,7 +355,6 @@
      *  @param event The InvokeEvent object.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -379,7 +371,6 @@
      *  @param event
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -414,7 +405,6 @@
      *  @param event The event object generated by the key press.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -432,7 +422,6 @@
      *  @see spark.components.ViewMenu
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -451,7 +440,6 @@
      *  @return An IPersistenceManager manager object.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -472,7 +460,6 @@
      *  event is not canceled.

      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -494,7 +481,6 @@
      *  event is not canceled.

      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -512,7 +498,6 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */