Transferred from the Adobe Open Source Subversion Repository

Revision: 4460
Author:   gosmith@adobe.com
Date:     2009-01-09T01:53:33.590972Z

Log Message:
-----------
Renamed UIComponentAccImpl to UIComponentAccProps because it extends AccessibilityProperties, not AccessibilityImplementation.

Added comments with the identifier for each magic role constant, so that it is easier to understand what roles our components are using.

Moved two static methods from UIComponentAccProperties to AccImpl because they make more sense there.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: None (no functional changes)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateFieldAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/LinkButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/PanelAccImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/UIComponentAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateChooserAccImpl.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/UIComponentAccImpl.as" copyfrom-rev="4437" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/UIComponentAccProps.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AlertAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderAccImpl.as</path>

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

--- frameworks/projects/framework/src/mx/accessibility/UIComponentAccProps.as
+++ frameworks/projects/framework/src/mx/accessibility/UIComponentAccProps.as
@@ -14,30 +14,24 @@

 import flash.accessibility.Accessibility;
 import flash.accessibility.AccessibilityProperties;
-import flash.display.DisplayObjectContainer;
 import flash.events.Event;
-import mx.containers.Form;
-import mx.containers.FormHeading;
-import mx.containers.FormItem;
+import mx.accessibility.AccImpl;
 import mx.controls.FormItemLabel;
-import mx.controls.Label;
 import mx.controls.scrollClasses.ScrollBar;
-import mx.core.Container;
 import mx.core.UIComponent;
 import mx.core.mx_internal;
-import mx.managers.SystemManager;

 use namespace mx_internal;

 /**
- *  The UIComponentAccImpl class is the accessibility class for UIComponent.
- *  It is used to provide accessibility to FormView, ToolTip, and Error ToolTip.
+ *  The UIComponentAccProps class is the accessibility class for UIComponent.
+ *  It is used to provide accessibility to Form, ToolTip, and Error ToolTip.
  *
  *  @helpid 3030
  *  @tiptext This is the UIComponent Accessibility Class.
  *  @review
  */
-public class UIComponentAccImpl extends AccessibilityProperties
+public class UIComponentAccProps extends AccessibilityProperties
 {
     include "../core/Version.as";

@@ -50,7 +44,7 @@
     /**
      *  @private
      *  Static variable triggering the hookAccessibility() method.
-     *  This is used for initializing UIComponentAccImpl class to hook its
+     *  This is used for initializing UIComponentAccProps class to hook its
      *  createAccessibilityImplementation() method to UIComponent class
      *  before it gets called from UIComponent.initialize().
      */
@@ -60,7 +54,7 @@
      *  @private
      *  Static Method for swapping the
      *  createAccessibilityImplementation method of UIComponent with
-     *  the UIComponentAccImpl class.
+     *  the UIComponentAccProps class.
      */
     private static function hookAccessibility():Boolean
     {
@@ -86,7 +80,7 @@
                                             component:UIComponent):void
     {
         component.accessibilityProperties =
-            new UIComponentAccImpl(component);
+            new UIComponentAccProps(component);
     }

     /**
@@ -98,83 +92,6 @@
     {
     }

-    /**
-     *  Method for supporting Form Accessibility.
-     *  @review
-     */
-    public static function getFormName(component:UIComponent):String
-    {
-        var formName:String = "";
-
-        // Return nothing if we are a container
-        if (component is Container)
-            return formName;
-
-        // keeping this DisplayObjectContainer since parent returns
-        // that as root is not a UIComponent.
-        var par:DisplayObjectContainer = component.parent;
-        // continue looking up the parent chain
-        // until root (or application) or FormItem is found.
-        while (par && !(par is FormItem) &&
-               !(par is SystemManager) && par != component.root)
-        {
-            par = par.parent;
-        }
-
-        if (par && par is FormItem)
-            formName = updateFormItemString(FormItem(par));
-
-        return formName;
-    }
-
-    /**
-     *  @private
-     *  Method for supporting Form Accessibility.
-     */
-    private static function updateFormItemString(formItem:FormItem):String
-    {
-        var formName:String = "";
-
-        const itemLabel:Label = formItem.itemLabel;
-        const accProp:AccessibilityProperties = (itemLabel ? itemLabel.accessibilityProperties : null);
-        if (accProp && accProp.silent)
-            return accProp.name;
-
-        var form:UIComponent = UIComponent(formItem.parent);
-
-        // If we are located within a Form, then look for the first FormHeading
-        // that is a sibling that is above us in the parent's child hierarchy
-        if (form is Form)
-        {
-            var formItemIndex:int = form.getChildIndex(formItem);
-            for (var i:int = formItemIndex; i >= 0; i--)
-            {
-                var child:UIComponent = UIComponent(form.getChildAt(i));
-                if (child is FormHeading)
-                {
-                    formName = FormHeading(child).label + " ";
-                    break;
-                }
-            }
-        }
-
-        // Add in text if we are a required field
-        if (formItem.required)
-            formName += "Required Field ";
-
-        // Add in the label from the formItem
-        if (formItem.label != "")
-            formName += formItem.label + " ";
-
-        if (accProp && !accProp.silent)
-        {
-            accProp.silent = true;
-            accProp.name = formName;
-        }
-
-        return formName;
-    }
-
     //--------------------------------------------------------------------------
     //
     //  Constructor
@@ -184,10 +101,10 @@
     /**
      *  Constructor.
      *
-     *  @param master The UIComponent instance that this AccImpl instance
-     *  is making accessible.
-     */
-    public function UIComponentAccImpl(component:UIComponent)
+     *  @param master The UIComponent instance that this
+     *  AccessibilityProperties instance is making accessible.
+     */
+    public function UIComponentAccProps(component:UIComponent)
     {
         super();

@@ -217,12 +134,12 @@
         }
         else if (master is FormItemLabel)
         {
-            name = getFormName(master);
+            name = AccImpl.getFormName(master);
             silent = true;
         }
         else
         {
-            var formName:String = getFormName(master);
+            var formName:String = AccImpl.getFormName(master);

             if (formName && formName.length != 0)
                 name = formName + name;
@@ -283,7 +200,7 @@

     /**
      *  Generic event handler.
-     *  All UIComponentAccImpl subclasses must implement this
+     *  All UIComponentAccProps subclasses must implement this
      *  to listen for events from its master component.
      */
     protected function eventHandler(event:Event):void


Transferred from the Adobe Open Source Subversion Repository

Revision: 19872
Author:   rfrishbe@adobe.com
Date:     2011-01-21T21:49:53.747868Z

Log Message:
-----------
Fixing up issues with selecting the caretted item in single-select and multi-select mode.  You can now multi-select and de-select by pressing the spacebar or the 5-way button.

QE notes: -
Doc notes:
Bugs: SDK-28636
Reviewer: Jason SZ
Tests run: checkintests, mustella cyclone
Is noteworthy for integration: No

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -628,6 +628,13 @@

     /**
      *  @private
+     *  Keeps track of whether the caret should change when selection changes.
+     *  By default it is true
+     */
+    mx_internal var changeCaretOnSelection:Boolean = true;
+
+    /**
+     *  @private
      *  Internal storage for the selectedIndex property.
      */
     mx_internal var _selectedIndex:int = NO_SELECTION;
@@ -688,21 +695,26 @@
      *
      *  @param dispatchChangeEvent if true, the component will dispatch a "change" event if the
      *  value has changed. Otherwise, it will dispatch a "valueCommit" event.
-     */
-    mx_internal function setSelectedIndex(value:int, dispatchChangeEvent:Boolean = false):void
+     *
+     *  @param changeCaret if true, the caret will be set to the selectedIndex as a side-effect of calling
+     *  this method.  If false, caretIndex won't change.
+     */
+    mx_internal function setSelectedIndex(value:int, dispatchChangeEvent:Boolean = false, changeCaret:Boolean = true):void
     {
         if (value == selectedIndex)
         {
             // this should short-circuit, but we should check to make sure
             // that caret doesn't need to be changed either, as that's a side
             // effect of setting selectedIndex
-            setCurrentCaretIndex(selectedIndex);
+            if (changeCaret)
+                setCurrentCaretIndex(selectedIndex);

             return;
         }

         if (dispatchChangeEvent)
             dispatchChangeAfterSelection = (dispatchChangeAfterSelection || dispatchChangeEvent);
+        changeCaretOnSelection = changeCaret;
         _proposedSelectedIndex = value;
         invalidateProperties();
     }
@@ -1289,7 +1301,8 @@
             itemSelected(oldSelectedIndex, false);
         if (_selectedIndex != NO_SELECTION && _selectedIndex != CUSTOM_SELECTED_ITEM)
             itemSelected(_selectedIndex, true);
-        setCurrentCaretIndex(_selectedIndex);
+        if (changeCaretOnSelection)
+            setCurrentCaretIndex(_selectedIndex);

         // Step 4: dispatch the "change" event and "caretChange"
         // events based on the dispatchChangeEvents parameter. Overrides may
@@ -1311,11 +1324,17 @@
             dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));

             //Dispatch the caretChange event
