Transferred from the Adobe Open Source Subversion Repository

Revision: 5097
Author:   gauravj@adobe.com
Date:     2009-02-27T02:06:23.424936Z

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:
--------------
<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/controls/fileSystemClasses/FileSystemTreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.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/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemControlHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemRawChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemChildrenList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>

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

--- frameworks/projects/airframework/src/mx/core/Window.as
+++ frameworks/projects/airframework/src/mx/core/Window.as
@@ -55,6 +55,10 @@
  *  Dispatched when this application gets activated.
  *
  *  @eventType mx.events.AIREvent.APPLICATION_ACTIVATE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="applicationActivate", type="mx.events.AIREvent")]

@@ -62,6 +66,10 @@
  *  Dispatched when this application gets deactivated.
  *
  *  @eventType mx.events.AIREvent.APPLICATION_DEACTIVATE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="applicationDeactivate", type="mx.events.AIREvent")]

@@ -69,6 +77,10 @@
  *  Dispatched after the window has been activated.
  *
  *  @eventType mx.events.AIREvent.WINDOW_ACTIVATE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="windowActivate", type="mx.events.AIREvent")]

@@ -76,6 +88,10 @@
  *  Dispatched after the window has been deactivated.
  *
  *  @eventType mx.events.AIREvent.WINDOW_DEACTIVATE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="windowDeactivate", type="mx.events.AIREvent")]

@@ -85,6 +101,10 @@
  *  @eventType flash.events.Event.CLOSE
  *
  *  @see flash.display.NativeWindow
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="close", type="flash.events.Event")]

@@ -95,6 +115,10 @@
  *  @eventType flash.events.Event.CLOSING
  *
  *  @see flash.display.NativeWindow
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="closing", type="flash.events.Event")]

@@ -103,6 +127,10 @@
  *  to minimize, maximize or restore.
  *
  *  @eventType flash.events.NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="displayStateChange", type="flash.events.NativeWindowDisplayStateEvent")]

@@ -111,6 +139,10 @@
  *  to minimize, maximize or restore.
  *
  *  @eventType flash.events.NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGING
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="displayStateChanging", type="flash.events.NativeWindowDisplayStateEvent")]

@@ -119,6 +151,10 @@
  *  and while the window is being dragged.
  *
  *  @eventType flash.events.NativeWindowBoundsEvent.MOVING
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="moving", type="flash.events.NativeWindowBoundsEvent")]

@@ -126,6 +162,10 @@
  *  Dispatched when the computer connects to or disconnects from the network.
  *
  *  @eventType flash.events.Event.NETWORK_CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="networkChange", type="flash.events.Event")]

@@ -134,6 +174,10 @@
  *  while the Window object boundaries are being dragged.
  *
  *  @eventType flash.events.NativeWindowBoundsEvent.RESIZING
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="resizing", type="flash.events.NativeWindowBoundsEvent")]

@@ -142,6 +186,10 @@
  *  and opens the underlying NativeWindow.
  *
  *  @eventType mx.events.AIREvent.WINDOW_COMPLETE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="windowComplete", type="mx.events.AIREvent")]

@@ -149,6 +197,10 @@
  *  Dispatched after the window moves.
  *
  *  @eventType mx.events.FlexNativeWindowBoundsEvent.WINDOW_MOVE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="windowMove", type="mx.events.FlexNativeWindowBoundsEvent")]

@@ -156,6 +208,10 @@
  *  Dispatched after the underlying NativeWindow is resized.
  *
  *  @eventType mx.events.FlexNativeWindowBoundsEvent.WINDOW_RESIZE
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="windowResize", type="mx.events.FlexNativeWindowBoundsEvent")]

@@ -176,6 +232,10 @@
  *  right on Windows.

  *
  *  @default "auto"
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="buttonAlignment", type="String", enumeration="left,right,auto", inherit="yes")]

@@ -183,6 +243,10 @@
  *  Defines the distance between the titleBar buttons.
  *
  *  @default 2
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="buttonPadding", type="Number", inherit="yes")]

@@ -190,6 +254,10 @@
  *  Skin for close button when using Flex chrome.
  *
  *  @default mx.skins.halo.WindowCloseButtonSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="closeButtonSkin", type="Class", inherit="no",states="up, over, down, disabled")]

@@ -198,6 +266,10 @@
  *  plus the padding around the edges is the hit area for the gripper resizing.
  *
  *  @default 3
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="gripperPadding", type="Number", format="Length", inherit="no")]

@@ -205,6 +277,10 @@
  *  Style declaration for the skin of the gripper.
  *
  *  @default "gripperStyle"
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="gripperStyleName", type="String", inherit="no")]

@@ -214,6 +290,10 @@
  *  heights, and the icon height.
  *
  *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="headerHeight", type="Number", format="Length", inherit="no")]

@@ -221,6 +301,10 @@
  *  Skin for maximize button when using Flex chrome.
  *
  *  @default mx.skins.halo.WindowMaximizeButtonSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="maximizeButtonSkin", type="Class", inherit="no",states="up, over, down, disabled")]

@@ -228,6 +312,10 @@
  *  Skin for minimize button when using Flex chrome.
  *
  *  @default mx.skins.halo.WindowMinimizeButtonSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="minimizeButtonSkin", type="Class", inherit="no",states="up, over, down, disabled")]

@@ -236,6 +324,10 @@
  *  This style is ignored for Mac OS X.
  *
  *  @default mx.skins.halo.WindowRestoreButtonSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="restoreButtonSkin", type="Class", inherit="no",states="up, over, down, disabled")]

@@ -244,6 +336,10 @@
  *  to draw chrome. Changing this style once the window is open has no effect.
  *
  *  @default true
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="showFlexChrome", type="Boolean", inherit="no")]

@@ -251,6 +347,10 @@
  *  The colors used to draw the status bar.
  *
  *  @default 0xC0C0C0
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="statusBarBackgroundColor", type="uint", format="Color", inherit="yes")]

@@ -258,6 +358,10 @@
  *  The status bar background skin.
  *
  *  @default mx.skins.halo.StatusBarBackgroundSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="statusBarBackgroundSkin", type="Class", inherit="yes")]

@@ -265,6 +369,10 @@
  *  Style declaration for the status text.
  *
  *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="statusTextStyleName", type="String", inherit="yes")]

@@ -281,6 +389,10 @@
  *  at the left on Windows and at the center on Mac OS X.

  *
  *  @default "auto"
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="titleAlignment", type="String", enumeration="left,center,auto", inherit="yes")]

@@ -288,6 +400,10 @@
  *  The title background skin.
  *
  *  @default mx.skins.halo.ApplicationTitleBarBackgroundSkin
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="titleBarBackgroundSkin", type="Class", inherit="yes")]

@@ -296,6 +412,10 @@
  *  edge of the title bar.
  *
  *  @default 5
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="titleBarButtonPadding", type="Number", inherit="true")]

@@ -308,6 +428,10 @@
  *  panel background.
  *
  *  @default [ 0x000000, 0x000000 ]
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="titleBarColors", type="Array", arrayType="uint", format="Color", inherit="yes")]

@@ -315,6 +439,10 @@
  *  The style name for the title text.
  *
  *  @default undefined
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Style(name="titleTextStyleName", type="String", inherit="yes")]

