Transferred from the Adobe Open Source Subversion Repository

Revision: 5019
Author:   smgilson@adobe.com
Date:     2009-02-19T21:17:21.579153Z

Log Message:
-----------
ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spark equivs

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as</path>

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

--- frameworks/projects/mx/src/mx/containers/HBox.as
+++ frameworks/projects/mx/src/mx/containers/HBox.as
@@ -37,12 +37,15 @@
 [IconFile("HBox.png")]

 /**
- *  The HBox container lays out its children in a single horizontal row.
+ *  The Halo HBox container lays out its children in a single horizontal row.
  *  You use the <mx:HBox> tag instead of the
  *  <mx:Box> tag as a shortcut to avoid having to
  *  set the direction property to
  *  "horizontal".
- *
+ *
+ *
Note: Adobe recommends that, when possible, you use the Spark containers
+ *  with HorizontalLayout instead of the Halo HBox container.

+ *
  *
An HBox container has the following default sizing characteristics:

  *

  *

@@ -71,48 +74,49 @@
  *
  *  @includeExample examples/HBoxExample.mxml
  *
+ *  @see mx.components.Container
  *  @see mx.containers.Box
  *  @see mx.containers.VBox
  */
 public class HBox extends Box
 {
-	include "../core/Version.as";
+    include "../core/Version.as";

-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------

-	/**
-	 *  Constructor.
-	 */
-	public function HBox()
-	{
-		super();
-
-		mx_internal::layoutObject.direction = BoxDirection.HORIZONTAL;
-	}
+    /**
+     *  Constructor.
+     */
+    public function HBox()
+    {
+        super();
+
+        mx_internal::layoutObject.direction = BoxDirection.HORIZONTAL;
+    }

-	//--------------------------------------------------------------------------
-	//
-	//  Overridden properties
-	//
-	//--------------------------------------------------------------------------
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden properties
+    //
+    //--------------------------------------------------------------------------

-	//----------------------------------
-	//  direction
-	//----------------------------------
-
-	[Inspectable(environment="none")]
+    //----------------------------------
+    //  direction
+    //----------------------------------
+
+    [Inspectable(environment="none")]

-	/**
-	 *  @private
-	 *  Don't allow user to change the direction
-	 */
-	override public function set direction(value:String):void
-	{
-	}
+    /**
+     *  @private
+     *  Don't allow user to change the direction
+     */
+    override public function set direction(value:String):void
+    {
+    }

 }


Relentless simplification ;)

Relentless simplification ;)

--- src/org/jivesoftware/xiff/data/im/RosterItemVO.as
+++ src/org/jivesoftware/xiff/data/im/RosterItemVO.as
@@ -52,12 +52,7 @@
 		}

 		public function isPending():Boolean {
-			if (askType == RosterExtension.ASK_TYPE_SUBSCRIBE && (subscribeType == RosterExtension.SUBSCRIBE_TYPE_NONE || subscribeType == RosterExtension.SUBSCRIBE_TYPE_FROM)) {
-				return true;
-			}
-			else {
-				return false;
-			}
+			return askType == RosterExtension.ASK_TYPE_SUBSCRIBE && (subscribeType == RosterExtension.SUBSCRIBE_TYPE_NONE || subscribeType == RosterExtension.SUBSCRIBE_TYPE_FROM);
 		}
 	}
 }


Flash fallback: Added error notification if user denied webcam access

--- flash/Webcam.as
+++ flash/Webcam.as
@@ -75,6 +75,7 @@

 			if (camera != null) {
 				camera.addEventListener(ActivityEvent.ACTIVITY, activityHandler);
+				camera.addEventListener(StatusEvent.STATUS, handleCameraStatus, false, 0, true);
 				video = new Video( Math.max(video_width, dest_width), Math.max(video_height, dest_height) );
 				video.attachCamera(camera);
 				addChild(video);
@@ -113,6 +114,20 @@

 			// now disable motion detection (may help reduce CPU usage)
 			camera.setMotionLevel( 100 );
+		}
+
+		private function handleCameraStatus(e:StatusEvent):void {
+			switch (e.code) {
+				case 'Camera.Muted': {
+					trace("Camera not allowed");
+					ExternalInterface.call('Webcam.flashNotify', "error", "Access to camera denied");
+					break;
+				}
+				case 'Camera.Unmuted': {
+					trace("Camera allowed");
+					break;
+				}
+			}
 		}

 		public function snap() {


Layer.expandBounds: avoid a Rectangle allocation

--- runtime/src/main/as/flump/display/Layer.as
+++ runtime/src/main/as/flump/display/Layer.as
@@ -184,7 +184,7 @@
         }

         // otherwise expand bounds by current display's bounds, if it has any
-        var layerRect :Rectangle = _currentDisplay.getBounds(targetSpace);
+        var layerRect :Rectangle = _currentDisplay.getBounds(targetSpace, R);
         if (layerRect.left < resultRect.left) resultRect.left = layerRect.left;
         if (layerRect.right > resultRect.right) resultRect.right = layerRect.right;
         if (layerRect.top < resultRect.top) resultRect.top = layerRect.top;
@@ -208,5 +208,7 @@
     internal var _disabled :Boolean;
     // The number of DisplayObjects we're managing
     protected var _numDisplays :int;
+
+    private static const R :Rectangle = new Rectangle();
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 10064
Author:   gruehle@adobe.com
Date:     2009-09-08T19:59:34.687094Z

Log Message:
-----------
Spark skins for all containers now use backgroundColor and backgroundAlpha styles instead of contentBackgroundColor and contentBackgroundAlpha. All controls (including List and NavBar/ButtonBar) continue to use contentBackgroundColor and contentBackgroundAlpha.

Add new MX ContainerBorderSkin.

QE notes: This should clear up some failures from last week. ContainerBorderSkin needs tests that are independent from BorderSkin tests.
Doc notes: None.
Bugs: SDK-23038, SDK-23037, SDK-
Reviewer: pending
Tests run: checkintests
Is noteworthy for integration: yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PanelBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ContainerBorderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/core/Container.as
+++ frameworks/projects/mx/src/mx/core/Container.as
@@ -174,6 +174,18 @@
 include "../styles/metadata/BorderStyles.as"
 include "../styles/metadata/PaddingStyles.as"
 include "../styles/metadata/TextStyles.as"