-            e = new IndexChangeEvent(IndexChangeEvent.CARET_CHANGE);
-            e.oldIndex = oldCaretIndex;
-            e.newIndex = caretIndex;
-            dispatchEvent(e);
-        }
+            if (changeCaretOnSelection)
+            {
+                e = new IndexChangeEvent(IndexChangeEvent.CARET_CHANGE);
+                e.oldIndex = oldCaretIndex;
+                e.newIndex = caretIndex;
+                dispatchEvent(e);
+            }
+        }
+
+        // default changeCaretOnSelection back to true
+        changeCaretOnSelection = true;

         return true;
      }
@@ -1442,6 +1461,7 @@
     mx_internal function dataProviderRefreshed():void
     {
         setSelectedIndex(NO_SELECTION, false);
+        // TODO (rfrishbe): probably don't need the setCurrentCaretIndex below
         setCurrentCaretIndex(NO_CARET);
     }

@@ -1628,6 +1648,7 @@
                 if (dataProvider.length == 0)
                 {
                     setSelectedIndex(NO_SELECTION, false);
+                    // TODO (rfrishbe): probably don't need the setCurrentCaretIndex below
                     setCurrentCaretIndex(NO_CARET);
                 }
                 else


Transferred from the Adobe Open Source Subversion Repository

Revision: 20149
Author:   klin@adobe.com
Date:     2011-02-04T21:39:31.000080Z

Log Message:
-----------
Add and update [Inspectable] metadata across spark components.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TileGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Image.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/modules/ModuleLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/mediaClasses/DynamicStreamingVideoItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -339,6 +339,8 @@
      */
     private var dataProviderChanged:Boolean;

+    [Inspectable(category="Data")]
+
     /**
      *  @private
      *
@@ -460,6 +462,8 @@
      *  @private
      */
     private var labelFieldOrFunctionChanged:Boolean;
+
+    [Inspectable(category="Data", defaultValue="label")]

     /**
      *  The name of the field in the data provider items to display
@@ -504,6 +508,8 @@
      */
     private var _labelFunction:Function;

+    [Inspectable(category="Data")]
+
     /**
      *  A user-supplied function to run on each item to determine its label.
      *  The labelFunction property overrides
@@ -560,6 +566,8 @@
      */
     private var requireSelectionChanged:Boolean = false;

