Transferred from the Adobe Open Source Subversion Repository

Revision: 129
Author:   proberts@adobe.com
Date:     2008-01-09T04:17:27.236596Z

Log Message:
-----------
Severity: ignore
Description: Docs updates for AIR Window classes. Includes fixes for the following bugs:
- FLEXDOCS-314: Flex WindowedApplication does not re-dispatch keyboard events dispatched by NativeApplication
- FLEXDOCS-163: Window alwaysInFront property text should be revised.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>

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

--- frameworks/projects/airframework/src/mx/core/Window.as
+++ frameworks/projects/airframework/src/mx/core/Window.as
@@ -104,7 +104,8 @@
 [Event(name="networkChange", type="flash.events.Event")]

 /**
- *  Dispatched before the underlying NativeWindow is resized
+ *  Dispatched before the underlying NativeWindow is resized, or
+ *  while the Window object boundaries are being dragged.
  *
  *  @eventType flash.events.NativeWindowBoundsEvent.RESIZING
  */
@@ -112,7 +113,7 @@

 /**
  *  Dispatched when the Window completes its initial layout
- *  and opens the underlying NativeWindow
+ *  and opens the underlying NativeWindow.
  *
  *  @eventType mx.events.AIREvent.WINDOW_COMPLETE
  */
@@ -145,7 +146,7 @@
  *  A value of "right" means the buttons are aligned
  *  at the right of the title bar.
  *  A value of "auto" means the buttons are aligned
- *  at the left of the title bar on the Macintosh and on the
+ *  at the left of the title bar on Mac OS X and on the
  *  right on Windows.

  *
  *  @default "auto"
@@ -153,7 +154,7 @@
 [Style(name="buttonAlignment", type="String", enumeration="left,right,auto", inherit="yes")]

 /**
- *  Defines the distance between the titleBar buttons
+ *  Defines the distance between the titleBar buttons.
  *
  *  @default 2
  */
@@ -206,43 +207,43 @@

 /**
  *  Skin for restore button when using Flex chrome.
- *  (Does not affect Macintosh)
+ *  This style is ignored for Mac OS X.
  *
  *  @default mx.skins.halo.WindowRestoreButtonSkin
  */
 [Style(name="restoreButtonSkin", type="Class", inherit="no",states="up, over, down, disabled")]

 /**
- *  Determines whether we display Flex Chrome, or depend on the developer
- *  to draw her own. Changing this style once the window is open has no effect.
+ *  Determines whether the window draws its own Flex Chrome or depends on the developer
+ *  to draw chrome. Changing this style once the window is open has no effect.
  *
  *  @default true
  */
 [Style(name="showFlexChrome", type="Boolean", inherit="no")]

 /**
- *  A colors used to draw the statusBar.
+ *  The colors used to draw the status bar.
  *
  *  @default 0xC0C0C0
  */
 [Style(name="statusBarBackgroundColor", type="uint", format="Color", inherit="yes")]

 /**
- *  The statusBar background skin.
+ *  The status bar background skin.
  *
  *  @default mx.skins.halo.StatusBarBackgroundSkin
  */
 [Style(name="statusBarBackgroundSkin", type="Class", inherit="yes")]

 /**
- *  Style declaration for status text.
+ *  Style declaration for the status text.
  *
  *  @default undefined
  */
 [Style(name="statusTextStyleName", type="String", inherit="yes")]

 /**
- *  Position of title in title bar.
+ *  Position of the title in title bar.
  *  The possible values are "left",
  *  "center", "auto"
  *
@@ -251,7 +252,7 @@
  *  A value of "center" means the title is aligned
  *  at the center of the title bar.
  *  A value of "auto" means the title is aligned
- *  at the left on Windows and at the center on the Macintosh.

+ *  at the left on Windows and at the center on Mac OS X.

  *
  *  @default "auto"
  */
@@ -285,7 +286,7 @@
 [Style(name="titleBarColors", type="Array", arrayType="uint", format="Color", inherit="yes")]

 /**
- *  The style name for the title
+ *  The style name for the title text.
  *
  *  @default undefined
  */
@@ -334,7 +335,113 @@

 /**
  *  The Window is a top-level container for additional windows
- *  in an  AIR desktop application
+ *  in an AIR desktop application.
+ *
+ *
The Window container is a special kind of container in the sense
+ *  that it cannot be used within other layout containers. An mx:Window
+ *  component must be the top-level component in its MXML document.

+ *
+ *
The easiest way to use a Window component to define a native window is to
+ *  create an MXML document with an <mx:Window> tag
+ *  as the top-level tag in the document. You use the Window component
+ *  just as you do any other container, including specifying the layout
+ *  type, defining child controls, and so forth. Like any other custom
+ *  MXML component, when your application is compiled your MXML document
+ *  is compiled into a custom class that is a subclass of the Window
+ *  component.

+ *
+ *
In your application code, to make an instance of
+ *  your Window subclass appear on the screen you first create an instance
+ *  of the class in code (by defining a variable and calling the new
+ *  MyWindowClass() constructor. Next you set any properties you wish
+ *  to specify for the new window. Finally you call your Window component's
+ *  open() method to open the window on the screen.

+ *
+ *
Note that several of the Window class's properties can only be set
+ *  before calling the open() method to open
+ *  the window. Once the underlying NativeWindow is created, these initialization
+ *  properties can be read but cannot be changed. This restriction applies to
+ *  the following properties:

+ *
+ *

+ *
maximizable

+ *
minimizable

+ *
resizable

+ *
systemChrome

+ *
transparent

+ *
type

+ *

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

+ *
+ *

+ *  <mx:Window
+ *    Properties
+ *    alwaysInFront="false"
+ *    maxHeight="10000"
+ *    maximizable="true"
+ *    maxWidth="10000"
+ *    menu="null"
+ *    minHeight="100"
+ *    minimizable="true"
+ *    minWidth="100"
+ *    resizable="true"
+ *    showGripper="true"
+ *    showStatusBar="true"
+ *    showTitleBar="true"
+ *    status=""
+ *    statusBarFactory="mx.core.ClassFactory"
+ *    systemChrome="standard"
+ *    title=""
+ *    titleBarFactory="mx.core.ClassFactory"
+ *    titleIcon="null"
+ *    transparent="false"
+ *    type="normal"
+ *    visible="true"
+ *
+ *    Styles
+ *    buttonAlignment="auto"
+ *    buttonPadding="2"
+ *    closeButtonSkin="mx.skins.halo.windowCloseButtonSkin"
+ *    gripperPadding="3"
+ *    gripperStyleName="gripperStyle"
+ *    headerHeight="undefined"
+ *    maximizeButtonSkin="mx.skins.halo.WindowMaximizeButtonSkin"
+ *    minimizeButtonSkin="mx.skins.halo.WindowMinimizeButtonSkin"
+ *    restoreButtonSkin="mx.skins.halo.WindowRestoreButtonSkin"
+ *    showFlexChrome="true"
+ *    statusBarBackgroundColor="0xC0C0C0"
+ *    statusBarBackgroundSkin="mx.skins.halo.StatusBarBackgroundSkin"
+ *    statusTextStyleName="undefined"
+ *    titleAlignment="auto"
+ *    titleBarBackgroundSkin="mx.skins.halo.ApplicationTitleBarBackgroundSkin"
+ *    titleBarButtonPadding="5"
+ *    titleBarColors="[ 0x000000, 0x000000 ]"
+ *    titleTextStyleName="undefined"
+ *
+ *    Effects
+ *    closeEffect="No default"
+ *    minimizeEffect="No default"
+ *    unminimizeEffect="No default"
+ *
+ *    Events
+ *    applicationActivate="No default"
+ *    applicationDeactivate="No default"
+ *    closing="No default"
+ *    displayStateChange="No default"
+ *    displayStateChanging="No default"
+ *    moving="No default"
+ *    networkChange="No default"
+ *    resizing="No default"
+ *    windowComplete="No default"
+ *    windowMove="No default"
+ *    windowResize="No default"
+ *  />
+ *

+ *
  */
 public class Window extends LayoutContainer implements IWindow
 {
@@ -524,11 +631,11 @@
    	//----------------------------------
     //  height
     //----------------------------------
-
+
     [Bindable("heightChanged")]
     [Inspectable(category="General")]
     [PercentProxy("percentHeight")]
-
+
     /**
      *  @private
      */
@@ -554,7 +661,7 @@
         invalidateProperties();
         invalidateSize();
         invalidateViewMetricsAndPadding();
-
+
 	    dispatchEvent(new Event("heightChanged"));
         // also dispatched in the resizeHandler
     }
