Transferred from the Adobe Open Source Subversion Repository

Revision: 18241
Author:   cframpto@adobe.com
Date:     2010-10-20T13:40:25.517440Z

Log Message:
-----------
Per Hans and Peter D., update DataGrid ASDocs.  Replace @default [] with @default An empty Vector.<int> (or whatever the appropriate type is).

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
@@ -340,7 +340,7 @@
      *  are relative to the Grid's dataProvider and column indices are relative
      *  to the Grid's list of columns.
      *
-     *  @default []
+     *  @default An empty Vector.<CellPosition>
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 5152
Author:   gruehle@adobe.com
Date:     2009-03-03T21:18:45.837259Z

Log Message:
-----------
First pass of bug fixes for the Spark skins for Halo components.

Bugs:
SDK-19963 - themeColor should not affect rollOverColor or selectionColor in flex 4
SDK-19654 - Spark skin for the Halo ComboBox dropdown needs a drop shadow
SDK-19637 - Halo HScrollBar/VScrollBar controls dont render correctly when specifying includeIn states
SDK-19634 - Halo ProgressBar default size is very different when using Halo vs Gumbo theme
SDK-19626 - Flicker when toggling enabled property on Halo TabBar control with Gumbo skin
SDK-19556 - selected Halo CheckBox and RadioButton icons briefly flicker when you roll over them
SDK-19658 - Halo ComboBox with Gumbo skin has an odd flicker

Doc/QA Notes: The fix for SDK-19963 includes a compatibility-version check. When compatibility-version < 4, setting themeColor implicitly sets rollOverColor and selectionColor, if they have not been set. When compatibility-version >= 4, you must explicitly set rollOverColor and selectionColor, even when using the Halo theme.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.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/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ProgressBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/mx/src/mx/controls/Button.as
+++ frameworks/projects/mx/src/mx/controls/Button.as
@@ -21,6 +21,7 @@
 import flash.text.TextLineMetrics;
 import flash.ui.Keyboard;
 import flash.utils.Timer;
+
 import mx.controls.dataGridClasses.DataGridListData;
 import mx.controls.listClasses.BaseListData;
 import mx.controls.listClasses.IDropInListItemRenderer;
@@ -35,7 +36,9 @@
 import mx.core.IFlexModuleFactory;
 import mx.core.IFontContextComponent;
 import mx.core.IInvalidating;
+import mx.core.IProgrammaticSkin;
 import mx.core.IRectangularBorder;
+import mx.core.IStateClient;
 import mx.core.IUIComponent;
 import mx.core.IUITextField;
 import mx.core.UIComponent;
@@ -45,11 +48,7 @@
 import mx.events.MoveEvent;
 import mx.events.SandboxMouseEvent;
 import mx.managers.IFocusManagerComponent;
-import mx.managers.ISystemManager;
-import mx.states.State;
 import mx.styles.ISimpleStyleClient;
-import mx.core.IStateClient;
-import mx.core.IProgrammaticSkin;

 use namespace mx_internal;
@@ -2012,7 +2011,11 @@

         // Update the state of the skin if it accepts states and it implements the IStateClient interface.
         if (defaultSkinUsesStates && currentSkin is IStateClient)
+        {
             IStateClient(currentSkin).currentState = stateName;
+            if (currentSkin is IInvalidating)
+            	IInvalidating(currentSkin).validateNow();
+        }

         // Show the new skin.
         if (currentSkin)
@@ -2198,6 +2201,8 @@
                 stateName = selected ? "selectedDown" : "down";

             IStateClient(currentIcon).currentState = stateName;
+            if (currentIcon is IInvalidating)
+            	IInvalidating(currentIcon).validateNow();
         }

         // Show the new icon.


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/mx/src/mx/controls/Button.as
+++ frameworks/projects/mx/src/mx/controls/Button.as
@@ -64,6 +64,11 @@
  *  this event is dispatched repeatedly as long as the button stays down.
  *
  *  @eventType mx.events.FlexEvent.BUTTON_DOWN
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="buttonDown", type="mx.events.FlexEvent")]

@@ -79,6 +84,11 @@
  *  user interacts with the control by using the mouse.
  *
  *  @eventType flash.events.Event.CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="change", type="flash.events.Event")]

@@ -91,6 +101,11 @@
  *  when the data property changes.

  *
  *  @eventType mx.events.FlexEvent.DATA_CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="dataChange", type="mx.events.FlexEvent")]

@@ -109,6 +124,11 @@
  *  is set to left or right.
  *
  *  @default 2
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="horizontalGap", type="Number", format="Length", inherit="no")]

@@ -117,6 +137,11 @@
  *  and the bottom of its content area.
  *
  *  @default 0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="paddingBottom", type="Number", format="Length", inherit="no")]

@@ -125,6 +150,11 @@
  *  and the top of its content area.
  *
  *  @default 0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="paddingTop", type="Number", format="Length", inherit="no")]

@@ -134,6 +164,11 @@
  *  repeatInterval.
  *
  *  @default 500
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="repeatDelay", type="Number", format="Time", inherit="no")]

@@ -142,6 +177,11 @@
  *  if the user presses and holds the mouse on a button.
  *
  *  @default 35
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="repeatInterval", type="Number", format="Time", inherit="no")]

@@ -149,6 +189,11 @@
  *  Text color of the label as the user moves the mouse pointer over the button.
  *
  *  @default 0x2B333C
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="textRollOverColor", type="uint", format="Color", inherit="yes")]

@@ -156,6 +201,11 @@
  *  Text color of the label as the user presses it.
  *
  *  @default 0x000000
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="textSelectedColor", type="uint", format="Color", inherit="yes")]

@@ -164,6 +214,11 @@
  *  property is set to "top" or "bottom".
  *
  *  @default 2
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="verticalGap", type="Number", format="Length", inherit="no")]