+    [Inspectable(category="General", defaultValue="false")]
+
     /**
      *  If true, a data item must always be selected in the control.
      *  If the value is true, the selectedIndex property
@@ -641,6 +649,8 @@

     [Bindable("change")]
     [Bindable("valueCommit")]
+    [Inspectable(category="General", defaultValue="-1")]
+
     /**
      *  The 0-based index of the selected item, or -1 if no item is selected.
      *  Setting the selectedIndex property deselects the currently selected
@@ -735,6 +745,8 @@

     [Bindable("change")]
     [Bindable("valueCommit")]
+    [Inspectable(category="General", defaultValue="null")]
+
     /**
      *  The item that is currently selected.
      *  Setting this property deselects the currently selected


Updated Query to use generalized filter functions for where clauses, removed coupling with vis.data.DataList

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

--- flare/src/flare/query/Query.as
+++ flare/src/flare/query/Query.as
@@ -1,8 +1,8 @@
 package flare.query
 {
+	import flare.util.Filter;
 	import flare.util.Property;
 	import flare.util.Sort;
-	import flare.vis.data.DataList;

 	/**
 	 * Performs query processing over a collection of ActionScript objects.
@@ -42,7 +42,7 @@
 		private var _select:Array;
 		private var _orderby:Array;
 		private var _groupby:Array;
-		private var _where:Expression;
+		private var _where:Function;
 		private var _sort:Sort;
 		private var _aggrs:Array;

@@ -62,11 +62,11 @@
 		 *  format of the flare.util.Sort class methods.
 		 * @see flare.util.Sort
 		 */
