Transferred from the Adobe Open Source Subversion Repository

Revision: 1098
Author:   jimurphy@adobe.com
Date:     2008-04-03T21:50:39.896200Z

Log Message:
-----------
Merge 3.0.x -- 362:394, 427:429, 603:608, 644:645, 651:663, 672:676, 755:756, 763:766, 785:790, 812:814, 854:861, 862:866, 866:933,971:1009, 1050:1056 --> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/DefaultDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VRule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IList.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/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IRepeaterClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/VideoError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/Locale.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/rpc/src/mx/rpc/Responder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IBrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ComponentDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IViewCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/IMenuItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.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/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ILayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Spacer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Fault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/XMLListCollection.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/framework/src/mx/events/SliderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ScrollEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/CuePointManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/NumericStepperEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/events/ChannelFaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/CursorBookmark.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</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/frameworks/projects/rpc/src/mx/rpc/soap/LoadEvent.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/rpc/src/mx/messaging/FlexClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/SubscriptionInfo.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/frameworks/projects/framework/src/mx/logging/LogLogger.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/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build_framework.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/HeaderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/ITreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>

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

--- frameworks/projects/mx/src/mx/controls/ComboBase.as
+++ frameworks/projects/mx/src/mx/controls/ComboBase.as
@@ -1390,11 +1390,11 @@

     /**
      *  Handles changes to the TextInput that serves as the editable
-     *  text field in the component. The method sets
+     *  text field in the component.  The method sets
      *  selectedIndex to -1 (and therefore
      *  selectedItem to null).
      *
-     *  @param event The event that is triggered each time the text in the control changes.
+     *  @param event The event that is triggered each time the text in the control changes.
      */
     protected function textInput_changeHandler(event:Event):void
     {
@@ -1429,11 +1429,11 @@
     }

     /**
-     *  Performs some action when the drop-down button is pressed. This is
+     *  Performs some action when the drop-down button is pressed.  This is
      *  an abstract base class implementation, so it has no effect and is
      *  overridden by the subclasses.
-     *
-     *  @param event The event that is triggered when the drop-down button is pressed.
+     *
+     *  @param event The event that is triggered when the drop-down button is pressed.
      */
     protected function downArrowButton_buttonDownHandler(event:FlexEvent):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 10755
Author:   clucier@adobe.com
Date:     2009-09-30T19:32:20.239118Z

Log Message:
-----------
Cleanup. Removing all 2.x APIs that have been deprecated since 3.0.

QE notes:  None
Doc notes: None
Bugs: SDK-23265
Reviewer: Ryan, Gordon
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceBundle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IHistoryManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/Locale.as</path>

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

--- frameworks/projects/mx/src/mx/controls/DateField.as
+++ frameworks/projects/mx/src/mx/controls/DateField.as
@@ -162,22 +162,6 @@
 [Style(name="borderThickness", type="Number", format="Length", inherit="no", theme="halo")]

 /**
- *  Radius of component corners.
- *  The following components support this style: Alert, Button, ComboBox,
- *  LinkButton, MenuBar, NumericStepper, Panel, ScrollBar, Tab, TitleWindow,
- *  and any component
- *  that supports a borderStyle property set to "solid".
- *  The default value depends on the component class;
- *  if not overriden for the class, the default value is 0.
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-[Style(name="cornerRadius", type="Number", format="Length", inherit="no", deprecatedReplacement="dateChooserStyleName", deprecatedSince="3.0")]
-
-/**
  *  Name of the CSS Style declaration to use for the styles for the
  *  DateChooser control's drop-down list.
  *  By default, the DateChooser control uses the DateField control's
@@ -196,68 +180,6 @@
 [Style(name="dateChooserStyleName", type="String", inherit="no")]

 /**
- *  Alphas used for the background fill of controls. Use [1, 1] to make the control background
- *  opaque.
- *
- *  @default [ 0.6, 0.4 ]
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-[Style(name="fillAlphas", type="Array", arrayType="Number", inherit="no", deprecatedReplacement="nextMonthStyleFilters, prevMonthStyleFilters, dateChooserStyleName", deprecatedSince="3.0")]
-
-/**
- *  Colors used to tint the background of the control.
- *  Pass the same color for both values for a flat-looking control.
- *
- *  @default [ 0xFFFFFF, 0xCCCCCC ]
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-[Style(name="fillColors", type="Array", arrayType="uint", format="Color", inherit="no", deprecatedReplacement="nextMonthStyleFilters, prevMonthStyleFilters, dateChooserStyleName", deprecatedSince="3.0")]
-
-/**
- *  Colors of the band at the top of the DateChooser control.
- *  The default value is [ 0xE6EEEE, 0xFFFFFF ].
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-[Style(name="headerColors", type="Array", arrayType="uint", format="Color", inherit="yes", deprecatedReplacement="dateChooserStyleName", deprecatedSince="3.0")]
-
-/**
- *  Name of the style sheet definition to configure the text (month name and year)
- *  and appearance of the header area of the control.
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-[Style(name="headerStyleName", type="String", inherit="no", deprecatedReplacement="dateChooserStyleName", deprecatedSince="3.0")]
-
-/**
- *  Alpha transparencies used for the highlight fill of controls.
- *  The first value specifies the transparency of the top of the highlight and the second value specifies the transparency
- *  of the bottom of the highlight. The highlight covers the top half of the skin.
- *
- *  @default [ 0.3, 0.0 ]
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-[Style(name="highlightAlphas", type="Array", arrayType="Number", inherit="no", deprecatedReplacement="dateChooserStyleName", deprecatedSince="3.0")]
-
-/**
  *  Color of the highlight area of the date when the user holds the
  *  mouse pointer over a date in the DateChooser control.
  *  @default 0xE3FFD6
@@ -303,33 +225,6 @@
  *  @productversion Flex 3
  */
 [Style(name="todayColor", type="uint", format="Color", inherit="yes", theme="halo")]