@@ -174,6 +229,11 @@
 /**
  *  Name of the class to use as the default skin for the background and border.
  *  @default "mx.skins.halo.ButtonSkin"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="skin", type="Class", inherit="no", states="up, over, down, disabled, selectedUp, selectedOver, selectedDown, selectedDisabled")]

@@ -182,6 +242,11 @@
  *  when the button is not selected and the mouse is not over the control.
  *
  *  @default "mx.skins.halo.ButtonSkin"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="upSkin", type="Class", inherit="no")]

@@ -190,6 +255,11 @@
  *  when the button is not selected and the mouse is over the control.
  *
  *  @default "mx.skins.halo.ButtonSkin"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="overSkin", type="Class", inherit="no")]

@@ -198,6 +268,11 @@
  *  when the button is not selected and the mouse button is down.
  *
  *  @default "mx.skins.halo.ButtonSkin"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="downSkin", type="Class", inherit="no")]

@@ -206,6 +281,11 @@
  *  when the button is not selected and is disabled.
  *
  *  @default "mx.skins.halo.ButtonSkin"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="disabledSkin", type="Class", inherit="no")]

@@ -214,6 +294,11 @@
  *  when a toggle button is selected and the mouse is not over the control.
  *
  *  @default "mx.skins.halo.ButtonSkin"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectedUpSkin", type="Class", inherit="no")]

@@ -222,6 +307,11 @@
  *  when a toggle button is selected and the mouse is over the control.
  *
  *  @default "mx.skins.halo.ButtonSkin"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectedOverSkin", type="Class", inherit="no")]

@@ -230,6 +320,11 @@
  *  when a toggle button is selected and the mouse button is down.
  *
  *  @default "mx.skins.halo.ButtonSkin"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectedDownSkin", type="Class", inherit="no")]

@@ -238,6 +333,11 @@
  *  when a toggle button is selected and disabled.
  *
  *  @default "mx.skins.halo.ButtonSkin"
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectedDisabledSkin", type="Class", inherit="no")]

@@ -246,6 +346,11 @@
  *  Setting any other icon style overrides this setting.
  *
  *  @default null
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="icon", type="Class", inherit="no", states="up, over, down, disabled, selectedUp, selectedOver, selectedDown, selectedDisabled")]

@@ -254,6 +359,11 @@
  *  selected and the mouse is not over the button.
  *
  *  @default null
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="upIcon", type="Class", inherit="no")]

@@ -262,6 +372,11 @@
  *  selected and the mouse is over the control.
  *
  *  @default null
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="overIcon", type="Class", inherit="no")]

@@ -270,6 +385,11 @@
  *  selected and the mouse button is down.
  *
  *  @default null
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="downIcon", type="Class", inherit="no")]

@@ -278,6 +398,11 @@
  *  when the button is disabled and not selected.
  *
  *  @default null
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="disabledIcon", type="Class", inherit="no")]

@@ -286,6 +411,11 @@
  *  when the button is selected and the mouse button is up.
  *
  *  @default null
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectedUpIcon", type="Class", inherit="no")]

@@ -294,6 +424,11 @@
  *  when the button is selected and the mouse is over the control.
  *
  *  @default null
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectedOverIcon", type="Class", inherit="no")]

@@ -302,6 +437,11 @@
  *  when the button is selected and the mouse button is down.
  *
  *  @default null
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectedDownIcon", type="Class", inherit="no")]

@@ -310,6 +450,11 @@
  *  when the button is selected and disabled.
  *
  *  @default null
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="selectedDisabledIcon", type="Class", inherit="no")]

@@ -451,6 +596,11 @@
  *

  *
  *  @includeExample examples/ButtonExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class Button extends UIComponent
        implements IDataRenderer, IDropInListItemRenderer,
@@ -479,6 +629,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function Button()
     {
@@ -744,6 +899,11 @@
      *  The internal UITextField object that renders the label of this Button.
      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected var textField:IUITextField;

@@ -799,6 +959,11 @@
      *  events if the user holds down the mouse button.
      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get autoRepeat():Boolean
     {
@@ -855,6 +1020,11 @@
      *
      *  @default null
      *  @see mx.core.IDataRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get data():Object
     {
@@ -928,6 +1098,11 @@
      *  is set to true.
      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get emphasized():Boolean
     {
@@ -951,6 +1126,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get fontContext():IFlexModuleFactory
     {
@@ -994,6 +1174,11 @@
      *  property, the tooltip is displayed rather than the label text.

      *
      *  @default ""
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get label():String
     {
@@ -1045,6 +1230,11 @@
      *  ButtonLabelPlacement.TOP.

      *
      *  @default ButtonLabelPlacement.RIGHT
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get labelPlacement():String
     {
@@ -1091,6 +1281,11 @@
      *
      *  @default null
      *  @see mx.controls.listClasses.IDropInListItemRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get listData():BaseListData
     {
@@ -1169,6 +1364,11 @@
      *  valueCommit event.

      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get selected():Boolean
     {
@@ -1219,6 +1419,11 @@
      *  not set its selected state based on a property in the data property.
      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var selectedField:String = null;

@@ -1239,6 +1444,11 @@
      *  this property to true.

      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var stickyHighlighting:Boolean = false;

@@ -1279,6 +1489,11 @@
      *  because only toggle buttons can be selected.
      *
      *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get toggle():Boolean
     {
@@ -2645,12 +2860,27 @@
         mouse up while over Button -> "over" phase
         continue with step 2 of first three sequences above

+    *
+
+    *  @langversion 3.0
+
+    *  @playerversion Flash 9
+
+    *  @playerversion AIR 1.1
+
+    *  @productversion Flex 3
+
     */

     /**
      *  The default handler for the MouseEvent.ROLL_OVER event.
      *
      *  @param The event object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function rollOverHandler(event:MouseEvent):void
     {
@@ -2690,6 +2920,11 @@
      *  The default handler for the MouseEvent.ROLL_OUT event.
      *
      *  @param The event object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function rollOutHandler(event:MouseEvent):void
     {
@@ -2725,6 +2960,11 @@
      *  The default handler for the MouseEvent.MOUSE_DOWN event.
      *
      *  @param The event object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function mouseDownHandler(event:MouseEvent):void
     {
@@ -2758,6 +2998,11 @@
      *  The default handler for the MouseEvent.MOUSE_UP event.
      *
      *  @param The event object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function mouseUpHandler(event:MouseEvent):void
     {
@@ -2780,6 +3025,11 @@
      *  The default handler for the MouseEvent.CLICK event.
      *
      *  @param The event object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function clickHandler(event:MouseEvent):void
     {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/Button.as
+++ frameworks/projects/mx/src/mx/controls/Button.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.controls
 {


qnd: support in "allowCookies" flashvar

qnd: support in "allowCookies" flashvar

git-svn-id: 3f608e5a9a704dd448217c0a64c508e7f145cfa1@85785 6b8eccd3-e8c5-4e7d-8186-e12b5326b719

--- plugins/vastPlugin/src/com/kaltura/kdpfl/plugin/component/PersistentData.as
+++ plugins/vastPlugin/src/com/kaltura/kdpfl/plugin/component/PersistentData.as
@@ -16,12 +16,14 @@
 		 */
 		private var _so:SharedObject;

+		private var _config:Object
+
 		public function PersistentData(){}

 		public function init(facade:IFacade) :void {
-			var config:Object = facade.retrieveProxy("configProxy");
-			_so = SharedObject.getLocal(_soName + config.vo.kuiConf.id);
+			_config = facade.retrieveProxy("configProxy");
+			_so = SharedObject.getLocal(_soName + _config.vo.kuiConf.id);
 		}

@@ -58,7 +60,8 @@
 			pd.prerollFirstShow = false;
 			pd.postrollEntries = 1;
 			pd.postrollFirstShow = false;
-			_so.flush();
+			if (_config.vo.flashvars.allowCookies=="true")
+				_so.flush();
 		}

 		/**
@@ -70,7 +73,8 @@
 			pd.prerollEntries = o.prerollEntries;
 			pd.postrollFirstShow = o.postrollFirstShow;
 			pd.postrollEntries = o.postrollEntries;
-			_so.flush();
+			if (_config.vo.flashvars.allowCookies=="true")
+				_so.flush();
 		}


If the button is a toggle button and no arg has been specified,
pass the value of 'selected' (true or false) as the argument.

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

--- src/as/com/threerings/mx/controls/CommandButton.as
+++ src/as/com/threerings/mx/controls/CommandButton.as
@@ -36,8 +36,14 @@
         if (enabled) {
             // stop the click event
             event.stopImmediatePropagation();
+
             // dispatch the command event
-            CommandEvent.dispatch(this, _cmd, _arg);
+            // if the arg is null and we're a toggle button, dispatch our state
+            var arg :Object = _arg;
+            if (arg == null && toggle) {
+                arg = selected;
+            }
+            CommandEvent.dispatch(this, _cmd, arg);
         }
     }


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

--- frameworks/projects/mx/src/mx/controls/HScrollBar.as
+++ frameworks/projects/mx/src/mx/controls/HScrollBar.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.controls
 {


Removing dead file. Preso launch merged into regular launch.

--- chromosphere/src/PresoWindow.as
+++ chromosphere/src/PresoWindow.as
@@ -1,58 +0,0 @@
-package
-{
-import flash.display.Screen;
-import flash.events.Event;
-
-import mx.core.UIComponent;
-import mx.core.Window;
-import mx.events.AIREvent;
-import mx.events.FlexEvent;
-
-import ruby.internals.RClass;
-import ruby.internals.RubyCore;
-import ruby.internals.Value;
-
-public class PresoWindow extends Window
-{
-
-  public var fullUIC:UIComponent;
-  public var bytecode:String;
-  public var rc:RubyCore;
-
-  public function PresoWindow()
-  {
-    super();
-    this.width = 300;
-    this.height = 300;
-    this.addEventListener(AIREvent.WINDOW_COMPLETE, windowComplete);
-  }
-
-  protected function windowComplete(e:AIREvent):void
-  {
-    fullUIC = new UIComponent();
-    fullUIC.x = fullUIC.y = 0;
-    fullUIC.percentWidth = fullUIC.percentHeight = 100;
-    fullUIC.addEventListener(FlexEvent.CREATION_COMPLETE, uicCC);
-    this.addChild(fullUIC);
-  }
-
-  protected function uicCC(e:Event):void
-  {
-    rc = new RubyCore();
-    rc.init();
-    rc.variable_c.rb_define_global_const("TopSprite", rc.wrap_flash_obj(fullUIC));
-    var this_val:Value = rc.wrap_flash_obj(this);
-    rc.variable_c.rb_define_global_const("AIRWindow", this_val);
-    rc.variable_c.rb_define_global_const("Document", this_val);
-    //rc.variable_c.rb_define_const(rc.rb_mFlashDisplay, "Screen", rc.wrap_flash_class(Screen));
-
-    var rb_mMx:RClass = rc.class_c.rb_define_module("Mx");
-    var rb_mMxCore:RClass = rc.class_c.rb_define_module_under(rb_mMx, "Core");
-    rc.variable_c.rb_const_set(rb_mMxCore, rc.parse_y.rb_intern("UIComponent"), rc.wrap_flash_class(UIComponent));
-
-    //variable_c.rb_const_set(rb_mFlashDisplay, parse_y.rb_intern("Sprite"), wrap_flash_class(Sprite));
-    rc.run(bytecode, fullUIC);
-  }
-
-}
-}


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/framework/src/mx/core/IConstraintClient.as
+++ frameworks/projects/framework/src/mx/core/IConstraintClient.as
@@ -16,6 +16,11 @@
  *  The IConstraintClient interface defines the interface for components that
  *  support layout constraints. This interface is only used by implementations
  *  of constraint-based layout.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */

 public interface IConstraintClient
