Transferred from the Adobe Open Source Subversion Repository

Revision: 11602
Author:   klin@adobe.com
Date:     2009-11-10T06:35:11.564043Z

Log Message:
-----------
Fix for Button tooltips. TextBase dispatches an event when _isTruncated is set through the setIsTruncated() function. This allows ButtonBase to listen for the event and set the tooltip as necessary. If an explicit tooltip is set, then ButtonBase will not set a tooltip.

QE notes: No
Doc notes: No
Bugs: SDK-22260, SDK-23474, SDK-23657
Reviewer: Evtim
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<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/RichText.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/ButtonBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
@@ -20,13 +20,14 @@
 import flash.ui.Keyboard;
 import flash.utils.Timer;

-import spark.components.supportClasses.SkinnableComponent;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.events.SandboxMouseEvent;
-import spark.components.supportClasses.TextBase;
 import mx.managers.IFocusManagerComponent;
 import mx.utils.StringUtil;
+
+import spark.components.supportClasses.SkinnableComponent;
+import spark.components.supportClasses.TextBase;

 use namespace mx_internal;

@@ -369,12 +370,6 @@
     override public function set toolTip(value:String):void
     {
         super.toolTip = value;
-
-        // If explicit tooltip is cleared, we need to make sure our
-        // updateDisplayList is called, so that we add automatic tooltip
-        // in case the label is truncated.
-        if (_explicitToolTip && !value)
-            invalidateDisplayList();

         _explicitToolTip = value != null;
     }
@@ -752,27 +747,6 @@
         }
     }

-
-    /**
-     *  @private
-     */
-    override protected function updateDisplayList(unscaledWidth:Number,
-                                                  unscaledHeight:Number):void
-    {
-        super.updateDisplayList(unscaledWidth, unscaledHeight);
-
-        // Bail out if we don't have a label or the tooltip is explicitly set.
-        if (!labelDisplay || _explicitToolTip)
-            return;
-
-        // Check if the label text is truncated
-        labelDisplay.validateNow();
-        var isTruncated:Boolean = labelDisplay.isTruncated;
-
-        // If the label is truncated, show the whole label string as a tooltip
-        super.toolTip = isTruncated ? labelDisplay.text : null;
-    }
-
     /**
      *  @private
      */
@@ -780,9 +754,29 @@
     {
         super.partAdded(partName, instance);

-        // Push down to the part only if the label was explicitly set
-        if (_content !== undefined && instance == labelDisplay)
-            labelDisplay.text = label;
+        if (instance == labelDisplay)
+        {
+            labelDisplay.addEventListener("isTruncatedChanged",
+                                          labelDisplay_isTruncatedChangedHandler);
+
+            // Push down to the part only if the label was explicitly set
+            if (_content !== undefined)
+                labelDisplay.text = label;
+        }
+    }
+
+    /**
+     *  @private
+     */
+    override protected function partRemoved(partName:String, instance:Object):void
+    {
+        super.partRemoved(partName, instance);
+
+        if (instance == labelDisplay)
+        {
+            labelDisplay.removeEventListener("isTruncatedChanged",
+                                             labelDisplay_isTruncatedChangedHandler);
+        }
     }

     /**
@@ -1084,6 +1078,21 @@
     {
         dispatchEvent(new FlexEvent(FlexEvent.BUTTON_DOWN));
     }
+
+    /**
+     *  @private
+     */
+    private function labelDisplay_isTruncatedChangedHandler(event:Event):void
+    {
+        if (_explicitToolTip)
+            return;
+
+        var isTruncated:Boolean = labelDisplay.isTruncated;
+
+        // If the label is truncated, show the whole label string as a tooltip.
+        // We set super.toolTip to avoid setting our own _explicitToolTip.
+        super.toolTip = isTruncated ? labelDisplay.text : null;
+    }
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12380
Author:   smgilson@adobe.com
Date:     2009-12-02T18:37:15.838623Z

Log Message:
-----------
ASDoc edits in preparation for localization

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DisplayLayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarHorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.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/components/supportClasses/ListItemDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
@@ -43,6 +43,8 @@

 /**
  *  The alpha of the focus ring for this component.
+ *
+ *  @default 0.55
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -53,6 +55,8 @@

 /**
  *  @copy spark.components.supportClasses.GroupBase#focusColor
+ *
+ *  @default 0xFFFFFF
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -109,20 +113,21 @@
  *    Properties
  *    dataTipFormatFunction="20"
  *    dataTipPrecision="2"
+ *    maximum="10"
  *    showDataTip="true"
- *
+ *
  *    Styles
  *    alignmentBaseline="USE_DOMINANT_BASELINE"
  *    baselineShift="0.0"
- *    breakOpportunity="AUTO"
  *    cffHinting="HORIZONTAL_STEM"
  *    color="0"
  *    digitCase="DEFAULT"
  *    digitWidth="DEFAULT"
  *    direction="LTR"
  *    dominantBaseline="AUTO"
- *    focusColor
- *    fontFamily="Times New Roman"
+ *    focusAlph="0.55"
+ *    focusColor="0xFFFFFF"
+ *    fontFamily="Arial"
  *    fontLookup="DEVICE"
  *    fontSize="12"
  *    fontStyle="NORMAL"
@@ -136,7 +141,6 @@
  *    liveDragging="true"
  *    local="en"
  *    renderingMode="CFF"
- *    textAlign="START"
  *    textAlignLast="START"
  *    textAlpha="1"
  *    textDecoration="NONE"


Transferred from the Adobe Open Source Subversion Repository

Revision: 7537
Author:   rfrishbe@adobe.com
Date:     2009-06-03T20:25:36.987268Z

Log Message:
-----------
VideoPlayer fixes, including focus fixes and some other fixes.

For Focus:

SkinnableComponent:
- Now check the drawFocusAnyway flag before checking for focusManager.getFocus() != this because in the case of the video player volume bar, we don’t actually have a focusManager

TrackBase:
- Override of focusIn/OutHandler wasn’t calling super.focusIn/OutHandler().

Slider:
- Now instead of overriding setFocus() and calling stage.focus = thumb, we just override drawFocus() and tell the thumb to drawFocus().  This means we keep the focus ourselves and handle the keyDown events on ourself rather than on the thumb.

FocusSkin:
- Change the exit-early logic so that we don’t exit if we have no focusManager...we only exit if we don’t have a focusObject (and we sometimes rely on the focusManager for this focusObject).  FocusObject actually gets slammed in via SkinnableComponent, so this should be fine.

VideoPlayerVolumeBar:
- On focus in, open the drop down, validate it, and draw the focus on thumb.

VideoPlayer:
- set tabChildren = true so we can tab into the components

Skins (VideoPlayerSkin.mxml only):
- Change the layer of focused components with: focusIn="event.target.layer=1" focusOut="event.target.layer=0"

Other Changes:

TrackBase:
- Add official CHANGING event.  Work still needs to be done on dispatching it in all cases correctly.
- Remove the check for (!enabled) in the thumb_mouseDownHandler...this shouldn’t be needed thanks to Jason’s change.  We do this in Scroller as well, and I’ve got a local change for that which will come later as part of the Change/Changing ARB issue fix.

PopUpAnchor:
- Needs to take into account the fullScreenRect to get the popup to display correctly in those cases.

FlexEvent:
- Adding CHANGING event.

VideoPlayerScrubBar:
- Changed bufferedValue to an Array to handle a Range.

VideoPlayerVolumeBar/VideoPlayerVolumeBarEvent:
- “rollOverOpenDelay“: Change the “behavior property” to a style per the ARB decision.  I intentionally left it as a private static const before to make this change easier.
- Advertise a new event, mutedChange to go along with a new property muted, rather than rely on mutedButtonClick.

VideoPlayer:
- Add symbolColor metadata (this was already working...just no metadata for it).  Do I add color here?
- Add fullScreenHideControlDelay as part of ARB behavioral property decision
- Changes around volume bar and muted property and muteButtonChanged event.
- Fiex the full screen case...need to make sure to use globalToLocal() and localToGlobal() when positioning the object since fulLScreenRect is in global coordinates.  Also need to call LayoutManager.getInstance().validateNow() rather than just validateNow() because I need everythignt o be validated since not including the compoennt in a layout may change the coordinates of the parent component.
- In scrubBar_changeHandler, if scrubbing to the end of a video, don’t do it when streaming and you’ve called play() because the source is a String...there’s a bug in the FLVPlayback that doesn’t look like it’ll get fixed :-)
- Fixed a few other bugs..nothing too big

Defaults.css:
Set the behavioral properties in here

Skins:
- Set the height explicitly on the ThumbSkin..this is the exact pattern we use for Hslider/Vslider now
- Fix up the baseColor so it gets cleared in the full screen case
- Fix up the text styles so we are explicitly setting them in the fullScreen case.  They can now be styled via CSS in the non-fullScreen case and the color style should work.

QE Notes: -
Doc Notes: -
Bugs: SDK-21505, SDK-21352, SDK-21504, SDK-21503, SDK-21486, SDK-21485
Reviewer: Alex, Glenn
tests: checkintests, mustella tests for Scroller, ScrollBar, Slider

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VideoPlayerScrubBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerScrubBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerVolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VideoPlayerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerScrubBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenScrubBarSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/VideoPlayerVolumeBarEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
@@ -14,6 +14,7 @@

 import flash.display.DisplayObject;
 import flash.events.Event;
+import flash.events.FocusEvent;
 import flash.events.KeyboardEvent;
 import flash.events.MouseEvent;
 import flash.geom.Point;
@@ -22,7 +23,9 @@
 import mx.core.IDataRenderer;
 import mx.core.IFactory;
 import mx.core.UIComponent;
+import mx.core.mx_internal;
 import mx.events.EffectEvent;
+import mx.events.FlexEvent;
 import mx.formatters.NumberFormatter;
 import mx.managers.IFocusManagerComponent;

@@ -30,6 +33,7 @@
 import spark.effects.animation.Animation;
 import spark.effects.easing.IEaser;
 import spark.effects.easing.Sine;
+import spark.events.TrackBaseEvent;

 include "../../styles/metadata/BasicTextLayoutFormatStyles.as"

@@ -241,10 +245,19 @@
     /**
      *  @private
      */