-
-/**
- *  Name of the style sheet definition to configure the appearance of the current day's
- *  numeric text, which is highlighted
- *  in the control when the showToday property is true.
- *  Specify a color style property to change the font color.
- *  If omitted, the current day text inherits
- *  the text styles of the control.
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-[Style(name="todayStyleName", type="String", inherit="no", deprecatedReplacement="dateChooserStyleName", deprecatedSince="3.0")]
-
-/**
- *  Name of the style sheet definition to configure the weekday names of
- *  the control. If omitted, the weekday names inherit the text
- *  styles of the control.
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
-[Style(name="weekDayStyleName", type="String", inherit="no", deprecatedReplacement="dateChooserStyleName", deprecatedSince="3.0")]

 //--------------------------------------
 //  Excluded APIs


Update documentation with support for MM and MMMM formats

--- frameworks/projects/mx/src/mx/controls/DateField.as
+++ frameworks/projects/mx/src/mx/controls/DateField.as
@@ -433,8 +433,9 @@
      *  object corresponding to the String.
      *  The inputFormat argument contains the pattern
      *  in which the valueString String is formatted.
-     *  It can contain "M","MM","D",
-	 *  "DD","YY","YYYY"
+     *  It can contain "M", "MM",
+	 *  "MMM" (3 letter month names), "MMMM" (month names),
+	 *  "D",  "DD", "YY", "YYYY"
      *  and delimiter and punctuation characters.
 	 *
 	 *
Only upper case characters are supported.

@@ -559,8 +560,9 @@
      *  Formats a Date into a String according to the outputFormat argument.
      *  The outputFormat argument contains a pattern in which
      *  the value String is formatted.
-     *  It can contain "M","MM","D",
-	 *  "DD","YY","YYYY"
+     *  It can contain "M", "MM",
+	 *  "MMM" (3 letter month names), "MMMM" (month names),
+	 *  "D", "DD", "YY", "YYYY"
      *  and delimiter and punctuation characters.
 	 *
 	 *
Only upper case characters are supported.

@@ -1319,7 +1321,8 @@
     /**
      *  The format of the displayed date in the text field.
      *  This property can contain any combination of "M",
-	 *  "MM", "D", "DD",
+	 *  "MM", "MMM" (3 letter month names),
+	 *  "MMMM" (month names), "D", "DD",
 	 *  "YY", "YYYY",
      *  delimiter, and punctuation characters.
 	 *


Transferred from the Adobe Open Source Subversion Repository

Revision: 6204
Author:   rfrishbe@adobe.com
Date:     2009-04-22T22:24:18.334273Z

Log Message:
-----------
Make the item renderer classes for FIelSystemComboBox and FileSystemDataGrid public (although still hidden from ASDoc and excluded from code-hinting) instead of internal helper classes.  This is needed for automation.

QE Notes: -
Doc Notes: -
Bugs: SDK-20703, SDK-20702
Reviewer: Deepa
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemDataGridNameColumnRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemComboBoxRenderer.as</path>

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

--- frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemDataGridNameColumnRenderer.as
+++ frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemDataGridNameColumnRenderer.as
@@ -0,0 +1,382 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.controls.fileSystemClasses
+{
+
+import flash.display.DisplayObject;
+import flash.filesystem.File;
+
+import mx.controls.FileSystemComboBox;
+import mx.controls.FileSystemDataGrid;
+import mx.controls.dataGridClasses.DataGridListData;
+import mx.controls.listClasses.BaseListData;
+import mx.controls.listClasses.IDropInListItemRenderer;
+import mx.controls.listClasses.IListItemRenderer;
+import mx.controls.listClasses.ListBase;
+import mx.controls.listClasses.ListItemRenderer;
+import mx.core.IDataRenderer;
+import mx.core.IFlexDisplayObject;
+import mx.core.IUITextField;
+import mx.core.UIComponent;
+import mx.core.UITextField;
+import mx.core.mx_internal;
+import mx.events.FlexEvent;
+
+use namespace mx_internal;
+
+[ExcludeClass]
+
+/**
+ *  @private
+ *  This helper class implements the renderer for the Name column,
+ *  which displays an icon and a name for a File.
+ *  We need a custom renderer because DataGridItemRenderer
+ *  doesn't support an icon.
+ */
+public class FileSystemDataGridNameColumnRenderer extends UIComponent
+    implements IDataRenderer, IDropInListItemRenderer, IListItemRenderer
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function FileSystemDataGridNameColumnRenderer()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private var listOwner:ListBase;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden properties: UIComponent
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  baselinePosition
+    //----------------------------------
+
+    /**
+     *  @private
+     *  The baselinePosition of a NameColumnRenderer is calculated
+     *  for its label.
+     */
+    override public function get baselinePosition():Number
+    {
+        if (!mx_internal::validateBaselinePosition())
+            return NaN;
+
+        return label.y + label.baselinePosition;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  data
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the data property.
+     */
+    private var _data:Object;
+
+    [Bindable("dataChange")]
+
+    /**
+     *  The implementation of the data property
+     *  as defined by the IDataRenderer interface.
+     *  When set, it stores the value and invalidates the component
+     *  to trigger a relayout of the component.
+     *
+     *  @see mx.core.IDataRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get data():Object
+    {
+        return _data;
+    }
+
+    /**
+     *  @private
+     */
+    public function set data(value:Object):void
+    {
+        _data = value;
+
+        invalidateProperties();
+
+        dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
+    }
+
+    //----------------------------------
+    //  icon
+    //----------------------------------
+
+    /**
+     *  The internal IFlexDisplayObject that displays the icon in this renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    protected var icon:IFlexDisplayObject;
+
+    //----------------------------------
+    //  label
+    //----------------------------------
+
+    /**
+     *  The internal IUITextField that displays the text in this renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    protected var label:IUITextField;
+
+    //----------------------------------
+    //  listData
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the listData property.
+     */
+    private var _listData:DataGridListData;
+
+    [Bindable("dataChange")]
+
+    /**
+     *  The implementation of the listData property
+     *  as defined by the IDropInListItemRenderer interface.
+     *
+     *  @see mx.controls.listClasses.IDropInListItemRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get listData():BaseListData
+    {
+        return _listData;
+    }
+
+    /**
+     *  @private
+     */
+    public function set listData(value:BaseListData):void
+    {
+        _listData = DataGridListData(value);
+
+        invalidateProperties();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: UIComponent
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function createChildren():void
+    {
+        super.createChildren();
+
+        if (!label)
+        {
+            label = IUITextField(createInFontContext(UITextField));
+            label.styleName = this;
+            addChild(DisplayObject(label));
+        }
+    }
+
+    /**
+     *  @private
+     *  Apply the data and listData.
+     *  Create an instance of the icon if specified,
+     *  and set the text into the text field.
+     */
+    override protected function commitProperties():void
+    {
+        super.commitProperties();
+
+        if (icon)
+        {
+            removeChild(DisplayObject(icon));
+            icon = null;
+        }
+
+        if (_data != null)
+        {
+            listOwner = ListBase(_listData.owner);
+
+            if (FileSystemDataGrid(listOwner).showIcons)
+            {
+                var iconClass:Class =
+                    listOwner.getStyle(File(_data).isDirectory ?
+                                       "directoryIcon" :
+                                       "fileIcon");
+                icon = new iconClass();
+                addChild(DisplayObject(icon));
+            }
+
+            label.text = _listData.label ? _listData.label : " ";
+            label.multiline = listOwner.variableRowHeight;
+            label.wordWrap = listOwner.wordWrap;
+
+            if (listOwner.showDataTips)
+            {
+                if (label.textWidth > label.width ||
+                    listOwner.dataTipFunction != null)
+                {
+                    toolTip = listOwner.itemToDataTip(_data);
+                }
+                else
+                {
+                    toolTip = null;
+                }
+            }
+            else
+            {
+                toolTip = null;
+            }
+        }
+        else
+        {
+            label.text = " ";
+            toolTip = null;
+        }
+    }
+
+    /**
+     *  @private
+     */
+    override protected function measure():void
+    {
+        super.measure();
+
+        var w:Number = 0;
+
+        if (icon)
+            w = icon.measuredWidth;
+
+        // Guarantee that label width isn't zero
+        // because it messes up ability to measure.
+        if (label.width < 4 || label.height < 4)
+        {
+            label.width = 4;
+            label.height = 16;
+        }
+
+        if (isNaN(explicitWidth))
+        {
+            w += label.getExplicitOrMeasuredWidth();
+            measuredWidth = w;
+            measuredHeight = label.getExplicitOrMeasuredHeight();
+        }
+        else
+        {
+            measuredWidth = explicitWidth;
+            label.setActualSize(Math.max(explicitWidth - w, 4), label.height);
+            measuredHeight = label.getExplicitOrMeasuredHeight();
+            if (icon && icon.measuredHeight > measuredHeight)
+                measuredHeight = icon.measuredHeight;
+        }
+    }
+
+    /**
+     *  @private
+     */
+    override protected function updateDisplayList(unscaledWidth:Number,
+                                                  unscaledHeight:Number):void
+    {
+        super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+        var startX:Number = 0;
+
+        if (icon)
+        {
+            icon.x = startX;
+            startX = icon.x + icon.measuredWidth;
+            icon.setActualSize(icon.measuredWidth, icon.measuredHeight);
+        }
+
+        label.x = startX;
+        label.setActualSize(unscaledWidth - startX, measuredHeight);
+
+        var verticalAlign:String = getStyle("verticalAlign");
+        if (verticalAlign == "top")
+        {
+            label.y = 0;
+            if (icon)
+                icon.y = 0;
+        }
+        else if (verticalAlign == "bottom")
+        {
+            label.y = unscaledHeight - label.height + 2; // 2 for gutter
+            if (icon)
+                icon.y = unscaledHeight - icon.height;
+        }
+        else
+        {
+            label.y = (unscaledHeight - label.height) / 2;
+            if (icon)
+                icon.y = (unscaledHeight - icon.height) / 2;
+        }
+
+        var labelColor:Number;
+
+        if (data && parent)
+        {
+            if (!enabled)
+                labelColor = getStyle("disabledColor");
+            else if (listOwner.isItemHighlighted(listData.uid))
+                labelColor = getStyle("textRollOverColor");
+            else if (listOwner.isItemSelected(listData.uid))
+                labelColor = getStyle("textSelectedColor");
+            else
+                labelColor = getStyle("color");
+
+            label.setColor(labelColor);
+        }
+    }
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkScrollerAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkScrollerAutomationImpl.as
@@ -0,0 +1,132 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.automation.delegates.components
+{
+	import flash.display.DisplayObject;
+
+	import mx.automation.Automation;
+	import mx.automation.IAutomationObject;
+	import mx.automation.IAutomationObjectHelper;
+	import mx.core.mx_internal;
+
+	import spark.automation.delegates.components.supportClasses.SparkSkinnableComponentAutomationImpl;
+	import spark.components.Scroller;
+
+	use namespace mx_internal;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines methods and properties required to perform instrumentation for the
+	 *  Scroller control.
+	 *
+	 *  @see spark.components.Scroller
+	 *
+	 */
+	public class SparkScrollerAutomationImpl extends SparkSkinnableComponentAutomationImpl
+	{
+		include "../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(spark.components.Scroller, SparkScrollerAutomationImpl);
+		}
+
+		/**
+		 *  Constructor.
+		 * @param obj Scroller object to be automated.
+		 */
+		public function SparkScrollerAutomationImpl(obj:spark.components.Scroller)
+		{
+			super(obj);
+
+		}
+
+		/**
+		 *  @private
+		 */
+		private function get scroller():spark.components.Scroller
+		{
+			return uiComponent as spark.components.Scroller;
+		}
+
+
+
+		override public function getAutomationChildren():Array
+		{
+
+			var chilArray:Array = new Array();
+			return chilArray;
+		}
+
+
+		/**
+		 *  @private
+		 */
+		override public function createAutomationIDPart(child:IAutomationObject):Object
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			return help.helpCreateIDPart(uiAutomationObject, child);
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function resolveAutomationIDPart(part:Object):Array
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			return help.helpResolveIDPart(uiAutomationObject, part);
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			return help.helpCreateIDPartWithRequiredProperties(uiAutomationObject, child,properties);
+
+		}
+
+		/**
+		 *  @private
+		 */
+
+		override public function get numAutomationChildren():int
+		{
+			return 0;
+		}
+
+		/**
+		 *  @private
+		 */
+
+		override public function getAutomationChildAt(index:int):IAutomationObject
+		{
+			return null;
+		}
+
+
+	}
+
+}