@@ -45,6 +50,11 @@
      *
      *  @see mx.containers.Canvas
      *  @see mx.containers.Panel
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function getConstraintValue(constraintName:String):*;

@@ -67,6 +77,11 @@
      *
      *  @see mx.containers.Canvas
      *  @see mx.containers.Panel
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function setConstraintValue(constraintName:String, value:*):void;
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5331
Author:   dloverin@adobe.com
Date:     2009-03-16T20:29:20.872892Z

Log Message:
-----------
FxApplication related API changes.

1. Rename ApplicationGlobals.application -> FlexGlobals.topLevelApplication
2. Application.application will be deprecated. FlexGlobals.topLevelApplication will be the recommend alternative.
3. Application.application will return null if the top-level application is not of type Application or a subclass of Application.
4. Change the FxApplication.backgroundColor property from type Object to uint.

QE Notes: None
Doc Notes: None
Bugs: sdk-19677
Reviewer: Ryan
tests: checkintests, Application mustella tests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ActivatorSkin.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/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ApplicationGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/src/haloclassic/ActivatorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxApplication.as</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/effects/effectClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ActivatorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/checkinapp/ProductDetail.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.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/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ApplicationGlobals.as" copyfrom-rev="5314" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexGlobals.as</path>

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

--- frameworks/projects/framework/src/mx/managers/LayoutManager.as
+++ frameworks/projects/framework/src/mx/managers/LayoutManager.as
@@ -17,7 +17,7 @@
 import flash.events.Event;
 import flash.events.EventDispatcher;

-import mx.core.ApplicationGlobals;
+import mx.core.FlexGlobals;
 import mx.core.ILayoutElement;
 import mx.core.UIComponent;
 import mx.core.mx_internal;
@@ -384,7 +384,7 @@
         {
             _layoutDebugHelper = new LayoutDebugHelper();
             _layoutDebugHelper.mouseEnabled = false;
-            ApplicationGlobals.application.systemManager.addChild(_layoutDebugHelper);
+            FlexGlobals.topLevelApplication.systemManager.addChild(_layoutDebugHelper);
         }
         return _layoutDebugHelper;
     } */