+
+// Re-define backgroundAlpha and backgroundColor styles here to set the theme attribute to spark and halo
+
+/**
+ *  @inheritDoc
+ */
+[Style(name="backgroundAlpha", type="Number", inherit="no", theme="halo, spark")]
+
+/**
+ *  @inheritDoc
+ */
+[Style(name="backgroundColor", type="uint", format="Color", inherit="no", theme="halo, spark")]

 /**
  *  If a background image is specified, this style specifies


Transferred from the Adobe Open Source Subversion Repository

Revision: 19390
Author:   smgilson@adobe.com
Date:     2010-12-15T17:40:11.121765Z

Log Message:
-----------
asdoc updates

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
@@ -57,7 +57,7 @@
 //--------------------------------------

 /**
- *  The state used when the navigator is in portrait orientation
+ *  The state used when the navigator is in portrait orientation.
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -67,7 +67,7 @@
 [SkinState("portrait")]

 /**
- *  The state used when the navigator is in landscape orientation
+ *  The state used when the navigator is in landscape orientation.
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -100,27 +100,59 @@

 /**
  *  The ViewNavigator component is a container that consists of a collection of
- *  View objects, where only the top most view is visible and active.  Views can
- *  be added and removed by using the popView() and pushView() methods on the
- *  navigator.
+ *  View objects, where only the top most view is visible and active.
+ *  Use the ViewNavigator container to control the navigation among
+ *  the views of a mobile application.
+ *  The ViewNavigatorApplication container automatically creates a
+ *  single ViewNavigator container for the entire application.
+ *
+ *
Navigation in a mobile application is controlled by a stack of View objects.
+ *  The top View object on the stack defines the currently visible view.
+ *  The ViewNavigator container maintains the stack.
+ *  To change views, push a new View object onto the stack,
+ *  or pop the current View object off of the stack.
+ *  Popping the currently visible View object from the stack destroys
+ *  the View object, and returns the user to the previous view on the stack.

+ *
+ *
When a view is pushed on top of the stack, the old view's data
+ *  property is automatically persisted.
+ *  It is restored when the view is reactived as a result of
+ *  the current view being popped off the stack.
+ *  When a new view becomes active by being pushed onto the stack,
+ *  the old view's instance is destroyed.

  *
- *
When a new view becomes active, the old view's instance is destroyed.
- *  When a view is pushed on top of navigator's stack, the old view's data
- *  property is automatically persisted and restored when it is reactived
- *  through one of the pop methods.

+ *
The ViewNavigator displays an optional ActionBar control that displays contextual
+ *  information defined by the active view.
+ *  When the active view changes, the action bar is automatically updated.

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

+ *
+ *

+ *  <s:ViewNavigator
+ *   Properties
+ *    actionContent="null"
+ *    actionLayout="null"
+ *    defaultPopTransition="SlideViewTransition"
+ *    defaultPushTransition="SlideViewTransition"
+ *    firstView="null"
+ *    firstViewData="null"
+ *    navigationContent="null"
+ *    navigationLayout="null"
+ *    poppedViewReturnedObject="null"
+ *    title=""
+ *    titleContent="null"
+ *    titleLayout="null"
  *
- *
ViewNavigator doesn't provide index information about the Views that
- *  it is currently managing and strictly follows a stack navigation model.
- *  Jumping between a set of views similar to a ViewStack is not supported
- *  by this component.

- *
- *
ViewNavigator displays an optional action bar that displays contextual
- *  information defined by the active view.  When the active view changes, the
- *  action bar is automatically updated.

+ *  >
+ *

  *
  *  @see spark.components.View
  *  @see spark.components.ActionBar
- *  @see spark.effects.ViewTransitionBase
+ *  @see spark.components.TabbedViewNavigator
+ *  @see spark.transitions.ViewTransitionBase
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -166,15 +198,15 @@
         super();

         // Default view transitions
-		var slideLeft:SlideViewTransition = new SlideViewTransition();
-		slideLeft.duration = DEFAULT_VIEW_TRANSITION_DURATION;
-		slideLeft.direction = ViewTransitionDirection.LEFT;
-		defaultPushTransition = slideLeft;
-
-		var slideRight:SlideViewTransition = new SlideViewTransition();
-		slideRight.duration = DEFAULT_VIEW_TRANSITION_DURATION;
-		slideRight.direction = ViewTransitionDirection.RIGHT;
-		defaultPopTransition = slideRight;
+        var slideLeft:SlideViewTransition = new SlideViewTransition();
+        slideLeft.duration = DEFAULT_VIEW_TRANSITION_DURATION;
+        slideLeft.direction = ViewTransitionDirection.LEFT;
+        defaultPushTransition = slideLeft;
+
+        var slideRight:SlideViewTransition = new SlideViewTransition();
+        slideRight.duration = DEFAULT_VIEW_TRANSITION_DURATION;
+        slideRight.direction = ViewTransitionDirection.RIGHT;
+        defaultPopTransition = slideRight;
     }

     //--------------------------------------------------------------------------
@@ -373,9 +405,9 @@
                 var canDestroy:Boolean = (activeView.destructionPolicy != ContainerDestructionPolicy.NEVER) &&
                                          (destructionPolicy != ContainerDestructionPolicy.NEVER);

-				// If the instance of the view is being destroyed but our navigationStack is
-				// maintained, the active view needs to serialize its data is application
-				// persistence is enabled.
+                // If the instance of the view is being destroyed but our navigationStack is
+                // maintained, the active view needs to serialize its data is application
+                // persistence is enabled.
                 if (canDestroy || clearNavigationStack)
                     destroyViewInstance(navigationStack.topView, !clearNavigationStack);
             }
@@ -391,13 +423,13 @@
     //----------------------------------

     /**
+     *
During a view transition, this property references the
+     *  view that the navigator is transitioning to.

+     *
      *  @inheritDoc
      *
-     *  During a view transition, the activeView property will reference the
-     *  view that the navigator is transitioning to.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -430,15 +462,14 @@

     /**
      *  The string that describes the context in which the current view was
-     *  created.  This property is assigned to the context
-     *  parameter that is passed into ViewNavigator.pushView().
+     *  created.
+     *  This property is assigned to the value of the context
+     *  parameter passed to the ViewNavigator.pushView() method.
      *
      *  @default null
      *
-     *  @see spark.components.ViewNavigator
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -462,10 +493,12 @@
     /**
      *  Specifies the default view transition for push navigation operations.
      *
-     *  @default new SlideViewTransition()
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @default SlideViewTransition
+     *
+     *  @see spark.transitions.SlideViewTransition
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -491,10 +524,12 @@
     /**
      *  Specifies the default view transition for pop navigation operations.
      *
-     *  @default new SlideViewTransition()
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @default SlideViewTransition
+     *
+     *  @see spark.transitions.SlideViewTransition
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -519,13 +554,22 @@
     private var _firstView:Class;

     /**
-     *  This property is the object to use to initialize the first view
-     *  of the stack.  This must be a class that extends View.
+     *  Each view in an application corresponds to a View container
+     *  class defined in an ActionScript or MXML file.
+     *  This property specifies the view to use to initialize the first view
+     *  of the stack.
+     *  This property must reference a class that extends View container.
+     *
+     *
Specify any data passed to the first view by using
+     *  the firstViewData property.

      *
      *  @default null
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *
+     *  @see #firstViewData
+     *  @see View
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -549,13 +593,17 @@
     private var _firstViewData:Object;

     /**
-     * This is the initialization data to pass to the first view when the
-     * navigator is initialized.
+     *  The Object to pass to the data property
+     *  of the first view when the navigator is initialized.
+     *  Specify the first view by using the firstView property.
      *
      *  @default null
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *
+     *  @see #firstView
+     *  @see View
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -605,19 +653,23 @@
     private var _poppedViewReturnedObject:ViewReturnObject = null;

     /**
-     *  Holds the return object returned by the last view that was popped
-     *  off the navigation stack or replaced by another view.  This object
-     *  is only available when the navigator is in the process of switching
+     *  Holds the object returned by the last view that was popped
+     *  off the navigation stack or replaced by another view.
+     *  To return a value, the view being popped off the stack overrides
+     *  its createReturnObject() method.
+     *
+     *
This object is only available when the navigator is in the process of switching
      *  views in response to a pop or replace navigation operation.
-     *
-     *
This object is guarenteed to be valid when the new view receives
-     *  the FlexEvent.ADD event, and is destroyed after
-     *  the view receives a ViewNavigatorEvent.VIEW_ACTIVATE event.

+     *  This object is guaranteed to be valid when the new view receives
+     *  the add event, and is destroyed after
+     *  the view receives a viewActivate event.

      *
      *  @default null
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *
+     *  @see View#createReturnObject()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -641,10 +693,16 @@

     [ArrayElementType("mx.core.IVisualElement")]
     /**
-     *  Array of visual elements that are used as the ActionBar's
-     *  actionContent when a view doesn't define any.
+     *  This property overrides the actionContent
+     *  property in the ActionBar and
+     *  ViewNavigatorApplication components.
+     *
+     *  @copy ActionBar#actionContent
      *
      *  @default null
+     *
+     *  @see ActionBar#actionContent
+     *  @see spark.skins.mobile.ActionBarSkin
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -677,8 +735,7 @@
     private var actionLayoutInvalidated:Boolean = false;

     /**
-     *  The default layout for the ActionBar's action content group if
-     *  the view doesn't define one.
+     *  @copy ActionBar#actionContent
      *
      *  @default null
      *
@@ -714,10 +771,16 @@

     [ArrayElementType("mx.core.IVisualElement")]
     /**
-     *  Array of visual elements that are used as the ActionBar's
-     *  navigationContent when a view doesn't assign any.
+     *  This property overrides the navigationContent
+     *  property in the ActionBar and
+     *  ViewNavigatorApplication components.
+     *
+     *  @copy ActionBar#navigationContent
      *
      *  @default null
+     *
+     *  @see ActionBar#navigationContent
+     *  @see spark.skins.mobile.ActionBarSkin
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -750,8 +813,7 @@
     private var navigationLayoutInvalidated:Boolean = false;

     /**
-     *  The default layout for the ActionBar navigation content group if
-     *  a view doesn't define one.
+     *  @copy ActionBar#navigationLayout
      *
      *  @default null
      *
@@ -788,13 +850,15 @@
     [Bindable]

     /**
-     *  The default title that should be used by the ActionBar if the
-     *  view doesn't provide one.
+     *  This property overrides the title
+     *  property in the ActionBar and ViewNavigatorApplication components.
+     *
+     *  @copy ActionBar#title
      *
-     *  @default null
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @default ""
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -831,13 +895,18 @@

     [ArrayElementType("mx.core.IVisualElement")]
     /**
-     *  Array of visual elements that are used as the ActionBar's
-     *  titleContent when a view doesn't define one.
+     *  This property overrides the titleContent
+     *  property in the ActionBar and ViewNavigatorApplication components.
+     *
+     *  @copy ActionBar#titleContent
      *
      *  @default null
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *
+     *  @see ActionBar#titleContent
+     *  @see spark.skins.mobile.ActionBarSkin
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -867,7 +936,7 @@
     private var titleLayoutInvalidated:Boolean = false;

     /**
-     *  Layout for the ActionBar's titleContent group.
+     *  @copy ActionBar#titleLayout
      *
      *  @default null
      *
@@ -901,13 +970,13 @@
     //--------------------------------------------------------------------------

     /**
-     *  Removes all of the views from the navigator.  This will transition
-     *  the current view to a blank screen.
+     *  Removes all of the views from the navigator stack.
+     *  This method changes the display to a blank screen.
      *
-     *  @param transition The view transition to play
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @param transition The view transition to play while switching views.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -920,12 +989,14 @@
     }

     /**
-     *  Pops the top view off the navigation stack.
-     *
-     *  @param transition The view transition to play
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  Pops the current view off the navigation stack.
+     *  The current view is represented by the top view on the stack.
+     *  The previous view on the stack becomes the current view.
+     *
+     *  @param transition The view transition to play while switching views.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -938,12 +1009,13 @@
     }

     /**
-     *  Removes all views except the bottom one from the navigation stack.
-     *
-     *  @param transition The view transition to play
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  Removes all views except the bottom view from the navigation stack.
+     *  The bottom view is the one that was first pushed onto the stack.
+     *
+     *  @param transition The view transition to play while switching views.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -956,17 +1028,23 @@
     }

     /**
-     *  Pushes a new view to the top of the navigation stack.
-     *
-     *  @param viewClass The class used to create the view
-     *  @param data The data object to pass to the view
+     *  Pushes a new view onto the top of the navigation stack.
+     *  The view pushed onto the stack becomes the current view.
+     *
+     *  @param viewClass The class used to create the view.
+     *  This argument must reference a class that extends View container.
+     *
+     *  @param data The data object to pass to the view.
+     *  This argument is written to the data property of the new view.
+     *
      *  @param context An arbitrary object used to describe the context
-     *         of the push.  When the new view is created, it will be
-     *         able to reference this property.
-     *  @param transition The view transition to play
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *         of the push.  When the new view is created, it can
+     *         reference this property.
+     *
+     *  @param transition The view transition to play while switching views.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -982,17 +1060,23 @@
     }

     /**
-     *  Replaces the top view of the navigation stack with a View.
-     *
-     *  @param viewClass The class used to create the view
-     *  @param data The data object to pass to the view
+     *  Replaces the top view of the navigation stack with a new view.
+     *  The view replacing the current view on the stack becomes the current view.
+     *
+     *  @param viewClass The class used to create the replacement view.
+     *  This argument must reference a class that extends View container.
+     *
+     *  @param data The data object to pass to the view.
+     *  This argument is written to the data property of the new view.
+     *
      *  @param context An arbitrary object used to describe the context
-     *         of the push.  When the new view is created, it will be
-     *         able to reference this property.
-     *  @param transition The view transition to play
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *         of the push.  When the new view is created, it can
+     *         reference this property.
+     *
+     *  @param transition The view transition to play while switching views.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1010,10 +1094,11 @@
     /**
      *  Shows the action bar.
      *
-     *  @param animate Indicates whether a show effect should be played.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @param animate Indicates whether a show effect should be played
+     *  when the action bar appears.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1032,10 +1117,11 @@
     /**
      *  Hides the action bar.
      *
-     *  @param animate Indicates whether a hide effect should be played.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @param animate Indicates whether a hide effect should be played
+     *  when the action bar is hidden.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1064,7 +1150,7 @@
      *  interaction flags are disabled.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1100,7 +1186,7 @@
      *  @default null
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1119,7 +1205,7 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1189,7 +1275,7 @@
      *         this property.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1223,7 +1309,7 @@
      *  @param transition The view transition to play
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1268,7 +1354,7 @@
      *         this property.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1370,7 +1456,7 @@
      *  and the action bar's visibility has changed.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1400,7 +1486,7 @@

                 actionBarVisibilityEffect.addEventListener(EffectEvent.EFFECT_END,
                                                            visibilityAnimation_completeHandler);
-
+
                 actionBarVisibilityEffect.play();
             }
             else
@@ -1410,9 +1496,9 @@
                 if (activeView)
                     activeView.setActionBarVisible(showingActionBar);

-            	// When this flag is true, the animations should only be disabled for the
-				// current frame, so reset the flag so animations play on subsequent frames.
-				disableNextControlAnimation = false;
+                // When this flag is true, the animations should only be disabled for the
+                // current frame, so reset the flag so animations play on subsequent frames.
+                disableNextControlAnimation = false;
             }
         }

@@ -1420,11 +1506,12 @@
     }

     /**
-     *  Creates the effect to play when the ActionBar is hidden.
+     *  Creates the effect to play when the ActionBar control is hidden.
      *  The produced effect is responsible for animating both the
-     *  actionBar and the contentGroup of the navigator.
-     *
-     *  @return An effect to play when the ActionBar is hidden
+     *  ActionBar and the view currently displayed in the
+     *  content area of the navigator.
+     *
+     *  @return An effect to play when the ActionBar control is hidden.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -1438,11 +1525,12 @@

     /**
-     *  Creates the effect to play when the actionBar is hidden.
+     *  Creates the effect to play when the ActionBar control appears.
      *  The produced effect is responsible for animating both the
-     *  actionBar and the contentGroup of the navigator.
-     *
-     *  @return An effect to play when the ActionBar is shown
+     *  ActionBar and the view currently displayed in the
+     *  content area of the navigator.
+     *
+     *  @return An effect to play when the ActionBar control is appears.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -1457,10 +1545,10 @@
     /**
      *  @private
      */