Added player, seems events don't bubble

Added player, seems events don't bubble

--- _/dev/ytpv3d/src/App.as
+++ _/dev/ytpv3d/src/App.as
@@ -1,8 +1,8 @@
 package
 {
-	import com.firestartermedia.lib.as3.display.component.interaction.ButtonSimple;
 	import com.firestartermedia.lib.as3.display.component.video.YouTubePlayer;

+	import flash.display.LoaderInfo;
 	import flash.display.Sprite;
 	import flash.events.Event;
 	import flash.events.MouseEvent;
@@ -47,7 +47,7 @@
 		{
 			var mat:MovieMaterial;
 			var test:Sprite = new Sprite();
-			var button:ButtonSimple = new ButtonSimple();
+			/* var button:ButtonSimple = new ButtonSimple();

 			button.addEventListener( MouseEvent.CLICK, handleClick );

@@ -57,17 +57,19 @@

 			button.draw();

-			test.addChild( button );
+			test.addChild( button ); */

-			/* player = new YouTubePlayer();
+			player = new YouTubePlayer();

 			player.autoPlay			= true;
-			player.chromeless		= true;
+			//player.chromeless		= true;
 			player.playerHeight		= 300;
 			player.playerWidth		= 400;
 			player.wrapperURL		= ( LoaderInfo( root.loaderInfo ).parameters.wrapper ||= 'assets/swf/YouTubePlayerWrapper.swf' );

-			player.play( 'Sqz5dbs5zmo' ); */
+			player.play( 'Sqz5dbs5zmo' );
+
+			test.addChild( player );

 			//mat = new MovieMaterial( player, false, true, true, new Rectangle( 0, 0, 400, 300 ) );
 			mat = new MovieMaterial( test, true, true, true, new Rectangle( 0, 0, 400, 300 ) );


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Fixed XMLList replaceChildAt

Fixed XMLList replaceChildAt

--- frameworks/projects/XML/src/main/flex/XMLList.as
+++ frameworks/projects/XML/src/main/flex/XMLList.as
@@ -599,7 +599,7 @@
 			}
 			if(child is XML)
 			{
-				_xmlArray.splice(idx+i,0,child);
+				_xmlArray[idx] = child;
 			}
 			else if(child is XMLList)
 			{


OFC-520 Do not hide reason blank options from context menu after selecting one

--- collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/ui/component/input/InputFieldContextMenu.as
+++ collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/ui/component/input/InputFieldContextMenu.as
@@ -16,6 +16,7 @@
 	import org.openforis.collect.model.proxy.AttributeProxy;
 	import org.openforis.collect.model.proxy.EntityProxy;
 	import org.openforis.collect.model.proxy.NodeProxy;
+	import org.openforis.collect.presenter.InputFieldPresenter;
 	import org.openforis.collect.presenter.RemarksPopUpPresenter;
 	import org.openforis.collect.util.AlertUtil;
 	import org.openforis.collect.util.UIUtil;
@@ -87,25 +88,32 @@

 		private function createMenuItems(step:CollectRecord$Step):Array {
 			var items:Array = new Array();
-
-			if(_inputField.isEmpty()) {
-				switch(step) {
-					case CollectRecord$Step.ENTRY:
+
+			switch(step) {
+				case CollectRecord$Step.ENTRY:
+					// REASON BLANK ITEMS
+					if(_inputField.isEmpty() || InputFieldPresenter.isShortCutForReasonBlank(_inputField.text)) {
 						items.push( SET_STAR, SET_DASH, SET_ILLEGIBLE );
-						break;
-					case CollectRecord$Step.CLEANSING:
+					}
+					// CONFIRM ERROR ITEM
+					if( ! _inputField.isEmpty()) {
+						var hasErrors:Boolean = _inputField.parentEntity.childContainsErrors(_inputField.attributeDefinition.name);
+						if(hasErrors) {
+							var hasConfirmedError:Boolean = _inputField.parentEntity.hasConfirmedError(_inputField.attributeDefinition.name);
+							if(! hasConfirmedError) {
+								items.push(CONFIRM_ERROR);
+							}
+						}
+					}
+					break;
+				case CollectRecord$Step.CLEANSING:
+					// APPROVE MISSING VALUE ITEM
+					if(_inputField.isEmpty() || InputFieldPresenter.isShortCutForReasonBlank(_inputField.text)) {
 						items.push(APPROVE_MISSING);
-						break;
-				}
-			} else if(step == CollectRecord$Step.ENTRY) {
-				var hasErrors:Boolean = _inputField.parentEntity.childContainsErrors(_inputField.attributeDefinition.name);
-				if(hasErrors) {
-					var hasConfirmedError:Boolean = _inputField.parentEntity.hasConfirmedError(_inputField.attributeDefinition.name);
-					if(! hasConfirmedError) {
-						items.push(CONFIRM_ERROR);
-					}
-				}
-			}
+					}
+					break;
+			}
+			//REMARKS
 			items.push(EDIT_REMARKS_MENU_ITEM);

 			if(step != CollectRecord$Step.ANALYSIS) {
@@ -159,11 +167,13 @@
 					nodeEvent = new NodeEvent(NodeEvent.UPDATE_SYMBOL);
 					nodeEvent.symbol = FieldSymbol.DASH_ON_FORM;
 					nodeEvent.nodeProxy = parentEntity;
+					nodeEvent.applyToNonEmptyNodes = false;
 					break;
 				case SET_STAR_IN_ROW:
 					nodeEvent = new NodeEvent(NodeEvent.UPDATE_SYMBOL);
 					nodeEvent.symbol = FieldSymbol.BLANK_ON_FORM;
 					nodeEvent.nodeProxy = parentEntity;
+					nodeEvent.applyToNonEmptyNodes = false;
 					break;
 				case DELETE_ATTRIBUTE:
 					if(checkCanDelete(attribute, attrDefn)) {
@@ -188,6 +198,7 @@
 				case APPROVE_MISSING_IN_ROW:
 					nodeEvent = new NodeEvent(NodeEvent.APPROVE_MISSING);
 					nodeEvent.nodeProxy = parentEntity;
+					nodeEvent.applyToNonEmptyNodes = false;
 					break;
 			}


Transferred from the Adobe Open Source Subversion Repository

Revision: 1098
Author:   jimurphy@adobe.com
Date:     2008-04-03T21:50:39.896200Z

Log Message:
-----------
Merge 3.0.x -- 362:394, 427:429, 603:608, 644:645, 651:663, 672:676, 755:756, 763:766, 785:790, 812:814, 854:861, 862:866, 866:933,971:1009, 1050:1056 --> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/DefaultDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VRule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IList.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/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IRepeaterClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/VideoError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/Locale.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/rpc/src/mx/rpc/Responder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IBrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ComponentDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IViewCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/IMenuItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.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/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ILayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Spacer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Fault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/XMLListCollection.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/framework/src/mx/events/SliderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ScrollEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/CuePointManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/NumericStepperEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/events/ChannelFaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/CursorBookmark.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</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/frameworks/projects/rpc/src/mx/rpc/soap/LoadEvent.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/rpc/src/mx/messaging/FlexClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/SubscriptionInfo.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/frameworks/projects/framework/src/mx/logging/LogLogger.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/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build_framework.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/HeaderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/ITreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>

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

--- frameworks/projects/framework/src/mx/preloaders/Preloader.as
+++ frameworks/projects/framework/src/mx/preloaders/Preloader.as
@@ -59,7 +59,7 @@
 	//--------------------------------------------------------------------------

 	/**
-	 *	Constructor
+	 *	Constructor.
 	 */
 	public function Preloader()
 	{
@@ -452,4 +452,4 @@
 }

 }
-	+


Transferred from the Adobe Open Source Subversion Repository

Revision: 4958
Author:   rfrishbe@adobe.com
Date:     2009-02-13T23:07:46.243121Z

Log Message:
-----------
Change the initialization sequence of FxComponent and Group.  Basically now children (including the skin) should get created at createChildren() time and follow the correct lifecycle pattern.  Unfortunately, this change got mingled in with all my PARB changes, so I'm submitting a bunch of PARB changes for Group, DataGroup, FxContainer, and FxDataContainer, outlined below:

1.     New event classes/names for Group/FxContainer and DataGroup ("elementAdd" and "elementRemove" event of type ElementExistenceEvent for Group/FxContainer and "rendererAdd" and "rendererRemove" event of type RendererExistenceEvent for DataGroup). It was just one event class of ItemExistenceChangedEvent before.
2.     LayoutBase.clipContent->clipAndEnableScrolling (same with IViewport.clipContent and GroupBase.clipContent)
3.     GroupBase.getLayoutELementAt()->getElementAt()
4.     GroupBase.numLayoutElements -> numElements.
5.     LayoutBase.virtualLayout -> useVirtualLayout
6.     ScrollUnit constants are now changed to be uints instead of typed as ScrollUnit.  This means the signature for getHorizontalScrollPositionDelta(unit:ScrollUnit):Number has changed to getHorizontalScrollPositionDelta(scrollUnit:uint):Number (and ditto for getVerticalScrollPositionDelta())
7.  DataGroup.getRendererForItemAt() -> getElementAt()
8.  DataGroup.getItemIndexForRenderer() -> getElementIndex()

Other changes:
 - Change IVisualElement interface so that it's smaller now.  It also extends ILayoutElement now.  The properties removed from IVisualElement are: rotation, rotationX, rotationY, rotationZ, transformX, transformY, offsets, x, y, z, scaleX, scaleY, scaleZ, explicitWidth, explicitMinWidth, explicitMaxWidth, explicitHeight, explicitMinHeight, explicitMaxHeight)
-  Fix in DataGroup so we don’t remove/add elements if we’re gonna do it later anyways.  I also need to do some other work in here around cleaning up of renderers.
- AddItems fix around handling IVisualElementContainers more effeciently
- get mxmlContent now returns a copy of the Array rather than the one we're using internally
- Had to update mustella since there was special case logic for dealing with getLayoutElementAt().  I added this logic for getElementAt(), which replaces that method.

QE Notes: Thanks for changing all the tests and working on the cyclone
Doc Notes: Made some ASDoc changes to some core classes to move the comments into the interfaces.  I did update the comments a bit as well.
Bugs: SDK-18115, SDK-19004
Reviewer: Jason, Glenn, Hans for initialization sequence change and Hans for all PARB changes
tests: checkintests, all mustella tests

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/ItemExistenceChangedEvent.as" copyfrom-rev="4812" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/ElementExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/RendererExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/ItemExistenceChangedEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/ScrollUnit.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/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/mustella/mustella.swc</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/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/HScrollBar.as
+++ frameworks/projects/spark/src/spark/components/HScrollBar.as
@@ -159,9 +159,9 @@
      *
      *  @private
      */
-    private function updateViewportHSP(unit:ScrollUnit):void
-    {
-        var delta:Number = viewport.getHorizontalScrollPositionDelta(unit);
+    private function updateViewportHSP(scrollUnit:uint):void
+    {
+        var delta:Number = viewport.getHorizontalScrollPositionDelta(scrollUnit);
         setValue(viewport.horizontalScrollPosition + delta);
     }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as
+++ frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.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.events
 {


Wait a frame before doing actual publish.

Publishing always involves a very long frame for any sizable flump project, so let's start it on
a new frame. For one thing, it appears that the output only flushes between frames, and it looks
better from the CL script you've been told that publishing is started before the app halts for
awhile.

--- exporter/src/main/as/flump/export/AutomaticExporter.as
+++ exporter/src/main/as/flump/export/AutomaticExporter.as
@@ -1,5 +1,6 @@
 package flump.export {

+import aspire.util.F;
 import aspire.util.StringUtil;

 import flash.events.ErrorEvent;
@@ -7,6 +8,7 @@
 import flash.filesystem.File;
 import flash.filesystem.FileMode;
 import flash.filesystem.FileStream;
+import flash.utils.setTimeout;

 import flump.executor.Executor;
 import flump.executor.Future;
@@ -159,13 +161,19 @@
             return;
         }
         var exportDir :File = _confFile.parent.resolvePath(_conf.exportDir);
-        println("Exporting to " + exportDir.nativePath + "...");
+        println("Publishing to " + exportDir.nativePath + "...");
         if (exportDir.exists && !exportDir.isDirectory) {
             exit("Configured export directory exists as a file!");
             return;
         }
         if (!exportDir.exists) exportDir.createDirectory();

+        var publisher :Publisher = new Publisher(exportDir, _conf, projectName);
+        // wait a frame for the output to flush before starting the (long frame) publish
+        setTimeout(F.bind(publish, publisher), 0);
+    }
+
+    protected function publish (publisher :Publisher) :void {
         var hasCombined :Boolean = false;
         var hasSingle :Boolean = false;
         for each (var config :ExportConf in _conf.exports) {
@@ -174,7 +182,6 @@
             if (hasCombined && hasSingle) break;
         }
         try {
-            var publisher :Publisher = new Publisher(exportDir, _conf, projectName);
             // if we have one or more combined export format, publish them
             if (hasCombined) {
                 println("Exporting combined formats...");


Transferred from the Adobe Open Source Subversion Repository

Revision: 2647
Author:   jimurphy@adobe.com
Date:     2008-07-29T11:53:10.645915Z

Log Message:
-----------
Merged 3.0.x revisions [2630,2638] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ModalWindowRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/airframework/src/mx/core/Window.as
+++ frameworks/projects/airframework/src/mx/core/Window.as
@@ -1904,6 +1904,7 @@
                     StyleManager.getStyleDeclaration("." + gripSkin);
                 gripper.styleName = gripSkin;
             }
+			gripper.tabEnabled = false;
             rawChildren.addChild(gripper);
             gripperHit = new Sprite();
   			rawChildren.addChild(gripperHit);


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

- uses mx Canvas instead of FormItemLayout

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

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

--- frameworks/projects/spark/src/spark/components/Form.as
+++ frameworks/projects/spark/src/spark/components/Form.as
@@ -0,0 +1,89 @@
+package spark.components
+{
+
+    ////////////////////////////////////////////////////////////////////////////////
+    //
+    //  ADOBE SYSTEMS INCORPORATED
+    //  Copyright 2008 Adobe Systems Incorporated
+    //  All Rights Reserved.
+    //
+    //  NOTICE: Adobe permits you to use, modify, and distribute this file
+    //  in accordance with the terms of the license agreement accompanying it.
+    //
+    ////////////////////////////////////////////////////////////////////////////////
+
+    /**
+     *  TODO:
+     *
+     *
+     *
+     *  ISSUES:
+     *  - Support auto-generation of numberLabel values?
+     *
+     *
+     */
+
+    /**
+     *  TBD
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4.5
+     */
+    public class Form extends SkinnableContainer
+    {
+
+        public function Form()
+        {
+            super();
+        }
+
+        //--------------------------------------------------------------------------
+        //
+        //  Properties
+        //
+        //--------------------------------------------------------------------------
+
+        //----------------------------------
+        //  columnWidths
+        //----------------------------------
+
+
+        private var _columnWidths:Vector.<Number>;
+
+        [Bindable("updateComplete")]
+
+        /**
+         *  An array of the maximum widths of the spaces allocated for each Form column
+         *
+         *
This property is set by the Form's layout. For all other purposes
+         *  it should be considered read-only.

+         *
+         *  @default
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 1.5
+         *  @productversion Flex 4.5
+         */
+
+        // TODO Should we support developer overriding the layout defined value?
+        // If so, we need a seperate property or function like columnWidthsOverride
+        public function get columnWidths():Vector.<Number>
+        {
+            return _columnWidths;
+        }
+
+        /**
+         *  @private
+         */
+        public function set columnWidths(value:Vector.<Number>):void
+        {
+            _columnWidths = value;
+
+        }
+
+
+    }
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8478
Author:   smgilson@adobe.com
Date:     2009-07-09T16:00:34.803687Z

Log Message:
-----------
- Minor ASDoc cleanup to Spark effects

- Delete SWF and HTML files for ASDoc examples that should not have been checked in

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/RadioButtonGroupExample.swf</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/RadioButtonExample.swf</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/RadioButtonGroupExample.html</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/RadioButtonExample.html</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Scale3D.as
+++ frameworks/projects/spark/src/spark/effects/Scale3D.as
@@ -50,15 +50,15 @@
  *  <mx:Scale3D
  *    <b>Properties</b>
  *    id="ID"
+ *    scaleXBy="no default"
  *    scaleXFrom="no default"
  *    scaleXTo="no default"
- *    scaleXBy="no default"
+ *    scaleYBy="no default"
  *    scaleYFrom="no default"
  *    scaleYTo="no default"
- *    scaleYBy="no default"
+ *    scaleZBy="no default"
  *    scaleZFrom="no default"
  *    scaleZTo="no default"
- *    scaleZBy="no default"
  *  />
  *  </pre>
  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 19582
Author:   cframpto@adobe.com
Date:     2011-01-04T18:54:36.337306Z

Log Message:
-----------
DropDownListBase: add override for isOurFocus to include openButton
EmphasizedButtonSkin.mxml: added missing states
Path.as: Objects drawn in shared display objects are drawn at x,y rather than 0,0 so need to move the strokeBounds if sharing.
DropDownController.as: minimal changes to check for openButton before accessing it

QE notes:
Doc notes:
Bugs: SDK-28373, SDK-27332, SDK-27050, SDK-22719
Reviewer: Jason
Tests run: cyclone
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/mx/skins/wireframe/EmphasizedButtonSkin.mxml</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/primitives/Path.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/Path.as
+++ frameworks/projects/spark/src/spark/primitives/Path.as
@@ -1037,15 +1037,24 @@
         var sy:Number = naturalBounds.height == 0 ? 1 : height / naturalBounds.height;

         var origin:Point = new Point(drawX, drawY);
-        var bounds:Rectangle = new Rectangle(drawX + measuredX * sx,
-            drawY + measuredY * sy,
-            width,
-            height);
+        var bounds:Rectangle = new Rectangle(
+                                    drawX + measuredX * sx,
+                                    drawY + measuredY * sy,
+                                    width,
+                                    height);
         if (stroke)
-            stroke.apply(g, getStrokeBounds(), origin);
+		{
+			var strokeBounds:Rectangle = getStrokeBounds();
+            // Objects drawn in shared display objects are drawn at x,y rather
+            // than 0,0 so need to move the strokeBounds if sharing.
+			strokeBounds.offsetPoint(origin);
+            stroke.apply(g, strokeBounds, origin);
+		}
         else
+		{
             g.lineStyle();
-
+		}
+
         if (fill)
             fill.begin(g, bounds, origin);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 9891
Author:   aharui@adobe.com
Date:     2009-09-01T23:00:51.425472Z

Log Message:
-----------
Change default value of ButtonBar and List labelField to "label".  Improve code in LabelUtil to handle strings better

QE Notes: None
Doc Notes: Yes, default value changed
Bugs: SDK-22930
Reviewer: Ryan
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/managers/ButtonBar, List

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/LabelUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>

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

--- frameworks/projects/spark/src/spark/utils/LabelUtil.as
+++ frameworks/projects/spark/src/spark/utils/LabelUtil.as
@@ -64,6 +64,10 @@
         if (labelFunction != null)
             return labelFunction(item);

+        // early check for Strings
+        if (item is String)
+            return String(item);
+
         if (item is XML)
         {
             try
@@ -90,6 +94,7 @@
             }
         }

+        // late check for strings if item[labelField] was valid
         if (item is String)
             return String(item);


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

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

 package mx.automation.delegates.flashflexkit


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkButtonBaseAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkButtonBaseAutomationImpl.as
@@ -0,0 +1,166 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.automation.delegates.components.supportClasses
+{
+import flash.display.DisplayObject;
+import flash.events.Event;
+import flash.events.KeyboardEvent;
+import flash.events.MouseEvent;
+import flash.ui.Keyboard;
+
+import mx.automation.Automation;
+import mx.automation.IAutomationObjectHelper;
+import mx.core.EventPriority;
+import mx.core.mx_internal;
+
+import spark.components.supportClasses.ButtonBase;
+
+use namespace mx_internal;
+
+[Mixin]
+/**
+ *
+ *  Defines methods and properties required to perform instrumentation for the
+ *  ButtonBase control.
+ *
+ *  @see spark.components.supportClasses.ButtonBase
+ *
+ */
+public class SparkButtonBaseAutomationImpl extends SparkSkinnableComponentAutomationImpl
+{
+	include "../../../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Registers the delegate class for a component class with automation manager.
+     *
+     *  @param root The SystemManger of the application.
+     */
+    public static function init(root:DisplayObject):void
+    {
+        Automation.registerDelegateClass(spark.components.supportClasses.ButtonBase, SparkButtonBaseAutomationImpl);
+    }
+
+    /**
+     *  Constructor.
+     * @param obj ButtonBase object to be automated.
+     */
+    public function SparkButtonBaseAutomationImpl(obj:spark.components.supportClasses.ButtonBase)
+    {
+        super(obj);
+
+        obj.addEventListener(KeyboardEvent.KEY_UP, btnKeyUpHandler, false, EventPriority.DEFAULT+1, true);
+        obj.addEventListener(MouseEvent.CLICK, clickHandler, false, EventPriority.DEFAULT+1, true);
+    }
+
+    /**
+     *  @private
+     *  storage for the owner component
+     */
+    protected function get btnBase():spark.components.supportClasses.ButtonBase
+    {
+        return uiComponent as spark.components.supportClasses.ButtonBase;
+    }
+
+    /**
+     *  @private
+     */
+    private var ignoreReplayableClick:Boolean;
+
+    //----------------------------------
+    //  automationName
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    override public function get automationName():String
+    {
+        return btnBase.label || btnBase.toolTip || super.automationName;
+    }
+
+    //----------------------------------
+    //  automationValue
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    override public function get automationValue():Array
+    {
+        return [ btnBase.label || btnBase.toolTip ];
+    }
+
+    /**
+     *  @private
+     */
+    protected function clickHandler(event:MouseEvent):void
+    {
+        if (!ignoreReplayableClick)
+            recordAutomatableEvent(event);
+        ignoreReplayableClick = false;
+    }
+
+    /**
+     *  @private
+     */
+    private function btnKeyUpHandler(event:KeyboardEvent):void
+    {
+        if (!btnBase.enabled)
+            return;
+
+        if (event.keyCode == Keyboard.SPACE)
+        {
+            // we need to ignore recording a click being dispatched here
+            ignoreReplayableClick = true;
+            recordAutomatableEvent(event);
+        }
+    }
+
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Replays click interactions on the button.
+     *  If the interaction was from the mouse,
+     *  dispatches MOUSE_DOWN, MOUSE_UP, and CLICK.
+     *  If interaction was from the keyboard,
+     *  dispatches KEY_DOWN, KEY_UP.
+     *  Button's KEY_UP handler then dispatches CLICK.
+     *
+     *  @param event ReplayableClickEvent to replay.
+     */
+    override public function replayAutomatableEvent(event:Event):Boolean
+    {
+        var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+
+        if (event is MouseEvent && event.type == MouseEvent.CLICK)
+            return help.replayClick(uiComponent, MouseEvent(event));
+        else if (event is KeyboardEvent)
+            return help.replayKeyboardEvent(uiComponent, KeyboardEvent(event));
+        else
+            return super.replayAutomatableEvent(event);
+    }
+
+}
+
+}


Added selectedRole

Added selectedRole

git-svn-id: 27326a786375daad9d33dc990c6f272e4c8f567c@1588 fda5f131-174c-0410-8613-e0905860106b

--- org.openwms/trunk/org.openwms.core/org.openwms.client.flex.lib/src/main/flex/org/openwms/web/flex/client/model/ModelLocator.as
+++ org.openwms/trunk/org.openwms.core/org.openwms.client.flex.lib/src/main/flex/org/openwms/web/flex/client/model/ModelLocator.as
@@ -21,16 +21,17 @@
 package org.openwms.web.flex.client.model {

     import flash.utils.Dictionary;
-
+
     import mx.collections.ArrayCollection;
     import mx.events.CollectionEvent;
     import mx.formatters.DateFormatter;
-
+
     import org.openwms.core.domain.Module;
+    import org.openwms.core.domain.system.usermanagement.Role;
     import org.openwms.core.domain.system.usermanagement.User;
+    import org.openwms.web.flex.client.event.ApplicationEvent;
     import org.openwms.web.flex.client.event.SwitchScreenEvent;
     import org.openwms.web.flex.client.event.UserEvent;
-    import org.openwms.web.flex.client.event.ApplicationEvent;

     [Name("modelLocator")]
     [ManagedEvent(name="USER.COLLECTION_CHANGED")]
@@ -114,7 +115,10 @@
          * The current logged in User.
          */
         public var loggedInUser : User = null;
-
+        /**
+         * The current selected Role in the RoleManagement view.
+         */
+        public var selectedRole : Role = null;
         // --------------------------------------------------------------------
         // Module Management
         // --------------------------------------------------------------------


Remove debug traces

Remove debug traces

--- lib/src_linux/com/amanitadesign/steam/FRESteamWorks.as
+++ lib/src_linux/com/amanitadesign/steam/FRESteamWorks.as
@@ -71,7 +71,6 @@
 		}

 		public function init():Boolean {
-			trace("Init called");
 			if(!_file.exists) return false;
 			startProcess();
 			if(!_process.running) return false;
@@ -85,7 +84,6 @@
 		private function callWrapper(funcName:int, params:Array = null):void{
 			if(!_process.running) startProcess();

-			trace("Calling: " + funcName + "//" + params);
 			var stdin:IDataOutput = _process.standardInput;
 			stdin.writeUTFBytes(funcName + "\n");

@@ -118,7 +116,6 @@
 			var avail:uint = waitForData(stdout);

 			var response:String = stdout.readUTFBytes(1);
-			trace(response + "//" + (response == "t"));
 			return (response == "t");
 		}

@@ -128,7 +125,6 @@
 			var avail:uint = waitForData(stdout);

 			var response:String = stdout.readUTFBytes(avail);
-			trace(response);
 			return parseInt(response, 10);
 		}

@@ -138,7 +134,6 @@
 			var avail:uint = waitForData(stdout);

 			var response:String = stdout.readUTFBytes(avail)
-			trace(response);
 			return parseFloat(response);
 		}

@@ -148,7 +143,6 @@
 			var avail:uint = waitForData(stdout);

 			var response:String = stdout.readUTFBytes(avail)
-			trace(response);
 			return response;
 		}

@@ -156,15 +150,12 @@
 			var stderr:IDataInput = _process.standardError;
 			var avail:uint = stderr.bytesAvailable;
 			var data:String = stderr.readUTFBytes(avail);
-			trace("Got progress event, data available: " + avail);
-			trace("Content: " + data);

 			var pattern:RegExp = /__event__<(\d+),(\d+)>/g;
 			var result:Object;
 			while((result = pattern.exec(data))) {
 				var req_type:int = new int(result[1]);
 				var response:int = new int(result[2]);
-				trace("Got event: " + req_type + "//" + response);
 				var steamEvent:SteamEvent = new SteamEvent(SteamEvent.STEAM_RESPONSE, req_type, response);
 				dispatchEvent(steamEvent);
 			}
@@ -181,97 +172,81 @@
 		}

 		public function requestStats():Boolean {
-			trace("requestStats called");
 			callWrapper(AIRSteam_RequestStats);
 			return readBoolResponse();
 		}

 		public function runCallbacks():Boolean {
-			trace("runCallbacks called");
 			callWrapper(AIRSteam_RunCallbacks);
 			return true;
 		}

 		public function setAchievement(id:String):Boolean {
-			trace("setAchievement called");
 			callWrapper(AIRSteam_SetAchievement, [id]);
 			return readBoolResponse();
 		}

 		public function clearAchievement(id:String):Boolean {
-			trace("clearAchievement called");
 			callWrapper(AIRSteam_ClearAchievement, [id]);
 			return readBoolResponse();
 		}

 		public function isAchievement(id:String):Boolean {
-			trace("isAchievement called");
 			callWrapper(AIRSteam_IsAchievement, [id]);
 			return readBoolResponse();
 		}

 		public function getStatInt(id:String):int {
-			trace("getStatInt called");
 			callWrapper(AIRSteam_GetStatInt, [id]);
 			return readIntResponse();
 		}

 		public function getStatFloat(id:String):Number {
-			trace("getStatFloat called");
 			callWrapper(AIRSteam_GetStatFloat, [id]);
 			return readFloatResponse();
 		}

 		public function setStatInt(id:String, value:int):Boolean {
-			trace("setStatInt called");
 			callWrapper(AIRSteam_SetStatInt, [id, value]);
 			return readBoolResponse();
 		}

 		public function setStatFloat(id:String, value:Number):Boolean {
-			trace("setStatFloat called");
 			callWrapper(AIRSteam_SetStatFloat, [id, value]);
 			return readBoolResponse();
 		}

 		public function storeStats():Boolean {
-			trace("storeStats called");
 			callWrapper(AIRSteam_StoreStats);
 			return readBoolResponse();
 		}

 		public function resetAllStats(bAchievementsToo:Boolean):Boolean {
-			trace("resetAllStats called");
 			callWrapper(AIRSteam_ResetAllStats, [bAchievementsToo]);
 			return readBoolResponse();
 		}

 		public function getFileCount():int {
-			trace("getFileCount called");
 			callWrapper(AIRSteam_GetFileCount);
 			return readIntResponse();
 		}

 		public function getFileSize(fileName:String):int {
-			trace("getFileSize called");
 			callWrapper(AIRSteam_GetFileSize, [fileName]);
 			return readIntResponse();
 		}

 		public function fileExists(fileName:String):Boolean {
-			trace("fileExists called");
 			callWrapper(AIRSteam_FileExists, [fileName]);
 			return readBoolResponse();
 		}

 		public function fileWrite(fileName:String, data:ByteArray):Boolean {
-			trace("fileWrite called");
 			callWrapper(AIRSteam_FileWrite, [fileName, data]);
 			return readBoolResponse();
 		}

 		public function fileRead(fileName:String, data:ByteArray):Boolean {
-			trace("fileRead called");
 			callWrapper(AIRSteam_FileRead, [fileName]);

 			var success:Boolean = readBoolResponse();
@@ -285,19 +260,16 @@
 		}

 		public function fileDelete(fileName:String):Boolean {
-			trace("fileDelete called");
 			callWrapper(AIRSteam_FileDelete, [fileName]);
 			return readBoolResponse();
 		}

 		public function isCloudEnabledForApp():Boolean {
-			trace("isCloudEnabledForApp called");
 			callWrapper(AIRSteam_IsCloudEnabledForApp);
 			return readBoolResponse();
 		}

 		public function setCloudEnabledForApp(enabled:Boolean):Boolean {
-			trace("setCloudEnabledForApp called");
 			callWrapper(AIRSteam_SetCloudEnabledForApp, [enabled]);
 			return readBoolResponse();
 		}


Further hacks for non-StageVideo path.

Further hacks for non-StageVideo path.

--- HLSPlugin/src/com/kaltura/hls/HLSVideoElement.as
+++ HLSPlugin/src/com/kaltura/hls/HLSVideoElement.as
@@ -73,6 +73,13 @@
 				stage.stageVideos[0].zoom = new Point(HLSManifestParser.FORCE_CROP_WORKAROUND_ZOOM_X, HLSManifestParser.FORCE_CROP_WORKAROUND_ZOOM_Y);
 				stage.stageVideos[0].pan = new Point(HLSManifestParser.FORCE_CROP_WORKAROUND_PAN_X, HLSManifestParser.FORCE_CROP_WORKAROUND_PAN_Y);
 			}
+			else
+			{
+				containerDO.scaleX = HLSManifestParser.FORCE_CROP_WORKAROUND_ZOOM_X;
+				containerDO.scaleY = HLSManifestParser.FORCE_CROP_WORKAROUND_ZOOM_Y;
+				containerDO.x = HLSManifestParser.FORCE_CROP_WORKAROUND_PAN_X * containerDO.width;
+				containerDO.x = HLSManifestParser.FORCE_CROP_WORKAROUND_PAN_Y * containerDO.height;
+			}
 		}

 	    /**


Fixed wrong index value on push.

Fixed wrong index value on push.

--- src/Modi/ManagedArray.as
+++ src/Modi/ManagedArray.as
@@ -37,7 +37,7 @@

 		public function push(object:ManagedObject):void
 		{
-			var index:int = _data.indexOf(object);
+			var index:int = _data.length;

 			if (!allowAdd(object, index))
 			{


A unsigned int support
A compression support with GZIP or DEFLATE
A header with: magic number (0x42), flags (only compression type for now)

git-svn-id: 3704838867447408e01268abee7e32a5bd8c3d03@11 5cda2b45-c24c-6f34-eaa9-e0910a1cbe04

--- src/aerys/qark/Qark.as
+++ src/aerys/qark/Qark.as
@@ -2,29 +2,35 @@
 {
 	import flash.display.BitmapData;
 	import flash.utils.ByteArray;
-	import flash.utils.IExternalizable;
 	import flash.utils.describeType;
-	import flash.utils.getDefinitionByName;
 	import flash.utils.getQualifiedClassName;

 	public class Qark
 	{
-		private static const FLAG_CUSTOM		: int	= 0;
-		private static const FLAG_OBJECT		: int	= 1;
-		private static const FLAG_ARRAY			: int	= 2;
-		private static const FLAG_INTEGER		: int	= 3;
-		private static const FLAG_FLOAT			: int	= 4;
-		private static const FLAG_STRING		: int	= 5;
-		private static const FLAG_UTF_STRING	: int	= 6;
-		private static const FLAG_BYTES			: int	= 7;
-		private static const FLAG_BOOLEAN		: int	= 8;
-		private static const FLAG_BITMAP_DATA	: int	= 9;
+		private static const MAGIC				: uint	= 0x42;
+
+		private static const FLAG_NONE			: uint	= 0;
+		private static const FLAG_GZIP			: uint	= 1;
+		private static const FLAG_DEFLATE		: uint	= 2;
+
+		private static const TYPE_CUSTOM		: uint	= 0;
+		private static const TYPE_OBJECT		: uint	= 1;
+		private static const TYPE_ARRAY			: uint	= 2;
+		private static const TYPE_INT			: uint	= 3;
+		private static const TYPE_UINT			: uint	= 4;
+		private static const TYPE_FLOAT			: uint	= 5;
+		private static const TYPE_STRING		: uint	= 6;
+		private static const TYPE_UTF_STRING	: uint	= 7;
+		private static const TYPE_BYTES			: uint	= 8;
+		private static const TYPE_BOOLEAN		: uint	= 9;
+		private static const TYPE_BITMAP_DATA	: uint	= 10;

 		private static const ENCODERS		: Array		= [encodeCustomObject,
 														   encodeObject,
 														   encodeArray,
 														   encodeInteger,
+														   encodeUnsignedInteger,
 														   encodeFloat,
 														   encodeString,
 														   encodeUTFString,
@@ -36,6 +42,7 @@
 														   decodeObject,
 														   decodeArray,
 														   decodeInteger,
+														   decodeUnsignedInteger,
 														   decodeFloat,
 														   decodeString,
 														   decodeUTFString,
@@ -43,55 +50,150 @@
 														   decodeBoolean,
 														   decodeBitmapData];

-		private static function getTypeFlag(source : *) : int
+		private static function getType(source : *) : int
 		{
 			if (source is int)
-				return FLAG_INTEGER;
+				return TYPE_INT;
+			if (source is uint)
+				return TYPE_UINT;
 			if (source is Number)
-				return FLAG_FLOAT;
+				return TYPE_FLOAT;
 			if (source is String)
-				return FLAG_UTF_STRING;
+				return TYPE_UTF_STRING;
 			if (source is Array)
-				return FLAG_ARRAY;
+				return TYPE_ARRAY;
 			if (source is ByteArray)
-				return FLAG_BYTES;
+				return TYPE_BYTES;
 			if (source is Boolean)
-				return FLAG_BOOLEAN;
+				return TYPE_BOOLEAN;
 			if (source is BitmapData)
-				return FLAG_BITMAP_DATA;
+				return TYPE_BITMAP_DATA;
 			if (getQualifiedClassName(source) == "Object")
-				return FLAG_OBJECT;
-
-			return FLAG_CUSTOM;
-		}
-
+				return TYPE_OBJECT;
+
+			return TYPE_CUSTOM;
+		}
+
+		/**
+		 * Encode an object. This object can be any "simple" type such as:
+		 *

+		 *
int

+		 *
uint

+		 *
Number

+		 *
String

+		 *
Boolean

+		 *
Array

+		 *
Object

+		 *
ByteArray

+		 *
BitmapData

+		 *

+		 *
Custom classes are also supported. However, only "value objects"
+		 * with valid getter/setter public members will be properly encoded.

+		 *
+		 *
Encoding is done as follow:

+		 *

+		 *
if the object as a "simple" type
+		 * it will be encoded directly

+		 *
else, introspection will be used to
+		 * list the public properties of the custom class to determine what
+		 * can be encoded. All those properties will be encoded as a single
+		 * Object value and will be decoded as such.

+		 *

+		 *
+		 *
The bytes are then compressed using the GZIP or DEFLATE
+		 * (http://www.ietf.org/rfc/rfc1951.txt) algorithm:
+		 * the algorithm giving the lightest output is selected.

+		 *
+		 * @param source The object to encode.
+		 * @return The resulting bytes in a ByteArray.
+		 *
+		 */
 		public static function encode(source : *) : ByteArray
 		{
+			var result	: ByteArray	= new ByteArray();
 			var data 	: ByteArray = new ByteArray();

+			result.writeByte(MAGIC);
+
 			encodeRecursive(source, data);
-
 			data.position = 0;

-			return data;
-		}
-
+			var size 			: int 	= data.length;
+			var compressedSize	: int	= 0;
+			var deflatedSize	: int	= 0;
+
+			data.deflate();
+			deflatedSize = data.length;
+			data.inflate();
+
+			data.compress();
+			compressedSize = data.length;
+
+			if (compressedSize < size && compressedSize < deflatedSize)
+			{
+				result.writeByte(FLAG_GZIP);
+			}
+			else if (deflatedSize < size && deflatedSize < compressedSize)
+			{
+				data.uncompress();
+				data.deflate();
+				result.writeByte(FLAG_DEFLATE);
+			}
+			else
+			{
+				data.uncompress();
+				result.writeByte(FLAG_NONE);
+			}
+
+			trace(size, compressedSize, deflatedSize);
+
+			result.writeBytes(data);
+			result.position = 0;
+
+			return result;
+		}
+
+		/**
+		 * Decode bytes resulting from the Qark.encode method and return the
+		 * corresponding object.
+		 *
+		 * @param source The bytes to decode.
+		 * @return The decoded object.
+		 *
+		 */
 		public static function decode(source : ByteArray) : *
 		{
-			return decodeRecursive(source);
+			var magic : uint	= source.readByte();
+
+			if (magic != MAGIC)
+				return null;
+
+			var flags 	: uint		= source.readByte();
+			var data	: ByteArray	= new ByteArray();
+
+			source.readBytes(data);
+
+			if (flags & FLAG_DEFLATE)
+				data.inflate();
+			else if (flags & FLAG_GZIP)
+				data.uncompress();
+
+			return decodeRecursive(data);
 		}

 		public static function encodeRecursive(source : *, target : ByteArray) : void
 		{
-			var flag : int = getTypeFlag(source);
+			var flag : int = getType(source);

 			target.writeByte(flag);
 			ENCODERS[flag].call(null, source, target);
 		}