@@ -324,16 +452,28 @@

 /**
  *  Played when the window is closed.
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Effect(name="closeEffect", event="windowClose")]

 /**
  *  Played when the component is minimized.
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Effect(name="minimizeEffect", event="windowMinimize")]

 /**
  *  Played when the component is unminimized.
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Effect(name="unminimizeEffect", event="windowUnminimize")]

@@ -352,6 +492,10 @@
  *  This factoryClass will be automatically subclassed by any
  *  MXML applications that don't explicitly specify a different
  *  factoryClass.
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Frame(factoryClass="mx.managers.WindowedSystemManager")]

@@ -472,6 +616,10 @@
  *
  *  @see mx.core.WindowedApplication
  *
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class Window extends LayoutContainer implements IWindow
 {
@@ -515,6 +663,10 @@
      *  Returns the Window to which a component is parented.
      *
      *  @param component the component whose Window you wish to find.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function getWindow(component:UIComponent):Window
     {
@@ -532,6 +684,10 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function Window()
     {
@@ -741,6 +897,10 @@

     /**
      *  Specifies the maximum height of the application's window.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function set maxHeight(value:Number):void
     {
@@ -782,6 +942,10 @@

     /**
      *  Specifies the maximum width of the application's window.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function set maxWidth(value:Number):void
     {
@@ -811,6 +975,10 @@

     /**
      *  Specifies the minimum height of the application's window.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get minHeight():Number
     {
@@ -852,6 +1020,10 @@

     /**
      *  Specifies the minimum width of the application's window.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get minWidth():Number
     {
@@ -891,6 +1063,10 @@
      *  or hide event.

      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get visible():Boolean
     {
@@ -1042,6 +1218,10 @@
      *  order.
      *
      *  @see flash.display.NativeWindow#alwaysInFront
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get alwaysInFront():Boolean
     {
@@ -1105,6 +1285,10 @@

     /**
      *  A flag indicating whether the window has been closed.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get closed():Boolean
     {
@@ -1120,6 +1304,10 @@
      *
      *  @see mx.containers.ApplicationControlBar
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var controlBar:IUIComponent;

@@ -1137,6 +1325,10 @@
      *  Specifies whether the window can be maximized.
      *  This property's value is read-only after the window
      *  has been opened.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get maximizable():Boolean
     {
@@ -1171,6 +1363,10 @@
     //----------------------------------
     /**
      *  Returns the cursor manager for this Window.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function get cursorManager():ICursorManager
     {
@@ -1195,6 +1391,10 @@
      *  The window menu for this window.
      *  Some operating systems do not support window menus,
      *  in which case this property is ignored.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function set menu(value:FlexNativeMenu):void
     {
@@ -1216,6 +1416,10 @@
      *  Specifies whether the window can be minimized.
      *  This property is read-only after the window has
      *  been opened.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get minimizable():Boolean
     {
@@ -1241,6 +1445,10 @@

     /**
      *  The underlying NativeWindow that this Window component uses.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get nativeWindow():NativeWindow
     {
@@ -1264,6 +1472,10 @@
      *  Specifies whether the window can be resized.
      *  This property is read-only after the window
      *  has been opened.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get resizable():Boolean
     {
@@ -1308,6 +1520,10 @@
      *  in that case.

      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get showGripper():Boolean
     {
@@ -1335,6 +1551,10 @@

     /**
      *  Storage for the showStatusBar property.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var _showStatusBar:Boolean = true;

@@ -1347,6 +1567,10 @@
      *  If true, the status bar is visible.
      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get showStatusBar():Boolean
     {
@@ -1374,6 +1598,10 @@

     /**
      *  Storage for the showTitleBar property.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var _showTitleBar:Boolean = true;

@@ -1386,6 +1614,10 @@
      *  If true, the window's title bar is visible.
      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get showTitleBar():Boolean
     {
@@ -1428,6 +1660,10 @@
      *  The string that appears in the status bar, if it is visible.
      *
      *  @default ""
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get status():String
     {
@@ -1462,6 +1698,10 @@

     /**
      *  The UIComponent that displays the status bar.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get statusBar():UIComponent
     {
@@ -1492,6 +1732,10 @@
      *
      *
If you write a custom status bar class, it should expose
      *  a public property named status.

+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get statusBarFactory():IFactory
     {
@@ -1526,6 +1770,10 @@
      *  Set of styles to pass from the window to the status bar.
      *
      *  @see mx.styles.StyleProxy
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function get statusBarStyleFilters():Object
     {
@@ -1553,6 +1801,10 @@
      *
      *  @see flash.display.NativeWindowSystemChrome
      *  @see flash.display.NativeWindowInitOptions#systemChrome
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get systemChrome():String
     {
@@ -1594,6 +1846,10 @@
      *  the taskbar.
      *
      *  @default ""
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get title():String
     {
@@ -1628,6 +1884,10 @@

     /**
      *  The UIComponent that displays the title bar.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get titleBar():UIComponent
     {
@@ -1659,6 +1919,10 @@
      *
If you write a custom title bar class, it should expose
      *  public properties named titleIcon
      *  and title.

+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get titleBarFactory():IFactory
     {
@@ -1703,6 +1967,10 @@
      *  Set of styles to pass from the Window to the titleBar.
      *
      *  @see mx.styles.StyleProxy
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function get titleBarStyleFilters():Object
     {
@@ -1730,6 +1998,10 @@
      *  The Class (usually an image) used to draw the title bar icon.
      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get titleIcon():Class
     {
@@ -1768,6 +2040,10 @@
      *  system chrome is not supported.
      *
      *
This property is read-only after the window has been opened.

+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get transparent():Boolean
     {
@@ -1808,6 +2084,10 @@
      *
      *  @see flash.display.NativeWindowType
      *  @see flash.display.NativeWindowInitOptions#type
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get type():String
     {
@@ -2393,6 +2673,10 @@

     /**
      *  Closes the window. This action is cancelable.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function close():void
     {
@@ -2456,6 +2740,10 @@

     /**
      *  Maximizes the window, or does nothing if it's already maximized.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function maximize():void
     {
@@ -2479,6 +2767,10 @@

     /**
      *  Minimizes the window.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function minimize():void
     {
@@ -2497,6 +2789,10 @@
     /**
      *  Restores the window (unmaximizes it if it's maximized, or
      *  unminimizes it if it's minimized).
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function restore():void
     {
@@ -2529,6 +2825,10 @@
     /**
      *  Activates the underlying NativeWindow (even if this Window's application
      *  is not currently active).
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function activate():void
     {
@@ -2542,6 +2842,10 @@
      *  @param  openWindowActive specifies whether the Window opens
      *  activated (that is, whether it has focus). The default value
      *  is true.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function open(openWindowActive:Boolean = true):void
     {
@@ -2560,6 +2864,10 @@
      *
      *  @return true if the window was succesfully sent behind;
      *          false if the window is invisible or minimized.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function orderInBackOf(window:IWindow):Boolean
     {
@@ -2579,6 +2887,10 @@
      *
      *  @return true if the window was succesfully sent in front;
      *          false if the window is invisible or minimized.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function orderInFrontOf(window:IWindow):Boolean
     {
@@ -2593,6 +2905,10 @@
      *
      *  @return true if the window was succesfully sent to the back;
      *  false if the window is invisible or minimized.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function orderToBack():Boolean
     {
@@ -2607,6 +2923,10 @@
      *
      *  @return true if the window was succesfully sent to the front;
      *  false if the window is invisible or minimized.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function orderToFront():Boolean
     {
@@ -2797,6 +3117,10 @@

     /**
      *  Manages mouse down events on the window border.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     protected function mouseDownHandler(event:MouseEvent):void
     {


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

--- frameworks/projects/mx/src/mx/effects/AddItemAction.as
+++ frameworks/projects/mx/src/mx/effects/AddItemAction.as
@@ -0,0 +1,122 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 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.effects
+{
+
+import mx.core.mx_internal;
+import mx.effects.effectClasses.PropertyChanges;
+import mx.effects.effectClasses.AddItemActionInstance;
+import mx.controls.listClasses.ListBase;
+
+use namespace mx_internal;
+
+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+[Exclude(name="duration", kind="property")]
+
+/**
+ *  The AddItemAction class defines an action effect that determines
+ *  when the item renderer appears in the control for an item being added
+ *  to a list-based control, such as List or TileList,
+ *  or for an item that replaces an existing item in the control.
+ *  You can use this class as part of defining custom data effect for the
+ *  list-based classes.
+ *
+ *  @mxml
+ *
+ *
The <mx:AddItemAction> tag
+ *  inherits all of the tag attributes of its superclass,
+ *  and adds no new tag attributes:

+ *
+ *

+ *  <mx:AddItemAction
+ *  />
+ *

+ *
+ *  @see mx.effects.effectClasses.AddItemActionInstance
+ *
+ *  @includeExample examples/AddItemActionEffectExample.mxml
+ */
+public class AddItemAction extends Effect
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private static var AFFECTED_PROPERTIES:Array = [ "parent"];
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+//  public var effectHost:ListBase = null
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param target The Object to animate with this effect.
+     */
+    public function AddItemAction(target:Object = null)
+    {
+        super(target);
+
+        instanceClass = AddItemActionInstance;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function getAffectedProperties():Array /* of String */
+    {
+        return AFFECTED_PROPERTIES;
+    }
+
+    /**
+     *  @private
+     */
+    override protected function initInstance(instance:IEffectInstance):void
+    {
+        super.initInstance(instance);
+
+        var actionInstance:AddItemActionInstance  =
+            AddItemActionInstance(instance);
+
+//      actionInstance.effectHost = effectTargetHost;
+    }
+
+    // might be other methods we need to override here, but it's not at
+    // all clear that they will be applicable.
+}
+
+}


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 17346
Author:   hmuller@adobe.com
Date:     2010-08-17T16:00:02.081763Z