-		public function Query(select:Array=null, where:Expression=null,
+		public function Query(select:Array=null, where:*=null,
 							  orderby:Array=null, groupby:Array=null)
 		{
 			if (select != null) setSelect(select);
-			_where = where;
+			this.where(where);
 			_orderby = orderby;
 			_groupby = groupby;
 		}
@@ -98,7 +98,7 @@
 		 */
 		public function where(e:*):Query
 		{
-			_where = Expression.expr(e);
+			_where = Filter.$(e);
 			return this;
 		}

@@ -195,10 +195,11 @@
 			var visitor:Function;
 			if (input is Array) {
 				visitor = (input as Array).forEach;
-			} else if (input is DataList) {
-				visitor = (input as DataList).visit;
 			} else if (input is Function) {
 				visitor = input as Function;
+			} else if (Object(input).hasOwnProperty("visit") &&
+					   Object(input).visit is Function) {
+				visitor = Object(input).visit as Function;
 			} else {
 				throw new ArgumentError("Illegal input argument: "+input);
 			}
@@ -206,9 +207,7 @@
 			// collect and filter
 			if (_where != null) {
 				visitor(function(item:Object, ...rest):void {
-					if (_where.predicate(item)) {
-						results.push(item);
-					}
+					if (_where(item)) results.push(item);
 				});
 			} else {
 				visitor(function(item:Object, ...rest):void {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5301
Author:   clucier@adobe.com
Date:     2009-03-13T18:40:17.284526Z

Log Message:
-----------
Adding debug helper code which highlights all recently validated visual elements.
Just uncomment all code marked with LAYOUT_DEBUG.

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/layoutClasses/LayoutDebugHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/managers/layoutClasses/LayoutDebugHelper.as
+++ frameworks/projects/framework/src/mx/managers/layoutClasses/LayoutDebugHelper.as
@@ -0,0 +1,154 @@
+
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-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.managers.layoutClasses
+{
+
+import flash.display.Sprite;
+import flash.events.Event;
+import flash.utils.Dictionary;
+import flash.utils.getTimer;
+import flash.geom.Point;
+import flash.geom.Rectangle;
+import mx.core.ILayoutElement;
+
+[ExcludeClass]
+
+/**
+ *  @private
+ *  The LayoutDebugHelper class renders the layout bounds for the most
+ *  recently validated visual items.
+ */
+public class LayoutDebugHelper extends Sprite
+{
+    include "../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function LayoutDebugHelper()
+    {
+        super();
+        activeInvalidations = new Dictionary();
+        addEventListener("enterFrame", onEnterFrame);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private static const highlightDelay:Number = 2500;
+
+    /**
+     *  @private
+     */
+    private static const highlightColor:Number = 0xFF00;
+
+    /**
+     *  @private
+     */
+    private var activeInvalidations:Dictionary;
+
+    /**
+     *  @private
+     */
+    private var lastUpdate:Number = 0;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    public function addElement(item:ILayoutElement):void
+    {
+        activeInvalidations[item] = getTimer();
+    }
+
+    /**
+     *  @private
+     */
+    public function removeElement(item:ILayoutElement):void
+    {
+        activeInvalidations[item] = null;
+        delete activeInvalidations[item];
+    }
+
+    /**
+     *  @private
+     */
+     import flash.display.DisplayObject;
+    private function render():void
+    {
+        graphics.clear();
+        for (var item:* in activeInvalidations)
+        {
+            var lifespan:Number = getTimer() - activeInvalidations[item];
+            if (lifespan > highlightDelay)
+            {
+                removeElement(item);
+            }
+            else
+            {
+                var alpha:Number = 1.0 - (lifespan / highlightDelay);
+
+                if (item.parent)
+                {
+                    var w:Number = item.getLayoutBoundsWidth(true);
+                    var h:Number = item.getLayoutBoundsHeight(true);
+
+                    var position:Point = new Point();
+                    position.x = item.getLayoutBoundsX(true);
+                    position.y = item.getLayoutBoundsY(true);
+                    position = item.parent.localToGlobal(position);
+
+                    graphics.lineStyle(2, highlightColor, alpha);
+                    graphics.drawRect(position.x, position.y, w, h);
+                    graphics.endFill();
+               }
+            }
+        }
+    }
+
+    /**
+     *  @private
+     */
+    public function onEnterFrame(e:Event):void
+    {
+        if (getTimer() - lastUpdate >= 100)
+        {
+            render();
+            lastUpdate = getTimer();
+        }
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 18982
Author:   clucier@adobe.com
Date:     2010-12-02T21:29:40.550335Z

Log Message:
-----------
3D cube flip view transition.

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as
@@ -888,7 +888,7 @@

         // Ensure bitmaps are rendered prior to invocation of our effect.
         transitionGroup.validateNow();
-
+
         return effect;
     }

@@ -1061,6 +1061,9 @@
         actionBar = null;
         parentNavigator = null;
         targetNavigator = null;
+        navigator = null;
+        startView = null;
+        endView = null;
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 20202
Author:   cframpto@adobe.com
Date:     2011-02-08T19:51:01.258332Z

Log Message:
-----------
Add missing periods in ASdoc.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/styles/metadata/BasicNonInheritingTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/styles/metadata/AdvancedInheritingTextStyles.as</path>

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

--- frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as
+++ frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as
@@ -30,7 +30,7 @@
  *  Amount to shift the baseline.
  *
  *
For the Spark theme, see
- *  flashx.textLayout.formats.ITextLayoutFormat.baselineShift

+ *  flashx.textLayout.formats.ITextLayoutFormat.baselineShift.

  *
  *
For the Mobile theme, this is not supported.

  *
@@ -47,7 +47,7 @@
  *  The type of CFF hinting used for this text.
  *
  *
For the Spark theme, see
- *  flashx.textLayout.formats.ITextLayoutFormat.cffHinting

+ *  flashx.textLayout.formats.ITextLayoutFormat.cffHinting.

  *
  *
For the Mobile theme, this is not supported.

  *
@@ -64,10 +64,10 @@
  *  Color of the text.
  *
  *
For the Spark theme, see
- *  flashx.textLayout.formats.ITextLayoutFormat.color

- *
- *
For the Mobile theme, see
- *  spark.components.supportClasses.StyleableTextField Style color

+ *  flashx.textLayout.formats.ITextLayoutFormat.color.

+ *
+ *
For the Mobile theme, see
+ *  spark.components.supportClasses.StyleableTextField Style color.

  *
  *  @see flashx.textLayout.formats.ITextLayoutFormat#color
  *  @see spark.components.supportClasses.StyleableTextField#style:color
@@ -83,7 +83,7 @@
  *  The type of digit case used for this text.
  *
  *
For the Spark theme, see
- *  flashx.textLayout.formats.ITextLayoutFormat.digitCase

+ *  flashx.textLayout.formats.ITextLayoutFormat.digitCase.

  *
  *
For the Mobile theme, this is not supported.

  *
@@ -100,7 +100,7 @@
  *  Type of digit width used for this text.
  *
  *
For the Spark theme, see
- *  flashx.textLayout.formats.ITextLayoutFormat.digitWidth

+ *  flashx.textLayout.formats.ITextLayoutFormat.digitWidth.

  *
  *
For the Mobile theme, this is not supported.

  *
@@ -117,7 +117,7 @@
  *  Specifies the default bidirectional embedding level of the text.
  *
  *
For the Spark theme, see
- *  flashx.textLayout.formats.ITextLayoutFormat.direction

+ *  flashx.textLayout.formats.ITextLayoutFormat.direction.

  *
  *
For the Mobile theme, this is not supported.

  *
@@ -135,7 +135,7 @@
  *  determine the vertical position of the element on the line.
  *
  *
For the Spark theme, see
- *  flashx.textLayout.formats.ITextLayoutFormat.dominantBaseline

+ *  flashx.textLayout.formats.ITextLayoutFormat.dominantBaseline.

  *
  *
For the Mobile theme, this is not supported.

  *
@@ -152,10 +152,10 @@
  *  The name of the font to use, or a comma-separated list of font names.
  *
  *
For the Spark theme, see
- *  flashx.textLayout.formats.ITextLayoutFormat.fontFamily

- *
- *
For the Mobile theme, see
- *  spark.components.supportClasses.StyleableTextField Style fontFamily

+ *  flashx.textLayout.formats.ITextLayoutFormat.fontFamily.

+ *
+ *
For the Mobile theme, see
+ *  spark.components.supportClasses.StyleableTextField Style fontFamily.

  *
  *  @see flashx.textLayout.formats.ITextLayoutFormat#fontFamily
  *  @see spark.components.supportClasses.StyleableTextField#style:fontFamily


adding play duration to external interface

--- flash/Recorder.as
+++ flash/Recorder.as
@@ -39,6 +39,8 @@
 			ExternalInterface.addCallback("audioData",      this.audioData);
 			ExternalInterface.addCallback("showFlash",      this.showFlash);
 			ExternalInterface.addCallback("recordingDuration",     this.recordingDuration);
+			ExternalInterface.addCallback("playDuration",     this.playDuration);
+
 			triggerEvent("initialized", {});
 			logger.log("Recorder initialized");
 		}
@@ -101,7 +103,7 @@
 			}
 			playingProgressTimer = new Timer(250);
 			playingProgressTimer.addEventListener(TimerEvent.TIMER, function playingProgressTimerHandler(event:TimerEvent){
-				triggerEvent('playingProgress', int(channel.position));
+				triggerEvent('playingProgress', this.platDuration());
 			});
 			playingProgressTimer.start();
 		}
@@ -236,9 +238,13 @@

 		protected function recordingDuration():int
 		{
-			var latency = 650;
-			var duration = int(getTimer() - recordingStartTime - latency);
+			var duration = int(getTimer() - recordingStartTime);
 			return Math.max(duration, 0);
+		}
+
+		protected function playDuration():int
+		{
+			return int(channel.position);
 		}

 		protected function recordSampleDataHandler(event:SampleDataEvent):void


Transferred from the Adobe Open Source Subversion Repository

Revision: 2233
Author:   dloverin@adobe.com
Date:     2008-06-25T17:15:49.288959Z

Log Message:
-----------
Fix SDK-15820, SDK-15879

MenuBar.as
    SDK-15820: Work around Player bug 232477 by accessing a collection using IViewCursor instead of array indices. Passed MenuBar mustella tests.

ProxyEventDispacher.as
    Bug fix.

PopUpManagerImpl.as
    Resize a modal old school. Need to udpate to a better way.

SystemManager.as
    SDK-15879: Fix $removeChildAt.
    Fix old school sandbox listeners. At least they back working now.

SystemManagerProxy.as
    SDK-15879: Remove the mouseCatcher when dragging stops.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/core/ProxyEventDispatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as
+++ frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as
@@ -184,11 +184,12 @@
 		// trace("stopDraggingHandler");
 		if (mouseCatcher)
 		{
-			setActualSize(0, 0);
-		}
-
-	}
-
+			$removeChildAt(0);
+			noTopMostIndex--;
+			mouseCatcher = null;
+		}
+
+	}

 	override public function addEventListenerToStage(type:String, listener:Function, useCapture:Boolean = false,
 											priority:int=0, useWeakReference:Boolean=false):void


Transferred from the Adobe Open Source Subversion Repository

Revision: 13756
Author:   hmuller@adobe.com
Date:     2010-01-25T19:42:14.082913Z

Log Message:
-----------
Mirroring changes, fixes.

- Removed ILayout interface, added mirroring API to IVisualElement.
- Moved layoutDirection="ltr" initialization from TextBase to defaults.css.   Removed similar initialization from DefaultItemRenderer (it wasn't needed).
- The 'get layoutDirection()' method for UIMovieClip, GraphicElement, and SpriteVisualElement now queries the parent if the local value is "inherit".
- Use @inheritDoc instead of explicitly @copying interface methods' ASDoc.   Don't call invalidateLayoutDirection() if FlexVersion.compatibilityVersion is < 4.0.
- Don't call invalidateLayout() for a child unless either its layoutDirection has changed, or its parent's layoutDirection has changed.

QE notes: These changes were cycloned.
Doc notes:
Bugs: sdk-25204, sdk-25209
Reviewer: Evtim
Tests run:
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutDirection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/core/IVisualElement.as
+++ frameworks/projects/framework/src/mx/core/IVisualElement.as
@@ -23,7 +23,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public interface IVisualElement extends ILayoutElement, ILayoutDirection
+public interface IVisualElement extends ILayoutElement
 {

     /**
@@ -269,5 +269,42 @@
      *  @productversion Flex 4
      */
     function get is3D():Boolean;
+
+    /**
+     *  Specifies the desired layout direction for a visual element: one of "ltr"
+     *  (left to right), "rtl" (right to left).
+     *
+     *  This property is typically backed by an inheriting style.  Classes like GraphicElement,
+     *  which implement IVisualElement but do not support styles, must additionally support an
+     *  explicit "inherit" value for this property.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4.1
+     */
+    function get layoutDirection():String;
+
+    /**
+     *  @private
+     */
+    function set layoutDirection(value:String):void;
+
+    /**
+     *  Must be called when an element or its parent's layoutDirection changes.
+     *
+     *  If they differ, the X axis is scaled by -1 and the x coordinate of the origin
+     *  is translated by the element's width.
+     *
+     *  The net effect of this "mirror" transform is to reverse the direction
+     *  that the X axis increases without changing the element's
+     *  location relative to the parent's origin.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4.1
+     */
+    function invalidateLayoutDirection():void;
 }
 }


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

--- frameworks/projects/framework/src/mx/graphics/BitmapFill.as
+++ frameworks/projects/framework/src/mx/graphics/BitmapFill.as
@@ -171,7 +171,7 @@
         else
         {
             // Create the transform if none exists.
-            if(compoundTransform == null)
+            if (compoundTransform == null)
                 compoundTransform = new CompoundTransform();
             compoundTransform.matrix = value; // CompoundTransform will create a clone


Transferred from the Adobe Open Source Subversion Repository

Revision: 5113
Author:   jimurphy@adobe.com
Date:     2009-02-27T20:48:28.618768Z

Log Message:
-----------
Merge 3.x revisions 5042,5072-5073,5090-5091 -> trunk
This includes the latest released player 10.0.22.87

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 Plugin.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/flashplayer.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Install Flash Player 10 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/install_flash_player_10_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/Base64Encoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/libflashplayer.so.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/FlashPlayer.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Flash Player.app.zip</path>

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

--- frameworks/projects/framework/src/mx/utils/Base64Encoder.as
+++ frameworks/projects/framework/src/mx/utils/Base64Encoder.as
@@ -130,14 +130,18 @@
         if (length == 0)
             length = data.length;

-        var plainIndex:uint = offset;
-
-        while (plainIndex < offset + length)
-        {
-            _work[_count] = data.charCodeAt(plainIndex);
+        var currentIndex:uint = offset;
+
+        var endIndex:uint = offset + length;
+        if (endIndex > data.length)
+            endIndex = data.length;
+
+        while (currentIndex < endIndex)
+        {
+            _work[_count] = data.charCodeAt(currentIndex);
             _count++;

-            if (_count == _work.length || offset + length - plainIndex == 1)
+            if (_count == _work.length || endIndex - currentIndex == 1)
             {
                 encodeBlock();
                 _count = 0;
@@ -145,7 +149,7 @@
                 _work[1] = 0;
                 _work[2] = 0;
             }
-            plainIndex++;
+            currentIndex++;
         }
     }

@@ -193,14 +197,18 @@

         var oldPosition:uint = data.position;
         data.position = offset;
-        var plainIndex:uint = offset;
-
-        while (plainIndex < length)
-        {
-            _work[_count] = data[plainIndex];
+        var currentIndex:uint = offset;
+
+        var endIndex:uint = offset + length;
+        if (endIndex > data.length)
+            endIndex = data.length;
+
+        while (currentIndex < endIndex)
+        {
+            _work[_count] = data[currentIndex];
             _count++;

-            if (_count == _work.length || offset + length - plainIndex == 1)
+            if (_count == _work.length || endIndex - currentIndex == 1)
             {
                 encodeBlock();
                 _count = 0;
@@ -208,7 +216,7 @@
                 _work[1] = 0;
                 _work[2] = 0;
             }
-            plainIndex++;
+            currentIndex++;
         }

         data.position = oldPosition;


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

--- frameworks/projects/mx/src/mx/skins/halo/SliderTrackSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/SliderTrackSkin.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2004-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.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20844
Author:   jimurphy@adobe.com
Date:     2011-03-14T15:10:07.899037Z

Log Message:
-----------
block hero_private revs 20698,20699,20702 from being merged into trunk
revert 20839,20841,20842,20843

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/StringUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>

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

--- frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as
+++ frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as
@@ -14,36 +14,33 @@
     import flash.events.Event;
     import flash.events.EventDispatcher;

-    /**
-     * OnDemandEventDispatcher serves as a base class for classes that dispatch events but expect listeners
-     * to be infrequent.  When a class extends OnDemandEventDispatcher instead of the standard EventDispatcher,
-     * it is trading off a small overhead on every single instance for a slightly larger overhead on only the instances
-     * that actually have listeners attached to them.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
+	/**
+	 * OnDemandEventDispatcher serves as a base class for classes that dispatch events but expect listeners
+	 * to be infrequent.  When a class extends OnDemandEventDispatcher instead of the standard EventDispatcher,
+	 * it is trading off a small overhead on every single instance for a slightly larger overhead on only the instances
+	 * that actually have listeners attached to them.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
     public class OnDemandEventDispatcher implements IEventDispatcher
     {
         private var _dispatcher:EventDispatcher;

-    //--------------------------------------------------------------------------
+	//--------------------------------------------------------------------------
     //
     //  Constructor
     //
     //--------------------------------------------------------------------------
-        /**
-         * Constructor.
-         */
         public function OnDemandEventDispatcher()
         {
         }

     /**
-     *  @inheritDoc
+     *  @copy flash.events.EventDispatcher#addEventListener
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -61,7 +58,7 @@

     /**
-     *  @inheritDoc
+     *  @copy flash.events.EventDispatcher#dispatchEvent
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -76,7 +73,7 @@
         }

     /**
-     *  @inheritDoc
+     *  @copy flash.events.EventDispatcher#hasEventListener
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -91,7 +88,7 @@
         }

     /**
-     *  @inheritDoc
+     *  @copy flash.events.EventDispatcher#removeEventListener
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -105,7 +102,7 @@
         }

     /**
-     *  @inheritDoc
+     *  @copy flash.events.EventDispatcher#willTrigger
      *
      *  @langversion 3.0
      *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 17997
Author:   jszeto@adobe.com
Date:     2010-10-01T23:51:16.437475Z

Log Message:
-----------
ViewMenu appearance and layout update

Changed ViewMenuItem appearance
ViewMenuItem now subclasses ButtonSkin and uses fxg files for the three states
Changed ViewMenuSkin appearance
Implemented a new brick style layout for ViewMenuLayout

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/layouts/ViewMenuLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/ViewMenuItem_showsCaret.fxg</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/ViewMenuItem_up.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/ViewMenuItem_down.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as
@@ -47,7 +47,12 @@
 - add transitions
 - use PopUpAnchor instead of PopUpManager
 - integrate into TabbedMobileApplication
-
+- Investigate performance impact of View.viewMenuItems being instances
+  instead of getting created when the menu is opened.
+- Add scaleGrid values to fxg skins
+- Implement layout key navigation
+- Move skin background to ViewMenuItemSkin and use styles
+- ViewMenuItem_down.fxg change to use Rects
 */

 public class ViewMenu extends SkinnableContainer implements IFocusManagerComponent


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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.skins.mobile
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7718
Author:   jimurphy@adobe.com
Date:     2009-06-10T16:37:18.335400Z

Log Message:
-----------
Merged 3.x revisions 7534,7545,7711 -> trunk

checkintests: pass

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -10277,6 +10277,11 @@
     {
         var repeaterArray:Array = repeaters;

+        // If repeaterArray has no items the caller is not
+        // in a repeater.  Return null.
+        if (repeaterArray.length == 0)
+            return null;
+
         // If whichRepeater isn't specified, assume the
         // innermost Repeater. This lets authors simply write
         //   myRepeater.getRepeaterItem()


Transferred from the Adobe Open Source Subversion Repository

Revision: 9779
Author:   chaase@adobe.com
Date:     2009-08-29T01:17:24.968838Z

Log Message:
-----------
Fixed bug with transform effects acting on optimized FXG objects. We did not have some of the required functionality on SpriteVisualElement that would allow objects of that type (optimized FXG objects) to be animated by the flex 4 transform effects. We have added that functionality and pushed that common property (postLayoutTransformOffsets) and function (transformAround()) into interfaces implemented by  the objects that can be so transformed.
Also fixed some unrelated bugs lurking in the transformAround() and AnimateTransform code.

QE notes: None
Doc notes: None
Bugs: sdk-22576
Reviewer: Ely
Tests run: checkintests, Mustella (tests/spark/effects/AnimateTransform, Move, Rotate, Rotate3D)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -11784,35 +11784,31 @@
     }

     /**
-     *  Defines a set of adjustments that can be applied to the component's transform in a way that is
-     *  invisible to the component's parent's layout. For example, if you want a layout to adjust
-     *  for a component that will be rotated 90 degrees, you set the component's rotation property.
-     *  If you want the layout to not adjust for the component being rotated, you set its
-     *  postLayoutTransformOffsets.rotationZ property.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @copy mx.core.ILayoutElement#postLayoutTransformOffsets
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get postLayoutTransformOffsets():TransformOffsets
+    {
+        return (_layoutFeatures != null)? _layoutFeatures.postLayoutTransformOffsets:null;
+    }
+
+    /**
+     * @private
      */
     public function set postLayoutTransformOffsets(value:TransformOffsets):void
     {
-		if (_layoutFeatures == null)
-			initAdvancedLayoutFeatures();
+        if (_layoutFeatures == null)
+            initAdvancedLayoutFeatures();

         if (_layoutFeatures.postLayoutTransformOffsets != null)
             _layoutFeatures.postLayoutTransformOffsets.removeEventListener(Event.CHANGE,transformOffsetsChangedHandler);
         _layoutFeatures.postLayoutTransformOffsets = value;
         if (_layoutFeatures.postLayoutTransformOffsets != null)
             _layoutFeatures.postLayoutTransformOffsets.addEventListener(Event.CHANGE,transformOffsetsChangedHandler);
-    }
-
-    /**
-     * @private
-     */
-    public function get postLayoutTransformOffsets():TransformOffsets
-    {
-        return (_layoutFeatures != null)? _layoutFeatures.postLayoutTransformOffsets:null;
     }

     /**
@@ -11904,17 +11900,7 @@
     private static var xformPt:Point;

     /**
-     * A utility method to update the rotation, scale, and translation of the
-     * transform while keeping a particular point, specified in the component's
-     * own coordinate space, fixed in the parent's coordinate space.
-     * This function will assign the rotation, scale, and translation values
-     * provided, then update the x/y/z properties as necessary to keep
-     * the transform center fixed.
-     * @param transformCenter the point, in the component's own coordinates,
-     * to keep fixed relative to its parent.
-     * @param scale the new values for the scale of the transform
-     * @param rotation the new values for the rotation of the transform
-     * @param translation the new values for the translation of the transform
+     * @copy mx.core.ILayoutElement#transformAround
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -11938,7 +11924,11 @@
                 (translation != null && translation.z != 0 && !isNaN(translation.z)) ||
                 postLayoutScale != null ||
                 postLayoutRotation != null ||
-                postLayoutTranslation != null;
+                (postLayoutTranslation != null &&
+                    (translation == null ||
+                     postLayoutTranslation.x != translation.x ||
+                     postLayoutTranslation.y != translation.y ||
+                     postLayoutTranslation.z != translation.z));
             if (needAdvancedLayout)
                 initAdvancedLayoutFeatures();
         }
@@ -11952,6 +11942,15 @@
         }
         else
         {
+            if (translation == null && transformCenter != null)
+            {
+                if (xformPt == null)
+                    xformPt = new Point();
+                xformPt.x = transformCenter.x;
+                xformPt.y = transformCenter.y;
+                var xformedPt:Point =
+                    super.transform.matrix.transformPoint(xformPt);
+            }
             if (rotation != null && !isNaN(rotation.z))
                 this.rotation = rotation.z;
             if (scale != null)
@@ -11982,8 +11981,6 @@
                 }
                 else
                 {
-                    var xformedPt:Point =
-                        super.transform.matrix.transformPoint(xformPt);
                     x += xformedPt.x - postXFormPoint.x;
                     y += xformedPt.y - postXFormPoint.y;
                 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8031
Author:   egeorgie@adobe.com
Date:     2009-06-20T01:10:03.288554Z

Log Message:
-----------
Scrub the TODOs in the framework, convert to FIXMEs in the new convention and assigning an owner.

Doc Notes: N/A
Bugs: N/A
Reviewer: Deepa
tests: build, checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.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/flex4/src/spark/effects/supportClasses/FadeInstance.as</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/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.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/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ModifiedCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ErrorSkin.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/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.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/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.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/flex4/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</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/flex4/src/spark/components/mediaClasses/StreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/PropertyChanges.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RemoveActionInstance.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/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/pathSegments/LineSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.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/primitives/RichEditableText.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/utils/ObjectUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -7170,7 +7170,7 @@

             if (sizeChanging && includeInLayout)
             {
-                // TODO EGeorgie: we don't need this invalidateDisplayList() here
+                // FIXME (egeorgie): we don't need this invalidateDisplayList() here
                 // because we'll call it if the parent sets new actual size?
                 invalidateDisplayList();
                 invalidateParentSizeAndDisplayList();
@@ -7729,7 +7729,7 @@
             lastUnscaledWidth = unscaledWidth;
             lastUnscaledHeight = unscaledHeight;

-            // TODO EGeorgie: should we reset the flag immediately after we check it?
+            // FIXME (egeorgie): should we reset the flag immediately after we check it?
             invalidateDisplayListFlag = false;

             // LAYOUT_DEBUG
@@ -9023,7 +9023,7 @@
      */
     private function getTotalDuration(effect:IEffect):Number
     {
-        // TODO (chaase): we should add timing properties to some
+        // FIXME (chaase): we should add timing properties to some
         // interface to avoid these hacks
         var duration:Number = 0;
         var effectObj:Object = Object(effect);


Transferred from the Adobe Open Source Subversion Repository

Revision: 4315
Author:   shodgson@adobe.com
Date:     2008-12-15T23:56:27.252943Z

Log Message:
-----------
Fix for missing fault events at connect time for MessageAgents with needsConfig flags set true before connecting.

QA: Related to fixes by Jeff for LCDS-542, LCDS-541, LCDS-540, LCDS-539
Doc: No
Checkintests Pass: Yes

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

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

--- frameworks/projects/rpc/src/mx/messaging/MessageAgent.as
+++ frameworks/projects/rpc/src/mx/messaging/MessageAgent.as
@@ -692,11 +692,17 @@
             // Ensure wait queue for client id value is destroyed.
             _clientIdWaitQueue = null;

-            _disconnectBarrier = true;
+            // Only set the barrier used to discard post-disconnect results/faults
+            // if the agent is currently connected (otherwise, if this is invoked before
+            // connecting and the client fails to connect to the server, no faults will be
+            // dispatched).
+            if (connected)
+                _disconnectBarrier = true;
+
             if (_channelSetMode == AUTO_CONFIGURED_CHANNELSET)
                 internalSetChannelSet(null);
             else if (_channelSet != null)
-                _channelSet.disconnect(this);
+                _channelSet.disconnect(this);
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5573
Author:   jimurphy@adobe.com
Date:     2009-03-26T15:11:59.159776Z

Log Message:
-----------
-more updated package and class names that were missed in the first pass
-remove the mx folder

qa: probably
doc: this updated more asdoc comments so you may want to make sure that this pass made the correct updates
checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/SetActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/IEaser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/DataGroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/pathSegments/PathSegment.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/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxToggleButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/AnimationEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.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/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/WipeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SetAction.as</path>

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

--- frameworks/projects/spark/src/spark/components/VGroup.as
+++ frameworks/projects/spark/src/spark/components/VGroup.as
@@ -25,7 +25,7 @@
  *
  *  The layout property should not be set or configured directly.
  *
- *  @see mx.layout.VerticalLayout
+ *  @see spark.layout.VerticalLayout
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -42,8 +42,8 @@
      *  Resetting the layout property or setting its properties directly
      *  is not supported.
      *
-     *  @see mx.layout.VerticalLayout
-     *  @see mx.components.HGroup
+     *  @see spark.layout.VerticalLayout
+     *  @see spark.components.HGroup
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -71,7 +71,7 @@
     //----------------------------------

     /**
-     * @copy mx.layout.VerticalLayout#gap
+     * @copy spark.layout.VerticalLayout#gap
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -96,7 +96,7 @@
     //----------------------------------

     /**
-     * @copy mx.layout.VerticalLayout#horizontalAlign
+     * @copy spark.layout.VerticalLayout#horizontalAlign
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -123,7 +123,7 @@
     [Bindable("propertyChange")]

     /**
-     * @copy mx.layout.VerticalLayout#rowCount
+     * @copy spark.layout.VerticalLayout#rowCount
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -140,7 +140,7 @@
     //----------------------------------

     /**
-     * @copy mx.layout.VerticalLayout#requestedRowCount
+     * @copy spark.layout.VerticalLayout#requestedRowCount
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -167,7 +167,7 @@
     [Inspectable(category="General")]

     /**
-     * @copy mx.layout.VerticalLayout#rowHeight
+     * @copy spark.layout.VerticalLayout#rowHeight
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -194,7 +194,7 @@
     [Inspectable(category="General")]

     /**
-     * @copy mx.layout.VerticalLayout#variableRowHeight
+     * @copy spark.layout.VerticalLayout#variableRowHeight
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -221,7 +221,7 @@
     [Bindable("indexInViewChanged")]

     /**
-     * @copy mx.layout.VerticalLayout#firstIndexInView
+     * @copy spark.layout.VerticalLayout#firstIndexInView
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -240,7 +240,7 @@
     [Bindable("indexInViewChanged")]

     /**
-     * @copy mx.layout.VerticalLayout#lastIndexInview
+     * @copy spark.layout.VerticalLayout#lastIndexInview
      *
      *  @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@1283387 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/effects/AddAction.as
+++ frameworks/projects/spark/src/spark/effects/AddAction.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 spark.effects
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/effects/AddAction.as
+++ frameworks/projects/spark/src/spark/effects/AddAction.as
@@ -114,7 +114,7 @@
 	public function AddAction(target:Object = null)
 	{
 		super(target);
-
+        duration = 0;
 		instanceClass = AddActionInstance;
 	}


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

--- frameworks/projects/spark/src/spark/effects/SetAction.as
+++ frameworks/projects/spark/src/spark/effects/SetAction.as
@@ -9,10 +9,10 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package mx.effects
+package spark.effects
 {

-import mx.effects.effectClasses.SetActionInstance;
+import spark.effects.supportClasses.SetActionInstance;

 import mx.effects.Effect;
 import mx.effects.IEffectInstance;


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

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

--- frameworks/projects/mx/src/mx/controls/HSlider.as
+++ frameworks/projects/mx/src/mx/controls/HSlider.as
@@ -0,0 +1,128 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2004-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
+{
+
+import mx.controls.sliderClasses.Slider;
+import mx.controls.sliderClasses.SliderDirection;
+
+//--------------------------------------
+//  Styles
+//--------------------------------------
+
+/**
+ *  The location of the data tip relative to the thumb.
+ *  Possible values are "left", "right",
+ *  "top", and "bottom".
+ *
+ *  @default "top"
+ */
+[Style(name="dataTipPlacement", type="String", enumeration="left, top, right, bottom", inherit="no")]
+
+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+[Exclude(name="direction", kind="property")]
+
+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+[DefaultBindingProperty(source="value", destination="labels")]
+
+[DefaultTriggerEvent("change")]
+
+[IconFile("HSlider.png")]
+
+/**
+ *  The HSlider control lets users select a value by moving
+ *  a slider thumb between the end points of the slider track.
+ *  The current value of the slider is determined by the relative
+ *  location of the thumb between the end points of the slider,
+ *  corresponding to the slider's minimum and maximum values.
+ *
+ *
The slider may allow a continuous range of values between its
+ *  minimum and maximum values or it may be restricted to values
+ *  at specific intervals between the minimum and maximum value.
+ *  It may show tick marks at specified intervals along the track. These
+ *  tick marks are independent of the allowed values of the slider. The slider
+ *  may also use a data tip to display its current value.

+ *
+ *
The HSlider control has a horizontal direction.
+ *  The slider track stretches from left to right, and the labels
+ *  and tick marks are placed at the top or bottom of the track.

+ *
+ *
The HSlider control has the following default characteristics:

+ *

+ *

+ *           Characteristic
+ *           Description
+ *

+ *

+ *           Default size
+ *           250 pixels wide, high enough to hold the slider and any associated labels
+ *

+ *

+ *           Minimum size
+ *           None
+ *

+ *

+ *           Maximum size
+ *           None
+ *

+ *

+ *
+ *  @mxml
+ *
+ *
The <mx:HSlider> tag inherits all of the tag attributes
+ *  of its superclass, and adds the following tag attribute:

+ *
+ *

+ *  <mx:HSlider
+ *    Styles
+ *    dataTipPlacement="top"
+ *  />
+ *

+ *

+ *
+ *  @includeExample examples/SimpleImageHSlider.mxml
+ *
+ *  @see mx.controls.VSlider
+ *  @see mx.controls.sliderClasses.Slider
+ *  @see mx.controls.sliderClasses.SliderThumb
+ *  @see mx.controls.sliderClasses.SliderDataTip
+ *  @see mx.controls.sliderClasses.SliderLabel
+ */
+public class HSlider extends Slider
+{
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 */
+	public function HSlider()
+	{
+		super();
+
+		// Slider variables.
+		direction = SliderDirection.HORIZONTAL;
+	}
+}
+
+}