@@ -572,7 +679,7 @@
 	[Bindable("maxHeightChanged")]

 	/**
-	 *  The maximum height of the Window.
+	 *  The maximum height of the window.
 	 */
 	override public function get maxHeight():Number
 	{
@@ -604,7 +711,7 @@
 	[Bindable("maxWidthChanged")]

 	/**
-	 *  The maximum width of the Window.
+	 *  The maximum width of the window.
 	 */
 	 override public function get maxWidth():Number
 	{
@@ -637,7 +744,7 @@
 	[Bindable("minHeightChanged")]

 	/**
-	 *  The minimum height of the Window.
+	 *  The minimum height of the window.
 	 */
 	override public function get minHeight():Number
 	{
@@ -670,7 +777,7 @@
 	[Bindable("minWidthChanged")]

 	/**
-	 *  The minimum width of the Window.
+	 *  The minimum width of the window.
 	 */
 	override public  function get minWidth():Number
 	{
@@ -698,10 +805,15 @@
     [Bindable("windowComplete")]

 	/**
-	 *  Controls the Window's visibility. Unlike the normal
-	 *  UIComponent.visible property, this affects the underlying
-	 *  NativeWindow as well. When it changes, it will
-	 *  dispatch a FlexEvent.SHOW or FlexEvent.HIDE event.
+	 *  Controls the window's visibility. Unlike the
+	 *  UIComponent.visible property of most Flex
+	 *  visual components, this property affects the visibility
+	 *  of the underlying NativeWindow (including operating system
+	 *  chrome) as well as the visibility of the Window's child
+	 *  controls.
+	 *
+	 *
When this property changes, Flex dispatches a <codeshow
+	 *  or hide event.

 	 *
 	 *  @default true
 	 */
@@ -750,7 +862,7 @@
    	//----------------------------------
     //  width
     //----------------------------------
-
+
     [Bindable("widthChanged")]
     [Inspectable(category="General")]
     [PercentProxy("percentWidth")]
@@ -780,7 +892,7 @@
         invalidateProperties();
         invalidateSize();
         invalidateViewMetricsAndPadding();
-
+
 	    dispatchEvent(new Event("widthChanged"));
 	    // also dispatched in the resize handler
     }
@@ -847,7 +959,14 @@
     private var _alwaysInFront:Boolean = false;

     /**
-	 *  Determines whether the underlying NativeWindow is alwaysInFront.
+	 *  Determines whether the underlying NativeWindow is always in front
+	 *  of other windows (including those of other applications). Setting
+	 *  this property sets the alwaysInFront property of the
+	 *  underlying NativeWindow. See the NativeWindow.alwaysInFront
+	 *  property description for details of how this affects window stacking
+	 *  order.
+	 *
+	 *  @see flash.display.NativeWindow#alwaysInFront
      */
     public function get alwaysInFront():Boolean
     {
@@ -884,7 +1003,7 @@

     /**
      *  @private
-     *  A Rectangle specifying the Application's bounds,
+     *  A Rectangle specifying the window's bounds
 	 *  relative to the screen.
      */
     protected function get bounds():Rectangle
@@ -940,8 +1059,9 @@
 	private var _maximizable:Boolean = true;

 	/**
-	 *  Specifies whether the window is maximizable
-	 *  Read-only after the window is opened.
+	 *  Specifies whether the window can be maximized.
+	 *  This property's value is read-only after the window
+	 *  has been opened.
 	 */
 	public function get maximizable():Boolean
 	{
@@ -975,7 +1095,7 @@
     //  cursorManager
     //----------------------------------
     /**
-     *  Returns instance of CursorManager for this Window
+     *  Returns the cursor manager for this Window.
      */
     override public function get cursorManager():ICursorManager
     {
@@ -997,8 +1117,9 @@
     }

     /**
-     *  The nativeApplication's menu.
-	 *  Some operating systems do not support nativeApplication menus.
+     *  The window menu for this window.
+	 *  Some operating systems do not support window menus,
+	 *  in which case this property is ignored.
      */
     public function set menu(value:FlexNativeMenu):void
     {
@@ -1017,8 +1138,9 @@
 	private var _minimizable:Boolean = true;

 	/**
-	 *  Specifies whether the window is minimizable
-	 *  Read-only after the window is opened.
+	 *  Specifies whether the window can be minimized.
+	 *  This property is read-only after the window has
+	 *  been opened.
 	 */
 	public function get minimizable():Boolean
 	{
@@ -1043,7 +1165,7 @@
 	//----------------------------------

     /**
-     *  The NativeWindow that this Window uses.
+     *  The underlying NativeWindow that this Window component uses.
      */
     public function get nativeWindow():NativeWindow
     {
@@ -1064,8 +1186,9 @@
 	private var _resizable:Boolean = true;

 	/**
-	 *  Specifies whether the window is resizable
-	 *  Read-only after the window is opened.
+	 *  Specifies whether the window can be resized.
+	 *  This property is read-only after the window
+	 *  has been opened.
 	 */
 	public function get resizable():Boolean
 	{
@@ -1103,9 +1226,11 @@

     /**
      *  If true, the gripper is visible.
-     *  Macintosh windows with systemChrome="standard"
-     *  always have grippers, so this property is ignored
-     *  for those windows.
+	 *
+     *
On Mac OS X a window with systemChrome
+	 *  set to "standard"
+     *  always has an operating system gripper, so this property is ignored
+     *  in that case.

      *
      *  @default true
      */
@@ -1183,7 +1308,7 @@
     private var showTitleBarChanged:Boolean = true;

     /**
-     *  If true, the status bar is visible.
+     *  If true, the window's title bar is visible.
      *
      *  @default true
      */
@@ -1323,7 +1448,8 @@
     };

     /**
-     *  Set of styles to pass from the Window to the statusBar.
+     *  Set of styles to pass from the window to the status bar.
+	 *
      *  @see mx.styles.StyleProxy
      */
     protected function get statusBarStyleFilters():Object
@@ -1342,9 +1468,16 @@
 	private var _systemChrome:String = "standard";

 	/**
-	 *  Specifies the type of systemChrome the window will have
-	 *  Possible values are enumerated in NativeWindowSystemChrome
-	 *  Read-only once the window has been opened.
+	 *  Specifies the type of system chrome the window has.
+	 *  The set of possible values is defined by the constants
+	 *  in the NativeWindowSystemChrome class.
+	 *
+	 *
This property is read-only once the window has been opened.

+	 *
+	 *
The default value is NativeWindowSystemChrome.STANDARD.

+	 *
+	 *  @see flash.display.NativeWindowSystemChrome
+	 *  @see flash.display.NativeWindowInitOptions#systemChrome
 	 */
 	public function get systemChrome():String
 	{
@@ -1382,7 +1515,7 @@
     [Bindable("titleChanged")]

     /**
-     *  The title that appears in the window title bar and
+     *  The title text that appears in the window title bar and
      *  the taskbar.
      *
      *  @default ""
@@ -1493,6 +1626,7 @@

     /**
      *  Set of styles to pass from the Window to the titleBar.
+	 *
      *  @see mx.styles.StyleProxy
      */
     protected function get titleBarStyleFilters():Object
@@ -1554,8 +1688,11 @@
 	private var _transparent:Boolean = false;

 	/**
-	 *  Specifies whether the window is transparent
-	 *  Read-only after the window is opened.
+	 *  Specifies whether the window is transparent. Setting this
+	 *  property to true for a window that uses
+	 *  system chrome is not supported.
+	 *
+	 *
This property is read-only after the window has been opened.

 	 */
 	public function get transparent():Boolean
 	{
@@ -1586,9 +1723,16 @@
 	private var _type:String = "normal";

 	/**
-	 *  Specifies the NativeWindow's type.
-	 *  Types are enumerated in NativeWindowType.
-	 *  Read-only after the window has been created.
+	 *  Specifies the type of NativeWindow that this component
+	 *  represents. The set of possible values is defined by the constants
+	 *  in the NativeWindowType class.
+	 *
+	 *
This property is read-only once the window has been opened.

+	 *
+	 *
The default value is NativeWindowType.NORMAL.

+	 *
+	 *  @see flash.display.NativeWindowType
+	 *  @see flash.display.NativeWindowInitOptions#type
 	 */
 	public function get type():String
 	{
@@ -2117,7 +2261,7 @@
     //--------------------------------------------------------------------------

     /**
-     *  Closes the Window. Will dispatch cancelable event.
+     *  Closes the Window. This action is cancelable.
      */
     public function close():void
     {
@@ -2180,7 +2324,7 @@
     }

  	/**
-     *  Maximizes the Application's nativeWindow, or does nothing it if it's already maximized.
+     *  Maximizes the underlying NativeWindow, or does nothing it if it's already maximized.
      */
     public function maximize():void
     {
@@ -2203,7 +2347,7 @@
     }

     /**
-     *  Minimizes the Application's window
+     *  Minimizes the underlying NativeWindow.
      */
     public function minimize():void
     {
@@ -2220,8 +2364,8 @@
     }

     /**
-     *  Restores the application's nativeWindow. Unmaximizes it if it's maximized,
-     *  unminimizes it if it's minimized.
+     *  Restores the underlying NativeWindow (unmaximizes it if it's maximized, or
+     *  unminimizes it if it's minimized).
      */
 	public function restore():void
     {
@@ -2252,7 +2396,8 @@
     }

     /**
-     *  Activates the nativeWindow (even if this Window's app is not the active one)
+     *  Activates the underlying NativeWindow (even if this Window's application
+	 *  is not currently active).
      */
     public function activate():void
     {
@@ -2264,7 +2409,8 @@
      *  Creates the underlying NativeWindow and opens it.
      *
      *  @param  openWindowActive specifies whether the Window opens
-     *  activated (that is, whether it has focus). Defaults to true.
+     *  activated (that is, whether it has focus). The default value
+	 *  is true.
      */
     public function open(openWindowActive:Boolean = true):void
     {
@@ -2276,7 +2422,7 @@
     /**
      *  Orders the window just behind another. To order the window behind
      *  a NativeWindow that does not implement IWindow, use this window's
-     *  nativeWindow's method.
+     *  nativeWindow's orderInBackOf() method.
      *
      *  @param window The IWindow (Window or WindowedAplication)
      *  to order this window behind.
@@ -2295,12 +2441,12 @@
     /**
      *  Orders the window just in front of another. To order the window
      *  in front of a NativeWindow that does not implement IWindow, use this
-     *  window's nativeWindow's method.
+     *  window's nativeWindow's  orderInFrontOf() method.
      *
      *  @param window The IWindow (Window or WindowedAplication)
      *  to order this window in front of.
      *
-     *  @return true if the window was succesfully sent in front of;
+     *  @return true if the window was succesfully sent in front;
      *          false if the window is invisible or minimized.
      */
     public function orderInFrontOf(window:IWindow):Boolean
@@ -2491,7 +2637,7 @@
     }

     /**
-     *  Manages mouse down events on border.
+     *  Manages mouse down events on the window border.
      */
     protected function mouseDownHandler(event:MouseEvent):void
     {
@@ -2789,21 +2935,21 @@
     {
         invalidateViewMetricsAndPadding();
         invalidateDisplayList();
-
+
         var dispatchWidthChangeEvent:Boolean = (bounds.width != stage.stageWidth);
         var dispatchHeightChangeEvent:Boolean = (bounds.height != stage.stageHeight);
-
+
         bounds.x = stage.x;
         bounds.y = stage.y;
         bounds.width = stage.stageWidth;
         bounds.height = stage.stageHeight;
-
+
         validateNow();
         var e:FlexNativeWindowBoundsEvent =
         	new FlexNativeWindowBoundsEvent(FlexNativeWindowBoundsEvent.WINDOW_RESIZE, event.bubbles, event.cancelable,
         			event.beforeBounds, event.afterBounds);
         dispatchEvent(e);
-
+
         if (dispatchWidthChangeEvent)
     		dispatchEvent(new Event("widthChanged"));
     	if (dispatchHeightChangeEvent)


Transferred from the Adobe Open Source Subversion Repository

Revision: 5770
Author:   gruehle@adobe.com
Date:     2009-03-30T20:58:54.529722Z

Log Message:
-----------
Add [Alternative] metadata to the Halo components that have a Gumbo replacement.

Bugs: SDK-20190
QA notes: none
Doc notes: Additional ASDoc comments added for many of the classes. These should all be reviewed.
Reviewer: Chet

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TileList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Zoom.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToggleButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Cubic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Fade.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/framework/src/mx/effects/RemoveChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/TweenEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeRight.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as</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/controls/CheckBox.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/effects/easing/Quartic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeLeft.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quintic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/easing/Quadratic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/AddChildAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeDown.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/SetPropertyAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Blur.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HorizontalList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/WipeUp.as</path>

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

--- frameworks/projects/mx/src/mx/effects/easing/Linear.as
+++ frameworks/projects/mx/src/mx/effects/easing/Linear.as
@@ -11,6 +11,15 @@

 package mx.effects.easing
 {
+
+/**
+ *  The new effects provided as of Flex 4 use classes which implement the
+ *  IEaser interface instead of the easing functions in classes like Linear for
+ *  the earlier Flex 3 effects. To achieve the same functionality of the old
+ *  Linear class, create a new instance of spark.effects.easing.Linear or call
+ *  spark.effects.easing.Linear.getInstance() to get a singleton instance.
+ */
+[Alternative(replacement="spark.effects.easing.Linear", since="4.0")]

 /**
  *  The Linear class defines easing functions to implement


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

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

 package mx.rpc.mxml
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6112
Author:   jszeto@adobe.com
Date:     2009-04-10T00:52:20.424522Z

Log Message:
-----------
DropDownList Bug Fixes

- Added functionality to keep the anchor button in the down state when the dropDown is open.
- Changed SkinnableDataContainer's dataGroup skin part from required to optional. Added some null check protection to List, and ListBase. Changed the DropDownListSkin to only include the dropDown in the open state.

Bug Fixes:

SDK-20534 - DropDownList does not gray out text when disabled

Updated the skin to set the alpha in the disabled state

SDK-20532 - When using scroll bar on the dropDown of a DropDownList the dropDown closes

Added dropDown skinPart that defines the area that doesn't automatically close DropDownList on a mouseDown

SDK-19868 - Gumbo DropDownList should support symbolColor style

Changed the down arrow in the DropDownListButtonSkin to use a radialGradient fill instead of a DropShadowFilter. Also, the PopUp component now passes its styles along to its content.

SDK-19572 - DropDownList popup doesnt close or move when resizing browser window

Added a systemManager resize handler that closes the dropDown

SDK-20535 - DropDownList text styles are not passed on to dropDown and no dropDown styles exist

The PopUp component now passes its styles along to its content.

SDK-20555 - Spark DropDownList should size itself a bit better so partial rows arent displayed if possible

Changed the default size of the dropDown from 140 to 134. This should handle this issue if the DropDownList is using the default item renderer

QE Notes:
Doc Notes: Added dropDown skin part to DropDownList
Bugs: SDK-20534, SDK-20532, SDK-19868, SDK-19572, SDK-20535, SDK-20555
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/DropDownListButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/DropDownListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/PopUp.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/List.as
+++ frameworks/projects/spark/src/spark/components/List.as
@@ -363,7 +363,7 @@
     {
         super.itemSelected(index, selected);

-        var renderer:Object = dataGroup.getElementAt(index);
+        var renderer:Object = dataGroup ? dataGroup.getElementAt(index) : null;

         if (renderer is IItemRenderer)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4255
Author:   rfrishbe@adobe.com
Date:     2008-12-08T23:32:25.912094Z

Log Message:
-----------
GraphicElements are no longer supported in DataGroup.  This allowed us to clean up a lot of the code (hurray!)

Moreover, there are some other cleanups.  We now support null items.  Item renderers are strongly typed as IVisualElements now (an item renderer must be an IVisualElement and a DisplayObject).  We also don't dispatch events when changing the itemRenderer or itemRendererFunction anymore as there's no need to do it and no need to make these properties bindable.

Also a minor fix in FlexNativeMenu where the binding metadata was using the wrong event.

QE Notes: Steve's already changed mustella tests for me.
Doc Notes: None
Bugs: SDK-18040, SDK-18046, SDK-18045
Reviewer: Glenn
tests: checkintests, mustella DataGroup, FxDataContainer, FxList, Group

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/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>

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

--- frameworks/projects/spark/src/spark/components/List.as
+++ frameworks/projects/spark/src/spark/components/List.as
@@ -17,6 +17,7 @@

 import mx.components.baseClasses.FxListBase;
 import mx.core.ClassFactory;
+import mx.core.IVisualElement;
 import mx.events.ItemExistenceChangedEvent;
 import mx.layout.HorizontalLayout;
 import mx.layout.VerticalLayout;
@@ -261,13 +262,6 @@
         {
             if ("selected" in renderer)
                 renderer.selected = selected;
-            else
-            {
-                // TODO: localize below (and other messages)
-                throw new Error("The item renderer needs to support the \"selected\" property " +
-                        "for selection to work.  An easy way to accomplish this is by wrapping " +
-                        "your component in a DefaultComplexItemRenderer");
-            }
         }
     }

@@ -440,7 +434,7 @@
     {
         // Multiple selection needs to be added here....

-        selectedIndex = dataGroup.getRendererItem(event.currentTarget);
+        selectedIndex = dataGroup.getRendererItem(event.currentTarget as IVisualElement);
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 7862
Author:   jszeto@adobe.com
Date:     2009-06-15T22:06:23.250745Z

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

mx.core.AdvancedLayoutFeatures
•	Rename layer -> depth
•	Rename offsets -> postLayoutTransformOffsets

mx.core.IVisualElement
•	Rename layer -> depth

mx.core.UIComponent
•	Rename offsets -> postLayoutTransformOffsets
•	Rename layer -> depth

mx.graphics.GradientBase
•	Remove scaleX

mx.graphics.GradientStroke
•	Add apply(g:Graphics, bounds:Rectangle)

mx.graphics.IStroke
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.graphics.LinearGradient
•	Add scaleX

mx.graphics.LinearGradientStroke
•	Add scaleX
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.graphics.RadialGradient
•	Add scaleX

mx.graphics.RadialGradientStroke
•	Add scaleX
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.graphics.SolidColorStroke
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.flash.UIMovieClip
•	Rename offsets -> postLayoutTransformOffsets
•	Rename layer -> depth

spark.components.PopUpAnchor
•	Change popUp type from UIComponent -> IFlexDisplayObject
•	Rename positionPopUp -> calculatePopUpPosition
•	Rename autoSizePopUpWidth -> popUpWidthMatchesAnchorWidth
•	Rename autoSizePopUpHeight -> popUpHeightMatchesAnchorHeight

spark.core.RelativePosition
•	Rename and move spark.core.RelativePosition -> spark.components.PopUpPosition
•	Rename EXACT -> TOP_LEFT (topLeft)

spark.core.SpriteVisualElement
•	Rename layer -> depth
•	Remove computeMatrix

spark.primitives.BitmapImage
•	Change _NORMAL_UINT from protected -> private
•	Change _REPEAT_UINT from protected -> private
•	Change _SCALE_UINT from protected -> private
•	Change resizeModeToUINT from protected -> private
•	Rename drawElement -> draw

spark.primitives.Line
•	Rename skipMeasure -> canSkipMeasurement
•	Rename drawElement -> draw

spark.primitives.Path
•	Change graphicsPath fro protected -> mx_internal
•	Rename skipMeasure -> canSkipMeasurement
•	Rename drawElement -> draw
•	Rename renderGraphicsAtScale -> generateGraphicsPath
•	Change generateGraphicsPath from protected -> mx_internal
•	Rename notifyElementLayerChanged -> invalidateDisplayObjectSharing

spark.primitives.Rect
•	Rename drawElement -> draw

spark.primitives.supportClasses.GraphicElement
•	Rename layer -> depth
•	Rename offsets -> postLayoutTransformOffsets
•	Rename getBitmapData -> captureBitmapData
•	Rename notifyElementLayerChanged -> invalidateDisplayObjectSharing
•	Rename skipMeasure -> canSkipMeasurement
•	Add protected hasComplexLayoutMatrix:Boolean getter
•	Remove target
•	Remove computeMatrix
•	Change DEFAULT_MAX_WIDTH from public -> private
•	Change DEFAULT_MAX_HEIGHT from public -> private
•	Change DEFAULT_MIN_WIDTH from public -> private
•	Change DEFAULT_MIN_HEIGHT from public -> private
•	Change allocateLayoutFeatures from protected -> mx_internal
•	Change invalidateTransform from protected -> private
•	Change captureBitmapData from public -> mx_internal
•	Change applyMaskType from protected -> mx_internal
•	Change dispatchPropertyChangeEvent from protected -> private
•	Change applyComputedTransform from protected -> mx_internal
•	Change filterChangedHandler from protected -> private

spark.supportClasses.StrokedElement
•	Rename drawElement -> draw
•	Remove getStroke()
•	Add getStrokeExtents() override

QE Notes: None
Doc Notes: None
Bugs: N/A
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Line.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/FilledElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/IFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/IStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/Rect.as
+++ frameworks/projects/spark/src/spark/primitives/Rect.as
@@ -11,7 +11,6 @@

 package spark.primitives
 {
-import flash.events.EventDispatcher;
 import flash.display.Graphics;
 import flash.geom.Matrix;
 import flash.geom.Point;
@@ -19,7 +18,10 @@

 import mx.core.mx_internal;
 import mx.utils.MatrixUtil;
+
 import spark.primitives.supportClasses.FilledElement;
+
+use namespace mx_internal;

 /**
  *  The Rect class is a filled graphic element that draws a rectangle.
@@ -146,7 +148,7 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    override protected function drawElement(g:Graphics):void
+    override protected function draw(g:Graphics):void
     {
         if (radiusX != 0 && radiusY != 0)
             g.drawRoundRect(drawX, drawY, width, height, radiusX * 2, radiusY * 2);
@@ -161,12 +163,9 @@
                                                         height:Number,
                                                         postLayoutTransform:Boolean = true):Number
     {
-        if (postLayoutTransform)
-        {
-            var m:Matrix = computeMatrix();
-            if (m)
-                width = getRoundRectBoundingBox(width, height, radiusX, radiusY, m).width;
-        }
+        if (postLayoutTransform && hasComplexLayoutMatrix)
+            width = getRoundRectBoundingBox(width, height, radiusX, radiusY,
+            								layoutFeatures.layoutMatrix).width;

         // Take stroke into account
         return width + getStrokeExtents(postLayoutTransform).x;
@@ -179,12 +178,9 @@
                                                          height:Number,
                                                          postLayoutTransform:Boolean = true):Number
     {
-        if (postLayoutTransform)
-        {
-            var m:Matrix = computeMatrix();
-            if (m)
-                height = getRoundRectBoundingBox(width, height, radiusX, radiusY, m).height;
-        }
+        if (postLayoutTransform && hasComplexLayoutMatrix)
+            height = getRoundRectBoundingBox(width, height, radiusX, radiusY,
+            								 layoutFeatures.layoutMatrix).height;

         // Take stroke into account
         return height + getStrokeExtents(postLayoutTransform).y;
@@ -201,7 +197,7 @@
     override public function getBoundsXAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
     {
         var strokeExtents:Point = getStrokeExtents(postLayoutTransform);
-        var m:Matrix = postLayoutTransform ? computeMatrix() : null;
+        var m:Matrix = getComplexMatrix(postLayoutTransform);
         if (!m)
             return strokeExtents.x * -0.5 + this.x;

@@ -235,7 +231,7 @@
     override public function getBoundsYAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
     {
         var strokeExtents:Point = getStrokeExtents(postLayoutTransform);
-        var m:Matrix = postLayoutTransform ? computeMatrix() : null;
+        var m:Matrix = getComplexMatrix(postLayoutTransform);
         if (!m)
             return strokeExtents.y * -0.5 + this.y;

@@ -264,12 +260,9 @@
     override public function getLayoutBoundsX(postLayoutTransform:Boolean = true):Number
     {
         var stroke:Number = -getStrokeExtents(postLayoutTransform).x * 0.5;
-        if (postLayoutTransform)
-        {
-            var m:Matrix = computeMatrix();
-            if (m)
-                return stroke + getRoundRectBoundingBox(width, height, radiusX, radiusY, m).x;
-        }
+        if (postLayoutTransform && hasComplexLayoutMatrix)
+            return stroke + getRoundRectBoundingBox(width, height, radiusX, radiusY,
+            										layoutFeatures.layoutMatrix).x;

         return stroke + this.x;
     }
@@ -280,12 +273,9 @@
     override public function getLayoutBoundsY(postLayoutTransform:Boolean = true):Number
     {
         var stroke:Number = - getStrokeExtents(postLayoutTransform).y * 0.5;
-        if (postLayoutTransform)
-        {
-            var m:Matrix = computeMatrix();
-            if (m)
-                return stroke + getRoundRectBoundingBox(width, height, radiusX, radiusY, m).y;
-        }
+        if (postLayoutTransform && hasComplexLayoutMatrix)
+            return stroke + getRoundRectBoundingBox(width, height, radiusX, radiusY,
+            										layoutFeatures.layoutMatrix).y;

         return stroke + this.y;
     }


The correct amount of frames is now being output.

--- src/swf2png.as
+++ src/swf2png.as
@@ -64,6 +64,7 @@
 			outputHeight = Math.ceil(ev.target.height);
 			outfield.appendText("\nLoaded!");
 			totalFrames = loadedSwf.totalFrames;
+			outfield.appendText("\nFrame count: " + totalFrames);

 			calculateBBox();

@@ -120,11 +121,14 @@

 		//Called for every frame
 		private function step(ev:TimerEvent):void {
-			goToFrame(loadedSwf, counter);
-			saveFrame();
 			counter++;
-			if(counter > totalFrames) {
+			if(counter <= totalFrames) {
+				goToFrame(loadedSwf, counter);
+				saveFrame();
+			}
+			else {
 				timer.stop();
+				outfield.appendText("\nDone!");
 				exit(0);
 				return;
 			}


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

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

 package mx.olap
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 16500
Author:   dloverin@adobe.com
Date:     2010-06-09T12:33:11.723963Z

Log Message:
-----------
RSL bug fixes.

1.	Move mx.events.IndexChangedEvent from mx.swc back to framework.swc. Spark ButtonBarBase.as used the class.
2.	CrossDomainRSLItem – https://bugs.adobe.com/jira/browse/SDK-26635 - load all RSLs into the top-level application domain until we can implement the cooperative loading feature. This fix is needed to take advantage of the remove unused rsls feature but keep modules working. Here’s the scenario that broke:

* An application loads the spark RSL but not the OSMF RSL.
* the application loads a module that uses VideoPlayer. The module loads the OSMF RSL in its application domain but the definitions are not seen by the VideoPlayer class in the top-level app domain. The player throws a VerifyError on TimeEvent (TimeEvent is an OSMF class that VideoPlayer has an expression dependency on).
3.	Add Spark components to the HelloWorld test application so make sure spark does not gain a dependency on mx.swc.
4.	PanelAccImpl – clean up an unused import statement.

QE notes: None.
Doc notes: None.
Bugs: SDK-26635
Reviewer: Alex
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/events/IndexChangedEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/events/IndexChangedEvent.as" copyfrom-rev="16494" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/IndexChangedEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/HelloWorld.mxml</path>

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

--- frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as
+++ frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as
@@ -261,6 +261,13 @@
             context.applicationDomain = moduleFactory.info()["currentDomain"];
         else
             context.applicationDomain = ApplicationDomain.currentDomain;
+
+        // TODO (dloverin): For now, load all RSLs into the top-level application
+        // domain. Remove this code once we have cooperative loading implemented.
+        while (context.applicationDomain && context.applicationDomain.parentDomain)
+        {
+            context.applicationDomain = context.applicationDomain.parentDomain;
+        }

         context.securityDomain = null;


Transferred from the Adobe Open Source Subversion Repository

Revision: 13208
Author:   chaase@adobe.com
Date:     2009-12-23T21:49:14.524642Z

Log Message:
-----------
Dealt with my FIXMEs in the code. Some went away (no longer issues), some became TODOs (still issues, but nothing that we have to solve in this release), a couple were actually resolved in this change (like the bug filed/fixed: 24848).

QE notes: 10 failures in Mustella of tests that need to be changed. They're excluded for now and QE has local fixes.
Doc notes: None
Bugs: SDK-24848
Reviewer: Jason
Tests run: checkintests, Mustella (spark/effects, mx/effects)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/PropertyChanges.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>

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

--- frameworks/projects/framework/src/mx/effects/CompositeEffect.as
+++ frameworks/projects/framework/src/mx/effects/CompositeEffect.as
@@ -313,10 +313,11 @@
                     childEffect.filterObject = filterObject;
                 }

-				// FIXME (chaase): This doesn't seem good enough...
+				// TODO (chaase): This doesn't seem good enough...
 				// possibly redundant, but otherwise we'll be using the
 				// old semantics. Might be a better way (e.g., reuse
-				// the same semantics provider)
+				// the same semantics provider). Note that it's been
+                // working since Flex 3.
                 if (effectTargetHost) // && !childEffect.targetSemantics)
                 	childEffect.effectTargetHost = effectTargetHost;

@@ -433,7 +434,7 @@
     //
     //--------------------------------------------------------------------------

-    // FIXME (chaase): Shouldn't there be a removeChild() method
+    // TODO (chaase): Shouldn't there be a removeChild() method
     // since there's an addChild() method?

     /**


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

--- frameworks/projects/framework/src/mx/managers/ToolTipManager.as
+++ frameworks/projects/framework/src/mx/managers/ToolTipManager.as
@@ -0,0 +1,440 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.managers
+{
+
+import flash.display.DisplayObject;
+import flash.events.EventDispatcher;
+import mx.core.IToolTip;
+import mx.core.IUIComponent;
+import mx.core.Singleton;
+import mx.core.mx_internal;
+import mx.effects.IAbstractEffect;
+
+/**
+ *  The ToolTipManager lets you set basic ToolTip and error tip functionality,
+ *  such as display delay and the disabling of ToolTips.
+ *
+ *  @see mx.controls.ToolTip
+ *  @see mx.validators.Validator
+ */
+public class ToolTipManager extends EventDispatcher
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Linker dependency on implementation class.
+     */
+    private static var implClassDependency:ToolTipManagerImpl;
+
+    /**
+     *  @private
+     *  Storage for the impl getter.
+     *  This gets initialized on first access,
+     *  not at static initialization time, in order to ensure
+     *  that the Singleton registry has already been initialized.
+     */
+    private static var _impl:IToolTipManager2;
+
+    /**
+     *  @private
+     *  The singleton instance of ToolTipManagerImpl which was
+     *  registered as implementing the IToolTipManager2 interface.
+     */
+    private static function get impl():IToolTipManager2
+    {
+        if (!_impl)
+        {
+            _impl = IToolTipManager2(
+                Singleton.getInstance("mx.managers::IToolTipManager2"));
+        }
+
+        return _impl;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  currentTarget
+    //----------------------------------
+
+    /**
+     *  The UIComponent that is currently displaying a ToolTip,
+     *  or null if none is.
+     */
+    public static function get currentTarget():DisplayObject
+    {
+        return impl.currentTarget;
+    }
+
+    /**
+     *  @private
+     */
+    public static function set currentTarget(value:DisplayObject):void
+    {
+        impl.currentTarget = value;
+    }
+
+    //----------------------------------
+    //  currentToolTip
+    //----------------------------------
+
+    /**
+     *  The ToolTip object that is currently visible,
+     *  or null if none is shown.
+     */
+    public static function get currentToolTip():IToolTip
+    {
+        return impl.currentToolTip;
+    }
+
+    /**
+     *  @private
+     */
+    public static function set currentToolTip(value:IToolTip):void
+    {
+        impl.currentToolTip = value;
+    }
+
+    //----------------------------------
+    //  enabled
+    //----------------------------------
+
+    /**
+     *  If true, the ToolTipManager will automatically show
+     *  ToolTips when the user moves the mouse pointer over components.
+     *  If false, no ToolTips will be shown.
+     *
+     *  @default true
+     */
+    public static function get enabled():Boolean
+    {
+        return impl.enabled;
+    }
+
+    /**
+     *  @private
+     */
+    public static function set enabled(value:Boolean):void
+    {
+        impl.enabled = value;
+    }
+
+    //----------------------------------
+    //  hideDelay
+    //----------------------------------
+
+    /**
+     *  The amount of time, in milliseconds, that Flex waits
+     *  to hide the ToolTip after it appears.
+     *  Once Flex hides a ToolTip, the user must move the mouse
+     *  off the component and then back onto it to see the ToolTip again.
+     *  If you set hideDelay to Infinity,
+     *  Flex does not hide the ToolTip until the user triggers an event,
+     *  such as moving the mouse off of the component.
+     *
+     *  @default 10000
+     */
+    public static function get hideDelay():Number
+    {
+        return impl.hideDelay;
+    }
+
+    /**
+     *  @private
+     */
+    public static function set hideDelay(value:Number):void
+    {
+        impl.hideDelay = value;
+    }
+
+    //----------------------------------
+    //  hideEffect
+    //----------------------------------
+
+    /**
+     *  The effect that plays when a ToolTip is hidden,
+     *  or null if the ToolTip should disappear with no effect.
+     *
+     *  @default null
+     */
+    public static function get hideEffect():IAbstractEffect
+    {
+        return impl.hideEffect;
+    }
+
+    /**
+     *  @private
+     */
+    public static function set hideEffect(value:IAbstractEffect):void
+    {
+        impl.hideEffect = value;
+    }
+
+    //----------------------------------
+    //  scrubDelay
+    //----------------------------------
+
+    /**
+     *  The amount of time, in milliseconds, that a user can take
+     *  when moving the mouse between controls before Flex again waits
+     *  for the duration of showDelay to display a ToolTip.
+     *
+     *
This setting is useful if the user moves quickly from one control
+     *  to another; after displaying the first ToolTip, Flex will display
+     *  the others immediately rather than waiting.
+     *  The shorter the setting for scrubDelay, the more
+     *  likely that the user must wait for an amount of time specified
+     *  by showDelay in order to see the next ToolTip.
+     *  A good use of this property is if you have several buttons on a
+     *  toolbar, and the user will quickly scan across them to see brief
+     *  descriptions of their functionality.

+     *
+     *  @default 100
+     */
+    public static function get scrubDelay():Number
+    {
+        return impl.scrubDelay;
+    }
+
+    /**
+     *  @private
+     */
+    public static function set scrubDelay(value:Number):void
+    {
+        impl.scrubDelay = value;
+    }
+
+    //----------------------------------
+    //  showDelay
+    //----------------------------------
+
+    /**
+     *  The amount of time, in milliseconds, that Flex waits
+     *  before displaying the ToolTip box once a user
+     *  moves the mouse over a component that has a ToolTip.
+     *  To make the ToolTip appear instantly, set showDelay to 0.
+     *
+     *  @default 500
+     */
+    public static function get showDelay():Number
+    {
+        return impl.showDelay;
+    }
+
+    /**
+     *  @private
+     */
+    public static function set showDelay(value:Number):void
+    {
+        impl.showDelay = value;
+    }
+
+    //----------------------------------
+    //  showEffect
+    //----------------------------------
+
+    /**
+     *  The effect that plays when a ToolTip is shown,
+     *  or null if the ToolTip should appear with no effect.
+     *
+     *  @default null
+     */
+    public static function get showEffect():IAbstractEffect
+    {
+        return impl.showEffect;
+    }
+
+    /**
+     *  @private
+     */
+    public static function set showEffect(value:IAbstractEffect):void
+    {
+        impl.showEffect = value;
+    }
+
+    //----------------------------------
+    //  toolTipClass
+    //----------------------------------
+
+    /**
+     *  The class to use for creating ToolTips.
+     *
+     *  @default mx.controls.ToolTip
+     */
+    public static function get toolTipClass():Class
+    {
+        return impl.toolTipClass;
+    }
+
+    /**
+     *  @private
+     */
+    public static function set toolTipClass(value:Class):void
+    {
+        impl.toolTipClass = value;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Registers a target UIComponent or UITextField, and the text
+     *  for its ToolTip, with the ToolTipManager.
+     *  This causes the ToolTipManager to display a ToolTip
+     *  when the mouse hovers over the target.
+     *
+     *
This method is called by the setter
+     *  for the toolTip property in UIComponent and UITextField.

+     *
+     *  @param target The UIComponent or UITextField that owns the ToolTip.
+     *
+     *  @param toolTip The text to display in the ToolTip.
+     *  If null, no ToolTip will be displayed when the mouse hovers
+     *  over the target.
+     */
+    mx_internal static function registerToolTip(target:DisplayObject,
+                                                oldToolTip:String,
+                                                newToolTip:String):void
+    {
+        impl.registerToolTip(target, oldToolTip, newToolTip);
+    }
+
+    /**
+     *  Registers a target UIComponent, and the text
+     *  for its error tip, with the ToolTipManager.
+     *  This causes the ToolTipManager to display an error tip
+     *  when the mouse hovers over the target.
+     *
+     *
This method is called by the setter
+     *  for the errorString property in UIComponent.

+     *
+     *  @param target The UIComponent or UITextField that owns the ToolTip.
+     *
+     *  @param toolTip The text to display in the ToolTip.
+     *  If null, no ToolTip will be displayed when the mouse hovers
+     *  over the target.
+     */
+    mx_internal static function registerErrorString(target:DisplayObject,
+                                                    oldErrorString:String,
+                                                    newErrorString:String):void
+    {
+        impl.registerErrorString(target, oldErrorString, newErrorString);
+    }
+
+    /**
+     *  @private
+     *  Objects added to the SystemManager's ToolTip layer don't get
+     *  automatically measured or sized, so ToolTipManager has to
+     *  measure it and set its size.
+     */
+    mx_internal static function sizeTip(toolTip:IToolTip):void
+    {
+        impl.sizeTip(toolTip);
+    }
+
+    /**
+     *  Creates an instance of the ToolTip class with the specified text
+     *  and displays it at the specified location in stage coordinates.
+     *
+     *
ToolTips appear in their own layer, on top of everything
+     *  except cursors.

+     *
+     *
The standard way of using ToolTips is to let the ToolTipManager
+     *  automatically show and hide them as the user moves the mouse over
+     *  the objects that have the toolTip property set.
+     *  You can turn off this automatic ToolTip management by setting
+     *  the ToolTipManager's enabled property to
+     *  false.

+     *
+     *
By contrast, this method—along with destroyToolTip()—gives
+     *  you programmatic control over ToolTips.
+     *  You can show them when and where you choose,
+     *  and you can even show more than one at once if you need to.
+     *  (The ToolTipManager never does this, because it is generally
+     *  confusing to the user).

+     *
+     *
This method first creates a new instance of ToolTip and calls the
+     *  addChild() method to put it into the SystemManager's
+     *  toolTips layer.
+     *  If you are showing an error tip, it sets the appropriate styles.
+     *  Then it sets the text for the ToolTip, sizes the ToolTip based on
+     *  its text, and positions it where you specified.

+     *
+     *
You must save the reference to the ToolTip that this method
+     *  returns so that you can pass it to the destroyToolTip() method.

+     *
+     *  @param text The text to display in the ToolTip instance.
+     *
+     *  @param x The horizontal coordinate of the ToolTip in stage coordinates.
+     *  In case of multiple stages, the relevant stage is determined
+     *  from the context argument.
+     *
+     *  @param y The vertical coordinate of the ToolTip in stage coordinates.
+     *  In case of multiple stages, the relevant stage is determined
+     *  from the context argument.
+     *
+     *  @param errorTipBorderStyle The border style of an error tip. This method
+     *  argument can be null, "errorTipRight", "errorTipAbove", or "errorTipBelow".
+     *  If it is null, then the createToolTip() method creates a normal ToolTip. If it is
+     *  "errorTipRight", "errorTipAbove", or "errorTipBelow", then the createToolTip()
+     *  method creates an error tip, and this parameter determines where the arrow
+     *  of the error tip points to (the error's target). For example, if you pass "errorTipRight", Flex
+     *  positions the error tip (via the x and y arguments) to the
+     *  right of the error target; the arrow is on the left edge of the error tip.
+     *
+     *  @param context This property is not currently used.
+     *
+     *  @return The newly created ToolTip.
+     *
+     */
+    public static function createToolTip(text:String, x:Number, y:Number,
+                                         errorTipBorderStyle:String = null,
+                                         context:IUIComponent = null):IToolTip
+    {
+        return impl.createToolTip(text, x, y, errorTipBorderStyle, context);
+    }
+
+    /**
+     *  Destroys a specified ToolTip that was created by the createToolTip() method.
+     *
+     *
This method calls the removeChild() method to remove the specified
+     *  ToolTip from the SystemManager's ToolTips layer.
+     *  It will then be garbage-collected unless you keep a
+     *  reference to it.

+     *
+     *
You should not call this method on the ToolTipManager's
+     *  currentToolTip.

+     *
+     *  @param toolTip The ToolTip instance to destroy.
+     */
+    public static function destroyToolTip(toolTip:IToolTip):void
+    {
+        return impl.destroyToolTip(toolTip);
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 17253
Author:   klin@adobe.com
Date:     2010-08-10T17:34:23.909933Z

Log Message:
-----------
PARB changes for ConstraintLayout. Made setColumnWidths and setRowHeights to be mx_internal instead of protected.

QE notes: No
Doc notes: No
Bugs: No
Reviewer: Tom
Tests run: checkintests, Form
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as

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

--- frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as
+++ frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as
@@ -529,11 +529,23 @@
     }

     /**
+     *  @private
+     *  This function is mx_internal so that FormItemLayout can use it
+     *  in its updateDisplayList.
+     */
+    mx_internal function checkUseVirtualLayout():void
+    {
+        if (useVirtualLayout)
+            throw new Error(ResourceManager.getInstance().getString("layout", "constraintLayoutNotVirtualized"));
+    }
+
+    /**
+     *  @private
      *  Used to set new column widths before laying out the elements.
      *  Used by FormItemLayout to set column widths provided by the
      *  Form.
      */
-    protected function setColumnWidths(value:Vector.<Number>):void
+    mx_internal function setColumnWidths(value:Vector.<Number>):void
     {
         if (value == null)
             return;
@@ -551,9 +563,10 @@
     }

     /**
+     *  @private
      *  Used to set new row heights before laying out the elements.
      */
-    protected function setRowHeights(value:Vector.<Number>):void
+    mx_internal function setRowHeights(value:Vector.<Number>):void
     {
         if (value == null)
             return;
@@ -568,17 +581,6 @@
             constraintRows[i].y = totalHeight;
             totalHeight += value[i];
         }
-    }
-
-    /**
-     *  @private
-     *  This function is mx_internal so that FormItemLayout can use it
-     *  in its updateDisplayList.
-     */
-    mx_internal function checkUseVirtualLayout():void
-    {
-        if (useVirtualLayout)
-            throw new Error(ResourceManager.getInstance().getString("layout", "constraintLayoutNotVirtualized"));
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 4737
Author:   hmuller@adobe.com
Date:     2009-01-29T19:59:54.250675Z

Log Message:
-----------
Fixed CENTER,RIGHT alignment in virtual VERTICAL,HORIZONTAL

QE Notes:
Doc Notes: None
Bugs: sdk-18659
Reviewer: Ryan

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

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

--- frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -899,14 +899,14 @@
     }

     //  - virtual layout only -
-    private function calculateElementY(elt:ILayoutElement, eltHeight:Number, contentHeight:Number):Number
+    private function calculateElementY(elt:ILayoutElement, eltHeight:Number, containerHeight:Number):Number
     {
        switch(verticalAlign)
        {
            case VerticalAlign.MIDDLE:
-               return (contentHeight - eltHeight) * 0.5;
+               return (containerHeight - eltHeight) * 0.5;
            case VerticalAlign.BOTTOM:
-               return contentHeight - eltHeight;
+               return containerHeight - eltHeight;
        }
        return 0;  // VerticalAlign.TOP
     }
@@ -938,12 +938,12 @@
      *  following is true:
      *
      *  - If verticalAlign is "middle" then y is set so that the element's preferred
-     *  height is centered within the contentHeight:
-     *      y = (contentHeight - layoutElementHeight) * 0.5
+     *  height is centered within the larget of the contentHeight and the target's height:
+     *      y = (Math.max(contentHeight, target.height) - layoutElementHeight) * 0.5
      *
      *  - If verticalAlign is "bottom" the y is set so that the element's bottom
      *  edge is aligned with the the bottom edge of the content:
-     *      y = (contentHeight - layoutElementHeight)
+     *      y = (Math.max(contentHeight, target.height) - layoutElementHeight)
      *
      *  Implementation note: unless verticalAlign is either "justify" or
      *  "top", the layout elements' y or height depends on the contentHeight.
@@ -971,6 +971,7 @@

         layoutTarget.beginVirtualLayout(startIndex);
         var contentHeight:Number = llv.minorSize;
+        var containerHeight:Number = Math.max(contentHeight, targetHeight);
         var x:Number = llv.start(startIndex);
         var index:int = startIndex;

@@ -981,7 +982,7 @@
             var elt:ILayoutElement = layoutTarget.getLayoutElementAt(index);
             var w:Number = (isNaN(fixedColumnWidth)) ? elt.getPreferredBoundsWidth() : fixedColumnWidth;
             var h:Number = calculateElementHeight(elt, targetHeight, contentHeight);
-            var y:Number = calculateElementY(elt, h, contentHeight);
+            var y:Number = calculateElementY(elt, h, containerHeight);
             elt.setLayoutBoundsPosition(x, y);
             elt.setLayoutBoundsSize(w, h);
             llv.cacheDimensions(index, elt);
@@ -994,13 +995,14 @@
         if (llv.minorSize != contentHeight)
         {
             contentHeight = llv.minorSize;
+            containerHeight = Math.max(contentHeight, targetHeight);
             if ((verticalAlign != VerticalAlign.TOP) && (verticalAlign != VerticalAlign.JUSTIFY))
             {
                 for (index = startIndex; index <= endIndex; index++)
                 {
                     elt = layoutTarget.getLayoutElementAt(index);
                     h = calculateElementHeight(elt, targetHeight, contentHeight);
-                    y = calculateElementY(elt, h, contentHeight);
+                    y = calculateElementY(elt, h, containerHeight);
                     elt.setLayoutBoundsPosition(elt.getLayoutBoundsX(), y);
                     elt.setLayoutBoundsSize(elt.getLayoutBoundsWidth(), h);
                 }
@@ -1025,7 +1027,7 @@
         // If verticalAlign is top, we don't need to figure out the contentHeight.
         // Otherwise the contentHeight is used to position the element and even size
         // the element if it's "contentJustify" or "justify".
-        var contentHeight:Number = targetHeight;
+        var containerHeight:Number = targetHeight;

         // TODO: in the middle or bottom case, we end up calculating percentHeight
@@ -1045,7 +1047,7 @@
                 else
                     layoutElementHeight = layoutElement.getPreferredBoundsHeight();

-                contentHeight = Math.max(contentHeight, layoutElementHeight);
+                containerHeight = Math.max(containerHeight, layoutElementHeight);
             }
         }

@@ -1057,7 +1059,7 @@
         if (verticalAlign == VerticalAlign.JUSTIFY)
             restrictedHeight = targetHeight;
         else if (verticalAlign == VerticalAlign.CONTENT_JUSTIFY)
-            restrictedHeight = contentHeight;
+            restrictedHeight = containerHeight;

         distributeWidth(targetWidth, targetHeight, restrictedHeight);

@@ -1090,7 +1092,7 @@
                 continue;

             // Set the layout element's position
-            var y:Number = (contentHeight - layoutElement.getLayoutBoundsHeight()) * vAlign;
+            var y:Number = (containerHeight - layoutElement.getLayoutBoundsHeight()) * vAlign;
             layoutElement.setLayoutBoundsPosition(x, y);

             // Update maxX,Y, first,lastVisibleIndex, and x


update default augbubble icon

update default augbubble icon

--- flexEditor/src/org/arisgames/editor/util/AppConstants.as
+++ flexEditor/src/org/arisgames/editor/util/AppConstants.as
@@ -139,7 +139,7 @@
     public static const DEFAULT_ICON_MEDIA_ID_ITEM:Number = 2;
     public static const DEFAULT_ICON_MEDIA_ID_PLAQUE:Number = 3;
 	public static const DEFAULT_ICON_MEDIA_ID_WEBPAGE:Number = 4;
-	public static const DEFAULT_ICON_MEDIA_ID_AUGBUBBLE:Number = 2;
+	public static const DEFAULT_ICON_MEDIA_ID_AUGBUBBLE:Number = 5;

 	// Palette Tree Stuff
 	public static const PALETTE_TREE_SELF_FOLDER_ID:Number = 0;


Fix for AAC segment start time detection.

--- HLSPlugin/src/com/kaltura/hls/m2ts/M2TSFileHandler.as
+++ HLSPlugin/src/com/kaltura/hls/m2ts/M2TSFileHandler.as
@@ -401,7 +401,7 @@
 				//trace("Writing AAC Tag @ " + timestampSeconds)
 				_segmentLastSeconds = timestampSeconds;

-				if(_segmentBeginSeconds < 0)
+				if(timestampSeconds < _segmentBeginSeconds)
 				{
 					_segmentBeginSeconds = timestampSeconds;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


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

--- frameworks/projects/framework/src/mx/core/IMXMLObject.as
+++ frameworks/projects/framework/src/mx/core/IMXMLObject.as
@@ -17,6 +17,11 @@
  *  must implement in order to work properly with the MXML compiler.
  *  Currently, the only supported method is the initialized()
  *  method.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public interface IMXMLObject
 {
@@ -36,6 +41,11 @@
 	 *  to this object.
 	 *  If the object is a deep property on document,
 	 *  id is null.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function initialized(document:Object, id:String):void;
 }


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

--- frameworks/projects/framework/src/mx/logging/LogEvent.as
+++ frameworks/projects/framework/src/mx/logging/LogEvent.as
@@ -19,6 +19,11 @@
  *  The loging system dispatches a single event each time a process requests
  *  information be logged.
  *  This event can be captured by any object for storage or formatting.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class LogEvent extends Event
 {
@@ -32,6 +37,11 @@

     /**
      *  Event type constant; identifies a logging event.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static const LOG:String = "log";

@@ -47,6 +57,11 @@
      *  @param The level a string is desired for.
 	 *
      *  @return The level specified in English.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function getLevelString(value:uint):String
     {
@@ -120,6 +135,11 @@
      *
LogEventLevel.ALL intended to force a target to
      *    process all messages.

      *

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function LogEvent(message:String = "",
 							 level:int = 0 /* LogEventLevel.ALL */)
@@ -161,6 +181,11 @@
      *
LogEventLevel.FATAL designates events that are very
      *      harmful and will eventually lead to application failure.

      *

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var level:int;

@@ -170,6 +195,11 @@

     /**
      *  Provides access to the message that was logged.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var message:String;


Transferred from the Adobe Open Source Subversion Repository

Revision: 11336
Author:   egeorgie@adobe.com
Date:     2009-10-30T22:04:36.973964Z

Log Message:
-----------
Cleanup ListItemDragProxy and add support for dragging from 3D layouts.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Ryan
Tests run: checkintests, mustella (ListDragDrop)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListItemDragProxy.as</path>

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

--- frameworks/projects/framework/src/mx/utils/MatrixUtil.as
+++ frameworks/projects/framework/src/mx/utils/MatrixUtil.as
@@ -14,8 +14,12 @@

 import flash.display.DisplayObject;
 import flash.geom.Matrix;
+import flash.geom.Matrix3D;
+import flash.geom.PerspectiveProjection;
 import flash.geom.Point;
 import flash.geom.Rectangle;
+import flash.geom.Utils3D;
+import flash.geom.Vector3D;
 import flash.utils.getDefinitionByName;

 [ExcludeClass]
@@ -425,6 +429,56 @@
 	}

 	/**
+	 *  Returns the axis aligned bounding box bounds transformed
+	 *  with matrix and then projected with projection.
+	 *
+	 *  @param bounds The bounds, in child coordinates, to be transformed and projected.
+	 *  @param matrix
The transformation matrix. Note that the method will clobber the
+	 *  original matrix values.

+	 *  @param projection The projection.
+	 *  @return Returns the bounds parameter that has been updated with the
+	 *  transformed and projected bounds.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public static function projectBounds(bounds:Rectangle,
+										 matrix:Matrix3D,
+										 projection:PerspectiveProjection):Rectangle
+	{
+		// Setup the matrix
+		var centerX:Number = projection.projectionCenter.x;
+		var centerY:Number = projection.projectionCenter.y;
+		matrix.appendTranslation(-centerX, -centerY, projection.focalLength);
+		matrix.append(projection.toMatrix3D());
+
+		// Project the corner points
+		var pt1:Vector3D = new Vector3D(bounds.left, bounds.top, 0);
+		var pt2:Vector3D = new Vector3D(bounds.right, bounds.top, 0)
+		var pt3:Vector3D = new Vector3D(bounds.left, bounds.bottom, 0);
+		var pt4:Vector3D = new Vector3D(bounds.right, bounds.bottom, 0);
+		pt1 = Utils3D.projectVector(matrix, pt1);
+		pt2 = Utils3D.projectVector(matrix, pt2);
+		pt3 = Utils3D.projectVector(matrix, pt3);
+		pt4 = Utils3D.projectVector(matrix, pt4);
+
+		// Find the bounding box in 2D
+		var maxX:Number = Math.max(Math.max(pt1.x, pt2.x), Math.max(pt3.x, pt4.x));
+		var minX:Number = Math.min(Math.min(pt1.x, pt2.x), Math.min(pt3.x, pt4.x));
+		var maxY:Number = Math.max(Math.max(pt1.y, pt2.y), Math.max(pt3.y, pt4.y));
+		var minY:Number = Math.min(Math.min(pt1.y, pt2.y), Math.min(pt3.y, pt4.y));
+
+		// Add back the projection center
+		bounds.x = minX + centerX;
+		bounds.y = minY + centerY;
+		bounds.width = maxX - minX;
+		bounds.height = maxY - minY;
+		return bounds;
+	}
+
+	/**
 	 *  @param matrix
 	 *  @return Returns true when pt == matrix.DeltaTransformPoint(pt)
 	 *  for any pt:Point (matrix is identity matrix,
@@ -437,10 +491,8 @@
 	 */
 	public static function isDeltaIdentity(matrix:Matrix):Boolean
 	{
-	    if (matrix.a == 1 && matrix.d == 1 &&
-	    	matrix.b == 0 && matrix.c == 0)
-            return true;
-        return false;
+	    return (matrix.a == 1 && matrix.d == 1 &&
+	    	    matrix.b == 0 && matrix.c == 0);
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 7200
Author:   egeorgie@adobe.com
Date:     2009-05-21T22:44:22.206867Z

Log Message:
-----------
Fix bug http://bugs.adobe.com/jira/browse/SDK-21326 [ASDoc] mx.utils.MatrixUtil class is missing descriptions

Fix: Mark class as private, exclude from docs, delete some unused code.

QE Notes: None
Doc Notes: None
Bugs: SDK-21326
Reviewer: Hans
tests: build, checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/utils/MatrixUtil.as
+++ frameworks/projects/framework/src/mx/utils/MatrixUtil.as
@@ -17,15 +17,14 @@
 import flash.geom.Point;
 import flash.geom.Rectangle;

+[ExcludeClass]
+
 /**
- *  Documentation is not currently available.
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
+ *  @private
+ *  The MatrixUtil class is for internal use only.
+ *  Class for matrix and geometric related math routines.
  */
-public class MatrixUtil
+public final class MatrixUtil
 {
     include "../core/Version.as";

@@ -49,7 +48,7 @@
         m.translate(-transformX, -transformY);
         m.scale(scaleX, scaleY);
         if (rotation != 0)
-            m.rotate(rotationInRadians(rotation));
+            m.rotate(rotation / 180 * Math.PI);
         m.translate(transformX + x, transformY + y);
         return m;
     }
@@ -115,35 +114,6 @@
 		}
 	}

-    public static function applyTransforms(target:DisplayObject, matrix:Matrix = null,
-                                                x:Number = NaN, y:Number = NaN,
-                                                scaleX:Number = NaN, scaleY:Number = NaN,
-                                                rotation:Number = NaN,
-                                                transformX:Number = NaN, transformY:Number = NaN):void
-    {
-        if (matrix == null)
-        {
-            var newX:Number = !isNaN(x) ? x : target.x;
-            var newY:Number = !isNaN(y) ? y : target.y;
-            var newScaleX:Number = !isNaN(scaleX) ? scaleX : target.scaleX;
-            var newScaleY:Number = !isNaN(scaleY) ? scaleY : target.scaleY;
-            var newRotation:Number = !isNaN(rotation) ? rotation : target.rotation;
-            transformX = isNaN(transformX) ? 0 : transformX;
-            transformY = isNaN(transformY) ? 0 : transformY;
-			target.transform.matrix = composeMatrix(newX, newY, newScaleX, newScaleY, newRotation, transformX, transformY);
-		}
-		else
-		{
-			target.transform.matrix = matrix;
-		}
-	}
-
-	public static function rotationInRadians(value:Number):Number
-	{
-		return value / 180 * Math.PI;
-	}
-
-
     /**
      *  @return Returns the union of rect and
      *  Rectangle(left, top, right - left, bottom - top).
@@ -353,7 +323,6 @@
 	    return pt1;
 	}

-
 	/**
 	 *  @param bounds width and height to be transformed.
 	 *  @param matrix The transfomration matrix.
@@ -415,7 +384,6 @@
 	 */
 	public static function isDeltaIdentity(matrix:Matrix):Boolean
 	{
-	    // TODO EGeorgie: 2.5D support
 	    if( matrix.a == 1 && matrix.d == 1 &&
 	    	matrix.b == 0 && matrix.c == 0)
             return true;


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

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

 package mx.utils
 {


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 5110
Author:   dsubrama@adobe.com
Date:     2009-02-27T18:33:07.234761Z

Log Message:
-----------
Bugfixes:

SDK-15413: Fix ASDoc for DateChooser.displayedYear. Also removed legacy @helpid, @tiptext ASDoc directives.

SDK-18682: Ensure selectedItem and selectedItems show up in code hints for List-based components.

SDK-19485: requiresSelection and allowMultipleSelection are legit properties on List now. Multiple selection support is coming in a subsequent checkin, but now list doesn't RTE when those two props are set.

QA: Yes, tests for requiresSelection should be added to the Spark List testsuite.
Checkintests: Yes, pass
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.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/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxListBase.as</path>

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

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

     [Bindable("change")]
     [Bindable("valueCommit")]
-    [Inspectable(environment="none")]
+    [Inspectable(category="General", defaultValue="null")]

     /**
      *  A reference to the selected item in the data provider.
@@ -3462,7 +3462,7 @@

     [Bindable("change")]
     [Bindable("valueCommit")]
-    [Inspectable(environment="none")]
+    [Inspectable(category="General")]

     /**
      *  An array of references to the selected items in the data provider. The