-
+
 		public static function decodeRecursive(source : ByteArray) : *
 		{
-			var flag : int = source.readByte();
+			var flag : uint = source.readByte();
+
+			trace(flag);

 			return DECODERS[flag].call(null, source);
 		}
@@ -191,6 +293,16 @@
 			return source.readInt();
 		}

+		private static function encodeUnsignedInteger(source : uint, target : ByteArray) : void
+		{
+			target.writeUnsignedInt(source);
+		}
+
+		private static function decodeUnsignedInteger(source : ByteArray) : uint
+		{
+			return source.readUnsignedInt();
+		}
+
 		private static function encodeFloat(source : Number, target : ByteArray) : void
 		{
 			target.writeFloat(source);


removed canUseSimpleUpload() stub-return code

--- src/flash/plupload/src/com/plupload/File.as
+++ src/flash/plupload/src/com/plupload/File.as
@@ -110,8 +110,7 @@
 			var multipart:Boolean = new Boolean(settings["multipart"]);
 			var resize:Boolean = (settings["width"] || settings["height"]);
 			var chunking:Boolean = (settings["chunk_size"] > 0);
-			//return !multipart && !resize;
-			return true;
+			return multipart && !resize && !chunking;
 		}

 		public function simpleUpload(url:String, settings:Object):void {