-	private function createActionBarVisibilityEffect(showAnimation:Boolean):IEffect
-	{
-		var effect:IEffect;
-		var finalEffect:Parallel = new Parallel();
+    private function createActionBarVisibilityEffect(showAnimation:Boolean):IEffect
+    {
+        var effect:IEffect;
+        var finalEffect:Parallel = new Parallel();

         // Grab initial values
         actionBarProps.start = captureAnimationValues(actionBar);
@@ -1472,7 +1560,7 @@

         // Calculate final positions and position actionBar.  This method will force a validation
         prepareActionBarForAnimation(showAnimation);
-
+
         // Create animation for action bar
         var animate:Animate = new Animate();
         animate.target = actionBar;
@@ -1483,7 +1571,7 @@
         // Add action bar effect to final parallel effect
         effect = animate;
         finalEffect.addChild(effect);
-
+
         // Create animation for content group
         effect = createContentVisibilityEffect(contentGroupProps);
         effect.target = contentGroup;
@@ -1499,7 +1587,7 @@
      *  pass.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -1586,7 +1674,7 @@
      *  should only target the contentGroup as it will be played in parallel with
      *  other effects that animate the other navigator skin parts.
      *
-     *  @param hiding Indicates whether the acton bar is hiding or showing
+     *  @param hiding Indicates whether the action bar is hiding or showing
      *  @param props The bounds properties that were captured for the actionBar.
      *
      *  @langversion 3.0
@@ -1615,12 +1703,12 @@
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
-	private function visibilityAnimation_completeHandler(event:EffectEvent):void
-	{
+    private function visibilityAnimation_completeHandler(event:EffectEvent):void
+    {
         event.target.removeEventListener(EffectEvent.EFFECT_END, visibilityAnimation_completeHandler);

         // Clear flags and temporary properties
-		actionBarVisibilityEffect = null;
+        actionBarVisibilityEffect = null;

         if (activeView)
             activeView.setActionBarVisible(actionBarProps.showing);
@@ -1630,7 +1718,7 @@
         // own animations, these properties won't be set.
         if (actionBarProps.start != undefined)
         {
-    		actionBar.visible = actionBar.includeInLayout = !actionBarProps.start.visible;
+            actionBar.visible = actionBar.includeInLayout = !actionBarProps.start.visible;
             actionBar.cacheAsBitmap = actionBarProps.start.cacheAsBitmap;
         }

@@ -1639,8 +1727,8 @@
         // Content group properties object only created if the default transitions were used
         if (contentGroupProps)
         {
-		    contentGroup.includeInLayout = contentGroupProps.start.includeInLayout;
-    		contentGroupProps = null;
+            contentGroup.includeInLayout = contentGroupProps.start.includeInLayout;
+            contentGroupProps = null;
         }
     }

@@ -1968,7 +2056,7 @@
      *  the underlying ViewDescriptor object and prepares the transition.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -2049,7 +2137,7 @@
         {
             transition.captureEndValues();
             transition.prepareForPlay();
-			activeTransition = transition;
+            activeTransition = transition;

             // Run transition a frame later so that the overhead of creating the view
             // and the time the player takes to render isn't included in the duration.
@@ -2073,7 +2161,7 @@
         if (hasEventListener(FlexEvent.TRANSITION_START))
             dispatchEvent(new FlexEvent(FlexEvent.TRANSITION_START, false, false));

-		activeTransition.play();
+        activeTransition.play();
     }

     /**
@@ -2081,7 +2169,7 @@
      *  Called when a transition dispatches an FlexEvent.TRANSITION_END event.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -2092,7 +2180,7 @@
         if (hasEventListener(FlexEvent.TRANSITION_END))
             dispatchEvent(new FlexEvent(FlexEvent.TRANSITION_END, false, false));

-		activeTransition = null;
+        activeTransition = null;
         navigatorActionCommitted();
     }

@@ -2100,7 +2188,7 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -2114,7 +2202,7 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -2196,7 +2284,7 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -2234,7 +2322,7 @@
      *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10.1
+     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package spark.skins.mobile
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13173
Author:   gosmith@adobe.com
Date:     2009-12-23T00:22:15.529877Z

Log Message:
-----------
Added ASDoc for the Spark SpinnerAccImpl, NumericStepperAccImpl, and SliderBaseAccImpl, based on the opensource specs. Also made minor edits to ASDoc in other Spark acc impl classes.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SliderBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SpinnerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/DropDownListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/NumericStepperAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBarBaseAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/NumericStepperAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/NumericStepperAccImpl.as
@@ -27,8 +27,98 @@
 use namespace mx_internal;

 /**
- *  NumericStepperAccImpl is a subclass of AccessibilityImplementation
- *  which implements accessibility for the NumericStepper class.
+ *  NumericStepperAccImpl is the accessibility implementation class
+ *  for spark.components.NumericStepper.
+ *
+ *
When a Spark NumericStepper is created,
+ *  its accessibilityImplementation property
+ *  is set to an instance of this class.
+ *  The Flash Player then uses this class to allow MSAA clients
+ *  such as screen readers to see and manipulate the NumericStepper.
+ *  See the mx.accessibility.AccImpl and
+ *  flash.accessibility.AccessibilityImplementation classes
+ *  for background information about accessibility implementation
+ *  classes and MSAA.

+ *
+ *
Children

+ *
+ *
A NumericStepper has two MSAA children,
+ *  which are its increment and decrement buttons.

+ *
+ *
Role

+ *
+ *
The MSAA Role of a NumericStepper is ROLE_SYSTEM_TEXT.

+ *
+ *
The Role of each child button is ROLE_SYSTEM_PUSHBUTTON.

+ *
+ *
Name

+ *
+ *
The MSAA Name of a NumericStepper is, by default, an empty string.
+ *  When wrapped in a FormItem element, the Name is the FormItem's label.
+ *  To override this behavior,
+ *  set the NumericStepper's accessibilityName property.

+ *
+ *
The Name of each child button comes from a locale-dependent resource.
+ *  For the en_US locale, the names are "More" and "Less".

+ *
+ *
When the Name of the NumericStepper or one of its child button changes
+ *  a NumericStepper dispatches the MSAA event EVENT_OBJECT_NAMECHANGE
+ *  with the proper childID for the button or 0 for itself.

+ *
+ *
Description

+ *
+ *
The MSAA Description of a NumericStepper is, by default, an empty string,
+ *  but you can set the NumericStepper's accessibilityDescription
+ *  property.

+ *
+ *
The Description of each child button is the empty string.

+ *
+ *
State

+ *
+ *
The MSAA State of a NumericStepper is a combination of:
+ *

+ *
STATE_SYSTEM_UNAVAILABLE (when enabled is false)

+ *
STATE_SYSTEM_FOCUSABLE (when enabled is true)

+ *
STATE_SYSTEM_FOCUSED
+ *    (when enabled is true and the Spinner has focus)

+ *

+ *
+ *
When the State of the NumericStepper or one of its child buttons changes,
+ *  a NumericStepper dispatches the MSAA event EVENT_OBJECT_STATECHANGE
+ *  with the proper childID for the button or 0 for itself.

+ *
+ *
Value

+ *
+ *
The MSAA Value of a NumericStepper is the value
+ *  currently held by the NumericStepper.

+ *
+ *
The child buttons do not have MSAA values.

+ *
+ *
When the Value of the NumericStepper changes,
+ *  the NumericStepper dispatches the MSAA event EVENT_OBJECT_VALUECHANGE.

+ *
+ *
Location

+ *
+ *
The MSAA Location of a NumericStepper, or one of its child buttons,
+ *  is its bounding rectangle.

+ *
+ *
Default Action

+ *
+ *
A NumericStepper does not have an MSAA DefaultAction.

+ *
+ *
The DefaultAction of each child button is "Press".

+ *
+ *
Performing the default action of one of the child buttons
+ *  will increment or decrement the value.

+ *
+ *
Focus

+ *
+ *
A NumericStepper accepts focus.
+ *  When it does so, it dispatches the MSAA event EVENT_OBJECT_FOCUS.

+ *
+ *
Selection

+ *
+ *
A NumericStepper does not support selection in the MSAA sense.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 3892
Author:   egeorgie@adobe.com
Date:     2008-10-24T23:33:52.238868Z

Log Message:
-----------
Add constraint properties and unify IVisualItem, UIComponent, GraphicElement, change percentSize to percentWidth, percentHeight in ILayoutItem. Remove IGraphicElementHost and GraphicElementHostImpl. Change GraphicElement constraint properties to take in Object instead of Number to enable advanced constraints later on.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Ryan
tests: checkintests, Mustella (canvas, gumbo layout)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElementHostImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElementHost.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemFDO.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -8,7 +8,6 @@
 import flash.geom.Rectangle;
 import flash.utils.Dictionary;

-import mx.graphics.IGraphicElementHost;
 import mx.events.FlexEvent;
 import mx.events.ItemExistenceChangedEvent;
 import mx.graphics.Graphic;
@@ -58,7 +57,7 @@
  *  @see mx.layout.LayoutBase
  *  @see mx.components.ResizeMode
  */
-public class GroupBase extends UIComponent implements IGraphicElementHost, IViewport
+public class GroupBase extends UIComponent implements IViewport
 {
     //--------------------------------------------------------------------------
     //
@@ -696,12 +695,6 @@
         return null;
     }

-    //--------------------------------------------------------------------------
-    //
-    //  IGraphicElement Implementation
-    //
-    //--------------------------------------------------------------------------
-
     //----------------------------------
     //  mask
     //----------------------------------
@@ -770,12 +763,6 @@
         }
     }

-    //--------------------------------------------------------------------------
-    //
-    //  IGraphicElementHost Implementation
-    //
-    //--------------------------------------------------------------------------
-
     /**
      *  Notify the host that an element has changed and needs to be redrawn.
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 7929
Author:   hmuller@adobe.com
Date:     2009-06-17T23:06:42.698986Z

Log Message:
-----------
Range et al PARB changes, Opus #1.   In addition to the changes listed below, updated
flex4tests, notably ScrollBarFrenzy, for the new API.   These changes will break
performance test suite (TwoThumbSlider.as).

Range
  valueInterval => snapInterval
  step() => changeValueByStep()
  remove protected nearestValidSize() method

Slider
  Add protected pendingValue property
  Remove protected pointClickToPosition() method

TrackBase
  Add two new protected methods: updateSkinDisplayList(), pointToValue()
  Remove the following protected properties: get trackSize:Number, thumbSize:Number
  Remove the following protected methods:
      clickOffset()
      positionToValue()
      valueToPosition()
      pointToPosition()
      positionThumb()
      sizeThumb()
      calculateThumbSize()
      calculateNewValue()

ScrollBar
  page() => changeValueByPage()

Spinner
  valueWrap => allowValueWrap

NumericStepper
  displayFormatFunction => valueFormatFunction
  extractValueFunction => valueParseFunction
  commitTextInput => make private

QE Notes: Most Mustella tests passed after the protected API changes but prior to the renames.
Doc Notes:
Bugs:
Reviewer: Jason, Chet

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Range.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/ScrubBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VideoPlayerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/VideoPlayerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/SkinTest.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/testWheel.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/ScrollbarFrenzy.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/flex4test.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/components/CircularScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/CircularScrollBarSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as
@@ -314,111 +314,48 @@

     //--------------------------------------------------------------------------
     //
-    // Properties
-    //
-    //--------------------------------------------------------------------------
-
-    //---------------------------------
-    // clickOffset
-    //---------------------------------
-
-    private var _clickOffset:Point;
-
-    /**
-     *  The point in the local coordinates of
-     *  the thumb button where the last mouse down event occurred.
-     *  This property is used by the calculateNewValue() method
-     *  to determine the value that the thumb button has been dragged to.
-     *
-     *  @return Point object rerpresenting, in the local coordinates of
-     *  the thumb button, where the last mouse down event occurred.
+    // Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Convert a track relative x,y pixel location into a value between
+     *  minimum and maximum inclusive.
+     *
+     *
TrackBase subclasses must override this method and perform conversions
+     *  that take their own geometry into account.
+     *
+     *  For example a vertical slider might compute a value like this:
+     *

+     *  return (y / track.height) * (maximum - minimum);
+     *

+     *

+     *
+     *
By default this method just returns minimum.

+     *
+     *  @param x The x coordinate of the location relative to the track's origin.
+     *  @param y The y coordinate of the location relative to the track's origin.
+     *  @return A value between minimum and maximum, inclusive.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    protected function get clickOffset():Point
-    {
-        return _clickOffset;
-    }
-
-    //---------------------------------
-    // trackSize
-    //---------------------------------
-
-    /**
-     *  The size of the logical track.
-     *  Subclasses need to override this method to return
-     *  an appropriate value.
-     *
-     *
Note that this number can
-     *  represent any system of units, but those units must
-     *  be consistent with the values returned by the
-     *  pointToPosition(), calculateThumbSize(),
-     *  and valueToPosition() methods.

-     *
-     *  @return The size of the logical track.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    protected function get trackSize():Number
-    {
-        return 0;
-    }
-
-    //---------------------------------
-    // thumbSize
-    //---------------------------------
-
-    private var _thumbSize:Number = 0;
-
-    /**
-     *  The size of the thumb button on the logical track in the
-     *  units of the subclass, which must be consistent with
-     *  trackSize property, and with
-     *  the pointToPosition() and valueToPosition() methods.
-     *
-     *  @default 0
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    protected function get thumbSize():Number
-    {
-        return _thumbSize;
-    }
-
-    /**
-     *  @private
-     */
-    protected function set thumbSize(value:Number):void
-    {
-        if (value == _thumbSize)
-            return;
-
-        _thumbSize = value;
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    // Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  @private
-     */
-    override public function step(increase:Boolean = true):void
+    protected function pointToValue(x:Number, y:Number):Number
+    {
+        return minimum;
+    }
+
+
+    /**
+     *  @private
+     */
+    override public function changeValueByStep(increase:Boolean = true):void
     {
         var prevValue:Number = this.value;

-        super.step(increase);
+        super.changeValueByStep(increase);

         if (value != prevValue)
             dispatchEvent(new Event(Event.CHANGE));
@@ -474,244 +411,72 @@
             track.removeEventListener(ResizeEvent.RESIZE, track_resizeHandler);
         }
     }
-
-    /**
-     *  Return the value corresponding to a position on the track.
-     *  The value is calculated by
-     *  finding what fraction of the logical track the position
-     *  represents, and then multiplying that by
-     *  the range of possible values for the track.
-     *
-     *  @param position A position on the track.
-     *
-     *  @return A value, between minimum and maximum,
-     *  corresponding to position.
-     *
+    /**
+     *  @private
+     */
+    override protected function focusInHandler(event:FocusEvent):void
+    {
+        super.focusInHandler(event);
+
+    	addSystemHandlers(MouseEvent.MOUSE_WHEEL, system_mouseWheelHandler, stage_mouseWheelHandler);
+    }
+
+    /**
+     *  @private
+     */
+    override protected function focusOutHandler(event:FocusEvent):void
+    {
+        super.focusOutHandler(event);
+
+    	removeSystemHandlers(MouseEvent.MOUSE_WHEEL, system_mouseWheelHandler, stage_mouseWheelHandler);
+    }
+
+    /**
+     *  @private
+     */
+    override protected function updateDisplayList(w:Number, h:Number):void
+    {
+        super.updateDisplayList(w, h);
+        updateSkinDisplayList();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Event Handlers
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Location of the mouse down event on the thumb, relative to the thumb's origin.
+     *  Used to update the value property when the mouse is dragged.
+     */
+    private var clickOffset:Point;
+
+    /**
+     *  Set the bounds of skin parts - typically the thumb - whose geometry isn't fully
+     *  specified by the skin's layout.
+     *
+     *
Most subclasses override this method to update the thumb's size, position, and
+     *  visibility, based on the minimum, maximum, and value properties.

+     *
+     *
Does nothing by default.

+     *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
-     */
-    protected function positionToValue(position:Number):Number
-    {
-        var posRange:Number = trackSize - thumbSize;
-
-        if (posRange == 0) // Divide by 0 error.
-            return minimum;
-
-        var range:Number = maximum - minimum;
-        var value:Number = minimum + position * (range / posRange);
-        return value;
-    }
-
-    /**
-     *  Return the position of the thumb button on the track
-     *  corresponding to a given value.
-     *
-     *
Calculate the thumb button position by finding
-     *  the fraction of the range of possible values that
-     *  value represents, and then multiplying that by
-     *  the logical track size, minus the logical thumb size.

-     *
-     *  @param value A value, between minimum and maximum.
-     *
-     *  @return A position on the track corresponding to value.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    protected function valueToPosition(value:Number):Number
-    {
-        var range:Number = maximum - minimum;
-
-        if (range <= 0) // Divide by 0 error or nonsense
-            return 0;
-        var posRange:Number = trackSize - thumbSize;
-        var thumbPos:Number = (value - minimum) * (posRange / range);
-
-        return thumbPos;
-    }
-
-    /**
-     *  Returns a position on the track.
-     *  The localX and localY
-     *  values represent the location in the local coordinate system of the
-     *  track.
-     *
-     *
Subclasses must override this method and return the
-     *  appropriate value. Values should not be clamped to
-     *  the ends of the track, as that clamping will happen later, prior
-     *  to setting position of the thumb button.

-     *
-     *  @param localX The X-location in the local coordinate system of the
-     *  track.
-     *
-     *  @param localY The Y-location in the local coordinate system of the
-     *  track.
-     *
-     *  @return The posisiton on the track.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    protected function pointToPosition(localX:Number, localY:Number):Number
-    {
-        return 0;
-    }
-
-    /**
-     *  Set the position of the thumb button.
-     *
-     *
Subclasses should override this method to position
-     *  the thumb button.

-     *
-     *  @param thumbPos The new position of the thumb button.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    protected function positionThumb(thumbPos:Number):void {}
-
-    /**
-     *  Sets the size of the thumb button.
-     *
-     *
Subclasses should override this method to size
-     *  the thumb button.

-     *
-     *  @param thumbSize The new size of the thumb button.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    protected function sizeThumb(thumbSize:Number):void {}
-
-    /**
-     *  Returns the size of the thumb button
-     *  given the current setting of the range,
-     *  trackSize, or other settings.
-     *  Subclasses should override this to calculate the correct size in
-     *  the units of position.
-     *
-     *  @return The size of the thumb button.
-     *  The default size is 0.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    protected function calculateThumbSize():Number
-    {
-        return 0;
-    }
-
-    /**
-     *  From a MouseEvent object that contains the
-     *  position where the thumb button was dragged to, and
-     *  the previous position of the thumb button,
-     *  return the value corresponding to the new position.
-     *  The value is restricted to the range defined by the
-     *  minimum and maximum values.
-     *
-     *
This method usually should not be overridden.

-     *
-     *  @param prevValue The previous position of the thumb button.
-     *
-     *  @param event A MouseEvent object.
-     *
-     *  @return The value that corresponds to the new track position
-     *  as calculated by the nearestValidValue() method.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    protected function calculateNewValue(prevValue:Number, event:MouseEvent):Number
-    {
-        var pt:Point = new Point(event.stageX, event.stageY);
-        pt = track.globalToLocal(pt);
-        var movePos:Number = pointToPosition(pt.x - clickOffset.x,
-                                             pt.y - clickOffset.y);
-        var newValue:Number = positionToValue(movePos);
-        var roundedValue:Number = nearestValidValue(newValue, valueInterval);
-        return roundedValue;
-    }
-
-    /**
-     *  @private
-     */
-    override protected function focusInHandler(event:FocusEvent):void
-    {
-        super.focusInHandler(event);
-
-    	addSystemHandlers(MouseEvent.MOUSE_WHEEL, system_mouseWheelHandler, stage_mouseWheelHandler);
-    }
-
-    /**
-     *  @private
-     */
-    override protected function focusOutHandler(event:FocusEvent):void
-    {
-        super.focusOutHandler(event);
-
-    	removeSystemHandlers(MouseEvent.MOUSE_WHEEL, system_mouseWheelHandler, stage_mouseWheelHandler);
-    }
-
-    /**
-     *  @private
-     */
-    override protected function updateDisplayList(w:Number, h:Number):void
-    {
-        super.updateDisplayList(w, h);
-        completeTrackLayout();
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    // Event Handlers
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Set thumbSize to the value of calculateThumbSize()
-     *  and then size and position the thumb with sizeThumb() and
-     *  positionThumb.
-     *
-     *  We're assuming that the track's skin will layout the thumb at its default size
-     *  and position.
-     *
-     *  We complete the layout here, when either the track or thumb
-     *  has changed size, or when the track's display list is updated,
-     *  by recomputing the thumb's size and position.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     *
-     */
-    protected function completeTrackLayout():void
-    {
-        thumbSize = calculateThumbSize();
-        sizeThumb(thumbSize);
-        positionThumb(valueToPosition(value));
-    }
+     *
+     */
+    protected function updateSkinDisplayList():void {}
+

     /**
      *  @private
      */
     private function track_resizeHandler(event:Event):void
     {
-        completeTrackLayout();
+        updateSkinDisplayList();
     }

     /**
@@ -719,7 +484,7 @@
      */
     private function thumb_resizeHandler(event:Event):void
     {
-        completeTrackLayout();
+        updateSkinDisplayList();
     }

     /**
@@ -727,7 +492,7 @@
      */
     private function thumb_updateCompleteHandler(event:Event):void
     {
-        completeTrackLayout();
+        updateSkinDisplayList();
         thumb.removeEventListener(FlexEvent.UPDATE_COMPLETE, thumb_updateCompleteHandler);
     }

@@ -743,7 +508,6 @@
     protected function system_mouseWheelHandler(event:MouseEvent):void
     {
     	var newValue:Number = nearestValidValue(value + event.delta * stepSize, stepSize);
-        positionThumb(valueToPosition(newValue));
         setValue(newValue);
         event.preventDefault();
     }
@@ -772,19 +536,9 @@
      */
     protected function thumb_mouseDownHandler(event:MouseEvent):void
     {
-        addSystemHandlers(MouseEvent.MOUSE_MOVE, system_mouseMoveHandler,
-                stage_mouseMoveHandler);
-        addSystemHandlers(MouseEvent.MOUSE_UP, system_mouseUpHandler,
-                stage_mouseUpHandler);
-
-        // Record the location where this mouse-down event occurred; we will
-        // use this in later drag operations to determine how much to move the
-        // thumb button
-        var pt:Point = new Point(event.stageX, event.stageY);
-        var pt2:Point = track.globalToLocal(pt);
-        pt = thumb.globalToLocal(pt);
-        _clickOffset = pt;
-
+        addSystemHandlers(MouseEvent.MOUSE_MOVE, system_mouseMoveHandler, stage_mouseMoveHandler);
+        addSystemHandlers(MouseEvent.MOUSE_UP, system_mouseUpHandler, stage_mouseUpHandler);
+        clickOffset = thumb.globalToLocal(new Point(event.stageX, event.stageY));
         dispatchEvent(new TrackBaseEvent(TrackBaseEvent.THUMB_PRESS));
     }

@@ -810,17 +564,17 @@
      */
     protected function system_mouseMoveHandler(event:MouseEvent):void
     {
-        var newValue:Number = calculateNewValue(value, event);
-
-        positionThumb(valueToPosition(newValue));
-
+        var p:Point = track.globalToLocal(new Point(event.stageX, event.stageY));
+        var newValue:Number = pointToValue(p.x - clickOffset.x, p.y - clickOffset.y);
+        newValue = nearestValidValue(newValue, snapInterval);
+
         if (newValue != value)
         {
-            setValue(newValue);
+            setValue(newValue);
             dispatchEvent(new TrackBaseEvent(TrackBaseEvent.THUMB_DRAG));
             dispatchEvent(new Event(Event.CHANGE));
         }
-
+
         event.updateAfterEvent();
     }

@@ -842,11 +596,8 @@
      */
     protected function system_mouseUpHandler(event:MouseEvent):void
     {
-        removeSystemHandlers(MouseEvent.MOUSE_MOVE, system_mouseMoveHandler,
-                stage_mouseMoveHandler);
-        removeSystemHandlers(MouseEvent.MOUSE_UP, system_mouseUpHandler,
-                stage_mouseUpHandler);
-
+        removeSystemHandlers(MouseEvent.MOUSE_MOVE, system_mouseMoveHandler, stage_mouseMoveHandler);
+        removeSystemHandlers(MouseEvent.MOUSE_UP, system_mouseUpHandler, stage_mouseUpHandler);
         dispatchEvent(new TrackBaseEvent(TrackBaseEvent.THUMB_RELEASE));
     }

@@ -860,7 +611,7 @@
      *  should override this method if they want the track to
      *  recognize mouse clicks on the track.
      */
-    protected function track_mouseDownHandler(event:MouseEvent):void {}
+    protected function track_mouseDownHandler(event:MouseEvent):void { }

     //---------------------------------
     // Mouse click handlers


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////
 package spark.effects.supportClasses
 {
 import spark.effects.SimpleMotionPath;


Transferred from the Adobe Open Source Subversion Repository

Revision: 8023
Author:   aharui@adobe.com
Date:     2009-06-19T23:37:02.437061Z

Log Message:
-----------
Frame1 cleanup part 2 (final part AFAIK).  MarshallPLan (now MarshallingSupport) is now opt-in.  All SWFs using Marshalling must use -includes=mx.managers.systemClasses.MarshallingSupport on the command line.

QE Notes: None
Doc Notes: None
Bugs: N/A
Reviewer: Joan cyclone
tests: checkintests mustella/MarshallPlan

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/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.as" copyfrom-rev="7988" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>

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

--- frameworks/projects/framework/src/FrameworkClasses.as
+++ frameworks/projects/framework/src/FrameworkClasses.as
@@ -86,7 +86,7 @@
 	import mx.managers.marshalClasses.ToolTipManagerMarshalMixin; ToolTipManagerMarshalMixin;
 	import mx.managers.systemClasses.ActiveWindowManager; ActiveWindowManager;
 	import mx.managers.systemClasses.ChildManager; ChildManager;
-	import mx.managers.systemClasses.MarshallPlan; MarshallPlan;
+	import mx.managers.systemClasses.MarshallingSupport; MarshallingSupport;
 	import mx.messaging.config.LoaderConfig; LoaderConfig;
 	import mx.modules.IModuleInfo; IModuleInfo;
 	import mx.modules.Module; Module;


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

--- frameworks/projects/framework/src/mx/core/IToolTip.as
+++ frameworks/projects/framework/src/mx/core/IToolTip.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 mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8506
Author:   smgilson@adobe.com
Date:     2009-07-10T16:36:46.292514Z

Log Message:
-----------
- Fix incorrect [Alternative] link in Tween.as
- Expose SparkSkinForHalo.as in ASDoc

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SparkSkinForHalo.as</path>

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

--- frameworks/projects/framework/src/mx/effects/Tween.as
+++ frameworks/projects/framework/src/mx/effects/Tween.as
@@ -27,7 +27,7 @@
  *  Tween is the underlying animation class for the effects in Flex 3. As of Flex 4, the new
  *  effects use the new Animation class to provide similar functionality.
  */
-[Alternative(replacement="spark.effects.Animation", since="4.0")]
+[Alternative(replacement="spark.effects.animation.Animation", since="4.0")]

 /**
  *  The Tween class defines a tween, a property animation performed


Removing stray comment.

Removing stray comment.

--- driver/src/org/postgresql/febe/MessageStream.as
+++ driver/src/org/postgresql/febe/MessageStream.as
@@ -96,7 +96,6 @@
                     // to the number of bytes this particular message can read.
                     var messageBytes:ByteDataStream = new ByteDataStream();
                     if (_nextMessageLen > 0) {
-                        // N.B.: If
                         _dataStream.readBytes(messageBytes, 0, _nextMessageLen);
                     }
                     assert("Unexpected amount of data was read off the stream", messageBytes.length == _nextMessageLen);


Transferred from the Adobe Open Source Subversion Repository

Revision: 3035
Author:   jvroom@adobe.com
Date:     2008-08-29T06:18:11.275196Z

Log Message:
-----------
* Added HTTPMultiService component - refactored the guts of HTTPService into a new
class AbstractOperation which HTTPService now wraps.

* Moved concurrency and showBusyCursor classes up to the mx.rpc level from mx.rpc.mxml.
Partly this improves consistency and partly because it is awkward to implement them
with the wrapping design in the subclass.  This does introduce a new dependency on
CursorManager in mx.rpc.HTTPService, though I think that should turn into a "runtime binding"
so we remove the compile time binding altogether.

* Added managers, operationManager, resultType, resultElementType, properties to the
AbstractService and AbstractInvoker classes.  These are used to improve the metadata information
on these operations for better tooling in the future, and to allow management services to
tie into the service infrastructure.

* AsyncToken gets a default parameter for its constructor so it can be used in MXML.

* Moved endpoint property up from the MXML to the regular mx.rpc version to improve consistency

The blazeds RPC tests passed unfortunately I had problems getting the RPC tests in the sdk branch
to build and run so let me know if you see any problems on those.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/AbstractService.as
+++ frameworks/projects/rpc/src/mx/rpc/AbstractService.as
@@ -79,7 +79,10 @@
         asyncRequest = new AsyncRequest();

         if (destination)
+        {
             this.destination = destination;
+            asyncRequest.destination = destination;
+        }

         _operations = {};
     }
@@ -146,6 +149,48 @@
     public function set destination(name:String):void
     {
         asyncRequest.destination = name;
+    }
+
+
+    //----------------------------------
+    //  managers
+    //----------------------------------
+
+    private var _managers:Array;
+
+    /**
+     * The managers property stores a list of data managers which modify the
+     * behavior of this service.  You can use this hook to define one or more
+     * manager components associated with this service.  When this property is set,
+     * if the managers have a property called "service" that property is set to
+     * the value of this service.  When this service is initialized, we also call
+     * the initialize method on any manager components.
+     */
+    public function get managers():Array
+    {
+        return _managers;
+    }
+
+    public function set managers(mgrs:Array):void
+    {
+        if (_managers != null)
+        {
+            for (var i:int = 0; i < _managers.length; i++)
+            {
+                var mgr:Object = _managers[i];
+                if (mgr.hasOwnProperty("service"))
+                    mgr.service = null;
+            }
+        }
+        _managers = mgrs;
+        for (i = 0; i < mgrs.length; i++)
+        {
+            mgr = _managers[i];
+            if (mgr.hasOwnProperty("service"))
+                mgr.service = this;
+            if (_initialized && mgr.hasOwnProperty("initialize"))
+                mgr.initialize();
+        }
     }

     //----------------------------------
@@ -260,6 +305,23 @@
     public function willTrigger(type:String):Boolean
     {
         return eventDispatcher.willTrigger(type);
+    }
+
+    /**
+     *  Called to initialize the service.
+     */
+    public function initialize():void
+    {
+        if (!_initialized && _managers != null)
+        {
+            for (var i:int = 0; i < _managers.length; i++)
+            {
+                var mgr:Object = _managers[i];
+                if (mgr.hasOwnProperty("initialize"))
+                    mgr.initialize();
+            }
+            _initialized = true;
+        }
     }

     //---------------------------------
@@ -462,6 +524,7 @@
     mx_internal var _availableChannelIds:Array;
     mx_internal var asyncRequest:AsyncRequest;
     private var eventDispatcher:EventDispatcher;
+    private var _initialized:Boolean = false;
 }

 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package spark.utils
 {


Temporarily turn Integer keys into just ints.

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

--- src/as/com/threerings/presents/dobj/EntryRemovedEvent.as
+++ src/as/com/threerings/presents/dobj/EntryRemovedEvent.as
@@ -3,6 +3,7 @@
 import com.threerings.io.ObjectInputStream;
 import com.threerings.io.ObjectOutputStream;

+import com.threerings.util.Integer;
 import com.threerings.util.StringBuilder;

 /**
@@ -99,6 +100,11 @@
     {
         super.readObject(ins);
         _key = ins.readObject();
+
+        // TODO: for now...
+        if (_key is Integer) {
+            _key = (_key as Integer).value;
+        }
     }

     protected var _key :Object;


Refactored SpanningTree functionality to reduce coupling
Added id field to Transitions to enable automatic cancelation

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

--- flare.demos/src/flare/demos/Smoke.as
+++ flare.demos/src/flare/demos/Smoke.as
@@ -1,20 +1,18 @@
 package flare.demos
 {
-	import flash.display.Sprite;
+	import flare.physics.Particle;
 	import flare.physics.Simulation;
+
+	import flash.display.Shape;
+	import flash.events.Event;
 	import flash.utils.Dictionary;
-	import flare.physics.Particle;
-	import flash.events.Event;
-	import flash.display.Shape;
-	import flare.animate.ISchedulable;
-	import flare.animate.Scheduler;

 	/**
 	 * Demo showcasing use of the physics engine to simulate smoke.
 	 * Based on the smoke example from the traer physics library
 	 * for processing (http://www.cs.princeton.edu/~traer/physics/).
 	 */
-	public class Smoke extends Demo implements ISchedulable
+	public class Smoke extends Demo
 	{
 		private var _shapes:Array = new Array();
 		private var _spool:Array = new Array();
@@ -36,21 +34,12 @@

 		override public function play():void
 		{
-			// add to scheduler, which will call the evaluate method
-			Scheduler.instance.add(this);
+			addEventListener(Event.ENTER_FRAME, drawSmoke);
 		}

 		override public function stop():void
 		{
-			// remove from the scheduler
-			Scheduler.instance.remove(this);
-		}
-
-		public function evaluate(t:Number) : Boolean
-		{
-			// update smoke simulation on scheduler callback
-			drawSmoke();
-			return false;
+			removeEventListener(Event.ENTER_FRAME, drawSmoke);
 		}

 		private function getShape():Shape
@@ -75,7 +64,7 @@
 			_spool.push(s);
 		}

-		private function drawSmoke():void
+		private function drawSmoke(evt:Event=null):void
 		{
 			// create five new smoke particles on each simulation tick
 			for (var i:uint = 0; i<5; ++i) {


fixed Event.COMPLETE not dispatched when using LoaderGroup.loadBytes

--- src/aerys/minko/scene/node/group/LoaderGroup.as
+++ src/aerys/minko/scene/node/group/LoaderGroup.as
@@ -142,6 +142,7 @@

 			loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleteHandler);
 			loader.loadBytes(bytes);
+			++_total;

 			return this;
 		}


Adding extra connection guards to HostCoordinator

git-svn-id: a3e1eb16dde062992de22c830ed8045c8013209a@220 c613c5cb-e716-0410-b11b-feb51c14d237

--- src/as/com/threerings/ezgame/HostCoordinator.as
+++ src/as/com/threerings/ezgame/HostCoordinator.as
@@ -158,6 +158,10 @@
      */
     protected function getHostId (claimIfAvailable : Boolean = false) : Number
     {
+        if (! _control.isConnected()) {
+            return 0;
+        }
+
         var host : Object = _control.get(HOST_NAME);

         if (host == null ||                                   // no host was recorded, or
@@ -167,7 +171,6 @@
                 tryReplaceHost (host);
             }
             return 0;
-
         } else {
             // otherwise, the host is present and known
             return Number(host);
@@ -181,9 +184,11 @@
      */
     protected function tryReplaceHost (hostId : Object) : void
     {
-        debugLog("Removing old host with id " + hostId);
-        _control.testAndSet (HOST_NAME, _control.getMyId (), hostId);
-        debugHostStatus ();
+        if (_control.isConnected()) {
+            debugLog("Removing old host with id " + hostId);
+            _control.testAndSet (HOST_NAME, _control.getMyId (), hostId);
+            debugHostStatus ();
+        }
     }

     /** Debug only */


Transferred from the Adobe Open Source Subversion Repository

Revision: 20843
Author:   mhorn@adobe.com
Date:     2011-03-14T14:36:04.836183Z

Log Message:
-----------
merge

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/StringUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/chartClasses/PolarDataCanvas.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TabBar.as</path>

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

--- frameworks/projects/charts/src/mx/charts/series/PlotSeries.as
+++ frameworks/projects/charts/src/mx/charts/series/PlotSeries.as
@@ -179,7 +179,7 @@
     //--------------------------------------------------------------------------

     /**
-     *  Constructor
+     *  Constructor.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -203,11 +203,11 @@
     //
     //--------------------------------------------------------------------------

-	/**
-	 *  @private
-	 */
-	private var _moduleFactoryInitialized:Boolean = false;
-
+    /**
+     *  @private
+     */
+    private var _moduleFactoryInitialized:Boolean = false;
+
     /**
      *  @private
      */
@@ -384,7 +384,7 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-	public function get fillFunction():Function
+    public function get fillFunction():Function
     {
         return _fillFunction;
     }
@@ -619,50 +619,50 @@
     //
     //--------------------------------------------------------------------------

-	/**
-	 *  @private
-	 */
-	private function initStyles():Boolean
-	{
-		HaloDefaults.init(styleManager);
-
-		var seriesStyle:CSSStyleDeclaration =
-			HaloDefaults.createSelector("mx.charts.series.PlotSeries", styleManager);
-
-		seriesStyle.defaultFactory = function():void
-		{
-			this.fill = new SolidColor(0x4444AA);
-			this.fills = [];
-			this.itemRenderer = new ClassFactory(DiamondItemRenderer);
-			this.radius = 5;
-			this.adjustedRadius = 2;
-		}
-
-		return true;
-	}
-
-
-	/**
-	 *  @inheritDoc
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	override public function set moduleFactory(factory:IFlexModuleFactory):void
-	{
-		super.moduleFactory = factory;
-
-		if (_moduleFactoryInitialized)
-			return;
-
-		_moduleFactoryInitialized = true;
-
-		// our style settings
-		initStyles();
-	}
-
+    /**
+     *  @private
+     */
+    private function initStyles():Boolean
+    {
+        HaloDefaults.init(styleManager);
+
+        var seriesStyle:CSSStyleDeclaration =
+            HaloDefaults.createSelector("mx.charts.series.PlotSeries", styleManager);
+
+        seriesStyle.defaultFactory = function():void
+        {
+            this.fill = new SolidColor(0x4444AA);
+            this.fills = [];
+            this.itemRenderer = new ClassFactory(DiamondItemRenderer);
+            this.radius = 5;
+            this.adjustedRadius = 2;
+        }
+
+        return true;
+    }
+
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    override public function set moduleFactory(factory:IFlexModuleFactory):void
+    {
+        super.moduleFactory = factory;
+
+        if (_moduleFactoryInitialized)
+            return;
+
+        _moduleFactoryInitialized = true;
+
+        // our style settings
+        initStyles();
+    }
+
     /**
      *  @inheritDoc
      *
@@ -799,9 +799,9 @@
     {
         _localFills = getStyle('fills');
         if (_localFills != null)
-        	_fillCount = _localFills.length;
+            _fillCount = _localFills.length;
         else
-        	_fillCount = 0;
+            _fillCount = 0;
         super.stylesInitialized();
     }

@@ -817,9 +817,9 @@
         {
             _localFills = getStyle('fills');
             if (_localFills != null)
-        		_fillCount = _localFills.length;
-        	else
-        		_fillCount = 0;
+                _fillCount = _localFills.length;
+            else
+                _fillCount = 0;
         }
         if (styleProp == "itemRenderer")
         {
@@ -969,7 +969,7 @@
                 minItems.push(v);
         }

-		n = minItems.length;
+        n = minItems.length;
         for (i = 0; i < n; i++)
         {
             var item:PlotSeriesItem = minItems[i];
@@ -1056,15 +1056,15 @@
         cacheIndexValues(_xField, _renderData.cache, "xValue");
         cacheDefaultValues(_yField, _renderData.cache, "yValue");

-		if(dataTransform && dataTransform.getAxis(CartesianTransform.VERTICAL_AXIS) is NumericAxis &&
-			!(dataTransform.getAxis(CartesianTransform.VERTICAL_AXIS) is DateTimeAxis) &&
-        	(dataTransform.getAxis(CartesianTransform.VERTICAL_AXIS) as NumericAxis).direction == "inverted")
-        	_renderData.cache = reverseYValues(_renderData.cache);
+        if(dataTransform && dataTransform.getAxis(CartesianTransform.VERTICAL_AXIS) is NumericAxis &&
+            !(dataTransform.getAxis(CartesianTransform.VERTICAL_AXIS) is DateTimeAxis) &&
+            (dataTransform.getAxis(CartesianTransform.VERTICAL_AXIS) as NumericAxis).direction == "inverted")
+            _renderData.cache = reverseYValues(_renderData.cache);
         if(dataTransform && dataTransform.getAxis(CartesianTransform.HORIZONTAL_AXIS) is NumericAxis &&
-        	!(dataTransform.getAxis(CartesianTransform.HORIZONTAL_AXIS) is DateTimeAxis) &&
-        	(dataTransform.getAxis(CartesianTransform.HORIZONTAL_AXIS) as NumericAxis).direction == "inverted")
-        	_renderData.cache = reverseXValues(_renderData.cache);
-
+            !(dataTransform.getAxis(CartesianTransform.HORIZONTAL_AXIS) is DateTimeAxis) &&
+            (dataTransform.getAxis(CartesianTransform.HORIZONTAL_AXIS) as NumericAxis).direction == "inverted")
+            _renderData.cache = reverseXValues(_renderData.cache);
+
         super.updateData();

         var radius:Number = getStyle("radius");
@@ -1235,14 +1235,14 @@
         return arrItems;
     }

-
+
     /**
      * @private
      */
     override protected function defaultFilterFunction(cache:Array /*of PlotSeriesItem */ ):Array /*of PlotSeriesItem*/
     {
-    	var filteredCache:Array /*of PlotSeriesItem*/ = [];
-    	if (filterDataValues == "outsideRange")
+        var filteredCache:Array /*of PlotSeriesItem*/ = [];
+        if (filterDataValues == "outsideRange")
         {
             filteredCache = cache.concat();

@@ -1268,7 +1268,7 @@
         }
         return filteredCache;
     }
-
+
     //--------------------------------------------------------------------------
     //
     //  Methods
@@ -1333,24 +1333,24 @@

     private function reverseYValues(cache:Array):Array
     {
-    	var i:int = 0;
+        var i:int = 0;
         var n:int = cache.length;
         for(i = 0; i < n ; i++)
         {
-        	cache[i]["yValue"] = -(cache[i]["yValue"]);
+            cache[i]["yValue"] = -(cache[i]["yValue"]);
         }
-    	return cache;
+        return cache;
     }

     private function reverseXValues(cache:Array):Array
     {
-    	var i:int = 0;
+        var i:int = 0;
         var n:int = cache.length;
         for(i = 0; i < n ; i++)
         {
-        	cache[i]["xValue"] = -(cache[i]["xValue"]);
+            cache[i]["xValue"] = -(cache[i]["xValue"]);
         }
-    	return cache;
+        return cache;
     }
 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/framework/src/mx/core/ISpriteInterface.as
+++ frameworks/projects/framework/src/mx/core/ISpriteInterface.as
@@ -1,18 +1,4 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.
-//
-////////////////////////////////////////////////////////////////////////////////

-/*
- *  The ISprite interface defines the basic set of APIs
- *  for web version of flash.display.Sprite
- */

 import flash.display.DisplayObject;
 import flash.display.Sprite;