Log Message:
-----------
DataGrid performance optimization: don't zero the size of non-GridItemRenderer grid elements before they're added to the free-list.

Fixed @default typo for Grid/requestedRowCount

QE notes:
Doc notes:
Bugs:
Reviewer: Carol
Tests run: checkin, mustella cyclone
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -1078,7 +1078,7 @@
          *
If the actual size of the grid has been explicitly set,
          *  then this property has no effect.

          *
-         *  @default -1
+         *  @default 10
          *
          *  @langversion 3.0
          *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 18757
Author:   jszeto@adobe.com
Date:     2010-11-20T00:07:16.054622Z

Log Message:
-----------
ComboBox CTRL unselect bug fix

http://bugs.adobe.com/jira/browse/SDK-28615 - ComboBox CTRL unselect doesn't work

The selectedIndex was committed after a delay, which was too late for the ComboBox. Changed the logic to immediately commit the selectedIndex if we are in mouse mode and we don't support dragging.

QE notes: none
Doc notes: none
Bugs: SDK-28615
Reviewer: Ryan
Tests run: checktests, cyclone
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/List.as
+++ frameworks/projects/spark/src/spark/components/List.as
@@ -1692,9 +1692,17 @@
             // are in touch interactionMode, we need to delay the item renderer highlight for a bit
             if ((event.ctrlKey && selectedIndex == newIndex) || getStyle("interactionMode") == InteractionMode.TOUCH)
             {
-                pendingSelectionOnMouseUp = true;
-                pendingSelectionCtrlKey = event.ctrlKey;
-                pendingSelectionShiftKey = event.shiftKey;
+                // Immediately unselect if we don't support dragging.
+                if (!dragEnabled && getStyle("interactionMode") != InteractionMode.TOUCH)
+                {
+                    setSelectedIndex(NO_SELECTION, true);
+                }
+                else
+                {
+                    pendingSelectionOnMouseUp = true;
+                    pendingSelectionCtrlKey = event.ctrlKey;
+                    pendingSelectionShiftKey = event.shiftKey;
+                }
             }
             else
 			{


WireframeDebugController wouldn't work if the target is already added in the scene.

--- src/aerys/minko/scene/controller/debug/WireframeDebugController.as
+++ src/aerys/minko/scene/controller/debug/WireframeDebugController.as
@@ -37,7 +37,10 @@
 		private function targetAddedHandler(ctrl	: WireframeDebugController,
 											target	: Mesh) : void
 		{
-			target.added.add(addedHandler);
+			if (target.scene)
+				addedHandler(target, target.parent);
+			else
+				target.added.add(addedHandler);
 			target.removed.add(removedHandler);
 		}


Fail earlier here if we have no _clobj. I have been seeing this in testing,
though annoyingly now I can't reproduce it. Call Heisenberg!

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

--- src/as/com/threerings/presents/client/InvocationDirector.as
+++ src/as/com/threerings/presents/client/InvocationDirector.as
@@ -181,6 +181,10 @@
      */
     public function sendRequest (invOid :int, invCode :int, methodId :int, args :Array) :void
     {
+        if (_clobj == null) { // sanitus checkem
+            throw new Error("Can't send invocation request, have no ClientObject.");
+        }
+
         // configure any invocation listener marshallers among the args
         for each (var arg :Object in args) {
             if (arg is InvocationMarshaller_ListenerMarshaller) {


Gave moveTo() and moveBy() moveCollideX/Y() callback functions and add left, right, bottom, and top properties to Entity.

--- net/flashpunk/Entity.as
+++ net/flashpunk/Entity.as
@@ -54,16 +54,6 @@
 		public var originY:int;

 		/**
-		 * Optional callback for horizontal collision using moveTo() or moveBy().
-		 */
-		public var callbackX:Function;
-
-		/**
-		 * Optional callback for vertical collision using moveTo() or moveBy().
-		 */
-		public var callbackY:Function;
-
-		/**
 		 * The BitmapData target to draw the Entity to. Leave as null to render to the current screen buffer (default).
 		 */
 		public var renderTarget:BitmapData;
@@ -412,6 +402,26 @@
 		public function get centerY():Number { return y - originY + height / 2; }

 		/**
+		 * The leftmost position of the Entity's hitbox.
+		 */
+		public function get left():Number { return x - originX; }
+
+		/**
+		 * The rightmost position of the Entity's hitbox.
+		 */
+		public function get right():Number { return x - originX + width; }
+
+		/**
+		 * The topmost position of the Entity's hitbox.
+		 */
+		public function get top():Number { return y - originY; }
+
+		/**
+		 * The bottommost position of the Entity's hitbox.
+		 */
+		public function get bottom():Number { return y - originY + height; }
+
+		/**
 		 * The rendering layer of this Entity. Higher layers are rendered first.
 		 */
 		public function get layer():int { return _layer; }
@@ -606,14 +616,14 @@
 				var sign:int, e:Entity;
 				if (x != 0)
 				{
-					if (sweep || collide(solidType, this.x + x, this.y))
+					if (collidable && (sweep || collide(solidType, this.x + x, this.y)))
 					{
 						sign = x > 0 ? 1 : -1;
 						while (x != 0)
 						{
-							if (collide(solidType, this.x + sign, this.y))
+							if ((e = collide(solidType, this.x + sign, this.y)))
 							{
-								if (callbackX != null) callbackX();
+								moveCollideX(e);
 								break;
 							}
 							else
@@ -627,14 +637,14 @@
 				}
 				if (y != 0)
 				{
-					if (sweep || collide(solidType, this.x, this.y + y))
+					if (collidable && (sweep || collide(solidType, this.x, this.y + y)))
 					{
 						sign = y > 0 ? 1 : -1;
 						while (y != 0)
 						{
-							if (collide(solidType, this.x, this.y + sign))
+							if ((e = collide(solidType, this.x, this.y + sign)))
 							{
-								if (callbackY != null) callbackY();
+								moveCollideY(e);
 								break;
 							}
 							else
@@ -664,6 +674,40 @@
 		public function moveTo(x:Number, y:Number, solidType:String = null, sweep:Boolean = false):void
 		{
 			moveBy(x - this.x, y - this.y, solidType, sweep);
+		}
+
+		/**
+		 * Moves towards the target position, retaining integer values for its x and y.
+		 * @param	x			X target.
+		 * @param	y			Y target.
+		 * @param	amount		Amount to move.
+		 * @param	solidType	An optional collision type to stop flush against upon collision.
+		 * @param	sweep		If sweeping should be used (prevents fast-moving objects from going through solidType).
+		 */
+		public function moveTowards(x:Number, y:Number, amount:Number, solidType:String = null, sweep:Boolean = false):void
+		{
+			FP.point.x = x - this.x;
+			FP.point.y = y - this.y;
+			FP.point.normalize(amount);
+			moveBy(FP.point.x, FP.point.y, solidType, sweep);
+		}
+
+		/**
+		 * When you collide with an Entity on the x-axis with moveTo() or moveBy().
+		 * @param	e		The Entity you collided with.
+		 */
+		public function moveCollideX(e:Entity):void
+		{
+
+		}
+
+		/**
+		 * When you collide with an Entity on the y-axis with moveTo() or moveBy().
+		 * @param	e		The Entity you collided with.
+		 */
+		public function moveCollideY(e:Entity):void
+		{
+
 		}

 		/**


I-frame splicing much more robust, preserves AVCC.

--- HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
+++ HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
@@ -123,6 +123,7 @@
 		private var bufferFeedMin:Number = 1.0; // How many seconds to actually keep fed into the native buffer.
 		private var bufferFeedAmount:Number = 0.1; // How many seconds of data to feed when we feed.
 		private var scanningForIFrame:Boolean = false; // When true, we are scanning video tags until we hit a keyframe/I-frame.
+		private var scanningForIFrame_avcc:FLVTagVideo; // Holds the AVCC for the I-frame we are finding; used to splice stream.
 		private var bufferParser:FLVParser = new FLVParser(false); // Used to parse incoming FLV stream to buffer. TODO: Refactor to be unnecessary.
 		private var needPendingSort:Boolean = false; // Set when we detect a new tag that's not after the last one, to save on resorts.
 		private var endAfterPending:Boolean = false;
@@ -2081,7 +2082,7 @@
 								if (vTagVideo.codecID == FLVTagVideo.CODEC_ID_AVC && vTagVideo.avcPacketType == FLVTagVideo.AVC_PACKET_TYPE_NALU)
 								{
 									// for H.264 we need to move the timestamp forward but the composition time offset backwards to compensate
-									var adjustment:int = tag.timestamp - vTagVideo.timestamp; // how far we are adjusting - no need to unwrap since it's a delta
+									var adjustment:int = wrapTagTimestampToFLVTimestamp(tag.timestamp) - wrapTagTimestampToFLVTimestamp(vTagVideo.timestamp); // how far we are adjusting - no need to unwrap since it's a delta
 									var compTime:int = vTagVideo.avcCompositionTimeOffset;
 									compTime -= adjustment; // do the adjustment
 									vTagVideo.avcCompositionTimeOffset = compTime;	// save adjustment
@@ -2126,7 +2127,7 @@
 						lastWrittenTime = wrapTagTimestampToFLVTimestamp(tag.timestamp) / 1000.0;

 						// We are safe to consume the script data tags now.
-						doConsumeAllScriptDataTags(tag.timestamp);
+						doConsumeAllScriptDataTags(wrapTagTimestampToFLVTimestamp(tag.timestamp));

 					}

@@ -2135,13 +2136,13 @@
 					tag.write(bytes);
 					_flvParserProcessed += bytes.length;

+					// Need to keep _initialTime up to date and we return below.
 					if (isNaN(_initialTime))
 					{
 						trace("Setting new _initialTime of " + currentTime);
 						_initialTime = currentTime;
 					}

-					//logger.debug("[1] APPEND BYTES tag.timestamp=" + tag.timestamp + " length=" + bytes.length);
 					attemptAppendBytes(bytes);

 					if (_playForDuration >= 0)
@@ -2168,6 +2169,7 @@
 			// finally, pass this one on to appendBytes...
 			var bytes:ByteArray = new ByteArray();
 			tag.write(bytes);
+
 			//logger.debug("[2] APPEND BYTES tag.timestamp=" + tag.timestamp + " length=" + bytes.length);
 			attemptAppendBytes(bytes);
 			_flvParserProcessed += bytes.length;
@@ -2409,6 +2411,12 @@
 			while((super.bufferLength <= (bufferFeedMin + bufferFeedAmount) || _wasBufferEmptied)
 			      && (pendingTags.length - curTagOffset) > 0)
 			{
+				if(curTagOffset > 100 && _wasBufferEmptied)
+				{
+					trace("Avoiding loading entire pending tag list when dealing with an empty buffer event scenario.");
+					break;
+				}
+
 				// Append some tags, using utility function to ensure we get tags
 				// always in right priority order when they occur at same time.
 				var tag:FLVTag = extractNextTagToWriteToBuffer(curTagOffset);
@@ -2609,7 +2617,7 @@
 				{
 					CONFIG::LOGGING
 					{
-						logger.debug("Suppressing potential I-frame scan due to no existing video tags.");
+						logger.debug("Suppressing potential I-frame scan due to no pre-existing video tags.");
 					}

 					timeDelta = 0;
@@ -2627,7 +2635,8 @@
 					scanningForIFrame = true;
 				}

-				// Skip totally implausible tags.
+				// Skip totally implausible tags - we need to splice which means the splice must happen after
+				// tags we have fed into the flash decoder.
 				if(!scanningForIFrame &&
 					pendingTags.length > 0 && realTimestamp < wrapTagTimestampToFLVTimestamp(pendingTags[0].timestamp))
 				{
@@ -2635,6 +2644,9 @@

 					if(isTagAVCC(vTag) == false)
 					{
+						// Note for later use when we splice.
+						scanningForIFrame_avcc = vTag;
+
 						CONFIG::LOGGING
 						{
 							logger.debug("   - I-FRAME SCAN and reject due to impossible time (" + vTag.timestamp + " < " + pendingTags[0].timestamp + ")");
@@ -2655,53 +2667,46 @@
 				// Skip until we find our I-frame.
 				if(scanningForIFrame && !isIFrame)
 				{
-					if(isTagAVCC(vTag) == false)
-					{
-						CONFIG::LOGGING
-						{
-							logger.debug("   - SKIPPING non-I-FRAME");
-						}
-
-						return true;
-					}
-					else
-					{
-						// Always pass AVCC info.
-						CONFIG::LOGGING
-						{
-							logger.debug("    - preserving AVCC during I-frame scan");
-						}
-					}
+					// Note latest AVCC for splicing.
+					if(isTagAVCC(vTag))
+						scanningForIFrame_avcc = vTag;
+
+					CONFIG::LOGGING
+					{
+						logger.debug("   - SKIPPING non-I-FRAME");
+					}
+
+					return true;
 				}

 				if(scanningForIFrame && isIFrame)
 				{
 					CONFIG::LOGGING
 					{
-						logger.debug("   + GOT I-FRAME");
+						logger.debug("   + GOT I-FRAME @ " + realTimestamp);
 					}

 					scanningForIFrame = false;

-					// Drop video frames until we get to before
-					// the timestamp of this I-frame. Then add
-					// this frame as normal.
+					// Make sure our tags are in order before splicing.
+					ensurePendingSorted();
+
+					// We want to splice our new video segment starting from the first i-frame
+					// onto the old buffered content. So we go into the pending tags list and
+					// drop all the video tags that come after the I-frame we are inserting.
 					for(var i:int=pendingTags.length-1; i>=0 && pendingTags.length > 0; i--)
 					{
 						// Extra sanity since we are mutating the list.
 						if(i > pendingTags.length - 1)
 							i = pendingTags.length - 1;

-						// Consider every video tag.
+						// Consider every video tag. Audio is handled elsewhere.
 						var potentialFilterTag:FLVTagVideo = pendingTags[i] as FLVTagVideo;
 						if(!potentialFilterTag)
 							continue;

-						if(isTagAVCC(potentialFilterTag))
-							continue;
-
-						// Stop scanning once we find tag before our tag.
-						if(wrapTagTimestampToFLVTimestamp(pendingTags[i].timestamp as int) <= wrapTagTimestampToFLVTimestamp(vTag.timestamp as int))
+						// Stop dropping frames once we find a video tag before the video tag we want to splice.
+						if(wrapTagTimestampToFLVTimestamp(potentialFilterTag.timestamp) < realTimestamp)
 							break;

 						// Remove this tag, update i.
@@ -2714,8 +2719,7 @@
 						i++;
 					}

-					// We know next thing we write will be somewhere crazy as we
-					// ate the whole buffer.
+					// Did we write the whole buffer? Then clue the decoder that we're probably jumping time.
 					if(pendingTags.length == 0)
 					{
 						CONFIG::LOGGING
@@ -2724,7 +2728,25 @@
 						}

 						appendBytesAction(NetStreamAppendBytesAction.RESET_SEEK);
-						_initialTime = NaN;
+						_initialTime = realTimestamp / 1000;
+					}
+
+					// Insert the AVCC at the I-frame's timestamp.
+					if(scanningForIFrame_avcc)
+					{
+						// We don't have to re-check sorting because this timestamp
+						// is identical to the tag next to be added - so it will always
+						// trip the sort check below.
+						scanningForIFrame_avcc.timestamp = tag.timestamp;
+						pendingTags.push(scanningForIFrame_avcc);
+						scanningForIFrame_avcc = null;
+					}
+					else
+					{
+						CONFIG::LOGGING
+						{
+							logger.debug("   o Had no AVCC when splicing I-frame.");
+						}
 					}

 					// Drop through to let tag be added.
@@ -2732,7 +2754,8 @@
 			}

 			// Add to the queue, marking if we need to resort.
-			if(pendingTags.length > 0
+			if(!needPendingSort
+				&& pendingTags.length > 0
 				&& (wrapTagTimestampToFLVTimestamp(tag.timestamp)
 					- wrapTagTimestampToFLVTimestamp(pendingTags[pendingTags.length-1].timestamp)) <= 0)
 			{
@@ -2761,6 +2784,8 @@

 		static protected function pendingSortCallback(a:FLVTag, b:FLVTag):int
 		{
+			// We don't have to unwrap here because it's a subtractive comparison -
+			// so wrapping works OK.
 			const aTime:int = wrapTagTimestampToFLVTimestamp(a.timestamp);
 			const bTime:int = wrapTagTimestampToFLVTimestamp(b.timestamp);


Removing done TODO

Removing done TODO

--- driver/src/main/flex/org/postgresql/log/AbstractLogTarget.as
+++ driver/src/main/flex/org/postgresql/log/AbstractLogTarget.as
@@ -26,7 +26,7 @@

          public function AbstractLogTarget() {
             format = '%d %t [%l]: %c - %m (%n): %s';
-            // TODO: replace with non-Flex utility classes
+
              _dateFormatter = new DateFormatter();
              _dateFormatter.formatString = 'YYYY-MM-DD';


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

--- frameworks/projects/mx/src/mx/accessibility/TabBarAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/TabBarAccImpl.as
@@ -0,0 +1,404 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.accessibility
+{
+
+import flash.accessibility.Accessibility;
+import flash.events.Event;
+import mx.containers.TabNavigator;
+import mx.controls.TabBar;
+import mx.controls.tabBarClasses.Tab;
+import mx.core.UIComponent;
+import mx.core.mx_internal;
+
+use namespace mx_internal;
+
+/**
+ *  The TabBarAccImpl class is the accessibility class for TabBar and TabNavigator.
+ *
+ *  @helpid
+ *  @tiptext This is the TabNavigator Accessibility Class.
+ *  @review
+ */
+public class TabBarAccImpl extends AccImpl
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class initialization
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Static variable triggering the hookAccessibility() method.
+	 *  This is used for initializing TabBarAccImpl class to hook its
+	 *  createAccessibilityImplementation() method to TabBar class
+	 *  before it gets called from UIComponent.
+	 */
+	private static var accessibilityHooked:Boolean = hookAccessibility();
+
+	/**
+	 *  @private
+	 *  Static method for swapping the createAccessibilityImplementation()
+	 *  method of TabBar with TabBarAccImpl class.
+	 */
+	private static function hookAccessibility():Boolean
+	{
+		TabBar.createAccessibilityImplementation =
+			createAccessibilityImplementation;
+
+		return true;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private static const ROLE_SYSTEM_PAGETAB:uint = 0x25;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_FOCUSABLE:uint = 0x00100000;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_FOCUSED:uint = 0x00000004;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_SELECTABLE:uint = 0x00200000;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_SELECTED:uint = 0x00000002;
+
+	/**
+	 *  @private
+	 */
+	private static const EVENT_OBJECT_FOCUS:uint = 0x8005;
+
+	/**
+	 *  @private
+	 */
+	private static const EVENT_OBJECT_SELECTION:uint = 0x8006;
+
+	/**
+	 *  @private
+	 */
+	private static const MAX_NUM:uint = 100000;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Method for creating the Accessibility class.
+	 *  This method is called from UIComponent.
+	 *  @review
+	 */
+	mx_internal static function createAccessibilityImplementation(
+								component:UIComponent):void
+	{
+		component.accessibilityImplementation =
+			new TabBarAccImpl(component);
+	}
+
+	/**
+	 *  Method call for enabling accessibility for a component.
+	 *  This method is required for the compiler to activate
+	 *  the accessibility classes for a component.
+	 */
+	public static function enableAccessibility():void
+	{
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param master The UIComponent instance that this AccImpl instance
+	 *  is making accessible.
+	 */
+	public function TabBarAccImpl(master:UIComponent)
+	{
+		super(master);
+
+		role = 0x3C;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden properties: AccImpl
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  eventsToHandle
+	//----------------------------------
+
+	/**
+	 *  @private
+	 *	Array of events that we should listen for from the master component.
+	 */
+	override protected function get eventsToHandle():Array
+	{
+		return super.eventsToHandle.concat([ "itemClick", "focusDraw" ]);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: AccessibilityImplementation
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Gets the role for the component.
+	 *
+	 *  @param childID children of the component
+	 */
+	override public function get_accRole(childID:uint):uint
+	{
+		if (childID == 0)
+			return role;
+
+		return ROLE_SYSTEM_PAGETAB;
+	}
+
+	/**
+	 *  @private
+	 *  IAccessible method for returning the state of the Tabs.
+	 *  States are predefined for all the components in MSAA. Values are assigned to each state.
+	 *  Depending upon the Tab being Focusable, Focused and Moveable, a value is returned.
+	 *  @review
+	 *
+	 *  @param childID:uint
+	 *
+	 *  @return STATE:uint
+	 */
+	override public function get_accState(childID:uint):uint
+	{
+		var accState:uint = getState(childID);
+
+		var tabBar:TabBar = TabBar(master);
+
+		if (childID > 0)
+		{
+			accState = STATE_SYSTEM_SELECTABLE | STATE_SYSTEM_FOCUSABLE;
+
+			var index:int = childID < MAX_NUM ?
+					childID - 1 : childID - MAX_NUM - 1;
+
+			if (index == tabBar.selectedIndex)
+				accState |= STATE_SYSTEM_SELECTED;
+
+			if (index == tabBar.focusedIndex)
+				accState |= STATE_SYSTEM_FOCUSED;
+		}
+		return accState;
+	}
+
+	/**
+	 *  @private
+	 *  IAccessible method for returning the Default Action.
+	 *
+	 *  @param childID uint
+	 *
+	 *  @return focused childID.
+	 */
+	override public function get_accDefaultAction(childID:uint):String
+	{
+		return "Switch";
+	}
+
+	/**
+	 *  @private
+	 *  IAccessible method for executing the Default Action.
+	 *
+	 *  @param childID uint
+	 *
+	 *  @return focused childID.
+	 */
+	override public function accDoDefaultAction(childID:uint):void
+	{
+		if (childID > 0)
+		{
+			var index:int = childID < MAX_NUM ?
+						    childID - 1 :
+							childID - MAX_NUM - 1;
+
+			TabBar(master).selectButton(index, true);
+		}
+	}
+
+	/**
+	 *  @private
+	 *  Method to return the childID Array.
+	 *
+	 *  @return Array
+	 */
+	override public function getChildIDArray():Array
+	{
+		var childIDs:Array = [];
+
+		var n:int = TabBar(master).numChildren;
+		for (var i:int = 0; i < n; i++)
+		{
+			childIDs[i] = i + 1;
+		}
+
+		return childIDs;
+	}
+
+	/**
+	 *  @private
+	 *  IAccessible method for returning the bounding box of the Tabs.
+	 *  @review
+	 *
+	 *  @param childID:uint
+	 *
+	 *  @return Location:Object
+	 */
+	override public function accLocation(childID:uint):*
+	{
+		var index:int = childID < MAX_NUM ?
+						childID - 1 :
+						childID - MAX_NUM - 1;
+
+		return TabBar(master).getChildAt(index);
+	}
+
+	/**
+	 *  @private
+	 *  IAccessible method for returning the childFocus of the TabBar.
+	 *
+	 *  @param childID uint
+	 *
+	 *  @return focused childID.
+	 */
+	override public function get_accFocus():uint
+	{
+		var index:int = TabBar(master).focusedIndex;
+
+		return index >= 0 ? index + 1 : 0;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: AccImpl
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  method for returning the name of the Tab
+	 *  which is spoken out by the screen reader.
+	 *
+	 *  @param childID:uint
+	 *
+	 *  @return Name:String
+	 */
+	override protected function getName(childID:uint):String
+	{
+		if (childID == 0)
+			return "";
+
+		var name:String;
+
+		var tabBar:TabBar = TabBar(master);
+		// Assuming childID is always ItemID + 1
+		// because getChildIDArray is not always invoked.
+		var index:int = childID < MAX_NUM ?
+						childID - 1 :
+						childID - MAX_NUM - 1;
+		//With new version of JAWS, when we add a new child, we get nonsense number
+		//not caught above. In this case, return last tab.
+		if (index > tabBar.numChildren || index < 0)
+			index = tabBar.numChildren -1;
+		var item:Tab = Tab(tabBar.getChildAt(index));
+
+		name = item.label;
+
+		if (index == tabBar.selectedIndex)
+			name += " Tab, Active";
+		else
+			name += " Tab";
+
+		return name;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden event handlers: AccImpl
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Override the generic event handler.
+	 *  All AccImpl must implement this to listen for events
+	 *  from its master component.
+	 */
+	override protected function eventHandler(event:Event):void
+	{
+		var index:int;
+
+		switch (event.type)
+		{
+			case "focusDraw":
+			{
+				index = TabBar(master).focusedIndex;
+
+				if (index >= 0)
+				{
+					Accessibility.sendEvent(master, index + MAX_NUM + 1,
+											EVENT_OBJECT_FOCUS);
+				}
+				break;
+			}
+
+			case "itemClick":
+			{
+				// use selectedIndex until #126565 is fixed.
+				index = TabBar(master).selectedIndex;
+
+				if (index >= 0)
+				{
+					Accessibility.sendEvent(master, index + 1,
+											EVENT_OBJECT_SELECTION);
+				}
+				break;
+			}
+		}
+	}
+}
+
+}


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

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

 package mx.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7954
Author:   hmuller@adobe.com
Date:     2009-06-18T15:43:15.080808Z

Log Message:
-----------
Range et al PARB changes, Opus #3.

@privatized the mx_internal overrides in HScrollBar.  Removed @langversion etc ASDoc boilerplate from mx_internal methods in ScrollBar, H,VScrollBar.

QE Notes: ASDoc change only
Doc Notes:
Bugs:
Reviewer:

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>

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

--- frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -281,13 +281,6 @@
      *  @private
      *  Set this scrollbar's value to the viewport's current
      *  verticalScrollPosition.
-     *
-     *  @see IViewport#verticalScrollPosition
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
      */
     override mx_internal function viewportVerticalScrollPositionChangeHandler(event:PropertyChangeEvent):void
     {
@@ -299,11 +292,6 @@
      *  @private
      *  Set this scrollbar's maximum to the viewport's contentHeight
      *  less the viewport height and its pageSize to the viewport's height.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
      */
     override mx_internal function viewportResizeHandler(event:ResizeEvent):void
     {
@@ -323,14 +311,6 @@
      *  @private
      *  Set this scrollbar's maximum to the viewport's contentHeight
      *  less the viewport height.
-     *
-     *  @see IViewport#contentWidth
-     *  @see IViewport#width
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
      */
     override mx_internal function viewportContentHeightChangeHandler(event:PropertyChangeEvent):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8509
Author:   smgilson@adobe.com
Date:     2009-07-10T17:58:51.724217Z

Log Message:
-----------
- Explicitly list the default skins for Spark components as part of the fix for SDK-18639
- Fix some bad @see links

QE Notes: None
Doc Notes: None
Bugs: - SDK-18639
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/StreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/StreamItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>

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

--- frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -54,6 +54,12 @@
  *

  *           Maximum size
  *           10000 pixels wide and 10000 pixels high
+ *

+ *

+ *           Default skin classes
+ *           spark.skins.spark.VScrollBarSkin
+ *
spark.skins.spark.VScrollBarThumbSkin

+ *
spark.skins.spark.VScrollBarTrackSkin

  *

  *

  *


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/spark/src/spark/effects/easing/Linear.as
+++ frameworks/projects/spark/src/spark/effects/easing/Linear.as
@@ -0,0 +1,136 @@
+package flex.effects.easing
+{
+/**
+ * Provides easing functionality with three phases during
+ * the animation: acceleration, constant motion, and deceleration.
+ * As the animation starts it will accelerate through the period
+ * specified by the acceleration parameter, it will
+ * then use constant (linear) motion through the next phase, and
+ * will finally decelerate until the end during the period specified
+ * by the deceleration parameter.
+ *
+ *
The easing values for the three phases will be calculated
+ * such that the behavior of constant acceleration, linear motion,
+ * and constant deceleration will all occur within the specified
+ * duration of the animation.

+ *
+ *
Note that the linear motion phase in the middle will not
+ * return the same values as a Linear unless both
+ * acceleration and deceleration are 0. That phase consists of
+ * constant motion, but the speed of that motion is determined by
+ * the size of that phase.

+ */
+public class Constant implements IEaser
+{
+    private var accelerationChanged:Boolean;
+
+    /**
+     * Storage for the acceleration property
+     */
+    private var _acceleration:Number;
+    /**
+     * The percentage at the beginning of an animation that should be
+     * spent accelerating. Acceleration must be a value from 0 (meaning
+     * no acceleration phase) to 1 (meaning the entire animation will
+     * be spent accelerating). Additionally, the acceleration and
+     * deceleration factors together must not be greater than 1.
+     *
+     * @default .2
+     */
+    public function get acceleration():Number
+    {
+        return _acceleration;
+    }
+    public function set acceleration(value:Number):void
+    {
+        _acceleration = value;
+        accelerationChanged = true;
+    }
+
+    /**
+     * Storage for the deceleration property
+     */
+    private var _deceleration:Number;
+    /**
+     * The percentage at the end of an animation that should be
+     * spent decelerating. Deceleration must be a value from 0 (meaning
+     * no deceleration phase) to 1 (meaning the entire animation will
+     * be spent decelerating). Additionally, the acceleration and
+     * deceleration factors together must not be greater than 1.
+     *
+     * @default .2
+     */
+    public function get deceleration():Number
+    {
+        return _deceleration;
+    }
+    public function set deceleration(value:Number):void
+    {
+        _deceleration = value;
+        accelerationChanged = true;
+    }
+
+    /**
+     * Constructs a Constant instance with optional acceleration and
+     * deceleration parameters.
+     */
+    public function Constant(acceleration:Number = .2, deceleration:Number = .2)
+    {
+        this.acceleration = acceleration;
+        this.deceleration = deceleration;
+    }
+
+    /**
+     * @private
+     *
+     * Separate step from setting acceleration/deceleration, to ensure that
+     * once they have both been set, they both adhere to the (a+d <= 1) rule.
+     */
+    private function commitAcceleration():void
+    {
+        accelerationChanged = false;
+        if (_acceleration + _deceleration > 1)
+        {
+            var sum:Number = _acceleration + _deceleration;
+            _acceleration /= sum;
+            _deceleration /= sum;
+            throw new Error("(acceleration + deceleration) must be within range [0,1]");
+        }
+    }
+
+    /**
+     * @inheritDoc
+     *
+     * Calculates the eased fraction value based on the
+     * acceleration and deceleration factors. If fraction
+     * is less than acceleration, it calculates a value
+     * based on accelerating up to the constant phase. If fraction
+     * is greater than acceleration and less than
+     * (1-deceleration), it calculates a value based
+     * on linear motion between the acceleration and deceleration phases.
+     * Otherwise, it calculates a value based on constant deceleration
+     * between the constant motion phase and zero.
+     *
+     * @param fraction The elapsed fraction of the animation
+     * @return The eased fraction of the animation
+     */
+    public function ease(fraction:Number):Number
+    {
+        if (accelerationChanged)
+            commitAcceleration();
+
+        var runRate:Number = 1 / (1 - acceleration/2 - deceleration/2);
+        if (fraction < acceleration)
+            return fraction * runRate * (fraction / acceleration) / 2;
+        if (fraction > (1 - deceleration))
+        {
+            var decTime:Number = fraction - (1 - deceleration);
+            var decProportion:Number = decTime / deceleration;
+            return runRate * (1 - acceleration/2 - deceleration +
+                decTime * (2 - decProportion) / 2);
+        }
+        return runRate * (fraction - acceleration/2);
+    }
+
+}
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/spark/src/spark/skins/spark/ErrorSkin.as
+++ frameworks/projects/spark/src/spark/skins/spark/ErrorSkin.as
@@ -26,6 +26,8 @@
 import mx.core.UIComponent;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
+
+use namespace mx_internal;

 /**
  *  The ErrorSkin class defines the error skin for Spark components.
@@ -154,8 +156,8 @@
         var m:Matrix = new Matrix();

         // If the error object has a focus skin, make sure it is hidden.
-        if (errorObject.mx_internal::focusObj)
-            errorObject.mx_internal::focusObj.visible = false;
+        if (errorObject.focusObj)
+            errorObject.focusObj.visible = false;

         // Temporary solution for error drawing on CheckBox and RadioButton components.
         // Hide the label before drawing the focus.
@@ -174,8 +176,8 @@
         bitmapData.draw(errorObject as IBitmapDrawable, m);

         // Show the focus skin, if needed.
-        if (errorObject.mx_internal::focusObj)
-            errorObject.mx_internal::focusObj.visible = true;
+        if (errorObject.focusObj)
+            errorObject.focusObj.visible = true;

         // Show the label, if needed.
         if (hidLabelElement)


Transferred from the Adobe Open Source Subversion Repository

Revision: 8551
Author:   clucier@adobe.com
Date:     2009-07-14T18:31:50.040886Z

Log Message:
-----------
Fix for focusSkin and errorSkin to account for bogus bitmap snapshots when objects are 3D transformed.
Bugs: SDK-17766
Reviewer: Glenn
QE Notes: None
Doc Notes: None

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ErrorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as</path>

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

--- frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as
+++ frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as
@@ -21,6 +21,7 @@
 import flash.geom.Matrix;
 import flash.geom.Point;
 import flash.geom.Rectangle;
+import flash.geom.Matrix3D;

 import mx.core.UIComponent;
 import mx.core.mx_internal;
@@ -150,6 +151,14 @@
         if (focusObject.focusObj)
             focusObject.focusObj.visible = false;

+        // Ensure no 3D transforms apply, as this skews our snapshot bitmap.
+        var transform3D:Matrix3D = null;
+        if (focusObject.transform.matrix3D)
+        {
+            transform3D = focusObject.transform.matrix3D;
+            focusObject.transform.matrix3D = null;
+        }
+
         // Temporary solution for focus drawing on CheckBox and RadioButton components.
         // Hide the label before drawing the focus.
         // FIXME (gruehle): Figure out a better solution.
@@ -214,6 +223,10 @@
         }

         bitmap.bitmapData = bitmapData;
+
+        // Restore original 3D matrix if applicable.
+        if (transform3D)
+            focusObject.transform.matrix3D = transform3D;
     }

     private static var classDefCache:Object = {};


M Fix bugs in Arcballcontroller and document it

--- src/aerys/minko/scene/controller/camera/ArcBallController.as
+++ src/aerys/minko/scene/controller/camera/ArcBallController.as
@@ -37,6 +37,9 @@
 		private var _thetaStep			: Number	= 0.01;
 		private var _phiStep			: Number	= 0.01;

+		/**
+		 * Distance between look at point and target
+		 */
 		public function get distance() : Number
 		{
 			return _distance;
@@ -46,6 +49,9 @@
 			_distance = value;
 		}

+		/**
+		 * Horizontal rotation angle (in radians)
+		 */
 		public function get theta() : Number
 		{
 			return _theta;
@@ -55,6 +61,9 @@
 			_theta = value;
 		}

+		/**
+		 * Vertical rotation angle (in radians)
+		 */
 		public function get phi() : Number
 		{
 			return _phi;
@@ -64,16 +73,25 @@
 			_phi = value;
 		}

+		/**
+		 * Position the targets will look at
+		 */
 		public function get lookAt() : Vector4
 		{
 			return _lookAt;
 		}

+		/**
+		 * Up vector the targets will rotate around
+		 */
 		public function get up() : Vector4
 		{
 			return _up;
 		}

+		/**
+		 * Minimum distance constrain between look at point and target.
+		 */
 		public function get minDistance() : Number
 		{
 			return _minDistance;
@@ -83,6 +101,9 @@
 			_minDistance = value;
 		}

+		/**
+		 * Maximum distance constrain between look at point and target.
+		 */
 		public function get maxDistance() : Number
 		{
 			return _maxDistance;
@@ -92,6 +113,9 @@
 			_maxDistance = value;
 		}

+		/**
+		 * Distance step applied to the camera when the mouse wheel is used in meters/wheel rotation unit
+		 */
 		public function get distanceStep() : Number
 		{
 			return _distanceStep;
@@ -101,6 +125,9 @@
 			_distanceStep = value;
 		}

+		/**
+		 * Horizontal angular step applied to the camera when the mouse is moved in radian/pixel
+		 */
 		public function get thetaStep() : Number
 		{
 			return _thetaStep;
@@ -110,6 +137,9 @@
 			_thetaStep = value;
 		}

+		/**
+		 * Vertical angular step applied to the camera when the mouse is moved in radian/pixel
+		 */
 		public function get phiStep() : Number
 		{
 			return _phiStep;
@@ -165,9 +195,9 @@
 					_phi = Math.PI - EPSILON;

 				_position.set(
-					_distance * Math.cos(_theta) * Math.sin(_phi) + _lookAt.x,
-					_distance * Math.cos(_phi) + _lookAt.y,
-					_distance * Math.sin(_theta) * Math.sin(_phi) + _lookAt.z
+					_lookAt.x + _distance * Math.cos(_theta) * Math.sin(_phi),
+					_lookAt.y + _distance * Math.cos(_phi),
+					_lookAt.z + _distance * Math.sin(_theta) * Math.sin(_phi)
 				);

 				TMP_MATRIX.lookAt(_lookAt, _position, _up);
@@ -191,8 +221,8 @@
 			// compute position
 			if (e.buttonDown)
 			{
-				_theta	+= (_mousePosition.x - e.stageX) / 100.0;
-				_phi	+= (_mousePosition.y - e.stageY) / 100.0;
+				_theta	+= (_mousePosition.x - e.stageX) * _thetaStep;
+				_phi	+= (_mousePosition.y - e.stageY) * _phiStep;

 				_update = true;
 			}


Tests: suppressed weird public var warning that broke the build (why would a warning do that?)

--- test/third-party/nextgenas-test/nextgenas/test/TestRunner.as
+++ test/third-party/nextgenas-test/nextgenas/test/TestRunner.as
@@ -349,6 +349,13 @@
 		this.reference = reference;
 	}

+	/**
+	 * @royalesuppresspublicvarwarning
+	 */
 	public var name:String;
+
+	/**
+	 * @royalesuppresspublicvarwarning
+	 */
 	public var reference:Function;
 }


using JS.asClass()

using JS.asClass()

--- WeaveJS/src/Weave.as
+++ WeaveJS/src/Weave.as
@@ -432,7 +432,7 @@
 			var interfaces:Array = [ILinkableObject];
 			for each (var item:* in additionalInterfaces)
 			{
-				var classDef:Class = item as Class;
+				var classDef:Class = JS.asClass(item);
 				if (item is String)
 					classDef = getDefinition(item);
 				if (!classDef)


Transferred from the Adobe Open Source Subversion Repository

Revision: 2725
Author:   rfrishbe@adobe.com
Date:     2008-08-04T18:00:35.464035Z

Log Message:
-----------
When adding the new gumbo Application class in checkin 2382, in SystemManager we added code that called document.children.contains() if Application's not an IRawChildrenContainer.  However document.children doesn't exist; it should just be document.contains() rather than document.children.contains().

Also cleaned up a few imports for IRawChildrenContainer that weren't needed in list classes.

QE: Yes
Doc: No
Bugs: SDK-16274
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>

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

--- frameworks/projects/mx/src/mx/controls/DataGrid.as
+++ frameworks/projects/mx/src/mx/controls/DataGrid.as
@@ -58,7 +58,6 @@
 import mx.core.IIMESupport;
 import mx.core.IInvalidating;
 import mx.core.IPropertyChangeNotifier;
-import mx.core.IRawChildrenContainer;
 import mx.core.IRectangularBorder;
 import mx.core.IUIComponent;
 import mx.core.ScrollPolicy;


Transferred from the Adobe Open Source Subversion Repository

Revision: 7445
Author:   gruehle@adobe.com
Date:     2009-05-29T20:51:55.035384Z

Log Message:
-----------
Replace a bunch of event name literals with constants.

Bug: SDK-21271
QA Notes:
Doc Notes:
Reviewer: Chet

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/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SoundEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ErrorSkin.as</path>

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

--- frameworks/projects/airframework/src/mx/core/WindowedApplication.as
+++ frameworks/projects/airframework/src/mx/core/WindowedApplication.as
@@ -43,6 +43,7 @@
 import mx.core.windowClasses.StatusBar;
 import mx.core.windowClasses.TitleBar;
 import mx.events.AIREvent;
+import mx.events.EffectEvent;
 import mx.events.FlexEvent;
 import mx.events.FlexNativeWindowBoundsEvent;
 import mx.managers.DragManager;
@@ -1057,7 +1058,7 @@
                     e = new FlexEvent(FlexEvent.HIDE);
                     if (getStyle("hideEffect"))
                     {
-                        addEventListener("effectEnd", hideEffectEndHandler);
+                        addEventListener(EffectEvent.EFFECT_END, hideEffectEndHandler);
                     }
                     else
                     {
@@ -2902,7 +2903,7 @@
     {
         if (!nativeWindow.closed)
             stage.nativeWindow.minimize();
-        removeEventListener("effectEnd", windowMinimizeHandler);
+        removeEventListener(EffectEvent.EFFECT_END, windowMinimizeHandler);
     }

     /**
@@ -2910,7 +2911,7 @@
      */
     private function windowUnminimizeHandler(event:Event):void
     {
-        removeEventListener("effectEnd", windowUnminimizeHandler);
+        removeEventListener(EffectEvent.EFFECT_END, windowUnminimizeHandler);
     }

     /**
@@ -2949,7 +2950,7 @@
             if (getStyle("minimizeEffect"))
             {
                 event.preventDefault();
-                addEventListener("effectEnd", windowMinimizeHandler);
+                addEventListener(EffectEvent.EFFECT_END, windowMinimizeHandler);
                 dispatchEvent(new Event("windowMinimize"));
             }
         }
@@ -2957,7 +2958,7 @@
         // After here, afterState is normal
         else if (event.beforeDisplayState == NativeWindowDisplayState.MINIMIZED)
         {
-            addEventListener("effectEnd", windowUnminimizeHandler);
+            addEventListener(EffectEvent.EFFECT_END, windowUnminimizeHandler);
             dispatchEvent(new Event("windowUnminimize"));
         }
     }
@@ -2967,7 +2968,7 @@
      */
     private function windowMaximizeHandler(event:Event):void
     {
-        removeEventListener("effectEnd", windowMaximizeHandler);
+        removeEventListener(EffectEvent.EFFECT_END, windowMaximizeHandler);
         if (!nativeWindow.closed)
             stage.nativeWindow.maximize();
     }
@@ -2977,7 +2978,7 @@
      */
     private function windowUnmaximizeHandler(event:Event):void
     {
-        removeEventListener("effectEnd", windowUnmaximizeHandler);
+        removeEventListener(EffectEvent.EFFECT_END, windowUnmaximizeHandler);
         if (!nativeWindow.closed)
             stage.nativeWindow.restore();
     }
@@ -3201,7 +3202,7 @@
      */
     private function window_closeEffectEndHandler(event:Event):void
     {
-        removeEventListener("effectEnd", window_closeEffectEndHandler);
+        removeEventListener(EffectEvent.EFFECT_END, window_closeEffectEndHandler);
         if (!nativeWindow.closed)
             stage.nativeWindow.close();
     }
@@ -3220,7 +3221,7 @@
         else if (getStyle("closeEffect") &&
                  stage.nativeWindow.transparent == true)
         {
-            addEventListener("effectEnd", window_closeEffectEndHandler);
+            addEventListener(EffectEvent.EFFECT_END, window_closeEffectEndHandler);
             dispatchEvent(new Event("windowClose"));
             event.preventDefault();
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17876
Author:   tan@adobe.com
Date:     2010-09-27T17:34:08.606973Z

Log Message:
-----------
Adding copyright to some files that were missing them.

QE notes: N/A
Doc notes:
Bugs: SDK-27968
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/ComboBoxButtonSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DropDownListButtonSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/EffectEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/sparkskins/src/mx/skins/spark/ContainerBorderSkin.as</path>

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

--- frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as
+++ frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as
@@ -1,3 +1,14 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.filters
 {
 import flash.events.IEventDispatcher;


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

--- frameworks/projects/framework/src/mx/validators/ValidationResult.as
+++ frameworks/projects/framework/src/mx/validators/ValidationResult.as
@@ -25,6 +25,11 @@
  *  from within an event listener.

  *
  *  @see mx.events.ValidationResultEvent
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class ValidationResult
 {
@@ -46,6 +51,11 @@
      *  @param errorCode  Validation error code.
      *
      *  @param errorMessage Validation error message.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function ValidationResult(isError:Boolean, subField:String = "",
 									 errorCode:String = "",
@@ -72,6 +82,11 @@
 	/**
 	 *  The validation error code
 	 *  if the value of the isError property is true.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var errorCode:String;

@@ -82,6 +97,11 @@
 	/**
 	 *  The validation error message
 	 *  if the value of the isError property is true.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var errorMessage:String;

@@ -91,6 +111,11 @@

 	/**
 	 *  Contains true if the field generated a validation failure.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var isError:Boolean;

@@ -102,6 +127,11 @@
 	 *  The name of the subfield that the result is associated with.
 	 *  Some validators, such as CreditCardValidator and DateValidator,
 	 *  validate multiple subfields at the same time.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var subField:String;
 }


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

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

 package spark.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20472
Author:   tkraikit@adobe.com
Date:     2011-02-25T17:03:46.948814Z

Log Message:
-----------
ASDoc typo

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

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

--- frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as
+++ frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as
@@ -419,7 +419,7 @@
      *
This pattern can be set in one of two ways:

      *
      *

-     *
By setting the dateSytle and timeStyle
+     *
By setting the dateStyle and timeStyle
      *     properties.

      *
By setting the dateTimePattern property.

      *