@@ -420,7 +420,7 @@
 	 */
 	public function invalidateProperties(obj:ILayoutManagerClient ):void
 	{
-		if (!invalidatePropertiesFlag && ApplicationGlobals.application.systemManager)
+		if (!invalidatePropertiesFlag && FlexGlobals.topLevelApplication.systemManager)
 		{
 			invalidatePropertiesFlag = true;

@@ -430,7 +430,7 @@
 				{
 					callLaterObject = new UIComponent();
 					callLaterObject.systemManager =
-						ApplicationGlobals.application.systemManager;
+						FlexGlobals.topLevelApplication.systemManager;
 					callLaterObject.callLater(waitAFrame);
 				}
 				else
@@ -484,7 +484,7 @@
 	 */
 	public function invalidateSize(obj:ILayoutManagerClient ):void
 	{
-		if (!invalidateSizeFlag && ApplicationGlobals.application.systemManager)
+		if (!invalidateSizeFlag && FlexGlobals.topLevelApplication.systemManager)
 		{
 			invalidateSizeFlag = true;

@@ -494,7 +494,7 @@
 				{
 					callLaterObject = new UIComponent();
 					callLaterObject.systemManager =
-						ApplicationGlobals.application.systemManager;
+						FlexGlobals.topLevelApplication.systemManager;
 					callLaterObject.callLater(waitAFrame);
 				}
 				else
@@ -533,7 +533,7 @@
 	 */
 	public function invalidateDisplayList(obj:ILayoutManagerClient ):void
 	{
-		if (!invalidateDisplayListFlag && ApplicationGlobals.application.systemManager)
+		if (!invalidateDisplayListFlag && FlexGlobals.topLevelApplication.systemManager)
 		{
 			invalidateDisplayListFlag = true;

@@ -543,7 +543,7 @@
 				{
 					callLaterObject = new UIComponent();
 					callLaterObject.systemManager =
-						ApplicationGlobals.application.systemManager;
+						FlexGlobals.topLevelApplication.systemManager;
 					callLaterObject.callLater(waitAFrame);
 				}
 				else
@@ -554,9 +554,9 @@
 				callLaterPending = true;
 			}
 		}
-		else if (!invalidateDisplayListFlag && !ApplicationGlobals.application.systemManager)
-		{
-			// trace("ApplicationGlobals.application.systemManager is null");
+		else if (!invalidateDisplayListFlag && !FlexGlobals.topLevelApplication.systemManager)
+		{
+			// trace("FlexGlobals.topLevelApplication.systemManager is null");
 		}

 		// trace("LayoutManager adding " + Object(obj) + " to invalidateDisplayListQueue");
@@ -728,7 +728,7 @@
 				validateProperties();

 				// The Preloader listens for this event.
-				ApplicationGlobals.application.dispatchEvent(
+				FlexGlobals.topLevelApplication.dispatchEvent(
 					new Event("validatePropertiesComplete"));
 			}

@@ -737,7 +737,7 @@
 				validateSize();

 				// The Preloader listens for this event.
-				ApplicationGlobals.application.dispatchEvent(
+				FlexGlobals.topLevelApplication.dispatchEvent(
 					new Event("validateSizeComplete"));
 			}

@@ -746,7 +746,7 @@
 				validateDisplayList();

 				// The Preloader listens for this event.
-				ApplicationGlobals.application.dispatchEvent(
+				FlexGlobals.topLevelApplication.dispatchEvent(
 					new Event("validateDisplayListComplete"));
 			}
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 7743
Author:   clucier@adobe.com
Date:     2009-06-11T13:53:10.203664Z

Log Message:
-----------
Moving away from using namespace qualifiers in most cases in the SDK.  We've run into a few cases now where the use of qualifiers in code that is called excessively can slow things down.
Bugs: SDK-21337
Reviewer: Ryan, Paul
QE Notes: None
Tests: Ran several random Mustella test groups, checkintests.

Modified Paths:
--------------
106 paths were modified

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
@@ -4146,7 +4146,7 @@

             // force validation, otherwise it can be delayed until the
             // end of a data effect
-            if (mx_internal::invalidateDisplayListFlag)
+            if (invalidateDisplayListFlag)
                 callLater(invalidateList);
             else
                 invalidateList();
@@ -4175,7 +4175,7 @@

         // force validation, otherwise it can be delayed until the
         // end of a data effect
-        if (mx_internal::invalidateDisplayListFlag)
+        if (invalidateDisplayListFlag)
             callLater(invalidateList);
         else
             invalidateList();
@@ -5812,7 +5812,7 @@
         if (selected)
         {
             var effectiveRowY:Number = runningDataEffect ?
-                item.y - mx_internal::cachedPaddingTop :
+                item.y - cachedPaddingTop :
                 rowInfo[rowData.rowIndex].y;

             if (!selectionIndicators[rowData.uid])
@@ -9616,7 +9616,7 @@
                 modifiedCollectionView.processCollectionEvent(ce, firstItemIndex, lastItemIndex);
                 runDataEffectNextUpdate = true;

-                if (mx_internal::invalidateDisplayListFlag)
+                if (invalidateDisplayListFlag)
                     callLater(invalidateList);
                 else
                     invalidateList();


Transferred from the Adobe Open Source Subversion Repository

Revision: 5082
Author:   jszeto@adobe.com
Date:     2009-02-26T01:30:44.174297Z

Log Message:
-----------
Initial version of DropDownList

Working version of DropDownList (non-editable ComboBox) and its base class DropDownBase. It currently only supports very basic functionality.

- No Keyboard functionality
- Basic mouse functionality
- Support for dataProvider
- Limited support for selectedIndex, itemRenderer
- No support for selectedIndex, labelField, labelFunction
- No support for prompt

Adding new component PopUp. This component is used to position a dropDown in layout. Since a dropDown is added to the display list via the PopUpManager, it doesn't normally participate in layout. The PopUp component is a UIComponent that does get added to a container and thus is laid out. It is responsible for then sizing and positioning the dropDown relative to itself.

The PopUp implementation is very early prototype from Ely. Don't expect anything but the basic case to work.

QE Notes: None
Doc Notes: None
Bugs: n/a
Reviewer: None

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/PopUp.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/DropDownListButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DropDownList.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/DropDownListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/DropDownBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/DropDownList.as
+++ frameworks/projects/spark/src/spark/components/DropDownList.as
@@ -0,0 +1,500 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/*  NOTES
+
+- value property is removed since it is legecy and using selectedItem is preferable
+
+- Do we include these proxy properties (dataRenderer, labelField, labelFunction, rowCount)
+- Do we need selectedLabel and itemToLabel (which uses labelField and labelFunction)
+- Don't need restrict since we don't support editing
+- Don't need dropDownWidth since that is controlled by skin?
+- Do we need inline-renderer properties (data, listData)?
+
+Keyboard Interaction
+- FxList current dispatches selectionChanged on arrowUp/Down. Should we subclass FxList
+and change behavior to commit value only on ENTER, SPACE, or CTRL-UP?
+
+*/
+
+package mx.components
+{
+
+import flash.events.Event;
+import flash.events.KeyboardEvent;
+import flash.ui.Keyboard;
+
+import mx.collections.IList;
+import mx.components.baseClasses.DropDownBase;
+import mx.components.baseClasses.FxListBase;
+import mx.core.IFactory;
+import mx.events.IndexChangedEvent;
+import mx.graphics.baseClasses.TextGraphicElement;
+
+/**
+ *  Dispatched when the FxComboBox contents changes as a result of user
+ *  interaction, when the selectedIndex or
+ *  selectedItem property changes.
+ *
+ *  @eventType mx.events.ListEvent.CHANGE
+ */
+[Event(name="change", type="flash.events.Event")]
+
+[DefaultProperty("dataProvider")]
+
+/**
+ *  FxComboBox control contains a drop-down list
+ *  from which the user can select a single value.
+ *  Its functionality is very similar to that of the
+ *  SELECT form element in HTML.
+ *
+ */
+public class DropDownList extends DropDownBase
+{
+
+    /**
+     *  An optional skin part that holds the prompt or the text of the selectedItem
+     */
+    [SkinPart(required="false")]
+    public var labelElement:TextGraphicElement;
+
+	/**
+     *  A skin part that is the instance of the dropDown list
+     */
+
+     // TODO (jszeto) We want this to be required. But when the skin part is in a state,
+     // it hasn't been created yet and we get an RTE.
+	[SkinPart(required="false")]
+	public var dropDown:FxListBase;
+
+	/**
+     *  Constructor.
+     */
+	public function DropDownList()
+	{
+		super();
+	}
+
+	//--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+	// TODO (jszeto) Add logic to handle the IList changed events
+	private var _dataProvider:IList;
+
+	/**
+	 *  The set of items this component displays.
+	 *
+	 *
Setting this property will adjust the selectedIndex
+     *  property (and therefore the selectedItem property) if
+     *  the selectedIndex property has not otherwise been set.
+     *  If there is no prompt property, the selectedIndex
+     *  property will be set to 0; otherwise it will remain at -1,
+     *  the index used for the prompt string.
+     *  If the selectedIndex property has been set and
+     *  it is out of range of the new data provider, unexpected behavior is
+     *  likely to occur.

+     *
+     *  @default null
+	 */
+	public function get dataProvider():IList
+	{
+		return _dataProvider;
+	}
+
+	public function set dataProvider(value:IList):void
+	{
+		if (_dataProvider != value)
+		{
+			_dataProvider = value;
+		}
+	}
+
+    //----------------------------------
+    //  itemRenderer
+    //----------------------------------
+
+    private var _itemRenderer:IFactory;
+
+    /**
+     *  @copy mx.components.DataGroup#itemRenderer
+     */
+    public function get itemRenderer():IFactory
+    {
+        return _itemRenderer;
+    }
+
+    /**
+     *  @private
+     */
+    public function set itemRenderer(value:IFactory):void
+    {
+        if (value != _itemRenderer)
+        {
+        	_itemRenderer = value;
+        }
+    }
+
+    //----------------------------------
+    //  labelField
+    //----------------------------------
+   	private var labelFunctionChanged:Boolean;
+	private var _labelField:String = "";
+
+    /**
+     *  The name of the field in the data provider items to display as the label.
+
+     * @default null
+     */
+    public function get labelField():String
+    {
+    	return _labelField;
+    }
+
+    public function set labelField(value:String):void
+    {
+    	if (value != _labelField)
+    	{
+    		_labelField = value;
+    		labelFunctionChanged = true;
+    		invalidateProperties();
+    	}
+    }
+
+    //----------------------------------
+    //  labelField
+    //----------------------------------
+    private var _labelFunction:Function;
+
+    /**
+     *  A user-supplied function to run on each item to determine its label.
+     *
+     *  The method signature for labelFunction should be:
+     *
myLabelFunction(item:Object):String

+     *
+     *  @default null
+     */
+    public function get labelFunction():Function
+    {
+    	return _labelFunction;
+    }
+
+    /**
+     *  @private
+     */
+    public function set labelFunction(value:Function):void
+    {
+    	if (value != _labelFunction)
+    	{
+    		_labelFunction = value;
+    		labelFunctionChanged = true;
+    		invalidateProperties();
+    	}
+    }
+
+	//----------------------------------
+    //  prompt
+    //----------------------------------
+
+    private var promptChanged:Boolean = false;
+    private var _prompt:String;
+
+    /**
+     *  The prompt for the FxComboBox control. A prompt is
+     *  a String that is displayed in the TextInput portion of the
+     *  FxComboBox when selectedIndex = -1.  It is usually
+     *  a String like "Select one...".  If there is no
+     *  prompt, the FxComboBox control sets selectedIndex to 0
+     *  and displays the first item in the dataProvider.
+     */
+    public function get prompt():String
+    {
+        return _prompt;
+    }
+
+    /**
+     *  @private
+     */
+    public function set prompt(value:String):void
+    {
+        _prompt = value;
+        promptChanged = true;
+        invalidateProperties();
+    }
+
+    //----------------------------------
+    //  selectedIndex
+    //----------------------------------
+
+    private var _selectedIndex:int = -1;
+    private var selectedIndexChanged:Boolean = true;
+
+    [Bindable("change")]
+
+     /**
+     *  The index in the data provider of the selected item.
+     *  If there is a prompt property, the selectedIndex
+     *  value can be set to -1 to show the prompt.
+     *  If there is no prompt, property then selectedIndex
+     *  will be set to 0 once a dataProvider is set.
+     *
+     *
Unlike many other Flex properties that are invalidating (setting
+     *  them does not have an immediate effect), the selectedIndex and
+     *  selectedItem properties are synchronous; setting one immediately
+     *  affects the other.

+     *
+     *  @default -1
+     */
+    public function get selectedIndex():int
+    {
+        return _selectedIndex;
+    }
+
+    public function set selectedIndex(value:int):void
+    {
+        if (value == _selectedIndex)
+            return;
+
+        _selectedIndex = value;
+        selectedIndexChanged = true;
+        invalidateProperties();
+    }
+
+    //----------------------------------
+    //  selectedItem
+    //----------------------------------
+
+    private var _selectedItem:Object;
+
+	[Bindable("change")]
+
+    /**
+     *  The item in the data provider at the selectedIndex.
+     *
+     *
If the data is an object or class instance, modifying
+     *  properties in the object or instance modifies the
+     *  dataProvider object but may not update the views
+     *  unless the instance is Bindable or implements IPropertyChangeNotifier
+     *  or a call to dataProvider.itemUpdated() occurs.

+     *
+     *  Setting the selectedItem property causes the
+     *  FxComboBox control to select that item (display it in the text field and
+     *  set the selectedIndex) if it exists in the data provider.
+     *
+     *
Unlike many other Flex properties that are invalidating (setting
+     *  them does not have an immediate effect), selectedIndex and
+     *  selectedItem are synchronous; setting one immediately
+     *  affects the other.

+     *
+     *  @default null;
+     */
+    public function get selectedItem():Object
+    {
+    	// TODO (jszeto) Return _selectedItem first if it hasn't been committed yet
+        return dataProvider.getItemAt(selectedIndex);
+    }
+
+    /**
+     *  @private
+     */
+    public function set selectedItem(data:Object):void
+    {
+    	// TODO (jszeto) Tie this in with selectedIndex
+        _selectedItem = data;
+        invalidateProperties();
+    }
+
+ 	//--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+    /**
+	 *  @private
+	 */
+    private function applyDataToLabelElement(data:Object):void
+    {
+    	// TODO!!! Call FxList.itemToData with labelField, labelFunction and data.
+    	if (labelElement)
+    		labelElement.text = data.toString();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+	// TODO (jszeto) Add measure implementation that uses the longest string in the data provider as
+    // the label and calls super.measure().
+	/**
+	 *  @private
+	 */
+	override protected function commitProperties():void
+    {
+        super.commitProperties();
+
+        if (selectedIndexChanged)
+        {
+            // TODO: Currently hard-coded to require a selection. This should be fixed.
+            if (selectedIndex == -1)
+            {
+                selectedIndex = 0;
+            }
+
+            if (dataProvider)
+                applyDataToLabelElement(dataProvider.getItemAt(selectedIndex));
+            selectedIndexChanged = false;
+
+            dispatchEvent(new Event("change"));
+        }
+
+        if (labelFunctionChanged)
+        {
+        	// TODO!! Update the label element
+        	labelFunctionChanged = false;
+        	applyDataToLabelElement(dataProvider.getItemAt(selectedIndex));
+        }
+
+    }
+
+    /**
+	 *  @private
+	 */
+    override protected function initializeDropDown():void
+    {
+    	super.initializeDropDown();
+
+		dropDown.dataProvider = dataProvider;
+		dropDown.selectedIndex = selectedIndex;
+		if (itemRenderer)
+			dropDown.itemRenderer = itemRenderer;
+
+		// TODO!! We force validation because when we set the selectedIndex,
+		// the list doesn't commit the value until it calls commitProperties.
+		// By this time, we are already listening for selection changed events.
+		dropDown.validateNow();
+
+		// Wait for creationComplete before listening to selectionChanged events from the dropDown.
+		//dropDown.addEventListener("creationComplete", dropDown_creationCompleteHandler);
+		dropDown.addEventListener(IndexChangedEvent.SELECTION_CHANGED, dropDown_selectionChangedHandler);
+    }
+
+    /**
+	 *  @private
+	 */
+    override protected function partAdded(partName:String, instance:Object):void
+    {
+    	super.partAdded(partName, instance);
+
+ 		if (partName == "dropDown")
+ 			dropDownInstance = dropDown;
+    }
+
+    /**
+	 *  @private
+	 */
+    override protected function destroyDropDown():void
+    {
+    	super.destroyDropDown();
+
+    	dropDown.removeEventListener(IndexChangedEvent.SELECTION_CHANGED, dropDown_selectionChangedHandler);
+    }
+
+    /**
+	 *  @private
+	 */
+    override protected function commitDropDownData():void
+    {
+    	selectedIndex = dropDown.selectedIndex;
+        applyDataToLabelElement(dataProvider.getItemAt(selectedIndex));
+    }
+
+	override protected function keyDownHandler(event:KeyboardEvent) : void
+	{
+		if(!enabled)
+            return;
+
+        if (event.keyCode == Keyboard.ENTER)
+        {
+            if (isOpen)
+            {
+            	// Close the dropDown and eat the event
+                closeDropDown(true);
+                event.stopPropagation();
+            }
+        }
+        else if (event.keyCode == Keyboard.ESCAPE)
+        {
+            if (isOpen)
+            {
+            	// Close the dropDown and eat the event
+                closeDropDown(false);
+                event.stopPropagation();
+            }
+        }
+        else if (event.keyCode == Keyboard.UP ||
+                event.keyCode == Keyboard.DOWN ||
+                event.keyCode == Keyboard.PAGE_UP ||
+                event.keyCode == Keyboard.PAGE_DOWN)
+        {
+            /*var oldIndex:int = selectedIndex;
+
+
+
+            // Make sure we know we are handling a keyDown,
+            // so if the dropdown sends out a "change" event
+            // (like when an up-arrow or down-arrow changes
+            // the selection) we know not to close the dropdown.
+            bInKeyDown = _showingDropdown;
+            // Redispatch the event to the dropdown
+            // and let its keyDownHandler() handle it.
+
+            dropdown.dispatchEvent(event.clone());
+            event.stopPropagation();
+            bInKeyDown = false;*/
+
+        }
+
+		// Call super at the end because we might override its functionality
+		super.keyDownHandler(event);
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Event handling
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+	 *  Called when the dropDown dispatches a selectionChanged event.
+	 */
+    protected function dropDown_selectionChangedHandler(event:IndexChangedEvent):void
+    {
+    	//trace("DropDownList.dropDown_selectionChangedHandler [CLOSE]");
+
+        closeDropDown(true);
+    }
+
+    /**
+     *  @private
+     */
+    /*private function dropDown_creationCompleteHandler(event:FlexEvent):void
+    {
+    	trace("DropDownList.dropDown_creationCompleteHandler called");
+		dropDown.removeEventListener("creationComplete", dropDown_creationCompleteHandler);
+    	dropDown.addEventListener(IndexChangedEvent.SELECTION_CHANGED, dropDown_selectionChangedHandler);
+    }*/
+
+}
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/skins/halo/BrokenImageBorderSkin.as
+++ frameworks/projects/framework/src/mx/skins/halo/BrokenImageBorderSkin.as
@@ -0,0 +1,62 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.skins.halo
+{
+
+import flash.display.Graphics;
+import mx.skins.ProgrammaticSkin;
+
+
+/**
+ *  The skin for the border of a SWFLoader or Image component when the content
+ *  could not be loaded.
+ */
+public class BrokenImageBorderSkin extends ProgrammaticSkin
+{
+	include "../../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 */
+	public function BrokenImageBorderSkin()
+	{
+		super();
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function updateDisplayList(w:Number, h:Number):void
+	{
+		super.updateDisplayList(w, h);
+
+		var g:Graphics = graphics;
+
+		g.clear();
+		g.lineStyle(1.0, getStyle("borderColor"));
+		g.drawRect(0, 0, w, h);
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 21869
Author:   ksimm@adobe.com
Date:     2011-08-05T16:37:05.232972Z

Log Message:
-----------
Added the function to identify the longest item in date list in DATE_AND_TIME mode.
QE notes: none
Doc notes: none
Bugs: none
Reviewer: tkraikit
Tests run: checkintests, mustella-mobile
Is noteworthy for integration: no

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as
+++ frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as
@@ -230,13 +230,20 @@

     private var refreshDateTimeFormatter:Boolean = true;

-    // the internal DateTimeFormatter that provdies a set of extended functionalities
+    // the internal DateTimeFormatter that provides a set of extended functionalities
     private var dateTimeFormatterEx:DateTimeFormatterEx = new DateTimeFormatterEx();

     private var dateTimeFormatter:DateTimeFormatter = new DateTimeFormatter();
+
+    // the DateTimeFormatterEx that uses MMMEEEd skeleton pattern to identify
+    // the longest dateList item in DATE_AND_TIME mode
+    private var dayMonthDateFormatter:DateTimeFormatterEx;

     private var dateObj:Date = new Date();
     private var use24HourTime:Boolean;
+
+    // stores the longest dateList item and updates only when locale changes
+    private var longestDateItem:Object;

     //--------------------------------------------------------------------------
     //
@@ -690,6 +697,8 @@
             refreshDateTimeFormatter = true;

             syncSelectedDate = true;
+
+            longestDateItem = null;

             invalidateProperties();
         }
@@ -858,7 +867,7 @@
         if (yearList && populateYearDataProvider)
         {
             yearList.dataProvider = generateYears(today);
-            //			yearList.dataProvider = new YearRangeList(localeStr, minDate.fullYear, maxDate.fullYear);
+            // yearList.dataProvider = new YearRangeList(localeStr, minDate.fullYear, maxDate.fullYear);

             yearList.typicalItem = getLongestLabel(yearList.dataProvider);
         }
@@ -877,7 +886,10 @@
                     localeStr, today, getStyle("accentColor"));

                 // set size to longest string
-                dateList.typicalItem = dateList.dataProvider.getItemAt(0); // TODO: localize? better way to do this? add a dot? ask Masa
+                if (!longestDateItem)
+                    longestDateItem = findLongestDateItem();
+
+                dateList.typicalItem = longestDateItem;
             }
             else
             {
@@ -1265,6 +1277,62 @@
     {
         var obj:Object = { dateItem:datePart, position:position };
         return obj;
+    }
+
+    // identify the dateList item that has the longest width in DATE_AND_TIME mode
+    private function findLongestDateItem():Object
+    {
+        if (!dayMonthDateFormatter)
+        {
+            dayMonthDateFormatter = new DateTimeFormatterEx();
+            dayMonthDateFormatter.dateTimeSkeletonPattern = DateTimeFormatterEx.DATESTYLE_MMMEEEd;
+        }
+
+        var localeStr:String = getStyle("locale");
+        if (localeStr)
+            dayMonthDateFormatter.setStyle("locale", localeStr);
+        else
+            dayMonthDateFormatter.clearStyle("locale");
+
+        // TODO: talk with the global team to make it much faster.
+        dateTimeFormatter.dateTimePattern =  dayMonthDateFormatter.getMonthPattern();
+
+        var longestDateItem:Object;
+        var longestMonth:int = 0;
+        var labelWidth:Number = -1;
+        var maxWidth:int = 0;
+        var dateStr:String;
+        dateObj.date = 1;
+
+        // find the longest month
+        for (var month:int = 0; month < 12; month++)
+        {
+            dateObj.month = month;
+            labelWidth = measureText(dateTimeFormatter.format(dateObj)).width;
+            if (labelWidth > maxWidth)
+            {
+                maxWidth = labelWidth;
+                longestMonth = month;
+            }
+        }
+
+        dateObj.month = longestMonth;
+        maxWidth = 0;
+
+        // find the longest dateList item
+        for (var date:int = 1; date <= 31; date++)
+        {
+            dateObj.date = date;
+            dateStr = dayMonthDateFormatter.format(dateObj);
+            labelWidth = measureText(dateStr).width;
+            if (labelWidth > maxWidth)
+            {
+                maxWidth = labelWidth;
+                longestDateItem = dateStr;
+            }
+        }
+
+        return longestDateItem;
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 17734
Author:   hmuller@adobe.com
Date:     2010-09-16T16:59:27.262520Z

Log Message:
-----------
Added support for explicitWidth,Height to DefaultGridItemRenderer and UITextFieldGridItemRenderer.

Although UITextField and UIFTETextField both sport explicitWidth,Height properties (but not a common class or interface that defines them) they don't automatically set these properties when you set their width,height and they reset width,height when you call setActualSize().     Since GridLayout only uses setlLayoutBounds() to resize a renderer, I set a flag there so that the concomitant calls to 'set width,height' don't also set explicitWidth,Height.

Removed the renderer constructor code that initialized the renderers actual width to 4096.   We're already dealing with that in createTypicalItemRenderer(), so the constructor code isn't needed.

QE notes: Mustella test case DataGrid_Properties_IR_WidthAll100Height needs to be updated
Doc notes:
Bugs:
Reviewer: Carol, Kevin
Tests run: checkin, mustella cyclone
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
@@ -543,11 +543,20 @@
         // width, if any.   If that isn't specified, then use 4096, to avoid wrapping.

         var columnWidth:Number = column.width;
+
         if (isNaN(columnWidth))
         {
-            const rendererUIC:IUIComponent = renderer as IUIComponent;
-            columnWidth = (rendererUIC) ? rendererUIC.explicitWidth : NaN;
-        }
+            // Sadly, IUIComponent, UITextField, and UIFTETextField all have an
+            // explicitWidth property but do not share a common type.
+            if ("explicitWidth" in renderer)
+                columnWidth = Object(renderer).explicitWidth;
+        }
+
+        // The default width of a UI[FTE]TextField is 100.  If autoWrap is true, and
+        // multiline is true, the measured text will wrap if it is wider than
+        // the TextField's width. This is not what we want when measuring the
+        // width of typicalItem columns that lack an explicit column width.
+
         if (isNaN(columnWidth))
             columnWidth = 4096;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3387
Author:   hmuller@adobe.com
Date:     2008-09-26T21:11:36.963833Z

Log Message:
-----------
Added support for page and step scrolling in Scroller.  The workhorse
for this change is a new pair of LayoutBase methods:

  verticalScrollPositionDelta(unit:uint):Number
  horizontalScrollPositionDelta(unit:uint):Number

The "scrolling unit" parameter is a flash.ui.Keyboard constant, one of
UP/DOWN (LEFT,RIGHT) PAGE_UP,DOWN, HOME,END.  Adding the delta value
to the corresponding IViewport scroll position property produces the
scroll.  For example:

  var dy:Number = vp.verticalScrollPositionDelta(Keyboard.PAGE_DOWN);
  vp.verticalScrollPosition += dy;

This example scrolls IViewport vp down by a page.  The API is defined
in terms of "delta" offsets, rather than just adjusting the scroll
position directly, to make it easy to animate the scroll position
properties.

The implementation of these methods in the layout classes deals with
variable size rows/columns, partial visibility, etc.  For example, if
you page down in a VerticalLayout when the current last row is only
partially visible, then adding the verticalScrollPositionDelta to the
verticalScrollPosition will top justify the last row.  If the last row
is completely visible, then the delta is bigger: enough to top justify
the row _below_ the current last row.

Presently the Scroller's scrollbars do not support page/step
scrolling per the new API.  One can only drive the new API
with the keyboard, and then only when some descendant of the
viewport has the focus.

Note also: in the next version of this code, the scrollPositionDelta methods
will be defined by IViewport.

QE: No
Doc: No
Checkintests: Pass
Reviewer: Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Scroller.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -15,6 +15,7 @@
 import flash.events.Event;
 import flash.geom.Rectangle;
 import flash.geom.Point;
+import flash.ui.Keyboard;

 import flex.core.GroupBase;
 import flex.intf.ILayout;
@@ -163,6 +164,110 @@
     //--------------------------------------------------------------------------

     /**
+     *  Returns the amount one would have to add to the viewport's current
+     *  verticalScrollPosition to scroll by the requested "scrolling" unit.
+     *
+     *  The value of unit must be one of the following flash.ui.Keyboard
+     *  constants: UP, DOWN, PAGE_UP, PAGE_DOWN, HOME, END.
+     *
+     *  To scroll by a single row use UP or DOWN and to scroll to the
+     *  first or last row, use HOME or END.
+     */
+    public function verticalScrollPositionDelta(unit:uint):Number
+    {
+        var g:GroupBase = target;
+        if (!g)
+            return 0;
+
+        var maxIndex:int = g.numLayoutItems -1;
+        if (maxIndex < 0)
+            return 0;
+
+        var scrollR:Rectangle = g.scrollRect;
+        if (!scrollR)
+            return 0;
+
+        var maxDelta:Number = g.contentHeight - scrollR.height - scrollR.y;
+        var minDelta:Number = -scrollR.y;
+
+        switch (unit)
+        {
+        	case Keyboard.UP:
+        	    return (scrollR.y <= 0) ? 0 : -1;
+
+        	case Keyboard.DOWN:
+        	    return (scrollR.y >= maxDelta) ? 0 : 1;
+
+            case Keyboard.PAGE_UP:
+                return Math.max(minDelta, -scrollR.height);
+
+            case Keyboard.PAGE_DOWN:
+                return Math.min(maxDelta, scrollR.height);
+
+            case Keyboard.HOME:
+                return minDelta;
+
+            case Keyboard.END:
+                return maxDelta;
+
+            default:
+                return 0;
+        }
+    }
+
+    /**
+     *  Returns the amount one would have to add to the viewport's current
+     *  verticalScrollPosition to scroll by the requested "scrolling" unit.
+     *
+     *  The value of unit must be one of the following flash.ui.Keyboard
+     *  constants: UP, DOWN, PAGE_UP, PAGE_DOWN, HOME, END.
+     *
+     *  To scroll by a single row use UP or DOWN and to scroll to the
+     *  first or last row, use HOME or END.
+     */
+    public function horizontalScrollPositionDelta(unit:uint):Number
+    {
+        var g:GroupBase = target;
+        if (!g)
+            return 0;
+
+        var maxIndex:int = g.numLayoutItems -1;
+        if (maxIndex < 0)
+            return 0;
+
+        var scrollR:Rectangle = g.scrollRect;
+        if (!scrollR)
+            return 0;
+
+        var maxDelta:Number = g.contentWidth - scrollR.width - scrollR.x;
+        var minDelta:Number = -scrollR.x;
+
+        switch (unit)
+        {
+            case Keyboard.UP:
+                return (scrollR.x <= 0) ? 0 : -1;
+
+            case Keyboard.DOWN:
+                return (scrollR.x >= maxDelta) ? 0 : 1;
+
+            case Keyboard.PAGE_UP:
+                return Math.max(minDelta, -scrollR.width);
+
+            case Keyboard.PAGE_DOWN:
+                return Math.min(maxDelta, scrollR.width);
+
+            case Keyboard.HOME:
+                return minDelta;
+
+            case Keyboard.END:
+                return maxDelta;
+
+            default:
+                return 0;
+        }
+    }
+
+    /**
      *  Called when the verticalScrollPosition or horizontalScrollPosition
      *  properties change.
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 12540
Author:   smgilson@adobe.com
Date:     2009-12-04T18:35:53.988232Z

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

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -37,9 +37,9 @@
  *  you must extend LayoutBase or one of its subclasses.
  *
  *
At minimum, subclasses must implement the updateDisplayList()
- *  method, which positions and sizes the target GroupBase's elements, and
- *  the measure() method, which calculates the target's default
- *  size.

+ *  method, which positions and sizes the target GroupBase's elements, and
+ *  the measure() method, which calculates the default
+ *  size of the target.

  *
  *
Subclasses may override methods like getElementBoundsAboveScrollRect()
  *  and getElementBoundsBelowScrollRect() to customize the way
@@ -376,16 +376,17 @@
      *  define the height of all container children,
      *  as the following example shows:

      *
-     *
<s:Group>
-          <s:layout>
-            <s:VerticalLayout variableRowHeight="false"
-                typicalLayoutElement="{b3}"/>
-          </s:layout>
-          <s:Button id="b1" label="Button 1"/>
-          <s:Button id="b2" label="Button 2"/>
-          <s:Button id="b3" label="Button 3" fontSize="36"/>
-          <s:Button id="b4" label="Button 4" fontSize="24"/>
-        </s:Group>

+     *

+     *  <s:Group>
+     *    <s:layout>
+     *      <s:VerticalLayout variableRowHeight="false"
+     *          typicalLayoutElement="{b3}"/>
+     *    </s:layout>
+     *    <s:Button id="b1" label="Button 1"/>
+     *    <s:Button id="b2" label="Button 2"/>
+     *    <s:Button id="b3" label="Button 3" fontSize="36"/>
+     *    <s:Button id="b4" label="Button 4" fontSize="24"/>
+     *  </s:Group>

      *
      *
If this property has not been set and the target is non-null
      *  then the target's first layout element is cached and returned.

@@ -1418,9 +1419,9 @@
     private var _dragScrollDelta:Point;
     private var _dragScrollEvent:DragEvent;
     mx_internal var dragScrollRegionSizeHorizontal:Number = 20;
-	mx_internal var dragScrollRegionSizeVertical:Number = 20;
+    mx_internal var dragScrollRegionSizeVertical:Number = 20;
     mx_internal var dragScrollSpeed:Number = 5;
-	mx_internal var dragScrollInitialDelay:int = 250;
+    mx_internal var dragScrollInitialDelay:int = 250;
     mx_internal var dragScrollInterval:int = 32;
     mx_internal var dragScrollHidesIndicator:Boolean = false;

@@ -1645,20 +1646,20 @@
         if (!scrollRect)
             return null;

-		// Make sure that the drag-scrolling regions don't overlap
-		var x:Number = dropLocation.dropPoint.x;
-		var y:Number = dropLocation.dropPoint.y;
-
-		var horizontalRegionSize:Number = Math.min(dragScrollRegionSizeHorizontal, layoutTarget.width/2);
-		var verticalRegionSize:Number = Math.min(dragScrollRegionSizeVertical, layoutTarget.height/2);
-		// Return early if the mouse is outside of the drag-scroll region.
-		if (scrollRect.left + horizontalRegionSize < x && x < scrollRect.right - horizontalRegionSize &&
-			scrollRect.top + verticalRegionSize < y && y < scrollRect.bottom - verticalRegionSize )
-			return null;
-
-		if (timeElapsed < dragScrollInitialDelay)
-			return new Point(); // Return zero point to continue firing events, but not actually scroll.
-		timeElapsed -= dragScrollInitialDelay;
+        // Make sure that the drag-scrolling regions don't overlap
+        var x:Number = dropLocation.dropPoint.x;
+        var y:Number = dropLocation.dropPoint.y;
+
+        var horizontalRegionSize:Number = Math.min(dragScrollRegionSizeHorizontal, layoutTarget.width/2);
+        var verticalRegionSize:Number = Math.min(dragScrollRegionSizeVertical, layoutTarget.height/2);
+        // Return early if the mouse is outside of the drag-scroll region.
+        if (scrollRect.left + horizontalRegionSize < x && x < scrollRect.right - horizontalRegionSize &&
+            scrollRect.top + verticalRegionSize < y && y < scrollRect.bottom - verticalRegionSize )
+            return null;
+
+        if (timeElapsed < dragScrollInitialDelay)
+            return new Point(); // Return zero point to continue firing events, but not actually scroll.
+        timeElapsed -= dragScrollInitialDelay;

         // Speedup based on time elapsed
         var timeSpeedUp:Number = Math.min(timeElapsed, 2000) / 2000;
@@ -1757,21 +1758,21 @@

         // Re-dispatch the event so that the drag initiator handles it as if
         // the DragProxy is dispatching in response to user input.
-		// Always switch over to DRAG_OVER, don't re-dispatch DRAG_ENTER
-		var dragEvent:DragEvent = new DragEvent(DragEvent.DRAG_OVER,
-											    _dragScrollEvent.bubbles,
-												_dragScrollEvent.cancelable,
-												_dragScrollEvent.dragInitiator,
-												_dragScrollEvent.dragSource,
-												_dragScrollEvent.action,
-												_dragScrollEvent.ctrlKey,
-												_dragScrollEvent.altKey,
-												_dragScrollEvent.shiftKey);
-
-		dragEvent.draggedItem = _dragScrollEvent.draggedItem;
-		dragEvent.localX = _dragScrollEvent.localX;
-		dragEvent.localY = _dragScrollEvent.localY;
-		dragEvent.relatedObject = _dragScrollEvent.relatedObject;
+        // Always switch over to DRAG_OVER, don't re-dispatch DRAG_ENTER
+        var dragEvent:DragEvent = new DragEvent(DragEvent.DRAG_OVER,
+                                                _dragScrollEvent.bubbles,
+                                                _dragScrollEvent.cancelable,
+                                                _dragScrollEvent.dragInitiator,
+                                                _dragScrollEvent.dragSource,
+                                                _dragScrollEvent.action,
+                                                _dragScrollEvent.ctrlKey,
+                                                _dragScrollEvent.altKey,
+                                                _dragScrollEvent.shiftKey);
+
+        dragEvent.draggedItem = _dragScrollEvent.draggedItem;
+        dragEvent.localX = _dragScrollEvent.localX;
+        dragEvent.localY = _dragScrollEvent.localY;
+        dragEvent.relatedObject = _dragScrollEvent.relatedObject;
         _dragScrollEvent.target.dispatchEvent(dragEvent);
     }


missing newline in log output

missing newline in log output

--- Agent.as
+++ Agent.as
@@ -89,7 +89,7 @@
             return "[Sample" +
                 "\n   time: " + s.time +
                 "\n  stack: " + stackToString(s.stack) +
-                "]";
+                "\n]";
     	}

     	private function stackToString(stack:Array):String {


added Point.prototype.distance()

added Point.prototype.distance()

--- WeaveASJS/src/weavejs/geom/Point.as
+++ WeaveASJS/src/weavejs/geom/Point.as
@@ -24,5 +24,12 @@
 		}
 		public var x:Number;
 		public var y:Number;
+
+		public static function distance(p1:Point, p2:Point):Number
+		{
+			var dx:Number = p2.x - p1.x;
+			var dy:Number = p2.y - p1.y;
+			return Math.sqrt(dx * dx + dy * dy);
+		}
 	}
 }


added jvmargs option to add a string of arguments for the Java virtual machine

--- src/ASConfigC.as
+++ src/ASConfigC.as
@@ -139,6 +139,7 @@
 		private var _airOptionsJSON:Object = null;
 		private var _htmlTemplate:String = null;
 		private var _htmlTemplateOptions:Object = null;
+		private var _jvmArgs:Array = null;

 		private function printVersion():void
 		{
@@ -165,8 +166,9 @@
 			console.info(" --air PLATFORM                                      Package the project as an Adobe AIR application. The allowed platforms include `android`, `ios`, `windows`, `mac`, and `air`.");
 			console.info(" --storepass PASSWORD                                The password used when signing and packaging an Adobe AIR application. If not specified, prompts for the password.");
 			console.info(" --unpackage-anes                                    Unpackage native extensions to the output directory when creating a debug build for the Adobe AIR simulator.");
-			console.info(" --clean                                             Clean the output directory. Will not build the project.")
-			console.info(" --verbose                                           Displays verbose output.")
+			console.info(" --clean                                             Clean the output directory. Will not build the project.");
+			console.info(" --verbose                                           Displays verbose output.");
+			console.info(" --jvmargs ARGS                                      (Advanced) Pass custom arguments to the Java virtual machine.");
 		}

 		private function parseArguments():void
@@ -270,6 +272,24 @@
 						else
 						{
 							this._verbose = verboseValue as Boolean;
+						}
+						break;
+					}
+					case "jvmargs":
+					{
+						var jvmArgsValue:Object = args[key];
+						if(typeof jvmArgsValue === "string")
+						{
+							var jvmArgs:String = jvmArgsValue as String;
+							if(jvmArgs.startsWith("\"") && jvmArgs.endsWith("\""))
+							{
+								jvmArgs = jvmArgs.substr(1, jvmArgs.length - 2);
+							}
+							this._jvmArgs = jvmArgs.split(" ");
+						}
+						else
+						{
+							this._jvmArgs = null;
 						}
 						break;
 					}
@@ -959,7 +979,15 @@
 				this._compilerArgs.unshift("-Dflexlib=" + escapePath(frameworkPath));
 				this._compilerArgs.unshift("-Dflexcompiler=" + escapePath(this._sdkHome));
 			}
-			this._compilerArgs.unshift("-Xmx512m");
+			if(this._jvmArgs)
+			{
+				var jvmArgCount:int = this._jvmArgs.length;
+				for(var i:int = jvmArgCount - 1; i >= 0; i--)
+				{
+					var jvmArg:String = this._jvmArgs[i] as String;
+					this._compilerArgs.unshift(jvmArg);
+				}
+			}
 			try
 			{
 				var command:String = escapePath(this._javaExecutable) + " " + this._compilerArgs.join(" ");
@@ -974,7 +1002,7 @@
 				if(this._files && this._projectType !== ProjectType.LIB)
 				{
 					var filesCount:int = this._files.length;
-					for(var i:int = 0; i < filesCount; i++)
+					for(i = 0; i < filesCount; i++)
 					{
 						if(i === 0)
 						{


process resources before compiling to support compilers with watch support

--- src/ASConfigC.as
+++ src/ASConfigC.as
@@ -145,12 +145,12 @@
 					return;
 				}

-				this.compileProject();
 				this.copySourcePathAssets();
 				this.copyHTMLTemplate();
 				this.processAIRDescriptors();
 				this.copyAIRFiles();
 				this.prepareNativeExtensions();
+				this.compileProject();
 				if(this._airPlatform !== null)
 				{
 					this.packageAIR();


removed 'tradeable' until reflected on server

--- flexEditor/src/org/arisgames/editor/services/AppServices.as
+++ flexEditor/src/org/arisgames/editor/services/AppServices.as
@@ -216,12 +216,14 @@
         if (isNaN(item.itemId) || item.itemId == 0)
         {
             trace("This item doesn't have an itemId, so call create Item.");
-            r = AppDAO.getInstance().getItemServer().createItem(gid, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.tradeable, item.destroyable, item.isAttribute, item.maxQty, item.weight, item.url, item.type);
+			//r = AppDAO.getInstance().getItemServer().createItem(gid, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.tradeable, item.destroyable, item.isAttribute, item.maxQty, item.weight, item.url, item.type);
+			r = AppDAO.getInstance().getItemServer().createItem(gid, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.destroyable, item.isAttribute, item.maxQty, item.weight, item.url, item.type);
         }
         else
         {
             trace("This item has an itemId (" + item.itemId + "), so call update Item.");
-            r = AppDAO.getInstance().getItemServer().updateItem(gid, item.itemId, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.tradeable, item.destroyable, item.isAttribute, item.maxQty, item.weight, item.url, item.type);
+			//r = AppDAO.getInstance().getItemServer().updateItem(gid, item.itemId, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.tradeable, item.destroyable, item.isAttribute, item.maxQty, item.weight, item.url, item.type);
+			r = AppDAO.getInstance().getItemServer().updateItem(gid, item.itemId, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.destroyable, item.isAttribute, item.maxQty, item.weight, item.url, item.type);
         }
         r.addResponder(resp);
     }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/mx/src/mx/skins/halo/PopUpButtonSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/PopUpButtonSkin.as
@@ -23,6 +23,11 @@

 /**
  *  The skin for all the states of a PopUpButton.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class PopUpButtonSkin extends UIComponent implements IProgrammaticSkin
 {
@@ -78,6 +83,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function PopUpButtonSkin()
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4515
Author:   hmuller@adobe.com
Date:     2009-01-13T22:58:06.587808Z

Log Message:
-----------
Restored internal DataGroup.getItemIndexForRenderer() method.

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

Modified Paths:
--------------
<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/FxList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as</path>

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

--- frameworks/projects/spark/src/spark/components/ButtonBar.as
+++ frameworks/projects/spark/src/spark/components/ButtonBar.as
@@ -221,7 +221,7 @@
      */
     private function item_clickHandler(event:MouseEvent):void
     {
-        var index:int = dataGroup.mx_internal::getItemIndexForRenderer(
+        var index:int = dataGroup.getItemIndexForRenderer(
                             event.currentTarget as IVisualElement);

 		selectedIndex = index;
@@ -239,7 +239,7 @@
 		var renderer:Object;

 		currentButton = focusManager.getFocus();
-		index = dataGroup.mx_internal::getItemIndexForRenderer(
+		index = dataGroup.getItemIndexForRenderer(
 		              currentButton as IVisualElement);

 		var n:int = dataProvider.length;
@@ -270,7 +270,7 @@
             {
 				focusManager.showFocusIndicator = true;
 				currentButton = focusManager.getFocus();
-		        index = dataGroup.mx_internal::getItemIndexForRenderer(
+		        index = dataGroup.getItemIndexForRenderer(
 		                  currentButton as IVisualElement);
 				if (index > 0)
 				{
@@ -285,7 +285,7 @@
             {
 				focusManager.showFocusIndicator = true;
 				currentButton = focusManager.getFocus();
-		        index = dataGroup.mx_internal::getItemIndexForRenderer(
+		        index = dataGroup.getItemIndexForRenderer(
 		                  currentButton as IVisualElement);
 				if (index < dataProvider.length - 1)
 				{


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -299,7 +299,7 @@
      *  @langversion 3.0
      *  @playerversion Flash 11
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */
     public function invalidateTypicalItemRenderer():void
     {