-    override public function setFocus():void
-    {
-        if (stage)
-            stage.focus = thumb;
+    override public function drawFocus(isFocused:Boolean):void
+    {
+        // if there's a thumb, just draw focus on the thumb;
+        // otherwise, draw it on the whole component
+        if (thumb)
+        {
+            thumb.mx_internal::drawFocusAnyway = true;
+            thumb.drawFocus(isFocused);
+        }
+        else
+        {
+            super.drawFocus(isFocused);
+        }
     }

     /**
@@ -270,34 +283,6 @@
 		}

 		return formattedValue;
-    }
-
-    /**
-     *  @private
-     */
-    override protected function partAdded(partName:String, instance:Object):void
-    {
-        super.partAdded(partName, instance);
-
-        if (instance == thumb)
-        {
-            thumb.addEventListener(KeyboardEvent.KEY_DOWN,
-                                   thumb_keyDownHandler);
-        }
-    }
-
-    /**
-     *  @private
-     */
-    override protected function partRemoved(partName:String, instance:Object):void
-    {
-        super.partRemoved(partName, instance);
-
-        if (instance == thumb)
-        {
-            thumb.removeEventListener(KeyboardEvent.KEY_DOWN,
-                                      thumb_keyDownHandler);
-        }
     }

     /**
@@ -399,7 +384,7 @@
         if (getStyle("liveDragging") && currValue != value)
         {
             setValue(currValue)
-            dispatchEvent(new Event("change"));
+            dispatchEvent(new Event(Event.CHANGE));
         }

         if (dataTipInstance && showDataTip)
@@ -431,7 +416,7 @@
         if (!getStyle("liveDragging") && currValue != value)
         {
             setValue(currValue);
-            dispatchEvent(new Event("change"));
+            dispatchEvent(new Event(Event.CHANGE));
         }

         if (dataTipInstance)
@@ -445,7 +430,7 @@
     }

     //---------------------------------
-    // Thumb keyboard handlers
+    // Keyboard handlers
     //---------------------------------

     /**
@@ -455,8 +440,10 @@
      *  Right/Up arrows. The Home and End keys set the value
      *  to the min and max respectively.
      */
-    protected function thumb_keyDownHandler(event:KeyboardEvent):void
-    {
+    override protected function keyDownHandler(event:KeyboardEvent):void
+    {
+        super.keyDownHandler(event);
+
         // TODO: Provide a way to easily override the keyboard
         // behavior. This means having a callback in the subclasses
         // that tell the superclass all the positions in an array
@@ -504,7 +491,7 @@
         }

         if (value != prevValue)
-            dispatchEvent(new Event("change"));
+            dispatchEvent(new Event(Event.CHANGE));

         if (stopPropagation)
         	event.stopPropagation();
@@ -555,16 +542,14 @@
                     (Math.abs(value - RtempValue) / (maximum - minimum));
                 animator.motionPaths = [
                     new SimpleMotionPath("value", value, RtempValue)];
-                // TODO (rfrishbe): figure out the pattern here once ARB is resolved.
-                // Whether we dispatch "changing" always or just in this case,
-                // whether it's cancelable, and where this event lives (in what class)
-                dispatchEvent(new Event("changing"));
+
+                dispatchEvent(new FlexEvent(FlexEvent.CHANGING));
                 animator.play();
             }
             else
             {
                 setValue(RtempValue);
-                dispatchEvent(new Event("change"));
+                dispatchEvent(new Event(Event.CHANGE));
             }
         }


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

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

 package mx.graphics.shaderClasses
 {


FLEX-34078 fix callouts closing when selecting dates in DateFields

--- frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
@@ -38,6 +38,7 @@

 import spark.components.DropDownList;
 import spark.events.DropDownEvent;
+import mx.controls.CalendarLayout;

 use namespace mx_internal;

@@ -613,6 +614,8 @@
                 var document:Object = (target as IUIComponent).document;
                 if (("hostComponent" in document) && document.hostComponent is DropDownList)
 			        return;
+				 if (target.parent is CalendarLayout)
+			        return;
             }

             if (hitAreaAdditions != null)


Transferred from the Adobe Open Source Subversion Repository

Revision: 10606
Author:   egeorgie@adobe.com
Date:     2009-09-25T23:01:50.455888Z

Log Message:
-----------
White space cleanup.

Doc notes: None
Bugs: None
Reviewer: Evtim
Tests run: build
Is noteworthy for integration: Nope

