Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -104,6 +104,11 @@
  *  Dispatched when the application has finished initializing
  *
  *  @eventType mx.events.FlexEvent.APPLICATION_COMPLETE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="applicationComplete", type="mx.events.FlexEvent")]

@@ -112,6 +117,11 @@
  *  or mouse activity for 1 second.
  *
  *  @eventType mx.events.FlexEvent.IDLE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="idle", type="mx.events.FlexEvent")]

@@ -119,6 +129,11 @@
  *  Dispatched when the Stage is resized.
  *
  *  @eventType flash.events.Event.RESIZE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 [Event(name="resize", type="flash.events.Event")]

@@ -168,6 +183,11 @@
  *  It is responsible for creating an mx.preloaders.Preloader that displays and
  *  mx.preloaders.DownloadProgressBar while the application finishes loading,
  *  then creates the mx.core.Application instance.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class SystemManager extends MovieClip
 						   implements IChildList, IFlexDisplayObject,
@@ -256,6 +276,11 @@
 	 *  This class is set to be the root class of a Flex SWF file.
          *  Flash Player instantiates an instance of this class,
 	 *  causing this constructor to be called.

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function SystemManager()
 	{
@@ -393,12 +418,22 @@

 	/**
 	 * cached value of the stage.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private var _stage:Stage;

 	/**
 	 *  Depth of this object in the containment hierarchy.
 	 *  This number is used by the measurement and layout code.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	mx_internal var nestLevel:int = 0;

@@ -506,6 +541,11 @@
 	 *  this should always be the width of the stage unless the application was loaded
 	 *  into another application.  If the application was not loaded
 	 *  into another application, setting this value has no effect.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	override public function get height():Number
 	{
@@ -568,6 +608,11 @@
 	 *  this should always be the width of the stage unless the application was loaded
 	 *  into another application.  If the application was not loaded
 	 *  into another application, setting this value will have no effect.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	override public function get width():Number
 	{
@@ -588,6 +633,11 @@
 	 *  The number of non-floating windows.  This is the main application window
 	 *  plus any other windows added to the SystemManager that are not popups,
 	 *  tooltips or cursors.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	override public function get numChildren():int
 	{
@@ -613,6 +663,11 @@
 	 *
Note that this property is not typed as mx.core.Application
 	 *  because of load-time performance considerations
 	 *  but can be coerced into an mx.core.Application.

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get application():IUIComponent
 	{
@@ -701,6 +756,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get cursorChildren():IChildList
 	{
@@ -757,6 +817,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get document():Object
 	{
@@ -784,6 +849,11 @@
 	/**
 	 *  A table of embedded fonts in this application.  The
 	 *  object is a table indexed by the font name.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get embeddedFontList():Object
 	{
@@ -831,6 +901,11 @@
 	 *  this should always be NaN unless the application was loaded
 	 *  into another application.  If the application was not loaded
 	 *  into another application, setting this value has no effect.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get explicitHeight():Number
 	{
@@ -859,6 +934,11 @@
 	 *  this should always be NaN unless the application was loaded
 	 *  into another application.  If the application was not loaded
 	 *  into another application, setting this value has no effect.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get explicitWidth():Number
 	{
@@ -884,6 +964,11 @@

 	/**
      *  @copy mx.core.UIComponent#focusPane
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
     public function get focusPane():Sprite
 	{
@@ -934,6 +1019,11 @@
 	 *  the main mx.core.Application window
 	 *  or the starting height of the SWF if the main window
 	 *  has not yet been created or does not exist.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get measuredHeight():Number
 	{
@@ -951,6 +1041,11 @@
 	 *  the main mx.core.Application window,
 	 *  or the starting width of the SWF if the main window
 	 *  has not yet been created or does not exist.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get measuredWidth():Number
 	{
@@ -1020,6 +1115,11 @@
 	 *  clicking in another windows which would normally
 	 *  activate the FocusManager in that window.  The PopUpManager
 	 *  modifies this count as it creates and destroys modal windows.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get numModalWindows():int
 	{
@@ -1040,6 +1140,11 @@

 	/**
 	 *	The background alpha used by the child of the preloader.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get preloaderBackgroundAlpha():Number
 	{
@@ -1052,6 +1157,11 @@

 	/**
 	 *	The background color used by the child of the preloader.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get preloaderBackgroundColor():uint
 	{
@@ -1068,6 +1178,11 @@

 	/**
 	 *	The background color used by the child of the preloader.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get preloaderBackgroundImage():Object
 	{
@@ -1080,6 +1195,11 @@

 	/**
 	 *	The background size used by the child of the preloader.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get preloaderBackgroundSize():String
 	{
@@ -1098,6 +1218,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get popUpChildren():IChildList
 	{
@@ -1126,6 +1251,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get rawChildren():IChildList
 	{
@@ -1183,6 +1313,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get screen():Rectangle
 	{
@@ -1208,6 +1343,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get toolTipChildren():IChildList
 	{
@@ -1261,6 +1401,11 @@
 	 *  Returns the SystemManager responsible for the application window.  This will be
 	 *  the same SystemManager unless this application has been loaded into another
 	 *  application.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function get topLevelSystemManager():ISystemManager
 	{
@@ -1304,6 +1449,11 @@

     /**
      * @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get swfBridge():IEventDispatcher
     {
@@ -1315,6 +1465,11 @@

     /**
      * @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get childAllowsParent():Boolean
     {
@@ -1332,6 +1487,11 @@

     /**
      * @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get parentAllowsChild():Boolean
     {
@@ -1778,6 +1938,11 @@
 	 *  called parameters.
 	 *
 	 * @return An instance of the module, or null.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function create(... params):Object
 	{
@@ -2189,6 +2354,11 @@
 	 *
      *  @return A Number that is the explicitWidth if defined,
 	 *  or the measuredWidth property if not.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getExplicitOrMeasuredWidth():Number
     {
@@ -2201,6 +2371,11 @@
 	 *
      *  @return A Number that is the explicitHeight if defined,
 	 *  or the measuredHeight property if not.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getExplicitOrMeasuredHeight():Number
     {
@@ -2215,6 +2390,11 @@
 	 *  @param x The new x coordinate.
 	 *
 	 *  @param y The new y coordinate.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function move(x:Number, y:Number):void
 	{
@@ -2229,6 +2409,11 @@
 	 *  @param newWidth The new width.
 	 *
 	 *  @param newHeight The new height.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function setActualSize(newWidth:Number, newHeight:Number):void
 	{
@@ -2341,6 +2526,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function activate(f:IFocusManagerContainer):void
 	{
@@ -2396,6 +2586,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function deactivate(f:IFocusManagerContainer):void
 	{
@@ -2566,6 +2761,11 @@
 	 * Remote a remote form from the forms array.
 	 *
 	 * form Locally created remote form.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function removeRemotePopUp(form:RemotePopUp):void
 					{
@@ -2643,6 +2843,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function addFocusManager(f:IFocusManagerContainer):void
 	{
@@ -2655,6 +2860,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function removeFocusManager(f:IFocusManagerContainer):void
 	{
@@ -2691,6 +2901,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function getDefinitionByName(name:String):Object
 	{
@@ -2719,6 +2934,11 @@
 	 *  @param object Any Object.
 	 *
 	 *  @return The root DisplayObject
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function getSWFRoot(object:Object):DisplayObject
 	{
@@ -2743,6 +2963,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function isTopLevel():Boolean
 	{
@@ -2751,6 +2976,11 @@

 	/**
 	 * @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function isTopLevelRoot():Boolean
 	{
@@ -2765,6 +2995,11 @@
 	 *
 	 *  @return true if the given DisplayObject is the
 	 *  top-level window.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function isTopLevelWindow(object:DisplayObject):Boolean
 	{
@@ -2774,6 +3009,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
     public function isFontFaceEmbedded(textFormat:TextFormat):Boolean
     {
@@ -2944,6 +3184,11 @@
 	    {
 		    addFrameScript(f, extraFrameHandler);
 		}
+		*
+		*  @langversion 3.0
+		*  @playerversion Flash 9
+		*  @playerversion AIR 1.1
+		*  @productversion Flex 3
 		*/

 	    initialize();
@@ -3326,6 +3571,11 @@
  	/**
 	 *  Override this function if you want to perform any logic
 	 *  when the application has finished initializing itself.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function appCreationCompleteHandler(event:FlexEvent):void
 	{
@@ -3830,6 +4080,11 @@
 	 * Forward a form event update the parent chain.
 	 * Takes care of removing object references and substituting
 	 * ids when an untrusted boundry is crossed.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function forwardFormEvent(event:SWFBridgeEvent):Boolean
 	{
@@ -3869,6 +4124,11 @@
 	 * @param request request to either add or remove a pop up placeholder.
 	 * @param addPlaceholder true if adding a placeholder, false it removing a placeholder.
 	 * @return true if the request was forwared, false otherwise
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function forwardPlaceholderRequest(request:SWFBridgeRequest, addPlaceholder:Boolean):Boolean
 	{
@@ -3919,6 +4179,11 @@
 	 * One of the system managers in another sandbox deactivated and sent a message
 	 * to the top level system manager. In response the top-level system manager
 	 * needs to find a new form to activate.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function deactivateFormSandboxEventHandler(event:Event):void
 	{
@@ -3945,6 +4210,11 @@
 	 * The form being activate is identified.
 	 * In response the top-level system manager needs to activate the given form
 	 * and deactivate the currently active form, if any.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function activateFormSandboxEventHandler(event:Event):void
 	{
@@ -3960,6 +4230,11 @@
 	 * One of the system managers in another sandbox activated and sent a message
 	 * to the top level system manager to deactivate this form. In response the top-level system manager
 	 * needs to deactivate all other forms except the top level system manager's.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function activateApplicationSandboxEventHandler(event:Event):void
 	{
@@ -4287,6 +4562,11 @@
 	 * system manager?
 	 *
 	 * Set the data property to indicate if the display object is a child
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function isBridgeChildHandler(event:Event):void
 	{
@@ -4305,6 +4585,11 @@
 	 * is visible and is enabled.
 	 *
 	 * Set the data property to indicate if can be activated
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function canActivateHandler(event:Event):void
 	{
@@ -4431,6 +4716,11 @@

 	/**
 	 * redispatch certian events to other top-level windows
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function multiWindowRedispatcher(event:Event):void
 	{
@@ -4442,6 +4732,11 @@

 	/**
          * Create the requested manager.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function initManagerHandler(event:Event):void
 	{
@@ -4473,6 +4768,11 @@
          *  names of ISystemManager and that is the list where the child is added.
          *
          *  @param child The child to add.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function addChildToSandboxRoot(layer:String, child:DisplayObject):void
 	{
@@ -4499,6 +4799,11 @@
          *  names of ISystemManager and that is the list where the child is removed from.
          *
          *  @param child The child to remove.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function removeChildFromSandboxRoot(layer:String, child:DisplayObject):void
 	{
@@ -4520,6 +4825,11 @@

 	/**
          * Perform the requested action from a trusted dispatcher.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function systemManagerHandler(event:Event):void
 	{
@@ -4616,6 +4926,11 @@
 	 *
 	 * The function assumes the caller does not have access to the stage.
 	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function getSandboxScreen():Rectangle
 	{
@@ -4649,6 +4964,11 @@
 	/**
 	 * The system manager proxy has only one child that is a focus manager container.
 	 * Iterate thru the children until we find it.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	mx_internal function findFocusManagerContainer(smp:SystemManagerProxy):IFocusManagerContainer
 	{
@@ -4813,6 +5133,11 @@
 	 * a differnt sandbox. If the parent is in the same sandbox it is returned.
 	 * If the parent is in a diffent sandbox, then null is returned.
 	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	override public function get parent():DisplayObjectContainer
 	{
@@ -4833,6 +5158,11 @@
 	 *
 	 *  @param bridge The bridge used to talk to the parent.
 	 *  @param owner The display object that owns the bridge.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function addChildBridge(bridge:IEventDispatcher, owner:DisplayObject):void
 	{
@@ -4876,6 +5206,11 @@
 	 * Remove a child bridge.
          *
          *  @param bridge The target bridge to remove.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function removeChildBridge(bridge:IEventDispatcher):void
 	{
@@ -4892,6 +5227,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function useSWFBridge():Boolean
 	{
@@ -4949,6 +5289,11 @@
          *  access to the top-level system manager.
          *
          *  @return The root system manager.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function getTopLevelRoot():DisplayObject
 	{
@@ -4981,6 +5326,11 @@
          *  SecurityDomain.
 	 *
          *  @return The root system manager in this SecurityDomain.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function getSandboxRoot():DisplayObject
 	{
@@ -5038,6 +5388,11 @@

    /**
     *  @inheritDoc
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 9
+    *  @playerversion AIR 1.1
+    *  @productversion Flex 3
     */
     public function getVisibleApplicationRect(bounds:Rectangle = null):Rectangle
     {
@@ -5071,6 +5426,11 @@

    /**
     *  @inheritDoc
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 9
+    *  @playerversion AIR 1.1
+    *  @productversion Flex 3
     */
     public function deployMouseShields(deploy:Boolean):void
     {
@@ -5162,6 +5522,11 @@
 	 *
 	 * This method assumes the form variable has been set before calling
 	 * this function.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function updateLastActiveForm():void
 	{
@@ -5232,6 +5597,11 @@

 	/**
 	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function dispatchEventFromSWFBridges(event:Event, skip:IEventDispatcher = null,
 						trackClones:Boolean = false, toOtherSystemManagers:Boolean = false):void
@@ -5283,6 +5653,11 @@

 	/**
 	 * request the parent to add an event listener.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function addEventListenerToSandboxes(type:String, listener:Function, useCapture:Boolean = false,
 				priority:int=0, useWeakReference:Boolean=false, skip:IEventDispatcher = null):void
@@ -5317,6 +5692,11 @@

 	/**
 	 * request the parent to remove an event listener.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function removeEventListenerFromSandboxes(type:String, listener:Function,
 	                                                  useCapture:Boolean = false,
@@ -5346,6 +5726,11 @@

 	/**
 	 * request the parent to add an event listener.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function addEventListenerToOtherSystemManagers(type:String, listener:Function, useCapture:Boolean = false,
 				priority:int=0, useWeakReference:Boolean=false):void
@@ -5368,6 +5753,11 @@

 	/**
 	 * request the parent to remove an event listener.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	private function removeEventListenerFromOtherSystemManagers(type:String, listener:Function,
 	                                                  useCapture:Boolean = false):void


Transferred from the Adobe Open Source Subversion Repository

Revision: 12966
Author:   dloverin@adobe.com
Date:     2009-12-15T18:59:54.493877Z

Log Message:
-----------
Fix sub-applications loading RSLs into the wrong application domain.

projects/framework/src/mx/controls/SWFLoader.as
Fix loading sub-applications as well. Load sub-applications into a child application domain of their parent.

projects/framework/src/mx/core/CrossDomainRSLItem.as
projects/framework/src/mx/core/FlexModuleFactory.as
projects/framework/src/mx/core/RSLItem.as
projects/framework/src/mx/managers/SystemManager.as
    Pass a module factory from SystemManager and FlexModuleFactory to CrossDomainRSLItem/RSLItem. Use the moduleFactory to find the application domain of the app/modules loading the RSLs. Use this application domain to load RSLs into.

projects/framework/src/mx/modules/ModuleLoader.as
    “currentDomain” is never null so remove null check.

projects/airframework/src/mx/managers/WindowedSystemManager.as
    Added a info().currentDomain object to WindowedSystemManager.

QE notes: None.
Doc notes: None.
Bugs: SDK-24698
Reviewer: Alex
Tests run: checkintests, MarshallPlan, Modules
Is noteworthy for integration: no

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/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/RSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -1865,6 +1865,7 @@
         var i:int;
         if (cdRsls && cdRsls.length > 0)
         {
+            var normalizedURL:String = LoaderUtil.normalizeURL(this.loaderInfo);
             var crossDomainRSLItem:Class = Class(getDefinitionByName("mx.core::CrossDomainRSLItem"));
             n = cdRsls.length;
             for (i = 0; i < n; i++)
@@ -1875,7 +1876,8 @@
                                                     cdRsls[i]["digests"],
                                                     cdRsls[i]["types"],
                                                     cdRsls[i]["isSigned"],
-                                                    LoaderUtil.normalizeURL(this.loaderInfo));
+                                                    normalizedURL,
+                                                    this);
                 rslList.push(cdNode);
             }
         }
@@ -1883,10 +1885,15 @@
         // Append RSL information in the RSL list.
         if (rsls != null && rsls.length > 0)
         {
+            if (normalizedURL == null)
+                normalizedURL = LoaderUtil.normalizeURL(this.loaderInfo);
+
             n = rsls.length;
             for (i = 0; i < n; i++)
             {
-                var node:RSLItem = new RSLItem(rsls[i].url, LoaderUtil.normalizeURL(this.loaderInfo));
+                var node:RSLItem = new RSLItem(rsls[i].url,
+                                               normalizedURL,
+                                               this);
                 rslList.push(node);
             }
         }


removed outdated trazzle class

removed outdated trazzle class

git-svn-id: e38e7cdd6ace00d8230583a2d3b43e9a55f5c011@480 bc4816be-ef27-423a-9c4d-fc420be121a2

--- src/com/nesium/Trazzle.as
+++ src/com/nesium/Trazzle.as
@@ -1,156 +0,0 @@
-package com.nesium
-{
-	import flash.net.Socket;
-	import flash.net.XMLSocket;
-	import flash.xml.XMLNode;
-	import flash.xml.XMLDocument;
-	import flash.system.System;
-	import flash.events.Event;
-
-	public class Trazzle
-	{
-
-		/***************************************************************************
-		*							public properties							   *
-		***************************************************************************/
-		public static var g_host : String = 'localhost';
-		public static var g_port : Number = 3456;
-
-
-		/***************************************************************************
-		*							private properties							   *
-		***************************************************************************/
-		private static var g_connecting : Boolean = false;
-		private static var g_connected : Boolean = false;
-		private static var g_socket : XMLSocket;
-		private static var g_buffer : Array;
-		private static var g_nodeFactory : XMLDocument;
-		private static var g_levels : Object =
-		{
-			d : 'debug',
-			i : 'info',
-			n : 'notice',
-			w : 'warning',
-			e : 'error',
-			c : 'critical',
-			f : 'fatal'
-		};
-
-
-
-		/***************************************************************************
-		*							public methods								   *
-		***************************************************************************/
-		public function Trazzle() {}
-
-
-		public static function trace(msg:String, method:String, file:String, line:Number, ts:String) :void
-		{
-			if (ts == null)
-			{
-				var date : Date = new Date();
-				ts = date.getHours() + ':' + date.getMinutes() + ':' +
-					date.getSeconds() + ':' + date.getMilliseconds();
-			}
-
-			if (!g_connected)
-			{
-				if (!g_buffer)
-				{
-					g_buffer = [];
-				}
-				g_buffer.push(arguments);
-				connect();
-				return;
-			}
-
-			var level : String = '';
-			var methodParts : Array = method.split('::');
-			var clazz : String = methodParts[0];
-			method = methodParts[1];
-
-			var encodeHTML : Boolean = true;
-			if (msg.charAt(0) == '#')
-			{
-				msg = msg.substr(1);
-				encodeHTML = false;
-			}
-
-			if (msg.charAt(1) == ' ')
-			{
-				level = g_levels[msg.charAt(0)] || '';
-				msg = msg.substr(2);
-			}
-
-			if (!g_nodeFactory)
-			{
-				g_nodeFactory = new XMLDocument();
-			}
-
-			var node : XMLNode = g_nodeFactory.createElement('log');
-			node.attributes.level = level;
-			node.attributes.line = line;
-			node.attributes.ts = ts;
-			node.attributes['class'] = clazz;
-			node.attributes.method = method;
-			node.attributes.file = file;
-			node.attributes.encodehtml = encodeHTML ? 'true' : 'false';
-			var messageNode : XMLNode = g_nodeFactory.createTextNode(msg);
-			node.appendChild(messageNode);
-
-			g_socket.send(node.toString() + '\n');
-		}
-
-
-
-		/***************************************************************************
-		*							private methods								   *
-		***************************************************************************/
-		private static function connect() : void
-		{
-			if (g_connecting || g_connected)
-			{
-				return;
-			}
-
-//			System.security.loadPolicyFile('xmlsocket://' + g_host + ':' + g_port);
-
-			g_connecting = true;
-			g_socket = new XMLSocket();
-//			g_socket['owner'] = Trazzle;
-
-			g_socket.addEventListener(Event.CONNECT, socket_connect);
-			g_socket.addEventListener(Event.CLOSE, socket_disconnect);
-
-//			g_socket.onConnect = function() {this.owner.socket_connect()};
-//			g_socket.onClose = function() {this.owner.socket_disconnect()};
-			g_socket.connect(g_host, g_port);
-		}
-
-		private static function flushBuffer() : void
-		{
-			var i : Number = 0;
-			for (; i < g_buffer.length; i++)
-			{
-				Trazzle.trace.apply(null, g_buffer[i]);
-			}
-		}
-
-
-
-		/***************************************************************************
-		*									events								   *
-		***************************************************************************/
-		private static function socket_connect() : void
-		{
-			g_connecting = false;
-			g_connected = true;
-			flushBuffer();
-		}
-
-		private static function socket_disconnect() : void
-		{
-			g_connected = false;
-		}
-	}
-}


Clunky fix for infobox issue

Clunky fix for infobox issue

--- src/Infoboxes/DMemory.as
+++ src/Infoboxes/DMemory.as
@@ -138,7 +138,15 @@
 			add(commentButton = new GraphicButton(bg.x + INNER_BORDER + bg.width / 2 - 16, bg.y + INNER_BORDER,
 								  displayComments ? _code_sprite : _comment_sprite, function comment():void {
 									  U.state.viewingComments = kludge.displayComments = !kludge.displayComments;
-									  init();
+
+									  var scroll:Number = scrollbar.scrollFraction;
+										scrollbar.scrollFraction = 0;
+										checkScroll();
+
+									  init();
+
+										scrollbar.scrollFraction = scroll;
+										checkScroll();
 									},
 								  displayComments ? "View expected memory" : "View instruction info", new Key("C")));
 			commentButton.setScroll(0);


Added comparator to branch level

Added comparator to branch level

--- src/Levels/LevelShard.as
+++ src/Levels/LevelShard.as
@@ -65,7 +65,7 @@
 		public static const DELAY:LevelShard = new LevelShard("Delay", [], [SysDelayClock], 12, 1, true); //12*3 = 36 t/i
 		public static const SPD:LevelShard = new LevelShard("Speed", [], [Demux, Equals], 1/2, 2); //12*3/2 = 18 t/i
 		public static const JUMP:LevelShard = new LevelShard("Jump", [OpcodeValue.OP_JMP]);
-		public static const BRANCH:LevelShard = new LevelShard("Branch", [OpcodeValue.OP_BEQ]);
+		public static const BRANCH:LevelShard = new LevelShard("Branch", [OpcodeValue.OP_BEQ], [Equals], 1, 1.25);
 		public static const ADV:LevelShard = new LevelShard("Adv.", [OpcodeValue.OP_SUB, OpcodeValue.OP_MUL, OpcodeValue.OP_DIV], [Subtractor, Multiplier, Divider]);
 		public static const LOAD:LevelShard = new LevelShard("Load", [OpcodeValue.OP_LD]);


Fixed bug in handling of dynamic properties with null as their value

--- as3/xobjas3/src/com/rpath/xobj/XObjUtils.as
+++ as3/xobjas3/src/com/rpath/xobj/XObjUtils.as
@@ -323,6 +323,11 @@
                         {
                             // can't handle these...
                         }
+                        else if (val == null)
+                        {
+                            // no idea about value. Assume object
+                            typeInfo.typeName = XObjUtils.getClassName({});
+                        }
                         else
                         {
                             // must be dynamic property or simply an error (no such property)


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/events/FlexMouseEvent.as
+++ frameworks/projects/framework/src/mx/events/FlexMouseEvent.as
@@ -0,0 +1,203 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.events
+{
+
+import flash.display.InteractiveObject;
+import flash.events.Event;
+import flash.events.MouseEvent;
+
+/**
+ *  The FlexMouseEvent class represents the event object passed to
+ *  the event listener for Flex-specific mouse activity.
+ */
+public class FlexMouseEvent extends MouseEvent
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  The FlexMouseEvent.MOUSE_DOWN_OUTSIDE constant defines the value of the
+	 *  type property of the event object for a mouseDownOutside
+	 *  event.
+	 *
+     *
The properties of the event object have the following values:

+	 *

+	 *
Property	Value

+     *
altKey
+	 *         Indicates whether the Alt key is down
+	 * 	          (true) or not (false).

+     *
bubbles	false

+     *
buttonDown
+	 *         Indicates whether the main mouse button is down
+	 * 	          (true) or not (false).

+     *
cancelable	false

+     *
ctrlKey
+	 *         Indicates whether the Control key is down
+	 * 	          (true) or not (false).

+     *
currentTarget	The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.
+ 	 *       For PopUpManager events, the object is the pop-up window.

+     *
delta
+	 *         Indicates how many lines should be scrolled for each notch the user
+	 *             scrolls the mouse wheel.
+	 *             For PopUpManager events this value is 0.

+     *
localX
+	 *         The horizontal position at which the event occurred.
+	 *             For PopUpManager events, the value is relative to the pop-up control.

+     *
localY
+	 *         The vertical position at which the event occurred.
+	 *             For PopUpManager events, the value is relative to the pop-up control.

+     *
relatedObject
+	 *         A reference to a display list object that is related to the event.
+	 *             For PopUpManager events, the object is the container over which
+	 *             the mouse pointer is located.

+     *
shiftKey
+	 *         Indicates whether the Shift key is down
+	 * 	          (true) or not (false).

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.
+	 *       For PopUpManager events, the object is the pop-up window.

+	 *

+	 *
+     *  @eventType mouseDownOutside
+	 */
+	public static const MOUSE_DOWN_OUTSIDE:String = "mouseDownOutside";
+
+	/**
+	 *  The FlexMouseEvent.MOUSE_WHEEL_OUTSIDE constant defines the value of the
+	 *  type property of the event object for a mouseWheelOutside
+	 *  event.
+	 *
+     *
The properties of the event object have the following values:

+	 *

+	 *
Property	Value

+     *
altKey
+	 *         Indicates whether the Alt key is down
+	 * 	          (true) or not (false).

+     *
bubbles	false

+     *
buttonDown
+	 *         Indicates whether the main mouse button is down
+	 * 	          (true) or not (false).

+     *
cancelable	false

+     *
ctrlKey
+	 *         Indicates whether the Control key is down
+	 * 	          (true) or not (false).

+     *
currentTarget
+	 *         The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.
+ 	 *       For PopUpManager events, the object is the pop-up window.

+     *
delta
+	 *         Indicates how many lines should be scrolled for each notch the user
+	 *             scrolls the mouse wheel.
+	 *             For PopUpManager events this value is 0.

+     *
localX
+	 *         The horizontal position at which the event occurred.
+	 *             For PopUpManager events, the value is relative to the pop-up control.

+     *
localY
+	 *         The vertical position at which the event occurred.
+	 *             For PopUpManager events, the value is relative to the pop-up control.

+     *
relatedObject
+	 *         A reference to a display list object that is related to the event.
+	 *             For PopUpManager events, the object is the container over which
+	 *             the mouse pointer is located.

+     *
shiftKey
+	 *         Indicates whether the Shift key is down
+	 * 	          (true) or not (false).

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.
+	 *       For PopUpManager events, the object is the pop-up window.

+	 *

+	 *
+     *  @eventType mouseWheelOutside
+	 */
+	public static const MOUSE_WHEEL_OUTSIDE:String = "mouseWheelOutside";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param type The event type; indicates the action that caused the event.
+	 *
+	 *  @param bubbles Specifies whether the event can bubble up
+	 *  the display list hierarchy.
+	 *
+	 *  @param cancelable Specifies whether the behavior
+	 *  associated with the event can be prevented.
+	 *
+     *  @param localX The horizontal position at which the event occurred.
+	 *
+     *  @param localY The vertical position at which the event occurred.
+	 *
+     *  @param relatedObject The display list object that is related to the event.
+	 *
+	 *  @param ctrlKey Whether the Control key is down.
+	 *
+	 *  @param altKey Whether the Alt key is down.
+	 *
+	 *  @param shiftKey Whether the Shift key is down.
+	 *
+	 *  @param buttonDown Whether the Control key is down.
+	 *
+	 *  @param delta How many lines should be scrolled for each notch the
+	 *  user scrolls the mouse wheel.
+	 */
+	public function FlexMouseEvent(type:String, bubbles:Boolean = false,
+								   cancelable:Boolean = false,
+								   localX:Number = 0,  localY:Number = 0,
+								   relatedObject:InteractiveObject = null,
+								   ctrlKey:Boolean = false,
+								   altKey:Boolean = false,
+								   shiftKey:Boolean = false,
+								   buttonDown:Boolean = false,
+								   delta:int = 0)
+	{
+		super(type, bubbles, cancelable, localX, localY, relatedObject,
+			  ctrlKey, altKey, shiftKey, buttonDown, delta);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: Event
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function clone():Event
+	{
+		return new FlexMouseEvent(type, bubbles, cancelable, localX, localY,
+								  relatedObject, ctrlKey, altKey, shiftKey,
+								  buttonDown, delta);
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20839
Author:   mhorn@adobe.com
Date:     2011-03-14T14:04:15.007456Z

Log Message:
-----------
merge 20790 and 20805

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>

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


Fix for case where metadata is null when attempting to determine xobjByReference marker

--- as3/xobjas3/src/com/rpath/xobj/XObjXMLEncoder.as
+++ as3/xobjas3/src/com/rpath/xobj/XObjXMLEncoder.as
@@ -836,10 +836,13 @@
         var metadata:Object;
         var result:Boolean;

-        metadata = classInfo.metadata;
-        if (propName in metadata)
-        {
-            result = ("xobjByReference" in metadata[propName]);
+        if (classInfo)
+        {
+            metadata = classInfo.metadata;
+            if (propName && metadata && (propName in metadata))
+            {
+                result = ("xobjByReference" in metadata[propName]);
+            }
         }

         return result;


now including source name in geom column title.

--- WeaveData/src/weave/data/DataSources/DBFDataSource.as
+++ WeaveData/src/weave/data/DataSources/DBFDataSource.as
@@ -117,6 +117,10 @@

 		public static const DBF_COLUMN_NAME:String = 'name';
 		public static const THE_GEOM_COLUMN:String = 'the_geom';
+		private function getGeomColumnTitle():String
+		{
+			return lang("{0} geometry", WeaveAPI.globalHashMap.getName(this));
+		}

 		/**
 		 * Called when the DBF file is downloaded from the URL
@@ -309,16 +313,17 @@
 		{
 			var meta:Object = {};
 			meta[DBF_COLUMN_NAME] = columnName;
-			meta[ColumnMetadata.TITLE] = columnName;
 			meta[ColumnMetadata.KEY_TYPE] = getKeyType();
 			meta[ColumnMetadata.PROJECTION] = projection.value;
 			if (columnName == THE_GEOM_COLUMN)
 			{
+				meta[ColumnMetadata.TITLE] = getGeomColumnTitle();
 				meta[ColumnMetadata.DATA_TYPE] = DataType.GEOMETRY;
 				return meta;
 			}
 			else
 			{
+				meta[ColumnMetadata.TITLE] = columnName;
 				for each (var field:DbfField in dbfHeader.fields)
 				{
 					if (field.name == columnName)


added try/catch

added try/catch

Change-Id: I0946dcb615cc00bc86e3469c601c4ae5dc76a13f

--- WeaveUI/src/weave/visualization/tools/ExternalTool.as
+++ WeaveUI/src/weave/visualization/tools/ExternalTool.as
@@ -66,30 +66,37 @@

 		public function launch():Boolean
 		{
-			var success:Boolean = JavaScript.exec(
-				{
-					WEAVE_EXTERNAL_TOOLS: WEAVE_EXTERNAL_TOOLS,
-					"url": toolUrl.value,
-					"windowName": windowName,
-					"features": "menubar=no,status=no,toolbar=no",
-					"path": WeaveAPI.SessionManager.getPath(WeaveAPI.globalHashMap, this)
-				},
-				'if (!window[WEAVE_EXTERNAL_TOOLS]) {',
-				'    window[WEAVE_EXTERNAL_TOOLS] = {};',
-				'    // when we close this window, close all popups',
-				'    if (window.addEventListener)',
-				'        window.addEventListener("unload", function(){',
-				'            for (var key in window[WEAVE_EXTERNAL_TOOLS])',
-				'                try { window[WEAVE_EXTERNAL_TOOLS][key].window.close(); } catch (e) { }',
-				'        });',
-				'}',
-				'var popup = window.open(url, windowName, features);',
-				'window[WEAVE_EXTERNAL_TOOLS][windowName] = {"path": this.path(path), "window": popup};',
-				'return !!popup;'
-			);
-
-			if (!success)
-				reportError("External tool popup was blocked by the web browser.");
+			try
+			{
+				var success:Boolean = JavaScript.exec(
+					{
+						WEAVE_EXTERNAL_TOOLS: WEAVE_EXTERNAL_TOOLS,
+						"url": toolUrl.value,
+						"windowName": windowName,
+						"features": "menubar=no,status=no,toolbar=no",
+						"path": WeaveAPI.SessionManager.getPath(WeaveAPI.globalHashMap, this)
+					},
+					'if (!window[WEAVE_EXTERNAL_TOOLS]) {',
+					'    window[WEAVE_EXTERNAL_TOOLS] = {};',
+					'    // when we close this window, close all popups',
+					'    if (window.addEventListener)',
+					'        window.addEventListener("unload", function(){',
+					'            for (var key in window[WEAVE_EXTERNAL_TOOLS])',
+					'                try { window[WEAVE_EXTERNAL_TOOLS][key].window.close(); } catch (e) { }',
+					'        });',
+					'}',
+					'var popup = window.open(url, windowName, features);',
+					'window[WEAVE_EXTERNAL_TOOLS][windowName] = {"path": this.path(path), "window": popup};',
+					'return !!popup;'
+				);
+
+				if (!success)
+					reportError("External tool popup was blocked by the web browser.");
+			}
+			catch (e:Error)
+			{
+				reportError(e);
+			}

 			return success;
 		}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Adds a change to the unavailable segment in manifest code - Properly uses 1/2 * target segment duration instead of 1/2 * last segment length

--- HLSPlugin/src/com/kaltura/hls/HLSIndexHandler.as
+++ HLSPlugin/src/com/kaltura/hls/HLSIndexHandler.as
@@ -1602,9 +1602,9 @@

 			if ( (reloadingManifest || !manifest.streamEnds) && segments.length > 0)
 			{
-				trace("Stalling -- requested segment " + newSequence + " past the end " + segments[segments.length-1].id + " and we're in a live stream");
-
-				return new HTTPStreamRequest(HTTPStreamRequestKind.LIVE_STALL, null, segments[segments.length-1].duration / 2);
+				trace("Stalling -- requested segment " + newSequence + " past the end " + segments[segments.length-1].id + " and we're in a live stream - stalling for: " + (getManifestForQuality(origQuality).targetDuration/2) + " ms");
+
+				return new HTTPStreamRequest(HTTPStreamRequestKind.LIVE_STALL, null, getManifestForQuality(origQuality).targetDuration/2);
 			}

 			trace("Ending stream playback");


fixed bug where _internalObject wasn't getting cleared in dispose()

--- WeaveCore/src/weave/core/LinkableDynamicObject.as
+++ WeaveCore/src/weave/core/LinkableDynamicObject.as
@@ -499,6 +499,7 @@
 			super.dispose();
 			_locked = false;
 			removeObject();
+			_internalObject = null;
 			disposeObjects(_localHashMap); // just in case this function is called directly
 			_locked = true;
 		}


removed unused code

removed unused code

Change-Id: Iaf75f202d224fc516c1a25033cf25d07e60bb364

--- WeaveData/src/weave/data/KeySets/DynamicKeySet.as
+++ WeaveData/src/weave/data/KeySets/DynamicKeySet.as
@@ -1,51 +0,0 @@
-/*
-    Weave (Web-based Analysis and Visualization Environment)
-    Copyright (C) 2008-2011 University of Massachusetts Lowell
-
-    This file is a part of Weave.
-
-    Weave is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License, Version 3,
-    as published by the Free Software Foundation.
-
-    Weave is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with Weave.  If not, see <http://www.gnu.org/licenses/>.
-*/
-
-package weave.data.KeySets
-{
-	import weave.api.data.IKeySet;
-	import weave.api.data.IQualifiedKey;
-	import weave.core.LinkableDynamicObject;
-
-	/**
-	 * This is a wrapper for a dynamically created object implementing IKeySet.
-	 *
-	 * @author adufilie
-	 */
-	public class DynamicKeySet extends LinkableDynamicObject implements IKeySet
-	{
-		public function DynamicKeySet()
-		{
-			super(IKeySet);
-		}
-
-		public function containsKey(key:IQualifiedKey):Boolean
-		{
-			if (internalObject == null)
-				return false;
-			return (internalObject as IKeySet).containsKey(key);
-		}
-		public function get keys():Array
-		{
-			if (internalObject == null)
-				return [];
-			return (internalObject as IKeySet).keys;
-		}
-	}
-}


using JS.error() instead of trace()

using JS.error() instead of trace()

--- WeaveJS/src/weavejs/data/column/GeometryColumn.as
+++ WeaveJS/src/weavejs/data/column/GeometryColumn.as
@@ -77,7 +77,7 @@

 			if (keys.length != geometries.length)
 			{
-				trace("number of keys does not match number of geometires in GeometryColumn.setGeometries()");
+				JS.error("number of keys does not match number of geometires in GeometryColumn.setGeometries()");
 				return;
 			}


File no longer needed

File no longer needed

git-svn-id: 9ce4c3524d875f8080d1dced2eac547b3d68c750@20644 6e01202a-0783-4428-890a-84243c50cc2b

--- demos/resistor-colors/actionscript/resistor_colors.as
+++ demos/resistor-colors/actionscript/resistor_colors.as
@@ -1,207 +0,0 @@
-/* Kathryn Costello
- * TODO: this file is a relic. Remove the reference to it from the .fla file.
- */
-
-var bandOneColor:String = "blue";
-var bandTwoColor:String = "blue";
-var bandThreeColor:String = "blue";
-var bandFourColor:String = "blue";
-var randnum_b1:Number;
-var randnum_b2:Number;
-var randnum_b3:Number;
-var randnum_b4:Number;
-
-
-//band 1 has 9 colors; sets a random number between 1 and 9//
-randnum_b1 = Math.round(Math.random() * 9 + 1);
-//trace(randnum_b1);
-
-//assigns a value into bandOneColor based on random number
-	switch(randnum_b1)
-	{
-		case 1:
-			bandOneColor="red";
-			break;
-		case 2:
-			bandOneColor="brown";
-			break;
-		case 3:
-			bandOneColor="orange";
-			break;
-		case 4:
-			bandOneColor="yellow";
-			break;
-		case 5:
-			bandOneColor="green";
-			break;
-		case 6:
-			bandOneColor="blue";
-			break;
-		case 7:
-			bandOneColor="violet";
-			break;
-		case 8:
-			bandOneColor="grey";
-			break;
-		case 9:
-			bandOneColor="white";
-			break;
-
-		default:
-			break;
-	}
-
-//band 2 has 10 colors; sets a random number between 1 and 10//
-randnum_b2 = Math.round(Math.random() * 10 + 1);
-//trace(randnum_b2);
-
-//assigns a value into bandTwoColor based on random number
-	switch(randnum_b2)
-	{
-		case 1:
-			bandTwoColor="red";
-			break;
-		case 2:
-			bandTwoColor="brown";
-			break;
-		case 3:
-			bandTwoColor="orange";
-			break;
-		case 4:
-			bandTwoColor="yellow";
-			break;
-		case 5:
-			bandTwoColor="green";
-			break;
-		case 6:
-			bandTwoColor="blue";
-			break;
-		case 7:
-			bandTwoColor="violet";
-			break;
-		case 8:
-			bandTwoColor="grey";
-			break;
-		case 9:
-			bandTwoColor="white";
-			break;
-		case 10:
-			bandTwoColor="black";
-			break;
-
-		default:
-			break;
-	}
-
-//band 3 has 12 colors; sets a random number between 1 and 11//
-randnum_b3 = Math.round(Math.random() * 12 + 1);
-//trace(randnum_b3);
-
-//assigns a value into bandThreeColor based on random number
-	switch(randnum_b3)
-	{
-		case 1:
-			bandThreeColor="red";
-			break;
-		case 2:
-			bandThreeColor="brown";
-			break;
-		case 3:
-			bandThreeColor="orange";
-			break;
-		case 4:
-			bandThreeColor="yellow";
-			break;
-		case 5:
-			bandThreeColor="green";
-			break;
-		case 6:
-			bandThreeColor="blue";
-			break;
-		case 7:
-			bandThreeColor="violet";
-			break;
-		case 8:
-			bandThreeColor="grey";
-			break;
-		case 9:
-			bandThreeColor="white";
-			break;
-		case 10:
-			bandThreeColor="black";
-			break;
-		case 11:
-			bandThreeColor="silver";
-			break;
-		case 12:
-			bandThreeColor="gold";
-			break;
-		default:
-			break;
-	}
-
-//band 4 has 8 colors; sets a random number between 1 and 7//
-randnum_b4 = Math.round(Math.random() * 8 + 1);
-//trace(randnum_b4);
-
-//assigns a value into bandFourColor based on random number
-	switch(randnum_b4)
-	{
-		case 1:
-			bandFourColor="red";
-			break;
-		case 2:
-			bandFourColor="brown";
-			break;
-		case 3:
-			bandFourColor="silver";
-			break;
-		case 4:
-			bandFourColor="gold";
-			break;
-		case 5:
-			bandFourColor="green";
-			break;
-		case 6:
-			bandFourColor="blue";
-			break;
-		case 7:
-			bandFourColor="violet";
-			break;
-		case 8:
-			bandFourColor="grey";
-			break;
-		default:
-			break;
-	}
-
-
-
-//load image into Band1
-
-var bandOneLoader:Loader = new Loader();
-resistor_mc.band1.addChild(bandOneLoader);
-var bandOneBitmap:URLRequest = new URLRequest("images_resistor_colors/t_" + bandOneColor + ".png");
-bandOneLoader.load(bandOneBitmap);
-
-//load image into Band2
-
-var bandTwoLoader:Loader = new Loader();
-resistor_mc.band2.addChild(bandTwoLoader);
-var bandTwoBitmap:URLRequest = new URLRequest("images_resistor_colors/s_" + bandTwoColor + ".png");
-bandTwoLoader.load(bandTwoBitmap);
-
-//load image into Band3
-
-var bandThreeLoader:Loader = new Loader();
-resistor_mc.band3.addChild(bandThreeLoader);
-var bandThreeBitmap:URLRequest = new URLRequest("images_resistor_colors/s_" + bandThreeColor + ".png");
-bandThreeLoader.load(bandThreeBitmap);
-
- //load image into Band4
-
-var bandFourLoader:Loader = new Loader();
-resistor_mc.band4.addChild(bandFourLoader);
-var bandFourBitmap:URLRequest = new URLRequest("images_resistor_colors/s_" + bandFourColor + ".png");
-bandFourLoader.load(bandFourBitmap);
-


Extract static method: Cloner.doClone().

--- dolly-framework/src/main/actionscript/dolly/Cloner.as
+++ dolly-framework/src/main/actionscript/dolly/Cloner.as
@@ -41,13 +41,7 @@
 		return result;
 	}

-	public static function clone(source:*):* {
-		const type:Type = Type.forInstance(source);
-
-		failIfTypeIsNotCloneable(type);
-
-		// Find all public writable fields in a hierarchy of a source object
-		// and assign their values to a clone object.
+	dolly_internal static function doClone(source:*, deep:int, type:Type = null):* {
 		const fieldsToClone:Vector.<Field> = findAllWritableFieldsForType(type);
 		const clonedInstance:* = new (type.clazz)();

@@ -57,5 +51,15 @@

 		return clonedInstance;
 	}
+
+	public static function clone(source:*):* {
+		const type:Type = Type.forInstance(source);
+
+		failIfTypeIsNotCloneable(type);
+
+		const deep:int = 2;
+
+		return doClone(source, deep, type);
+	}
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 10848
Author:   gosmith@adobe.com
Date:     2009-10-02T22:59:52.046845Z

Log Message:
-----------
Removed the [ExcludeClass] metadata on the out-of-package class FTETextFieldStyleResolver in TLFTextField.as. It was actually causing TLFTextField to be excluded, and is not necessary on an out-of-package class, which is invisible except to code in the same file.

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

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/TLFTextField.as

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

--- frameworks/projects/spark/src/mx/core/FTETextField.as
+++ frameworks/projects/spark/src/mx/core/FTETextField.as
@@ -3230,7 +3230,6 @@
  *  @private
  *  To attach TextField styling via a style sheet to a TextFlow.
  */
-[ExcludeClass]

 class FTETextFieldStyleResolver implements IFormatResolver
 {


I justed checked this in in the other order, but somehow it insists on coming
out in this order now. This should not be non-deterministic. Reflection should
give me the methods in the order they are declared in the Java class so I don't
know what the major malfunction is here, but if it keeps up I'm going to
fucking alphabetize them and be done with it.

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

--- src/as/com/threerings/parlor/data/Table.as
+++ src/as/com/threerings/parlor/data/Table.as
@@ -79,17 +79,17 @@
     }

     /**
-     * Get the type of party game being played at this table, or
-     * PartyGameCodes.NOT_PARTY_GAME.
-     */
-    public function getPartyGameType () :int
-    {
-        if (config is PartyGameConfig) {
-            return (config as PartyGameConfig).getPartyGameType();
-
-        } else {
-            return PartyGameCodes.NOT_PARTY_GAME;
-        }
+     * Count the number of players currently occupying this table.
+     */
+    public function getOccupiedCount () :int
+    {
+        var count :int = 0;
+        for (var ii :int = 0; ii < occupants.length; ii++) {
+            if (occupants[ii] != null) {
+                count++;
+            }
+        }
+        return count;
     }

     /**
@@ -114,20 +114,6 @@
         }

         return players;
-    }
-
-    /**
-     * Count the number of players currently occupying this table.
-     */
-    public function getOccupiedCount () :int
-    {
-        var count :int = 0;
-        for (var ii :int = 0; ii < occupants.length; ii++) {
-            if (occupants[ii] != null) {
-                count++;
-            }
-        }
-        return count;
     }

     /**
@@ -166,6 +152,20 @@
     public function isPartyGame () :Boolean
     {
         return (PartyGameCodes.NOT_PARTY_GAME != getPartyGameType());
+    }
+
+    /**
+     * Get the type of party game being played at this table, or
+     * PartyGameCodes.NOT_PARTY_GAME.
+     */
+    public function getPartyGameType () :int
+    {
+        if (config is PartyGameConfig) {
+            return (config as PartyGameConfig).getPartyGameType();
+
+        } else {
+            return PartyGameCodes.NOT_PARTY_GAME;
+        }
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/effects/effectClasses/WipeRightInstance.as
+++ frameworks/projects/mx/src/mx/effects/effectClasses/WipeRightInstance.as
@@ -0,0 +1,97 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.effects.effectClasses
+{
+
+import mx.controls.SWFLoader;
+
+/**
+ *  The WipeRightInstance class implements the instance class
+ *  for the WipeRight effect.
+ *  Flex creates an instance of this class when it plays a WipeRight effect;
+ *  you do not create one
+ *  yourself.
+ *
+ *  @see mx.effects.WipeRight
+ */
+public class WipeRightInstance extends MaskEffectInstance
+{
+    include "../../core/Version.as";
+
+ 	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param target The Object to animate with this effect.
+	 */
+	public function WipeRightInstance(target:Object)
+	{
+		super(target);
+	}
+
+ 	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function initMaskEffect():void
+	{
+		super.initMaskEffect();
+
+		var targetWidth:Number = target is SWFLoader && target.content ?
+								 SWFLoader(target).contentWidth :
+								 targetVisualBounds.width / Math.abs(target.scaleX);
+
+		if (target.rotation != 0)
+		{
+			// The target.width and target.height are expressed in terms of
+			// rotated coordinates, but we need to get the object's height
+			// in terms of unrotated coordinates.
+
+			var angle:Number = target.rotation * Math.PI / 180;
+			targetWidth = Math.abs(targetVisualBounds.width * Math.cos(angle) -
+								   targetVisualBounds.height * Math.sin(angle));
+		}
+
+		if (showTarget)
+		{
+			xFrom = -effectMask.width + targetVisualBounds.x;
+			yFrom = targetVisualBounds.y;
+			// Line up the right edges of the mask and target
+			xTo = effectMask.width <= targetWidth ?
+				  targetWidth - effectMask.width + targetVisualBounds.x:
+				  targetVisualBounds.x;
+			yTo = targetVisualBounds.y;
+		}
+		else
+		{
+			// Line up the right edges of the mask and target if mask is wider than target
+			xFrom = effectMask.width <= targetWidth ?
+					targetVisualBounds.x :
+					targetWidth - effectMask.width + targetVisualBounds.x;
+			yFrom = targetVisualBounds.y;
+			xTo = targetWidth + targetVisualBounds.x;
+			yTo = targetVisualBounds.y;
+		}
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3430
Author:   gruehle@adobe.com
Date:     2008-09-30T23:43:13.377931Z

Log Message:
-----------
This is a collection of minor component changes, done for consistency.

* Data is always "pushed" into skin parts. We were doing this in some places like ItemsComponent.contentGroup, but not in other places. Affected components are TextInput, TextArea, NumericStepper, and Button.

* Button (and every subclass) has an optional "labelField" SkinPart. The Button "label" property is pushed into this part if it is defined.

* Added skin states to the following components:
  TrackBase (includes H/VScrollBar and H/VSlider): States "normal" and "disabled".
  Spinner (includes NumericStepper): States "normal" and "disabled".
  ContainerBase (includes ItemsComponent, Selector, and List): States "normal" and "disabled".

  The appearance of "disabled" states is controlled by the skin. The behavior of "disabled" states is still controlled by the component (ie ScrollBar disables the thumb, track and arrow when it is disabled).

* Added new ContainerBase class, which is the base class for ItemsComponent and DataComponent. The base class manages the skin states and puts up a mouse shield when disabled.

* Thumb positioning code in slider and scrollbar always rounds to the nearest pixel boundary. Sub-pixel positioning makes the thumbs look blurry.

* TextView measurement is rounded to integer values. It was commonly returning non-integer values which was causing subsequent components in relative layouts to be positioned on sub-pixel boundaries.

Bugs: SDK-16933 Make Label be an optional part of Button and related components
QE: The pixel alignment changes may result in bitmap comparison failures. The bitmaps should be regenerated with the pixel alignment. There should be no functional changes to any of the components.
Reviewer: Chet, Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/RadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/DataComponentSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ItemsComponentSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/NumericStepperSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/DataComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ItemsComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SpinnerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SelectorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ComplexPanelSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -13,7 +13,6 @@
 {

 import flex.core.DataGroup;
-import flex.core.SkinnableComponent;
 import flex.events.FlexEvent;
 import flex.events.ItemExistenceChangedEvent;
 import flex.layout.LayoutBase;
@@ -39,7 +38,7 @@
  * data content. This class is not typically instantiated in MXML. It is primarily
  * used as a base class, or as a SkinPart.
  */
-public class DataComponent extends SkinnableComponent implements IFocusManagerContainer
+public class DataComponent extends ContainerBase
 {
     include "../core/Version.as";


Transferred from the Adobe Open Source Subversion Repository

Revision: 12478
Author:   gosmith@adobe.com
Date:     2009-12-04T01:03:50.724937Z

Log Message:
-----------
The partAdded() and partRemoved() methods of Spark components now dispatch new events named "partAdded" and "partRemoved", of type SkinPartEvent. The accessibility implementation classes will soon use these events to know when skin parts are added and removed so that they can attach and remove event handlers appropriately. This mechanism may change in a future release, so developers should not depend on these undocumented events.

I've made sure that all overrides of partAdded() and partRemoved() call the supermethod so that they dispatch these events.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TitleWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/SkinPartEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -603,6 +603,8 @@
      */
     override protected function partAdded(partName:String, instance:Object):void
     {
+		super.partAdded(partName, instance);
+
         if (instance == dataGroup)
         {
             // copy proxied values from dataGroupProperties (if set) to dataGroup
@@ -678,6 +680,8 @@
      */
     override protected function partRemoved(partName:String, instance:Object):void
     {
+		super.partRemoved(partName, instance);
+
         if (instance == dataGroup)
         {
             dataGroup.removeEventListener(


FLEX-34926 fixed misplaced [PercentProxy] metatag

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -1005,6 +1005,7 @@
     private var _width:Number = NaN;

     [Bindable("widthChanged")]
+    [PercentProxy("percentWidth")]

     /**
      *  The width of this column in pixels.
@@ -1151,7 +1152,6 @@
     }

     [Inspectable(category="General")]
-    [PercentProxy("percentWidth")]

     /**
      *  @private
@@ -1822,4 +1822,4 @@
         }
     }
 }
-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 19758
Author:   aharui@adobe.com
Date:     2011-01-14T00:58:13.969259Z

Log Message:
-----------
reverting svn 19330 as it relied on svn 18635

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
@@ -433,20 +433,7 @@
         if (g)
             g.invalidateSize();
     }
-
-    /**
-     *  @private
-     *  Returns the baselinePosition of the typicalLayoutElement as if it were
-     *  the first element to be laid out.
-     */
-    mx_internal function get typicalLayoutElementBaselinePosition():Number
-    {
-        if (!typicalLayoutElement)
-            return 0;
-
-        return typicalLayoutElement.baselinePosition;
-    }
-
+
     //----------------------------------
     //  dropIndicator
     //----------------------------------


Fixed a bug in GButton.FireClick

Fixed a bug in GButton.FireClick

--- source/fairygui/GButton.as
+++ source/fairygui/GButton.as
@@ -249,8 +249,8 @@
 		public function fireClick(downEffect: Boolean= true): void {
 			if (downEffect && this._mode == ButtonMode.Common) {
 				this.setState(GButton.OVER);
-				Laya.timer.once(100, this, this.setState, [GButton.DOWN]);
-				Laya.timer.once(200, this, this.setState, [GButton.UP]);
+				Laya.timer.once(100, this, this.setState, [GButton.DOWN], false);
+				Laya.timer.once(200, this, this.setState, [GButton.UP], false);
 			}
 			this.__click(Events.createEvent(Event.CLICK, this.displayObject));
 		}


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

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

 package mx.effects
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 9932
Author:   smgilson@adobe.com
Date:     2009-09-02T19:17:26.077257Z

Log Message:
-----------
Add ASDoc version tags to new or untagged classes - Part 2

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/RectangularBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/OverrideBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RichTextEditor.mxml</path>
<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/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLSchemaInstance.as</path>

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

--- frameworks/projects/framework/src/mx/skins/RectangularBorder.as
+++ frameworks/projects/framework/src/mx/skins/RectangularBorder.as
@@ -50,6 +50,11 @@
  *
  *
This class implements support for the backgroundImage,
  *  backgroundSize, and backgroundAttachment styles.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class RectangularBorder extends Border implements IRectangularBorder
 {
@@ -63,6 +68,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function RectangularBorder()
     {
@@ -117,12 +127,22 @@
     /**
      *  The DisplayObject instance that contains the background image, if any.
      *  This object is a sibling of the RectangularBorder instance.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var backgroundImage:DisplayObject;

     /**
      *  Contains true if the RectangularBorder instance
      *  contains a background image.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get hasBackgroundImage():Boolean
     {
@@ -146,6 +166,11 @@
      *  if the parent container has scrollable content.
      *  If this property is null, the border can use
      *  the parent's size and viewMetrics property to determine its value.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get backgroundImageBounds():Rectangle
     {
@@ -298,6 +323,11 @@

     /**
      *  Layout the background image.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function layoutBackgroundImage():void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 9352
Author:   clucier@adobe.com
Date:     2009-08-17T19:38:36.092988Z

Log Message:
-----------
Update DesignLayer ASDOC to reflect most recent updates to specification.  A bug fix to all IVisualElement implementers to account for initial value of alpha/visible for their owning layer.

QE notes:  None.
Doc notes:  None.
Bugs:  N/A.
Reviewer:  Chet
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DesignLayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
+++ frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
@@ -621,7 +621,11 @@
         _layer = value;

         if (_layer)
+        {
             _layer.addEventListener("layerPropertyChange", layer_PropertyChange, false, 0, true);
+            super.alpha = _alpha * _layer.computedAlpha;
+            super.visible = _visible && _layer.computedVisibility;
+        }
     }

     //----------------------------------
@@ -1338,14 +1342,14 @@
     {
         switch (event.property)
         {
-            case "visible":
+            case "computedVisibility":
             {
                 var newValue:Boolean = (event.newValue && _visible);
                 if (newValue != super.visible)
                     super.visible = newValue;
                 break;
             }
-            case "alpha":
+            case "computedAlpha":
             {
                 var newAlpha:Number = Number(event.newValue) * _alpha;
                 if (newAlpha != super.alpha)


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

--- frameworks/projects/spark/src/spark/filters/DropShadowFilter.as
+++ frameworks/projects/spark/src/spark/filters/DropShadowFilter.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.filters
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6591
Author:   egeorgie@adobe.com
Date:     2009-05-04T18:28:39.172034Z

Log Message:
-----------
Fix bug http://bugs.adobe.com/jira/browse/SDK-20869 List throws RTE when you tab away from it

Fix: add checks for null target in the layouts.

QE Notes: None
Doc Notes: None
Bugs: SDK-20869
Reviewer: Deepa
tests: checkintests

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

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

--- frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -1182,6 +1182,8 @@
      */
      override public function getDestinationIndex(navigationUnit:uint, currentIndex:int):int
      {
+        if (!target)
+            return -1;
         var maxIndex:int = target.numElements - 1;
         var newIndex:int;
         var bounds:Rectangle;


- change: Added Image#loader, which returns the Image's loader. This allows for watching the loading state of the Image without having to let Image implement IResource.

git-svn-id: e38e7cdd6ace00d8230583a2d3b43e9a55f5c011@820 bc4816be-ef27-423a-9c4d-fc420be121a2

--- src/reprise/controls/html/Image.as
+++ src/reprise/controls/html/Image.as
@@ -16,6 +16,7 @@
 	import reprise.events.DisplayEvent;
 	import reprise.events.ResourceEvent;
 	import reprise.external.BitmapResource;
+	import reprise.external.IResource;

 	import flash.display.BitmapData;
 	import flash.events.Event;
@@ -93,6 +94,11 @@
 				m_imageLoader.priority = value;
 			}
 		}
+
+		public function loader() : IResource
+		{
+			return m_imageLoader;
+		}

 		override public function remove(...args : *) : void
 		{


Forgot to dump the measuredUpdateProgram (update program with optimizations)

--- raw/src/org/yellcorp/lib/layout/Layout.as
+++ raw/src/org/yellcorp/lib/layout/Layout.as
@@ -341,6 +341,9 @@

         linebuf.push(DUMP_SEPARATOR, "updateProgram:");
         dumpAST(dumper, updateProgram, linebuf);
+
+        linebuf.push(DUMP_SEPARATOR, "measuredUpdateProgram:");
+        dumpAST(dumper, measuredUpdateProgram, linebuf);
     }

     private function compileMeasureProgram():void


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/core/IUID.as
+++ frameworks/projects/framework/src/mx/core/IUID.as
@@ -17,6 +17,11 @@
  *  Unique Identifiers (UIDs) to uniquely identify the object.
  *  UIDs do not need to be universally unique for most uses in Flex.
  *  One exception is for messages send by data services.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public interface IUID
 {
@@ -32,6 +37,11 @@

 	/**
 	 *  The unique identifier for this object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get uid():String;