Modified Paths:
--------------
<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/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/Block.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/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/DescribeTypeCache.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/sparkTest/src/testWheel.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
@@ -595,15 +595,15 @@
     {
         if (skinParts)
         {
-            for(var id:String in skinParts)
+            for (var id:String in skinParts)
             {
-                if(skinParts[id] == true)
+                if (skinParts[id] == true)
                 {
                     if (!(id in skin))
                         throw(new Error(resourceManager.getString("components", "requiredSkinPartNotFound", [id])));
                 }

-                if(id in skin)
+                if (id in skin)
                 {
                     this[id] = skin[id];

@@ -933,7 +933,7 @@
         if (skinParts)
         {
             var skinPartID:String = event.property as String;
-            if(skinParts[skinPartID] != null)
+            if (skinParts[skinPartID] != null)
             {
                 if (event.newValue == null)
                 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection2.as
+++ frameworks/projects/advancedgrids/src/mx/collections/GroupingCollection2.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.collections
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 19402
Author:   mhorn@adobe.com
Date:     2010-12-15T20:52:49.446395Z

Log Message:
-----------
Temporary ASDoc updates for bug fix SDK-28907

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridSortItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/CursorManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/DragManager.as</path>

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

--- frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as
+++ frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as
@@ -369,7 +369,8 @@

 /**
  *  The class to use as the skin for a column that is being resized.
- *  @default mx.skins.halo.DataGridColumnResizeSkin
+ *
+ *  @default mx.skins.halo.DataGridColumnResizeSkin (for both Halo and Spark themes)
  *
  *  @langversion 3.0
  *  @playerversion Flash 9
@@ -382,7 +383,10 @@
 /**
  *  The class to use as the skin that defines the appearance of the
  *  background of the column headers in a AdvancedDataGrid control.
- *  @default mx.skins.halo.DataGridHeaderSeparator
+ *
+ *
The default skin class is based on the theme. For example, with the Halo theme,
+ *  the default skin class is mx.skins.halo.DataGridHeaderBackgroundSkin. For the Spark theme, the default skin
+ *  class is mx.skins.spark.DataGridHeaderBackgroundSkin.

  *
  *  @langversion 3.0
  *  @playerversion Flash 9
@@ -394,8 +398,11 @@
 /**
  *  The class to use as the skin that defines the appearance of the
  *  separator between column headers in a AdvancedDataGrid control.
- *  @default mx.skins.halo.DataGridHeaderSeparator
  *
+  *
The default skin class is based on the theme. For example, with the Halo theme,
+ *  the default skin class is mx.skins.halo.DataGridHeaderSeparator. For the Spark theme, the default skin
+ *  class is mx.skins.spark.DataGridHeaderSeparatorSkin.

+*
  *  @langversion 3.0
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
@@ -406,7 +413,7 @@
 /**
  *  The class to use as the skin that defines the appearance of the
  *  separator between a column group and its children columns/column group headers
- *  in a AdvancedDataGrid control.
+ *  in an AdvancedDataGrid control.
  *  @default mx.skins.halo.AdvancedDataGridHeaderHorizontalSeparator
  *
  *  @langversion 3.0
@@ -496,7 +503,7 @@
  *  The class to use as the skin that indicates that
  *  a column can be dropped in the current location.
  *
- *  @default mx.skins.halo.DataGridColumnDropIndicator
+ *  @default mx.skins.halo.DataGridColumnDropIndicator (for both Halo and Spark themes)
  *
  *  @langversion 3.0
  *  @playerversion Flash 9
@@ -1013,11 +1020,11 @@
             var bold:Boolean = (fontWeight == "bold");
             var italic:Boolean = (fontStyle == "italic");
             var flexModuleFactory:IFlexModuleFactory = getFontContext(fontName, bold, italic);
-
-			var c:Class = getStyle("defaultDataGridItemRenderer");
-			if (!c)
-				c = AdvancedDataGridItemRenderer;
-
+
+            var c:Class = getStyle("defaultDataGridItemRenderer");
+            if (!c)
+                c = AdvancedDataGridItemRenderer;
+
             super.itemRenderer = new ContextualClassFactory(c, flexModuleFactory);

         }
@@ -1188,7 +1195,7 @@
         super.focusPane = value;

         if (value)
-			value.scrollRect = listSubContent ? listSubContent.scrollRect : null;
+            value.scrollRect = listSubContent ? listSubContent.scrollRect : null;

         if (!value && _focusPane)
             _focusPane.mask = null;
@@ -1231,7 +1238,7 @@
         {
             for (i = super.lockedColumnCount; i < value ;i++)
             {
-            	m = listItems.length;
+                m = listItems.length;
                 for(j = 0; j < m; j++)
                 {
                     if (listItems[j] && listItems[j][i])
@@ -1243,7 +1250,7 @@
         {
             for (i = value; i < super.lockedColumnCount ;i++)
             {
-            	m = listItems.length;
+                m = listItems.length;
                 for(j = 0; j < m; j++)
                 {
                     if (listItems[j] && listItems[j][i])
@@ -1399,27 +1406,27 @@
     {
         _draggableColumns = value;
     }
-
-	//----------------------------------
-	//  enableIME
-	//----------------------------------
-
-	/**
-	 *  A flag that indicates whether the IME should
-	 *  be enabled when the component receives focus.
-	 *
-	 *  If the editor is up, it will set enableIME
-	 *  accordingly.
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10
-	 *  @playerversion AIR 1.5
-	 *  @productversion Flex 4
-	 */
-	public function get enableIME():Boolean
-	{
-		return false;
-	}
+
+    //----------------------------------
+    //  enableIME
+    //----------------------------------
+
+    /**
+     *  A flag that indicates whether the IME should
+     *  be enabled when the component receives focus.
+     *
+     *  If the editor is up, it will set enableIME
+     *  accordingly.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get enableIME():Boolean
+    {
+        return false;
+    }

     //----------------------------------
     //  imeMode
@@ -2655,14 +2662,14 @@
                                   shiftKey:Boolean, ctrlKey:Boolean,
                                   transition:Boolean = true):Boolean
      {
-     	var val:Boolean = super.selectItem(item, shiftKey, ctrlKey, transition);
-
-     	// if item.data is AdvancedDataGridColumn, it means that a header is selected
+        var val:Boolean = super.selectItem(item, shiftKey, ctrlKey, transition);
+
+        // if item.data is AdvancedDataGridColumn, it means that a header is selected
         // selectedItem should be null
         if (item.data is AdvancedDataGridColumn)
-        	_selectedItem = null;
-
-       	return val;
+            _selectedItem = null;
+
+        return val;
      }

      /**
@@ -2671,11 +2678,11 @@
      */
      override mx_internal function addSelectionData(uid:String, selectionData:ListBaseSelectionData):void
      {
-     	// if data is AdvancedDataGridColumn, it means that a header is selected
+        // if data is AdvancedDataGridColumn, it means that a header is selected
         // it should not be added into the list
-    	if (selectionData.data is AdvancedDataGridColumn)
-    		return ;
-    	super.addSelectionData(uid, selectionData);
+        if (selectionData.data is AdvancedDataGridColumn)
+            return ;
+        super.addSelectionData(uid, selectionData);
      }

      /**
@@ -4288,7 +4295,7 @@

             if (getStyle("horizontalGridLines"))
             {
-            	var n:int = listItems.length;
+                var n:int = listItems.length;
                 for (var i:int = 0; i < n; i++)
                 {
                     drawHorizontalSeparator(lockedLinesBody, i, lineCol, rowInfo[i].y + rowInfo[i].height);
@@ -4829,7 +4836,7 @@
         var colIndex:int = coord.columnIndex;
         if (displayableColumns.length != _columns.length)
         {
-        	var n:int = displayableColumns.length;
+            var n:int = displayableColumns.length;
             for (var i:int = 0; i < n; i++)
             {
                 if (displayableColumns[i].colNum >= colIndex)
@@ -5003,7 +5010,7 @@
     {
         if (displayableColumns.length != _columns.length)
         {
-        	var n:int = displayableColumns.length;
+            var n:int = displayableColumns.length;
             for (var i:int = 0; i < n; i++)
             {
                 if (displayableColumns[i].colNum >= colIndex)
@@ -5044,28 +5051,28 @@
             if (!itemEditorInstance)
             {
                 var itemEditor:IFactory = col.itemEditor;
-				if (itemEditor == AdvancedDataGridColumn.defaultItemEditorFactory)
-				{
-					// if it is the default factory, see if someone
-					// overrode it with this style
-					var c:Class = getStyle("defaultDataGridItemEditor");
-					if (c)
-					{
-						var fontName:String =
-							StringUtil.trimArrayElements(col.getStyle("fontFamily"), ",");
-						var fontWeight:String = col.getStyle("fontWeight");
-						var fontStyle:String = col.getStyle("fontStyle");
-						var bold:Boolean = (fontWeight == "bold");
-						var italic:Boolean = (fontStyle == "italic");
-
-						var flexModuleFactory:IFlexModuleFactory =
-							getFontContext(fontName, bold, italic);
-
-						itemEditor = col.itemEditor = new ContextualClassFactory(
-							c, flexModuleFactory);
-					}
-				}
-
+                if (itemEditor == AdvancedDataGridColumn.defaultItemEditorFactory)
+                {
+                    // if it is the default factory, see if someone
+                    // overrode it with this style
+                    var c:Class = getStyle("defaultDataGridItemEditor");
+                    if (c)
+                    {
+                        var fontName:String =
+                            StringUtil.trimArrayElements(col.getStyle("fontFamily"), ",");
+                        var fontWeight:String = col.getStyle("fontWeight");
+                        var fontStyle:String = col.getStyle("fontStyle");
+                        var bold:Boolean = (fontWeight == "bold");
+                        var italic:Boolean = (fontStyle == "italic");
+
+                        var flexModuleFactory:IFlexModuleFactory =
+                            getFontContext(fontName, bold, italic);
+
+                        itemEditor = col.itemEditor = new ContextualClassFactory(
+                            c, flexModuleFactory);
+                    }
+                }
+
                 dx = col.editorXOffset;
                 dy = col.editorYOffset;
                 dw = col.editorWidthOffset;
@@ -5360,7 +5367,7 @@
         }
         if(freeItemRenderersTable[c])
         {
-        	// remove item renderers
+            // remove item renderers
             var freeRenderers:Array = freeItemRenderersTable[c][c.itemRenderer] as Array;
             if (freeRenderers)
             {
@@ -5525,15 +5532,15 @@
             return;
         }

-		// Global coordinates.
+        // Global coordinates.
         var deltaX:Number = event.stageX - startX;

-		// If the mouse pointer over the right (layoutDirection=”ltr”) or
-		// left (layoutDirection=”rtl”) half of the column, the drop indicator
-		// should be shown before the next column.
-		var deltaXInLocalCoordinates:Number =
-			(layoutDirection == LayoutDirection.LTR ? +deltaX : -deltaX);
-
+        // If the mouse pointer over the right (layoutDirection=”ltr”) or
+        // left (layoutDirection=”rtl”) half of the column, the drop indicator
+        // should be shown before the next column.
+        var deltaXInLocalCoordinates:Number =
+            (layoutDirection == LayoutDirection.LTR ? +deltaX : -deltaX);
+
         // Move header selection.
         s = Sprite(selectionLayer.getChildByName("headerSelection"));
         if (s)
@@ -5587,7 +5594,7 @@
                 isHeaderDragOutside = false;

                 // If the mouse pointer over the right (ltr) or left (rtl) half
-				// of the column, the drop indicator should be shown before the next column.
+                // of the column, the drop indicator should be shown before the next column.
                 if (pt.x > (columnXPos + headerInfo.column.width/2) ||
                     //Column groups which are partially visible should
                     //show drag indicator at the right end only
@@ -5894,7 +5901,7 @@
         dispatchEvent(advancedDataGridEvent);
     }

-	/**
+    /**
      *  Returns the column index corresponding to the field name of a sortable field.
      *
      *  @param name The name of a sortable field of the data provider, as defined by
@@ -5911,7 +5918,7 @@
     {
         if (collection && collection.sort)
         {
-        	var n:int = collection.sort.fields.length;
+            var n:int = collection.sort.fields.length;
             for (var i:int = 0; i < n; i++)
             {
                 if (collection.sort.fields[i]["name"] == name)
@@ -6369,9 +6376,9 @@
      */
     protected function isHeaderItemRenderer(item:IListItemRenderer):Boolean
     {
-    	// data is set to AdvancedDataGridColumn for header items
+        // data is set to AdvancedDataGridColumn for header items
         if (item != null && item.data is AdvancedDataGridColumn)
-        	return true;
+            return true;

         return false;
     }
@@ -6696,7 +6703,7 @@
         else if (getOptimumColumns() == displayableColumns)
             return absoluteToDisplayColumnIndex(colNum);
         else
-        	return -1;
+            return -1;
     }

     /**
@@ -6721,7 +6728,7 @@
         else if (getOptimumColumns() == displayableColumns)
             return displayToAbsoluteColumnIndex(columnIndex);
         else
-        	return -1;
+            return -1;
     }

     //--------------------------------------------------------------------------
@@ -7498,19 +7505,19 @@
         lastPt = new Point(event.stageX, event.stageY);
         lastPt = listContent.globalToLocal(lastPt);

-		/*      var n:int = separators.length;
-		    for (var i:int = 0; i < n; i++)
-		    {
-		    if (separators[i] == event.target)
-		    {
-		    resizingColumn = optimumColumns[i];
-		    break;
-		    }
-		    }
-
-		    if (!resizingColumn)
-		    return;
-		*/
+        /*      var n:int = separators.length;
+            for (var i:int = 0; i < n; i++)
+            {
+            if (separators[i] == event.target)
+            {
+            resizingColumn = optimumColumns[i];
+            break;
+            }
+            }
+
+            if (!resizingColumn)
+            return;
+        */

         resizingColumn = optimumColumns[index];
         var headerItem:IListItemRenderer = getHeaderInfo(optimumColumns[index]).headerItem;
@@ -8060,11 +8067,11 @@
         if (headerIndex == -1)
             return;

-		// If rtl layout, need to swap LEFT and RIGHT so correct action
-		// is done.
-		var keyCode:uint = mapKeycodeForLayoutDirection(event);
-
-		var newColumnIndex:int;
+        // If rtl layout, need to swap LEFT and RIGHT so correct action
+        // is done.
+        var keyCode:uint = mapKeycodeForLayoutDirection(event);
+
+        var newColumnIndex:int;

         if (keyCode == Keyboard.DOWN)
         {
@@ -8098,20 +8105,20 @@
         {
             if (sortableColumns && columns[headerIndex].sortable)
             {
-	            isKeyPressed = true;
-	            selectedHeaderInfo = getHeaderInfo(columns[headerIndex]);
-	            selectColumnHeader(headerIndex);
-
-	            var advancedDataGridEvent:AdvancedDataGridEvent =
-	                new AdvancedDataGridEvent(AdvancedDataGridEvent.SORT, false, true);
-
-	            advancedDataGridEvent.columnIndex     = headerIndex;
-	            advancedDataGridEvent.dataField       = columns[headerIndex].dataField;
-	            advancedDataGridEvent.multiColumnSort      = event.ctrlKey;
-	            advancedDataGridEvent.removeColumnFromSort = event.shiftKey;
-
-	            dispatchEvent(advancedDataGridEvent);
-        	}
+                isKeyPressed = true;
+                selectedHeaderInfo = getHeaderInfo(columns[headerIndex]);
+                selectColumnHeader(headerIndex);
+
+                var advancedDataGridEvent:AdvancedDataGridEvent =
+                    new AdvancedDataGridEvent(AdvancedDataGridEvent.SORT, false, true);
+
+                advancedDataGridEvent.columnIndex     = headerIndex;
+                advancedDataGridEvent.dataField       = columns[headerIndex].dataField;
+                advancedDataGridEvent.multiColumnSort      = event.ctrlKey;
+                advancedDataGridEvent.removeColumnFromSort = event.shiftKey;
+
+                dispatchEvent(advancedDataGridEvent);
+            }
         }
         // horizontal scrolling when focus is on header
         else if ( event.shiftKey


Transferred from the Adobe Open Source Subversion Repository

Revision: 16602
Author:   jasonsj@adobe.com
Date:     2010-06-21T18:38:18.429731Z

Log Message:
-----------
ActionBar and SlideViewTransition prototypes

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/ViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/SlideViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/MobileThemeClasses.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/mobilecomponents/src/spark/components/ActionBar.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@1265687 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as
@@ -50,7 +50,6 @@
             addChild(actionBar);
             addChild(tabBar);

-            actionBar.dataProvider = hostComponent;
             tabBar.dataProvider = hostComponent;
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 15886
Author:   cframpto@adobe.com
Date:     2010-05-04T16:42:05.109868Z

Log Message:
-----------
Initial submit of Hans's grid code.  Added copyrights and included Version.as.  Added Grid, GridColumn, and GridItemRenderer components to the spark manifest.

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/GridItemRenderer.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/GridSelection.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/GridDimensions.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/ITreeAdapter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/flex4_5/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/GridColumn.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/ListTreeView.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/GridEvent.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/ObjectTreeAdapter.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
@@ -0,0 +1,281 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.components.supportClasses
+{
+import mx.collections.ArrayList;
+import mx.collections.IList;
+import mx.events.CollectionEvent;
+import mx.events.CollectionEventKind;
+
+/**
+ *
Track a Grid's selectionMode and its set of selected rows, columns, or cells.
+ *  The selected elements are defined by integer indices, where row indices are
+ *  relative to the Grid's dataProvider and column indices are relative to
+ *  the Grid's list of columns.

+ *
+ *
Three sets of methods are provided for querying or changing the selection.
+ *  The methods for rows are typical:
+ *

+ *  containsRow(rowIndex):Boolean
+ *  setRow(rowIndex:int):void
+ *  addRow(rowIndex:int):void
+ *  removeRow(rowIndex:int):void
+ *  setRows(rowIndices:Vector.<int>):void
+ *

+ *  The containsRow() method returns true if specified row is selected.
+ *  The setRow() method replaces the current selection with the
+ *  specified row.  It's used to implement unshifted-click selection in the Grid.
+ *  The add/removeRow() methods add or remove the specified row from
+ *  the selection and are used to implement control-click selection.
+ *  The setRows() method replaces the current selection with the
+ *  specified rows.  It's used for shift-click selection.

+ */
+public class GridSelection
+{
+    include "../../core/Version.as";
+
+    private const selectedRows:Vector.<int> = new Vector.<int>();
+    private var allSelected:Boolean = false;
+
+    public function GridSelection()
+    {
+        super();
+    }
+
+
+    public function selectAll():void
+    {
+        // TBD: just set an internal flag
+    }
+
+    public function clearAll():void
+    {
+        selectedRows.length = 0;
+    }
+
+    public function containsRow(rowIndex:int):Boolean
+    {
+        return selectedRows.indexOf(rowIndex) != -1;
+    }
+
+    public function setRow(rowIndex:int):void
+    {
+        selectedRows.length = 1;
+        selectedRows[0] = rowIndex;
+    }
+
+    public function addRow(rowIndex:int):void
+    {
+        if (selectedRows.indexOf(rowIndex) == -1)
+            selectedRows.push(rowIndex);
+    }
+
+    public function removeRow(rowIndex:int):void
+    {
+        const offset:int = selectedRows.indexOf(rowIndex);
+        if (offset != -1)
+            selectedRows.splice(offset, 1);
+    }
+
+    public function setRows(rowIndices:Vector.<int>):void
+    {
+        selectedRows.length = rowIndices.length;
+        var offset:int = 0;
+        for each (var rowIndex:int in rowIndices)
+            selectedRows[offset++] = rowIndex;
+    }
+
+    // TBD: column and cell analogs of the row methods
+
+    public function dataProviderCollectionChanged(event:CollectionEvent):Boolean
+    {
+        switch (event.kind)
+        {
+            case CollectionEventKind.ADD:
+                return dataProviderCollectionAdd(event);
+
+            case CollectionEventKind.REMOVE:
+                return dataProviderCollectionRemove(event);
+
+            case CollectionEventKind.REPLACE:
+            case CollectionEventKind.MOVE:
+            case CollectionEventKind.REFRESH:
+            case CollectionEventKind.RESET:
+            case CollectionEventKind.UPDATE:
+                break;
+        }
+
+        return false;
+    }
+
+    private function dataProviderCollectionAdd(event:CollectionEvent):Boolean
+    {
+        const insertIndex:int = event.location;
+        const insertLength:int = event.items.length;
+
+        var elementChanged:Boolean = false;
+        const selectedRowsLength:int = selectedRows.length;
+        for (var i:int = 0; i < selectedRowsLength; i++)
+        {
+            var index:int = selectedRows[i];
+            if (index >= insertIndex)
+            {
+                selectedRows[i] = index + insertLength;
+                elementChanged = true;
+            }
+        }
+        return elementChanged;
+    }
+
+    private function dataProviderCollectionRemove(event:CollectionEvent):Boolean
+    {
+        const firstRemoveIndex:int = event.location;
+        const lastRemoveIndex:int = event.location + event.items.length - 1;
+
+        // Compute the range of selectedRows elements affected by the remove event,
+        // and (while we're at it), decrement the visibleRowIndices elements which are
+        // "to the right" of the range.
+
+        var firstVisibleOffset:int = -1; // remove selectedRows[firstVisibleOffset]
+        var lastVisibleOffset:int = -1;  // ... through visibelRowIndices[lastVisibleOffset]
+
+        for (var offset:int = 0; offset < selectedRows.length; offset++)
+        {
+            var rowIndex:int = selectedRows[offset];
+            if ((rowIndex >= firstRemoveIndex) && (rowIndex <= lastRemoveIndex))
+            {
+                if (firstVisibleOffset == -1)
+                    firstVisibleOffset = lastVisibleOffset = offset;
+                else
+                    lastVisibleOffset = offset;
+            }
+            else if (rowIndex > lastRemoveIndex)
+                selectedRows[offset] = rowIndex - 1;
+        }
+
+        if ((firstVisibleOffset != -1) && (lastVisibleOffset != -1))
+        {
+            var removeCount:int = (lastVisibleOffset - firstVisibleOffset) + 1;
+            selectedRows.splice(firstVisibleOffset, removeCount);
+            return true;
+        }
+
+        return false;
+
+    }
+
+    //----------------------------------
+    //  Cells
+    //----------------------------------
+
+    private var cellRegions:Vector.<CellRegion> = new Vector.<CellRegion>();
+
+    public function containsCell(rowIndex:int, columnIndex:int):Boolean
+    {
+        if (allSelected)
+            return true;
+
+        // Find the index of the last isAdd=true cell region that contains row,columnIndex
+        var index:int = -1;
+        for (var i:int = 0; i < cellRegions.length; i++)
+        {
+            var cr:CellRegion = cellRegions[i];
+            if (cr.isAdd && cr.containsCell(rowIndex, columnIndex))
+                index = i;
+        }
+
+        if (index == -1)
+            return false;
+
+        // Starting with index, if any subsequent isAdd=false cell region contains row,columnIndex return false
+        for (i = index; i < cellRegions.length; i++)
+        {
+            cr = cellRegions[i];
+            if (!cr.isAdd && cr.containsCell(rowIndex, columnIndex))
+                return false;
+        }
+
+        return true;
+    }
+
+
+    /**
+     *  @private
+     *  Remove all cell regions that are completely contained by cr and then append cr to cellRegions.
+     */
+    private function filterCellRegions(cr:CellRegion):void
+    {
+        const containsCR:Function = function(item:CellRegion, index:int, vector:Vector.<CellRegion>):Boolean
+        {
+            return !cr.containsRegion(item);
+        };
+        cellRegions = cellRegions.filter(containsCR);
+        cellRegions.push(cr);
+    }
+
+    public function addCellRegion(rowIndex:int, columnIndex:int, rowCount:uint, columnCount:uint):void
+    {
+        filterCellRegions(new CellRegion(rowIndex, columnIndex, rowCount, columnCount, true));
+    }
+
+
+    public function removeCellRegion(rowIndex:int, columnIndex:int, rowCount:uint, columnCount:uint):void
+    {
+        filterCellRegions(new CellRegion(rowIndex, columnIndex, rowCount, columnCount, false));
+    }
+
+    public function setCell(rowIndex:int, columnIndex:int):void
+    {
+        // TBD
+    }
+
+    public function removeCell(rowIndex:int, columnIndex:int):void
+    {
+        // TBD
+    }
+}
+}
+
+class CellRegion
+{
+    public var rowIndex:int;
+    public var columnIndex:int;
+    public var rowCount:uint;
+    public var columnCount:uint;
+    public var isAdd:Boolean = false;
+
+    public function CellRegion(rowIndex:int, columnIndex:int, rowCount:uint, columnCount:uint, isAdd:Boolean)
+    {
+        super();
+        this.rowIndex = rowIndex;
+        this.columnIndex = columnIndex;
+        this.rowCount = rowCount;
+        this.columnCount = columnCount;
+        this.isAdd = isAdd;
+    }
+
+    public function containsRegion(cr:CellRegion):Boolean
+    {
+        return (cr.rowIndex >= rowIndex) &&
+            (cr.columnIndex >= columnIndex) &&
+            ((cr.rowIndex + cr.rowCount) <= (rowIndex + rowCount)) &&
+            ((cr.columnIndex + cr.columnCount) <= (columnIndex + columnCount));
+    }
+
+    public function containsCell(cellRowIndex:int, cellColumnIndex:int):Boolean
+    {
+        return (cellRowIndex >= rowIndex) &&
+            (cellColumnIndex >= columnIndex) &&
+            (cellRowIndex <= (rowIndex + rowCount)) &&
+            (cellColumnIndex <= (columnIndex + columnCount));
+    }
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20649
Author:   smgilson@adobe.com
Date:     2011-03-07T20:19:16.700368Z

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

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/ContentRequest.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/effects/animation/Animation.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/interpolation/RGBInterpolator.as</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/core/NavigationUnit.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/IGraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/interpolation/RGBInterpolator.as
+++ frameworks/projects/spark/src/spark/effects/interpolation/RGBInterpolator.as
@@ -43,6 +43,8 @@
     /**
      *  Returns the singleton of this class. Since all RGBInterpolators
      *  have the same behavior, there is no need for more than one instance.
+     *
+     *  @return The singleton of this class.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 7918
Author:   chaase@adobe.com
Date:     2009-06-17T16:55:30.271215Z

Log Message:
-----------
Round 2 of effects PARB changes. Some renames and removals of properties/functions, including:
AnimateTransform: removed 18 MotionPath properties, added applyChangesPostLayout property (replaces affectLayout property in subclasses), removed addMotionPath/addPostLayoutMotionPath protected functions
Animation: removed seek(), reverse()
SimpleMotionPath: removed 'duration' arg in constructor

QE Notes: Mustella will break on some of these changes (no surprise, just needs minor updates)
Doc Notes: API updates
Bugs: none
Reviewer: Jason
Tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/RotateInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/RotateInstance.as
@@ -256,8 +256,9 @@
         newX = Number((centerX - originalOffsetX).toFixed(1)); // use a precision of 1
         newY = Number((centerY - originalOffsetY).toFixed(1)); // use a precision of 1

-        motionPaths =
-            [new SimpleMotionPath("rotation", angleFrom, angleTo, duration, angleBy)];
+        motionPaths = new <MotionPath>[new MotionPath("rotation")];
+        motionPaths[0].keyframes = new <Keyframe>[new Keyframe(0, angleFrom),
+            new Keyframe(duration, angleTo, angleBy)];

         super.play();
     }


FLEX-33306 Fix issue with identical names for base class property and local variable - this caused the compiler to complain there was no 'pop' method on the base class property

Signed-off-by: Erik de Bruin <c195b508e6f0c57aeafdb5e96947e2b79e6a4b40@ixsoftware.nl>

--- frameworks/projects/mx/src/mx/controls/List.as
+++ frameworks/projects/mx/src/mx/controls/List.as
@@ -1526,16 +1526,16 @@
             listContent.setChildIndex(DisplayObject(itemEditorInstance),
                                       listContent.numChildren - 1);
             item = listItems[actualRowIndex][actualColIndex];
-            var rowInfo:ListRowInfo = rowInfo[actualRowIndex];
+            var listRowInfo:ListRowInfo = rowInfo[actualRowIndex];
             if (item && !rendererIsEditor)
             {
                 var dx:Number = editorXOffset;
                 var dy:Number = editorYOffset;
                 var dw:Number = editorWidthOffset;
                 var dh:Number = editorHeightOffset;
-                layoutEditor(item.x + dx, rowInfo.y + dy,
+                layoutEditor(item.x + dx, listRowInfo.y + dy,
                             Math.min(item.width + dw, listContent.width - listContent.x - itemEditorInstance.x),
-                            Math.min(rowInfo.height + dh, listContent.height - listContent.y - itemEditorInstance.y));
+                            Math.min(listRowInfo.height + dh, listContent.height - listContent.y - itemEditorInstance.y));

             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 22448
Author:   build@adobe.com
Date:     2011-09-08T19:26:12.465737Z

Log Message:
-----------
Version update to 4.6.0

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/airspark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_air/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/flex-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_spark/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark_dmv/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/rpc/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mx/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_flashflexkit/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_dmv/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/build.properties</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/modules/compiler/src/java/flex2/tools/VersionInfo.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/airframework/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/advancedgrids/src/mx/core/Version.as</path>

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

--- frameworks/projects/rpc/src/mx/core/Version.as
+++ frameworks/projects/rpc/src/mx/core/Version.as
@@ -14,4 +14,4 @@
  *  @private
  *  Version string for this class.
  */
-mx_internal static const VERSION:String = "4.5.2.0";
+mx_internal static const VERSION:String = "4.6.0.0";


fix the calculation

fix the calculation

--- frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as
+++ frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/layouts/OneFlexibleChildHorizontalLayout.as
@@ -253,9 +253,9 @@
                     if (!isNaN(ilc.percentHeight))
                         ilc.setHeight(contentView.height * ilc.percentHeight / 100, true);
                 }
+                child.x = xx + ml;
+                child.width = ww - child.x;
                 maxHeight = Math.max(maxHeight, mt + child.height + mb);
-                child.x = xx + ml;
-                child.width = ww - xx - child.x;
                 valign = ValuesManager.valuesImpl.getValue(child, "vertical-align");
                 verticalMargins[flexChildIndex] = { marginTop: mt, marginBottom: mb, valign: valign };
             }


Piecewise cached wires

Piecewise cached wires

--- src/Displays/DWire.as
+++ src/Displays/DWire.as
@@ -94,16 +94,15 @@
 		}

 		override public function draw():void {
-			//if (!cacheValid()) {
-				//if (!wire.deployed) {
-					//drawDynamic();
-					//return;
-				//}
-				//
-				//buildCache();
-			//}
-			//drawCached();
-			drawDynamic();
+			if (!cacheValid()) {
+				if (!wire.deployed) {
+					drawDynamic();
+					return;
+				}
+
+				buildCache();
+			}
+			drawCached();
 		}

 		protected function cacheValid():Boolean {
@@ -124,8 +123,18 @@
 			buildSegs();
 			cachedLines = new Vector.<FlxSprite>;

-			cachedLines.push(buildSubline(wire.path));
-			//TODO: build multiple cached lines
+			var sublineStart:int = 0;
+			var lastDelta:Point = wire.path[1].subtract(wire.path[0]);
+			for (var i:int = 2; i < wire.path.length; i++) {
+				var delta:Point = wire.path[i].subtract(wire.path[i - 1]);
+				if (!delta.equals(lastDelta)) {
+					cachedLines.push(buildSubline(wire.path.slice(sublineStart, i)));
+					sublineStart = i - 1;
+				}
+				lastDelta = delta;
+			}
+			cachedLines.push(buildSubline(wire.path.slice(sublineStart, i)));
+			//cachedLines.push(buildSubline(wire.path));

 			cachedLoc = wire.path[0].clone();
 			/*cachedPath = new Vector.<Point>;  //assume wire path is unchanging once deployed
@@ -186,6 +195,9 @@
 				cachedLine.color = segColor;
 				cachedLine.draw();
 			}
+
+			join.color = segColor;
+			drawJoins();
 		}

 		protected function drawDynamic():void {
@@ -193,12 +205,8 @@

 			var segColor:uint = getColor();
 			hSeg.color = vSeg.color = join.color = segColor;
-			hSeg.alpha = vSeg.alpha = join.alpha = wire.FIXED ? 0.5 : 1;
-
-			if (wire.deployed) {
-				drawJoin(wire.path[0]);
-				drawJoin(wire.path[wire.path.length - 1]);
-			}
+
+			drawJoins();

 			iterWire(function drawWire(seg:FlxSprite):void {
 				seg.draw();
@@ -259,6 +267,13 @@
 				buildSegs();
 		}

+		protected function drawJoins():void {
+			if (wire.deployed) {
+				drawJoin(wire.path[0]);
+				drawJoin(wire.path[wire.path.length - 1]);
+			}
+		}
+
 		protected function drawJoin(current:Point):void {
 			var carriersAt:Vector.<Carrier> = U.state.grid.carriersAtPoint(current);
 			if (!carriersAt || carriersAt.length < 2)
@@ -277,18 +292,19 @@
 		override public function overlapsPoint(p:FlxPoint, _:Boolean=false, __:FlxCamera=null):Boolean {
 			if (!wire.exists) return false;

-			//var topLeft:Point = new Point(int.MAX_VALUE, int.MAX_VALUE);
-			//var bottomRight:Point = new Point(int.MIN_VALUE, int.MIN_VALUE);
-			//for each (var pathPoint:Point in path) {
-				//topLeft.x = Math.min(pathPoint.x, topLeft.x);
-				//topLeft.y = Math.min(pathPoint.y, topLeft.y);
-				//bottomRight.x = Math.max(pathPoint.x, bottomRight.x);
-				//bottomRight.y = Math.max(pathPoint.y, bottomRight.y);
-			//}
-			//
-			//if (p.x < topLeft.x * U.GRID_DIM || p.y < topLeft.y * U.GRID_DIM ||
-				//p.x > bottomRight.x * U.GRID_DIM || p.y > topLeft.y * U.GRID_DIM)
-				//return false;
+			//FIXME
+			/*var topLeft:Point = new Point(int.MAX_VALUE, int.MAX_VALUE);
+			var bottomRight:Point = new Point(int.MIN_VALUE, int.MIN_VALUE);
+			for each (var pathPoint:Point in path) {
+				topLeft.x = Math.min(pathPoint.x, topLeft.x);
+				topLeft.y = Math.min(pathPoint.y, topLeft.y);
+				bottomRight.x = Math.max(pathPoint.x, bottomRight.x);
+				bottomRight.y = Math.max(pathPoint.y, bottomRight.y);
+			}
+
+			if (p.x < topLeft.x * U.GRID_DIM || p.y < topLeft.y * U.GRID_DIM ||
+				p.x > bottomRight.x * U.GRID_DIM || p.y > topLeft.y * U.GRID_DIM)
+				return false;*/

 			willOverlap = false;
 			iterWire(function checkOverlap(seg:FlxSprite):void {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13296
Author:   jszeto@adobe.com
Date:     2010-01-06T01:31:52.563455Z

Log Message:
-----------
Change event split into change and valueCommit for list based components

http://bugs.adobe.com/jira/browse/SDK-24803 - When selectedItem/selectedIndex is set programatically, list should dispatch a valueCommit event, not a change event

Refactored selection properties into helper functions which parameterize dispatching changing/change events. Changed all internal setting of the selection properties to use these helper functions.

Updated binding metadata for selection properties.

QE notes: Update tests
Doc notes: Docs should mention valueCommit versus change/changing
Bugs: SDK-24803
Reviewer: Ryan
Tests run: checkintests, ButtonBar, List, ComboBox, DropDownList
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/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as
@@ -691,7 +691,7 @@
                 if (isDropDownOpen)
                     changeHighlightedSelection(matchingIndex);
                 else
-                    selectedIndex = matchingIndex;
+                    setSelectedIndex(matchingIndex, true);

                 return true;
             }
@@ -836,7 +836,7 @@
                 proposedNewIndex = Math.min(proposedNewIndex, maxIndex);

                 if (proposedNewIndex >= 0)
-                    selectedIndex = proposedNewIndex;
+                    setSelectedIndex(proposedNewIndex, true);
             }
         }
         else
@@ -903,7 +903,9 @@

         if (!event.isDefaultPrevented())
         {
-            selectedIndex = userProposedSelectedIndex;
+            // Even if the dropDown was programmatically closed, assume the selection
+            // changed as a result of a previous user interaction
+            setSelectedIndex(userProposedSelectedIndex, true);
         }
         else
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5545
Author:   jimurphy@adobe.com
Date:     2009-03-25T19:00:52.330680Z

Log Message:
-----------
1st pass of rename according to the spec http://opensource.adobe.com/wiki/display/flexsdk/Dropping+the+Fx+Prefix

Flex now requires CSS Style declarations to declare @namespace rules and disambiguate between halo and spark components using CSS 3 namespace prefixes on type selectors. At compile time, this namespace information will be used to map type names to qualified ActionScript class names. At runtime, type selectors are matched on qualified ActionScript class name (for example mx.controls.Button rather than just Button). Flex 3 applications must be compiled with -compatibility-version=3.0.0 to get unqualified CSS type selector behavior.

QE: Yes, this build may help in updating test cases to use the new namespaces and class names.
Dev: Not yet
Doc: Not yet

Modified Paths:
--------------
748 paths were modified

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package mx.components.baseClasses
+package spark.components.supportClasses
 {

 import flash.events.Event;
@@ -80,11 +80,11 @@
 /**
  *  The ToggleButtonBase component is the base class for the Spark button components
  *  that support the selected property.
- *  FxToggleButton, FxCheckBox and FxRadioButton are subclasses of ToggleButtonBase.
+ *  ToggleButton, CheckBox and RadioButton are subclasses of ToggleButtonBase.
  *
- *  @see mx.components.FxToggleButton
- *  @see mx.components.FxCheckBox
- *  @see mx.components.FxRadioButton
+ *  @see mx.components.ToggleButton
+ *  @see mx.components.CheckBox
+ *  @see mx.components.RadioButton
  *
  *  @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@1282230 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/supportClasses/InteractionStateDetector.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/InteractionStateDetector.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.
-//
-////////////////////////////////////////////////////////////////////////////////

 package spark.components.supportClasses
 {


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

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

 package mx.automation.delegates.controls
 {


fix margin handling

fix margin handling

--- frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as
+++ frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as
@@ -29,6 +29,7 @@
 	import org.apache.flex.events.Event;
 	import org.apache.flex.events.IEventDispatcher;
 	import org.apache.flex.utils.dbg.DOMPathUtil;
+    import org.apache.flex.utils.CSSUtils;

 	/**
 	 *  The VerticalLayout class is a simple layout
@@ -91,6 +92,7 @@
 			var maxWidth:Number = 0;
 			// asking for contentView.width can result in infinite loop if host isn't sized already
 			var w:Number = hostSizedToContent ? 0 : contentView.width;
+            var h = contentView.height;

 			for (var i:int = 0; i < n; i++)
 			{
@@ -100,45 +102,15 @@
 				var left:Number = ValuesManager.valuesImpl.getValue(child, "left");
 				var right:Number = ValuesManager.valuesImpl.getValue(child, "right");
 				margin = ValuesManager.valuesImpl.getValue(child, "margin");
-				if (margin is Array)
-				{
-					if (margin.length == 1)
-						marginLeft = marginTop = marginRight = marginBottom = margin[0];
-					else if (margin.length <= 3)
-					{
-						marginLeft = marginRight = margin[1];
-						marginTop = marginBottom = margin[0];
-					}
-					else if (margin.length == 4)
-					{
-						marginLeft = margin[3];
-						marginBottom = margin[2];
-						marginRight = margin[1];
-						marginTop = margin[0];
-					}
-				}
-				else if (margin == null)
-				{
-					marginLeft = ValuesManager.valuesImpl.getValue(child, "margin-left");
-					marginTop = ValuesManager.valuesImpl.getValue(child, "margin-top");
-					marginRight = ValuesManager.valuesImpl.getValue(child, "margin-right");
-					marginBottom = ValuesManager.valuesImpl.getValue(child, "margin-bottom");
-				}
-				else
-				{
-					marginLeft = marginTop = marginBottom = marginRight = margin;
-				}
-				var ml:Number;
-				var mr:Number;
-				var mt:Number;
-				var mb:Number;
+                marginLeft = ValuesManager.valuesImpl.getValue(child, "margin-left");
+                marginTop = ValuesManager.valuesImpl.getValue(child, "margin-top");
+                marginRight = ValuesManager.valuesImpl.getValue(child, "margin-right");
+                marginBottom = ValuesManager.valuesImpl.getValue(child, "margin-bottom");
+				var ml:Number = CSSUtils.getLeftValue(marginLeft, margin, w);
+				var mr:Number = CSSUtils.getRightValue(marginRight, margin, w);
+				var mt:Number = CSSUtils.getTopValue(marginTop, margin, h);
+				var mb:Number = CSSUtils.getBottomValue(marginBottom, margin, h);
 				var lastmb:Number;
-				mt = Number(marginTop);
-				if (isNaN(mt))
-					mt = 0;
-				mb = Number(marginBottom);
-				if (isNaN(mb))
-					mb = 0;
 				var yy:Number;
 				if (i == 0)
                 {


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

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

 package mx.controls.listClasses
 {


Document something that doesn't work.

Document something that doesn't work.

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

--- src/as/com/threerings/util/EmbeddedSwfLoader.as
+++ src/as/com/threerings/util/EmbeddedSwfLoader.as
@@ -58,6 +58,18 @@
         _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, dispatchEvent);
         _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, dispatchEvent);
     }
+
+// This doesn't work. We cannot write parameters to the contentLoaderInfo.
+// So: there is no way to pass parameters to content loaded using loadBytes,
+// and there's no way to pass parameters to any other content without
+// destroying caching (because you must append them to the url). Stupid flash.
+//    /**
+//     * Set a parameter accessible to the loaded content.
+//     */
+//    public function setParameter (name :String, val :String) :void
+//    {
+//        _loader.contentLoaderInfo.parameters[name] = val;
+//    }

     /**
      * Load the SWF from a Byte Array.  A CLASS_LOADED event will be dispatched on successful


Use newMapOf().

Use newMapOf().

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

--- src/as/com/threerings/util/StreamableHashMap.as
+++ src/as/com/threerings/util/StreamableHashMap.as
@@ -70,7 +70,7 @@
         } else {
             // shit!
             Log.getLog(this).warning("Empty StreamableHashMap read, guessing DictionaryMap.");
-            _source = Maps.newDictionaryMap();
+            _source = Maps.newMapOf(Object);
         }
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 21303
Author:   tkraikit@adobe.com
Date:     2011-05-27T03:05:34.453549Z

Log Message:
-----------
Second minor performance tweak on fix to SDK-30308: iOS flag now static

QE notes: -
Doc notes: -
Bugs: SDK-30308
Reviewer: Carol
Tests run: checkintests, cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
@@ -340,9 +340,6 @@
     public function SkinnableTextBase()
     {
         super();
-
-        // cache iOS property
-        isIOS = (Capabilities.version.indexOf("IOS") == 0);
     }

     //--------------------------------------------------------------------------
@@ -378,7 +375,7 @@
      *  @private
      *  Variable that determines whether this application is running on iOS.
      */
-    private var isIOS:Boolean = false;
+    private static var isIOS:Boolean = (Capabilities.version.indexOf("IOS") == 0);

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 2805
Author:   chaase@adobe.com
Date:     2008-08-11T20:37:18.700675Z

Log Message:
-----------
First checkin for the "Arbitrary Type Interpolation" feature. This feature has a rewritten Tween class (now named flex.effects.Animation). This class supports the old Tween capabilities, but adds functionality such as the ability to supply alternate interpolation objects (to allow animation of non-Number types), a new Easing API, and new 'repeat behavior' that will allow terser looping or reversing animations. The existing new effects were slightly changed to use the new Animation class (instead of Tween), and the superclass of the new effects, AnimateProperties (renamed 'Animate'), is now a subclass of Effect (not TweenEffect).

Added various new interpolation and easing classes, along with the new packages flex.effects.interpolation and flex.effects.easing. Also added new color-interpolation effect, 'Tint'.

Expect slight tweaks to the API during i7, but the bulk of the functionality and API changes are being checked in now.

Reviewed by Jason S.
Testing: checkintests & mustella tests/Effects (passed)

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animation.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/.actionScriptProperties</path>
<path kind="file" action="A">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/EffectsProperties.mxml</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/AnimatePropertiesInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/AnimateProperties.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/components/AnimationPropertiesForm.mxml</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/flex4/src/flex/effects/effectClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Fade.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Constant.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Power.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/ColorInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/AnimateInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/TintInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/IEaser.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Tint.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animate.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/NumberArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/IInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Resize.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Move.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/events/AnimationEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/ArrayInterpolator.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateColorInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateColorInstance.as
@@ -0,0 +1,83 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flex.effects.effectClasses
+{
+import flex.effects.PropertyValuesHolder;
+import flex.effects.interpolation.ColorInterpolator;
+
+/**
+ * The instance of the Tint effect, which animates a change in
+ * color by interpolating the from/to values per color channel
+ */
+public class TintInstance extends AnimateInstance
+{
+    /**
+     * copy flex.effects.Tint#colorFrom
+     */
+    public var colorFrom:uint;
+
+    /**
+     * copy flex.effects.Tint#colorTo
+     */
+    public var colorTo:uint;
+
+    /**
+     * copy flex.effects.Tint#colorPropertyName
+     */
+    public var colorPropertyName:String;
+
+    public function TintInstance(target:Object)
+    {
+        super(target);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function play():void
+    {
+        // The user may have supplied some combination of xFrom, xTo, and xBy.
+        // If either xFrom or xTo is not explicitly defined, calculate its
+        // value based on the other two values.
+        if (isNaN(colorFrom))
+        {
+            if (propertyChanges && propertyChanges.start[colorPropertyName] !== undefined)
+                colorFrom = propertyChanges.start[colorPropertyName];
+            else
+                colorFrom = getCurrentValue(colorPropertyName);
+        }
+        if (isNaN(colorTo))
+        {
+            if (propertyChanges &&
+                propertyChanges.end[colorPropertyName] !== undefined)
+            {
+                colorTo = propertyChanges.end[colorPropertyName];
+            }
+            else
+            {
+                colorTo = getCurrentValue(colorPropertyName);
+            }
+        }
+
+        propertyValuesList =
+            [new PropertyValuesHolder(colorPropertyName, [colorFrom, colorTo])];
+        interpolator = ColorInterpolator.getInstance();
+
+        super.play();
+    }
+}
+}


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

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

 package mx.effects
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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