Removing read-only property protocols to better match the W3C WebSocket API

--- AS3WebSocket/src/com/worlize/websocket/WebSocket.as
+++ AS3WebSocket/src/com/worlize/websocket/WebSocket.as
@@ -243,10 +243,6 @@
 			}
 			uri += _resource;
 			return uri;
-		}
-
-		public function get protocols():Array {
-			return _protocols;
 		}

 		public function get protocol():String {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6322
Author:   clucier@adobe.com
Date:     2009-04-28T14:34:56.297137Z

Log Message:
-----------
Adding ITransientDeferredInstance which supports a reset() method, allowing deferred instances to be optionally cleaned up.  Compiler support added to generate an associated destruction method which conveniently nulls out any related document slots upon reset.

Added support for a new compile time attribute (itemDestructionPolicy)  for states, taking advantage of the new resettable factory.

Bugs: SDK-19828.
Reviewers: Paul Reilly, Glenn Reuhle
QE Notes: Will need new test written against the itemDestructionPolicy feature, spec has been updated.
Doc Notes: Will require new user guide writeup on itemDestructionPolicy.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/PrimitiveNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ITransientDeferredInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ArrayNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DeferredInstanceFromClass.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/StatesModel.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/StatesGenerator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Model.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/VectorNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DeferredInstanceFromFunction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4/.project</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/java/flex-fxgutils/.project</path>

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

--- frameworks/projects/framework/src/mx/core/DeferredInstanceFromFunction.as
+++ frameworks/projects/framework/src/mx/core/DeferredInstanceFromFunction.as
@@ -26,7 +26,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-public class DeferredInstanceFromFunction implements IDeferredInstance
+public class DeferredInstanceFromFunction implements ITransientDeferredInstance
 {
     include "../core/Version.as";

@@ -47,11 +47,13 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public function DeferredInstanceFromFunction(generator:Function)
+    public function DeferredInstanceFromFunction(generator:Function,
+        destructor:Function = null )
     {
 		super();

     	this.generator = generator;
+    	this.destructor = destructor;
     }

 	//--------------------------------------------------------------------------
@@ -71,6 +73,13 @@
 	 * 	The generated value.
 	 */
 	private var instance:Object = null;
+
+    /**
+     *  @private
+     *  An optional function used to cleanup outstanding
+     *  references when reset() is invoked
+     */
+    private var destructor:Function;

 	//--------------------------------------------------------------------------
 	//
@@ -97,6 +106,24 @@

 		return instance;
 	}
+
+	/**
+     *  Resets the state of our factory to the initial, uninitialized state.
+     *  The reference to our cached instance is cleared.
+     *
+     *  @langversion 4.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 4
+     */
+    public function reset():void
+    {
+        instance = null;
+
+        if (destructor != null)
+            destructor();
+    }
+
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 20208
Author:   smgilson@adobe.com
Date:     2011-02-08T21:40:02.122057Z

Log Message:
-----------
Several ASDoc bug fixes

QE notes:
Doc notes:
Bugs: FLEXDOCS-1342, FLEXDOCS-1330, FLEXDOCS-1323
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/EmbeddedFont.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/components/examples/ScrollerExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airspark/src/spark/skins/spark/windowChrome/MacTitleBarSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/DeferredInstanceFromClass.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/DeferredInstanceFromFunction.as</path>

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 2919
Author:   aharui@adobe.com
Date:     2008-08-20T15:15:30.618954Z

Log Message:
-----------
Subversion always seems to hide new files

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/systemClasses/StageEventProxy.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/systemClasses/PlaceholderData.as</path>
<path kind="dir" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/systemClasses</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/systemClasses/RemotePopUp.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as</path>

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

--- frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as
+++ frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as
@@ -0,0 +1,52 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-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.managers.systemClasses
+{
+
+import flash.events.EventDispatcher;
+import flash.events.IEventDispatcher;
+import flash.events.Event;
+import flash.events.MouseEvent;
+import mx.events.MarshalMouseEvent;
+import mx.utils.EventUtil;
+import mx.managers.ISystemManager;
+
+[ExcludeClass]
+
+/**
+ * An object that marshals events to other sandboxes
+ */
+public class EventProxy extends EventDispatcher
+{
+	private var systemManager:ISystemManager;
+
+	public function EventProxy(systemManager:ISystemManager)
+	{
+		this.systemManager = systemManager;
+	}
+
+	public function marshalListener(event:Event):void
+	{
+		if (event is MouseEvent)
+		{
+			var me:MouseEvent = event as MouseEvent;;
+			var mme:MarshalMouseEvent = new MarshalMouseEvent(EventUtil.mouseEventMap[event.type],
+				false, false, me.ctrlKey, me.altKey, me.shiftKey, me.buttonDown);
+			// trace(">>marshalListener", systemManager, mme.type);
+			systemManager.dispatchEventFromSWFBridges(mme, null, true);
+			// trace("<<marshalListener", systemManager);
+		}
+	}
+
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -559,7 +559,7 @@
      */
     override public function get baselinePosition():Number
     {
-        if (!mx_internal::validateBaselinePosition())
+        if (!validateBaselinePosition())
             return NaN;

         // Fabricate temporary data provider if necessary.


Transferred from the Adobe Open Source Subversion Repository

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

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

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

Bug Fixes:

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

Updated the skin to set the alpha in the disabled state

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

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

SDK-19868 - Gumbo DropDownList should support symbolColor style

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

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

Added a systemManager resize handler that closes the dropDown

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

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

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

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

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

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -18,7 +18,7 @@

 import mx.collections.IList;
 import spark.components.SkinnableDataContainer;
-import spark.components.IItemRendererOwner;
+import spark.components.IItemRendererOwner;
 import spark.components.IItemRenderer;
 import mx.core.IVisualElement;
 import mx.events.IndexChangedEvent;
@@ -418,7 +418,7 @@

         // Obtain reference to newly generated item element which will be used
         // to compute the baseline.
-        var listItem:Object = dataGroup.getElementAt(0);
+        var listItem:Object = dataGroup ? dataGroup.getElementAt(0) : undefined;
         if (!listItem)
             return super.baselinePosition;

@@ -515,19 +515,23 @@
         if (labelFieldOrFunctionChanged)
         {
         	//Cycle through all instantiated renderers
-        	for (var i:int = 0; i < dataGroup.numChildren; i++)
+        	if (dataGroup)
         	{
-        		//TODO: Ryan, figure out numChildren/numElement vs. getElement/getChild
-        		//and which is more performant.
-        		var renderer:IItemRenderer = dataGroup.getElementAt(i) as IItemRenderer;
-        		//Push the correct text into the renderer by settings its labelText
-        		//property
-        		if (renderer)
-        		{
-        			renderer.labelText = itemToLabel(renderer.data);
-        		}
-        	}
-        	labelFieldOrFunctionChanged = false;
+	        	for (var i:int = 0; i < dataGroup.numChildren; i++)
+	        	{
+        			//TODO: Ryan, figure out numChildren/numElement vs. getElement/getChild
+	        		//and which is more performant.
+	        		var renderer:IItemRenderer = dataGroup.getElementAt(i) as IItemRenderer;
+	        		//Push the correct text into the renderer by settings its labelText
+	        		//property
+	        		if (renderer)
+		        	{
+	        			renderer.labelText = itemToLabel(renderer.data);
+		        	}
+	        	}
+	        }
+
+			labelFieldOrFunctionChanged = false;
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 9467
Author:   gosmith@adobe.com
Date:     2009-08-21T21:46:43.117874Z

Log Message:
-----------
Completed the ASDoc for the nine documented Spark text classes. No more "Documentation is not currently available." Instead, there may now be too much of it. :)

QE notes: Please review the new doc and give me feedback
Doc notes: Please review and edit
Bugs: None
Reviewer: None
Tests run: ant checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicElement.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/TextSelectionHighlighting.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/events/TextOperationEvent.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
@@ -75,9 +75,17 @@
 [Style(name="backgroundColor", type="uint", format="Color", inherit="no")]

 /**
- *  The base class for GraphicElements such as TextBox and TextGraphic
+ *  The base class for GraphicElements such as SimpleText and RichText
  *  which display text using CSS styles for the default format.
  *
+ *
This class extends GraphicElement to implement
+ *  the IAdvancedStyleClient interface in order to support CSS
+ *  in the same way that UIComponents do.

+ *
+ *
In addition to adding a text property,
+ *  it also adds maxDisplayedLines
+ *  and isTruncated properties to support truncation.

+ *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
@@ -270,15 +278,32 @@
     }

     //----------------------------------
-    //  maxWidth
-    //----------------------------------
-
-// Leave at 10,000 for now.
-//    override public function get maxWidth():Number
-//    {
-//        return !isNaN(_maxWidth) ? _maxWidth :
-//                UIComponent.DEFAULT_MEASURED_WIDTH;      // 160 not 10000
-//    }
+    //  canShareWithPrevious
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    override public function canShareWithPrevious(element:IGraphicElement):Boolean
+    {
+        // TextGraphicElement always requires its own display object because
+        // Group doesn't support IGraphicElements with multiple display objects.
+        return false;
+    }
+
+    //----------------------------------
+    //  canShareWithNext
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    override public function canShareWithNext(element:IGraphicElement):Boolean
+    {
+        // TextGraphicElement always requires its own display object because
+        // Group doesn't support IGraphicElements with multiple display objects.
+        return false;
+    }

     //----------------------------------
     //  visible
@@ -298,7 +323,7 @@
     	visibleChanged = true;

     	invalidateDisplayList();
-        }
+	}

     //--------------------------------------------------------------------------
     //
@@ -489,7 +514,7 @@
     //----------------------------------

     /**
-     *  The parent of this component.
+     *  @inheritDoc
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -518,9 +543,31 @@
 	mx_internal var _isTruncated:Boolean = false;

     /**
-	 *  Determines if the text, once composed, has been truncated.
+	 *  A read-only property reporting whether the text has been truncated.
 	 *
-	 *  @return true if the text has been truncated.
+	 *
Truncating text means replacing excess text
+	 *  with a truncation indicator such as "...".
+     *  The truncation indicator is locale-dependent;
+     *  it is specified by the "truncationIndicator" resource
+     *  in the "core" resource bundle.

+	 *
+     *
If maxDisplayedLines is 0, no truncation occurs.
+     *  Instead, the text will simply be clipped
+	 *  if it doesn't fit within the component's bounds.

+     *
+     *
If maxDisplayedLines is is a positive integer,
+	 *  the text will be truncated if necessary to reduce
+	 *  the number of lines to this integer.

+     *
+     *
If maxDisplayedLines is -1, the text will be truncated
+	 *  to display as many lines as will completely fit within the height
+     *  of the component.

+     *
+     *
Truncation is only performed if the lineBreak
+     *  style is "toFit"; the value of this property
+     *  is ignored if lineBreak is "explicit".

+	 *
+	 *  @default false
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -544,8 +591,32 @@
 	private var _maxDisplayedLines:int = 0;

     /**
-     *  Documentation is not currently available.
-     *  This property is ignored if lineBreak="explicit".
+     *  An integer which determines whether, and where,
+	 *  the text gets truncated.
+	 *
+	 *
Truncating text means replacing excess text
+	 *  with a truncation indicator such as "...".
+     *  The truncation indicator is locale-dependent;
+     *  it is specified by the "truncationIndicator" resource
+     *  in the "core" resource bundle.

+     *
+     *
If the value is 0, no truncation occurs.
+     *  Instead, the text will simply be clipped
+	 *  if it doesn't fit within the component's bounds.

+     *
+     *
If the value is is a positive integer,
+	 *  the text will be truncated if necessary to reduce
+	 *  the number of lines to this integer.

+     *
+     *
If the value is -1, the text will be truncated to display
+     *  as many lines as will completely fit within the height
+     *  of the component.

+     *
+     *
Truncation is only performed if the lineBreak
+     *  style is "toFit"; the value of this property
+     *  is ignored if lineBreak is "explicit".

+	 *
+	 *  @default 0
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -573,36 +644,6 @@
     	}
     }

-    /**
-     *  @private
-     */
-    override public function canShareWithPrevious(element:IGraphicElement):Boolean
-    {
-        // TextGraphicElement always requires its own display object as
-        // Group doesn't support IGraphicElements with multiple display objects.
-        return false;
-    }
-
-    /**
-     *  @private
-     */
-    override public function canShareWithNext(element:IGraphicElement):Boolean
-    {
-        // TextGraphicElement always requires its own display object as
-        // Group doesn't support IGraphicElements with multiple display objects.
-        return false;
-    }
-
-    /**
-     *  @private
-     */
-    override public function setSharedDisplayObject(displayObject:DisplayObject):Boolean
-    {
-        // TextGraphicElement always requires its own display object as
-        // Group doesn't support IGraphicElements with multiple display objects.
-        return false;
-    }
-
     //----------------------------------
     //  styleChainInitialized
     //----------------------------------
@@ -626,7 +667,12 @@
     mx_internal var _text:String = "";

     /**
-     *  The text in this element.
+     *  The text displayed by this GraphicElement.
+	 *
+     *
The formatting of this text is controlled by CSS styles.
+     *  The supported styles depend on the subclass.

+	 *
+	 *  @default ""
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -658,6 +704,69 @@
     //  Overridden methods: GraphicElement
     //
     //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function setSharedDisplayObject(
+									displayObject:DisplayObject):Boolean
+    {
+        // TextGraphicElement always requires its own display object because
+        // Group doesn't support IGraphicElements with multiple display objects.
+        return false;
+    }
+
+    /**
+     *  @private
+     */
+    override protected function setDisplayObject(value:DisplayObject):void
+    {
+        if (displayObject == value)
+            return;
+
+        // There is an exisiting d.o. so this element is either being moved
+        // to a different container (value != null) or it is being removed
+        // (value == null).
+        if (displayObject)
+        {
+            // If there was a scroll rect remove it before we lose the reference
+            // to the display object.
+            clip(false, 0, 0);
+
+            displayObjectChanged = true;
+            invalidateProperties();
+        }
+
+        super.setDisplayObject(value);
+    }
+
+    /**
+     *  @private
+     */
+    override public function parentChanged(value:Group):void
+    {
+        // FIXME (egeorgie): we add event listener to the parent, as adding event
+        // listener to the TextGraphicElement itself doesn't work, as we perform
+        // double invalidation, but our updateDisplayList gets called only once
+        // and  the code in the base GraphicElement class assumes that
+        // updateDisplayList will get called twice.
+        if (parent)
+            parent.removeEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteHandler);
+
+        // When this GraphicElement is removed from a Group,
+		// the Group calls this method with a null argument.
+		// In that case, the text lines must go away.
+	    if (!value)
+        {
+        	removeTextLines();
+        	releaseTextLines();
+        }
+
+        super.parentChanged(value);
+
+        if (parent)
+            parent.addEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteHandler);
+    }

     /**
      *  @private
@@ -680,34 +789,6 @@
         }
     }

-    /**
-     *  @private
-     */
-    override public function parentChanged(value:Group):void
-    {
-        // FIXME (egeorgie): we add event listener to the parent, as adding event
-        // listener to the TextGraphicElement itself doesn't work, as we perform
-        // double invalidation, but our updateDisplayList gets called only once
-        // and  the code in the base GraphicElement class assumes that
-        // updateDisplayList will get called twice.
-        if (parent)
-            parent.removeEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteHandler);
-
-        // When this GraphicElement is removed from a Group,
-		// the Group calls this method with a null argument.
-		// In that case, the text lines must go away.
-	    if (!value)
-        {
-        	removeTextLines();
-        	releaseTextLines();
-        }
-
-        super.parentChanged(value);
-
-        if (parent)
-            parent.addEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteHandler);
-    }
-
     /**
      *  @private
      */
@@ -924,30 +1005,6 @@
     /**
      *  @private
      */
-    override protected function setDisplayObject(value:DisplayObject):void
-    {
-        if (displayObject == value)
-            return;
-
-        // There is an exisiting d.o. so this element is either being moved
-        // to a different container (value != null) or it is being removed
-        // (value == null).
-        if (displayObject)
-        {
-            // If there was a scroll rect remove it before we lose the reference
-            // to the display object.
-            clip(false, 0, 0);
-
-            displayObjectChanged = true;
-            invalidateProperties();
-        }
-
-        super.setDisplayObject(value);
-    }
-
-    /**
-     *  @private
-     */
     override mx_internal function doUpdateDisplayList():void
     {
 		super.doUpdateDisplayList();
@@ -997,6 +1054,7 @@
     //--------------------------------------------------------------------------

     [Bindable(style="true")]
+
     /**
      *  @inheritDoc
      *
@@ -1112,8 +1170,7 @@
     }

     /**
-     *  Determines whether this instance is the same as - or is a subclass of -
-     *  the given type.
+     *  @inheritDoc
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -1449,7 +1506,7 @@
         return isOverset;
     }

-     /**
+    /**
 	 *  Use scrollRect to clip overset lines.
 	 *  But don't read or write scrollRect if you can avoid it,
 	 *  because this causes Player 10.0 to allocate memory.
@@ -1488,9 +1545,9 @@
     }

     /**
-     * @private
-     * Used to ensure baselinePosition will reflect something
-     * reasonable.
+     *  @private
+     *  Used to ensure baselinePosition will reflect something
+     *  reasonable.
      */
     mx_internal function validateBaselinePosition():void
     {


Enhanced AVCC placement logic.

Enhanced AVCC placement logic.

--- HLSPlugin/src/com/kaltura/hls/m2ts/FLVTranscoder.as
+++ HLSPlugin/src/com/kaltura/hls/m2ts/FLVTranscoder.as
@@ -217,6 +217,11 @@
                 var lowestTagTimestamp:Number = Number.MAX_VALUE;
                 for(var i:int=0; i<bufferedTagTimestamp.length; i++)
                 {
+                    // We must filter for video keyframes for best results. Ideally we
+                    // would do it on keyframes but that causes problems currently.
+                    if(bufferedTagData[i].length < 12 || bufferedTagData[i][0] != 9)
+                        continue;
+
                     if(bufferedTagTimestamp[i] < lowestTagTimestamp)
                         lowestTagTimestamp = bufferedTagTimestamp[i];
                 }


ProxyColumn now marked as busy before the column is actually requested.

--- WeaveData/src/weave/data/DataSources/AbstractDataSource.as
+++ WeaveData/src/weave/data/DataSources/AbstractDataSource.as
@@ -291,7 +291,9 @@

 			debug('getAttributeColumn', refCopy.getHashCode());

-			handlePendingColumnRequest(new DelayedColumnRequest(refCopy, proxyColumn));
+			var dcr:DelayedColumnRequest = new DelayedColumnRequest(refCopy, proxyColumn);
+			WeaveAPI.SessionManager.assignBusyTask(dcr, proxyColumn);
+			handlePendingColumnRequest(dcr);

 			return proxyColumn;
 		}
@@ -312,7 +314,8 @@
 			{
 				debug('requestColumnFromSource', request.columnReference.getHashCode());

-				WeaveAPI.StageUtils.callLater(this, requestColumnFromSource, [request.columnReference, request.proxyColumn]);
+				WeaveAPI.SessionManager.unassignBusyTask(request);
+				WeaveAPI.StageUtils.callLater(request.proxyColumn, requestColumnFromSource, [request.columnReference, request.proxyColumn]);
 				//requestColumnFromSource(request.columnReference, request.proxyColumn);
 			}
 			else


fixed disposing plugin

fixed disposing plugin

--- RNLib/src/rnlib/net/amf/RemoteAmfService.as
+++ RNLib/src/rnlib/net/amf/RemoteAmfService.as
@@ -1552,12 +1552,11 @@
 			if (!requestCanceled)
 			{
 				//force cancel operation for plugins
-				for (var key:Object in _plugins)
+				for (var plugin:Object in _plugins)
 				{
-					if (_plugins[key] === vo)
+					if (_plugins[plugin] === vo)
 					{
-						var plugin:INetPlugin = _plugins[key];
-						disposePlugin(plugin);
+						disposePlugin(plugin as INetPlugin);
 						requestCanceled = true;
 						break;
 					}


fixed bug where getEntityPath() was returning incorrect path.

Change-Id: I04a95adb71755bf9cd141db9f6015bf286c9607a

--- WeaveData/src/weave/services/EntityCache.as
+++ WeaveData/src/weave/services/EntityCache.as
@@ -473,7 +473,7 @@
 		 */
 		public function getEntityPath(root:Entity, descendant:Entity):Array
 		{
-			if (!root.initialized)
+			if (!root.id == ROOT_ID)
 			{
 				//TODO - when searching for a column under root(-1), a table should always be returned instead of a hierarchy
 				var type:String = descendant.getEntityType();


Transferred from the Adobe Open Source Subversion Repository

Revision: 8393
Author:   jszeto@adobe.com
Date:     2009-07-06T20:46:27.558863Z

Log Message:
-----------
Updated FIXME comments

Changed some to TODOs, removed some and filed bugs for the remainder

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

Modified Paths:
--------------
<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/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/VSlider.as
+++ frameworks/projects/spark/src/spark/components/VSlider.as
@@ -137,7 +137,7 @@

     /**
      *  @private
-     *  FIXME (jszeto): Update this to also use the ILayoutElement API
+     *  FIXME (jszeto): Update this to also use the ILayoutElement API SDK-22045
      */
     override protected function updateDataTip(dataTipInstance:IDataRenderer, initialPosition:Point):void
     {


Delete fbApplication.as

Delete fbApplication.as

--- fbApplication.as
+++ fbApplication.as
@@ -1,92 +0,0 @@
-/*
- * Tangible User Interfacer (former TouchAll) demo.
- *
- * Copyright 2016 Gonçalo Amador <g.n.p.amador@gmail.com>
- *
- * Licensed 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
- *
- *     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.
- */
-package touchAll.demos.tronFiducialsDemo
-{
-	import flash.display.*;
-	import flash.events.Event;
-	//import flash.events.TransformGestureEvent;
-
-	import org.tuio.fiducial.*;
-
-	import touchAll.*;
-
-	/**
-	 * @author Gonçalo Amador
-	 */
-	//[SWF(width = "1280", height = "720", frameRate = "60", backgroundColor = "#ffffff")]
-	[SWF(width = "1280", height = "720", frameRate = "60", backgroundColor = "#000000")]
-	public class TronFiducialsDemo extends MovieClip implements IDefault
-	{
-		/* global variables */
-		private var tAll:TouchAll = new TouchAll(stage, 1280, 720, 0x0055ff, false);
-		//private var fm:FiducialManager = new FiducialManager(stage, 0x000000, 0x000000, 0xffffff, 0x000000, 0x00BB00, 0x000000, 0xaaaaaa);
-		private var fm:FiducialManager = new FiducialManager(stage, 0x0055ff, 0x000000, 0x0055ff, 0x000000, 0x00BB00, 0x0055ff, 0x0055ff);
-
-		public function TronFiducialsDemo():void
-		{
-			if (stage) init();
-			else addEventListener(Event.ADDED_TO_STAGE, init);
-		}
-
-		private function init(e:Event = null):void
-		{
-			removeEventListener(Event.ADDED_TO_STAGE, init);
-
-			/* LOAD STAGE CONTENT */
-			tAll.backgroundLoader();
-			//backgroundEventListenersLoader();
-
-			/* stage set up */
-			tAll.stageLoader();
-			stageEventListenersLoader();
-
-			/* tuio set up */
-			tAll.tuioLoader();
-		}
-
-		public function stageEventListenersLoader():void {
-			tAll.stageEventListenersLoader();
-			fm.stageEventListenersLoader();
-		}
-
-		public function backgroundEventListenersLoader():void {
-			trace("backgroundEventListenersLoader.");
-		}
-
-		public function fiducialADD(e:FiducialEvent):void {
-			// debug mode console message if Fiducial event captured
-			//trace("Fiducial #" + e.fiducialId + " fiducial added.");
-
-			fm.fiducialADD(e);
-		}
-
-		public function fiducialREMOVE(e:FiducialEvent):void {
-			// debug mode console message if Fiducial event captured
-			//trace("Fiducial #" + e.fiducialId + " fiducial removed.");
-
-			fm.fiducialREMOVE(e);
-		}
-
-		public function fiducialUPDATE(e:FiducialEvent):void {
-			// debug mode console message if Fiducial event captured
-			//trace("Fiducial #" + e.fiducialId + " fiducial update.");
-
-			fm.fiducialUPDATE(e);
-		}
-	}
-}


Iterate over a copy of our listeners array, in case it changes under our feet -- which can easily happen if event handlers add or remove listeners. From Nathan.

--- tamarin-central/thane/as3src/flash/events/EventDispatcher.as
+++ tamarin-central/thane/as3src/flash/events/EventDispatcher.as
@@ -49,7 +49,7 @@
             return true;
         }

-        for each (var listener :Function in listeners) {
+        for each (var listener :Function in listeners.concat()) {
             try {
                 listener(event);
             } catch (err :Error) {


Getting Pinball Deluxe to play

Getting Pinball Deluxe to play

--- gb/gpu.as
+++ gb/gpu.as
@@ -295,10 +295,7 @@
     }

     if self.LCDEnable and self.WindowEnable {
-      self.RenderWindow();
-
-      // Rendering the window takes 6 cycles unless WX=0 then it takes 7
-      self.Mode3Length += (7 if self.WX == 0 else 6);
+      self.Mode3Length += self.RenderWindow();
     } else {
       // Window not enabled
       // TODO: Should we do anything special here?
@@ -368,8 +365,14 @@
     }
   }

-  def RenderWindow(self) {
+  def RenderWindow(self): uint16 {
+    let cycles: uint16 = 0;
+
     if self.LY >= self.WY {
+      // Rendering the window takes 6 cycles unless WX=0 then it takes 7
+      cycles += 24;
+      if self.WX <= 7 { cycles += 1; }
+
       // Tile Map (Offset)
       let map: uint64 = 0x1C00 if self.WindowTileMapSelect else 0x1800;
       map += uint64((self.LY - self.WY) >> 3) << 5;
@@ -421,6 +424,8 @@
         i += 1;
       }
     }
+
+    return cycles;
   }

   def RenderSprites(self): uint16 {


FEC-4702 Better audio track change - no longer break when changing during segment download.

--- HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
+++ HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
@@ -836,19 +836,48 @@
 				var audioResource:MediaResourceBase = createAudioResource(_resource, _desiredAudioStreamName);
 				if (audioResource != null)
 				{
+					CONFIG::LOGGING
+					{
+						logger.debug("   o Opened alternate audio resource for [" + _desiredAudioStreamName + "]");
+					}
+
 					// audio handler is not dispatching events on the NetStream
 					_mixer.audio = new HLSHTTPStreamSource(_factory, audioResource, _mixer);
 					_mixer.audio.open(_desiredAudioStreamName);
+
+					// Seek to current time.
+					if(!isNaN(_enhancedSeekTarget) && _enhancedSeekTarget > time)
+					{
+						CONFIG::LOGGING
+						{
+							logger.debug("Resetting to enhanced seek target @ " + _enhancedSeekTarget);
+						}
+						seek(_enhancedSeekTarget);
+					}
+					else
+					{
+						CONFIG::LOGGING
+						{
+							logger.debug("Resetting to current time @ " + time);
+						}
+						seek(time);
+					}
+
 				}
 				else
 				{
+					CONFIG::LOGGING
+					{
+						logger.debug("   o Failed generating audio resource for [" + _desiredAudioStreamName + "]");
+					}
+
 					_mixer.audio = null;
 				}

 				_audioStreamNeedsChanging = false;
 				_desiredAudioStreamName = null;
 			}
-
+
 			_notifyPlayUnpublishPending = false;
 		}


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/effects/effectClasses/BlurInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/BlurInstance.as
@@ -49,6 +49,11 @@
  *
  *  @see mx.effects.Blur
  *  @see mx.events.TweenEvent
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class BlurInstance extends TweenEffectInstance
 {
@@ -64,6 +69,11 @@
 	 *  Constructor.
 	 *
 	 *  @param target The Object to animate with this effect.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function BlurInstance(target:Object)
 	{
@@ -82,6 +92,11 @@

 	/**
 	 *  The starting amount of horizontal blur.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var blurXFrom:Number;

@@ -91,6 +106,11 @@

 	/**
 	 *  The ending amount of horizontal blur.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var blurXTo:Number;

@@ -100,6 +120,11 @@

 	/**
 	 *  The starting amount of vertical blur.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var blurYFrom:Number;

@@ -109,6 +134,11 @@

 	/**
 	 *  The ending amount of vertical blur.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var blurYTo:Number;


Transferred from the Adobe Open Source Subversion Repository

Revision: 21683
Author:   chiedozi@adobe.com
Date:     2011-07-21T23:18:41.186033Z

Log Message:
-----------
Initial checkin of SplitViewNavigator component and its skin.  This includes small alterations to various ViewTransition classes.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SplitViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/IVisualElementContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SplitViewNavigator.as</path>

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

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

 package spark.components
 {
-import flash.display.Stage;
 import flash.events.Event;

 import mx.core.IVisualElement;
@@ -2278,6 +2277,9 @@

             actionBar.visible = actionBar.includeInLayout = view && view.actionBarVisible;
             actionBarVisibilityInvalidated = false;
+
+            actionBar.invalidateSize();
+            actionBar.invalidateDisplayList();
         }
     }


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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2010 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//  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
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 12859
Author:   jszeto@adobe.com
Date:     2009-12-11T19:57:39.056525Z

Log Message:
-----------
Masking bugs

SDK-24646 - Masking element on RIchText should inherit the target group's coordinate space
SDK-24559 - Using a mask with RichText doesn't work if you are using an MX Application

Fixed masking in RichText. The mask was not properly parented. Since we don't need to fake the parenting chain, we pass a null parent to MaskUtil.applyMask

Removed mask.parent check from MaskUtil.applyMask. It doesn't need this check.

Restored the mask initialization order in GraphicElement. Moved the addChild call back before the MaskUtil.applyMatirx call.

Updated GroupBase to call MaskUtil.applyMask.

QE notes: None
Doc notes: None
Bugs: SDK-24646, SDK-24559
Reviewer: Ryan
Tests run: checkintests, group, primitives
Is noteworthy for integration: No

Modified Paths:
--------------
<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/spark/src/spark/components/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/MaskUtil.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -17,6 +17,7 @@
 import flash.events.Event;
 import flash.events.MouseEvent;
 import flash.filters.ShaderFilter;
+import flash.geom.Point;
 import flash.geom.Rectangle;

 import mx.core.IVisualElement;
@@ -24,7 +25,7 @@
 import mx.core.UIComponentGlobals;
 import mx.core.mx_internal;
 import mx.events.PropertyChangeEvent;
-import mx.graphics.shaderClasses.LuminosityMaskShader;
+import mx.graphics.shaderClasses.LuminosityMaskShader;

 import spark.components.ResizeMode;
 import spark.core.IViewport;
@@ -33,6 +34,7 @@
 import spark.layouts.BasicLayout;
 import spark.layouts.supportClasses.LayoutBase;
 import spark.utils.FTETextUtil;
+import spark.utils.MaskUtil;

 use namespace mx_internal;

@@ -1135,14 +1137,8 @@
                 {
                     // TODO (jszeto): Does this need to be attached to a sibling?
                     overlay.addDisplayObject(_mask, OverlayDepth.MASK);
-                    var maskComp:UIComponent = _mask as UIComponent;
-                    if (maskComp)
-                    {
-                        // Update properties and resize mask and all children.
-                        UIComponentGlobals.layoutManager.validateClient(maskComp, true);
-                        maskComp.setActualSize(maskComp.getExplicitOrMeasuredWidth(),
-                                               maskComp.getExplicitOrMeasuredHeight());
-                    }
+
+                    MaskUtil.applyMask(_mask, null);
                 }
             }
         }
@@ -1850,7 +1846,7 @@
             }
         }
     }
-
+
 }

 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/FadeInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/FadeInstance.as
@@ -14,6 +14,7 @@
 import flash.events.Event;

 import flex.core.Group;
+import flex.effects.Animation;
 import flex.effects.PropertyValuesHolder;
 import flex.graphics.graphicsClasses.GraphicElement;

@@ -21,7 +22,7 @@
 import mx.events.FlexEvent;
 import mx.managers.LayoutManager;

-public class FadeInstance extends AnimatePropertiesInstance
+public class FadeInstance extends AnimateInstance
 {
     public function FadeInstance(target:Object)
     {
@@ -148,10 +149,10 @@
      *  be visible (or not) or removed (or not).
      *  @private
      */
-    override public function onTweenEnd(value:Object):void
+    override public function animationEnd(tween:Animation, value:Object):void
     {
         // Call super function first so we don't clobber resetting the alpha.
-        super.onTweenEnd(value);
+        super.animationEnd(tween, value);

         // TODO: ideally, we would put the visible=false logic in this effect
         // We don't want to depend on a private variable on the target


revision01

--- as/main/frame4.as
+++ as/main/frame4.as
@@ -1,46 +1,45 @@
-
-var historia_txt:String ="";
+var historia_txt:String = "";
 var baixa_mc:MovieClip;
 var puja_mc:MovieClip;
-
 var buttonsUI:Array = new Array ("puja_mc", "baixa_mc");
-
 this.historia_txt.html = true;
-this.historia.htmlText =true;
+this.historia.htmlText = true;
 this.historia_txt.wordWrap = true;
 this.historia_txt.multiline = true;
-
-function textScroll():Void{
+function textScroll ():Void
+{
 	this.onPress = this.oOut;
-	this.onRollOver =this.oOver;
+	this.onRollOver = this.oOver;
 	this.onRollOut = this.oOut;
 	this.onRelease = this.oOut;
 }
-
-function oOver():Void
+function oOver ():Void
 {
-	pressing = true;
-	movement = -1;
-};
-function oOut():Void
+	var i:Number;
+	for (var i = 0; i < buttonsUI.length; i++)
+	{
+		pressing = true;
+		movement = -1;
+	}
+}
+function oOut ():Void
 {
-	pressing = false;
-};
-
+	var i:Number;
+	for (var i = 0; i < buttonsUI.length; i++)
+	{
+		pressing = false;
+	}
+}
 this.onEnterFrame = function ()
 {
-    buttonsUI[i].oOver();
-	this.stop();
+	buttonsUI[i].oOver ();
+	this.stop ();
 };
-
 var Private_lv = new LoadVars ();
 Private_lv.load ("/assets/tendes.txt");
 Private_lv.onLoad = function ()
 {
 	this.historia_txt.htmlText = this.Privat;
 	this.play ();
-	textScroll();
+	textScroll ();
 };
-
-
-


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

--- frameworks/projects/mx/src/mx/accessibility/TreeAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/TreeAccImpl.as
@@ -0,0 +1,581 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-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.accessibility
+{
+
+import flash.accessibility.Accessibility;
+import flash.events.Event;
+import mx.collections.ICollectionView;
+import mx.collections.CursorBookmark;
+import mx.collections.IViewCursor;
+import mx.controls.Tree;
+import mx.controls.listClasses.IListItemRenderer;
+import mx.controls.treeClasses.HierarchicalCollectionView;
+import mx.core.UIComponent;
+import mx.core.mx_internal;
+import mx.events.TreeEvent;
+
+use namespace mx_internal;
+
+/**
+ *  The TreeAccImpl class is the accessibility class for Tree.
+ *
+ *  @helpid 3009
+ *  @tiptext This is the Tree Accessibility Class.
+ *  @review
+ */
+public class TreeAccImpl extends AccImpl
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class initialization
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Static variable triggering the hookAccessibility() method.
+	 *  This is used for initializing TreeAccImpl class to hook its
+	 *  createAccessibilityImplementation() method to Tree class
+	 *  before it gets called from UIComponent.
+	 */
+	private static var accessibilityHooked:Boolean = hookAccessibility();
+
+	/**
+	 *  @private
+	 *  Static method for swapping the createAccessibilityImplementation()
+	 *  method of Tree with the TreeAccImpl class.
+	 */
+	private static function hookAccessibility():Boolean
+	{
+		Tree.createAccessibilityImplementation =
+			createAccessibilityImplementation;
+
+		return true;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Role of treeItem.
+	 */
+	private static const ROLE_SYSTEM_OUTLINEITEM:uint = 0x24;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_COLLAPSED:uint = 0x00000400;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_EXPANDED:uint = 0x00000200;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_FOCUSED:uint = 0x00000004;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_INVISIBLE:uint = 0x00008000;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_SELECTABLE:uint = 0x00200000;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_SELECTED:uint = 0x00000002;
+
+	/**
+	 *  @private
+	 *  Event emitted if 1 item is selected.
+	 */
+	private static const EVENT_OBJECT_FOCUS:uint = 0x8005;
+
+	/**
+	 *  @private
+	 *  Event emitted if 1 item is selected.
+	 */
+	private static const EVENT_OBJECT_SELECTION:uint = 0x8006;
+
+	/**
+	 *  @private
+	 */
+	private static const EVENT_OBJECT_STATECHANGE:uint = 0x800A;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Method for creating the Accessibility class.
+	 *  This method is called from UIComponent.
+	 *  @review
+	 */
+	mx_internal static function createAccessibilityImplementation(
+								component:UIComponent):void
+	{
+		component.accessibilityImplementation =
+			new TreeAccImpl(component);
+	}
+
+	/**
+	 *  Method call for enabling accessibility for a component.
+	 *  This method is required for the compiler to activate
+	 *  the accessibility classes for a component.
+	 */
+	public static function enableAccessibility():void
+	{
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param master The UIComponent instance that this AccImpl instance
+	 *  is making accessible.
+	 */
+	public function TreeAccImpl(master:UIComponent)
+	{
+		super(master);
+
+		role = 0x23;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden properties: AccImpl
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  eventsToHandle
+	//----------------------------------
+
+	/**
+	 *  @private
+	 *	Array of events that we should listen for from the master component.
+	 */
+	override protected function get eventsToHandle():Array
+	{
+		return super.eventsToHandle.concat(
+			[ "change", TreeEvent.ITEM_OPEN, TreeEvent.ITEM_CLOSE ]);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: AccessibilityImplementation
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Gets the role for the component.
+	 *
+	 *  @param childID children of the component
+	 */
+	override public function get_accRole(childID:uint):uint
+	{
+		if (childID == 0)
+			return role;
+
+		return ROLE_SYSTEM_OUTLINEITEM;
+	}
+
+	/**
+	 *  @private
+	 *  IAccessible method for returning the value of the TreeItem/Tree
+	 *  which is spoken out by the screen reader
+	 *  The Tree should return the name of the currently selected item
+	 *  with m of n string with level info as value when focus moves to Tree.
+	 *
+	 *  @param childID uint
+	 *
+	 *  @return Name String
+	 *  @review
+	 */
+	override public function get_accValue(childID:uint):String
+	{
+		var accValue:String;
+
+		var tree:Tree = Tree(master);
+		var index:int;
+		var item:Object;
+
+		if (childID == 0)
+		{
+			index = tree.selectedIndex;
+			if (index > -1)
+			{
+				item = getItemAt(index);
+				if (!item)
+					return accValue;
+
+				if (tree.itemToLabel(item))
+					accValue = tree.itemToLabel(item)
+
+				accValue += getMOfN(item);
+			}
+		}
+		else
+		{
+			// Assuming childID is always ItemID + 1
+			// because getChildIDArray is not always invoked.
+			index = childID - 1;
+
+			item = getItemAt(index);
+			if (!item)
+				return accValue;
+
+			accValue = tree.getItemDepth(item, index - tree.verticalScrollPosition) + "";
+		}
+
+		return accValue;
+	}
+
+	/**
+	 *  @private
+	 *  IAccessible method for returning the state of the TreeItem.
+	 *  States are predefined for all the components in MSAA.
+	 *  Values are assigned to each state.
+	 *  Depending upon the treeItem being Selected, Selectable,
+	 *  Invisible, Offscreen, a value is returned.
+	 *
+	 *  @param childID uint
+	 *
+	 *  @return State uint
+	 */
+	override public function get_accState(childID:uint):uint
+	{
+		var accState:uint = getState(childID);
+
+		if (childID > 0)
+		{
+			var tree:Tree = Tree(master);
+
+			var index:int = childID - 1;
+
+			// For returning states (OffScreen and Invisible)
+			// when the list Item is not in the displayed rows.
+			if (index < tree.verticalScrollPosition ||
+				index >= tree.verticalScrollPosition + tree.rowCount)
+			{
+				accState |= STATE_SYSTEM_INVISIBLE;
+			}
+			else
+			{
+				accState |= STATE_SYSTEM_SELECTABLE;
+
+				var item:Object = getItemAt(index);
+
+				if (item && tree.dataDescriptor.isBranch(item, tree.dataProvider))
+				{
+					if (tree.isItemOpen(item))
+						accState |= STATE_SYSTEM_EXPANDED;
+					else
+						accState |= STATE_SYSTEM_COLLAPSED;
+				}
+
+				var renderer:IListItemRenderer =
+					tree.itemToItemRenderer(item);
+
+				if (renderer != null && tree.isItemSelected(renderer.data))
+					accState |= STATE_SYSTEM_SELECTED | STATE_SYSTEM_FOCUSED;
+			}
+		}
+		return accState;
+	}
+
+	/**
+	 *  @private
+	 *  IAccessible method for returning the Default Action.
+	 *
+	 *  @param childID uint
+	 *
+	 *  @return name of default action.
+	 */
+	override public function get_accDefaultAction(childID:uint):String
+	{
+		if (childID == 0)
+			return null;
+
+		var tree:Tree = Tree(master);
+
+		var item:Object = getItemAt(childID - 1);
+		if (!item)
+			return null;
+
+		if (tree.dataDescriptor.isBranch(item, tree.dataProvider))
+			return tree.isItemOpen(item) ? "Collapse" : "Expand";
+
+		return null;
+	}
+
+	/**
+	 *  @private
+	 *  IAccessible method for executing the Default Action.
+	 *
+	 *  @param childID uint
+	 */
+	override public function accDoDefaultAction(childID:uint):void
+	{
+		var tree:Tree = Tree(master);
+
+		if (childID == 0 || !tree.enabled)
+			return;
+
+		var item:Object = getItemAt(childID - 1);
+		if (!item)
+			return;
+
+		if (tree.dataDescriptor.isBranch(item, tree.dataProvider))
+			tree.expandItem(item, !tree.isItemOpen(item));
+	}
+
+ 	/**
+	 *  @private
+	 *  Method to return an array of childIDs.
+	 *
+	 *  @return Array
+	 */
+	override public function getChildIDArray():Array
+	{
+		var childIDs:Array = [];
+
+		if (Tree(master).dataProvider)
+		{
+			var n:int = Tree(master).collectionLength;
+			for (var i:int = 0; i < n; i++)
+			{
+				childIDs[i] = i + 1;
+			}
+		}
+		return childIDs;
+	}
+
+	/**
+	 *  @private
+	 *  IAccessible method for returning the bounding box of the TreeItem.
+	 *
+	 *  @param childID uint
+	 *
+	 *  @return Location Object
+	 */
+	override public function accLocation(childID:uint):*
+	{
+		var tree:Tree = Tree(master);
+
+		var index:int = childID - 1;
+
+		if (index < tree.verticalScrollPosition ||
+			index >= tree.verticalScrollPosition + tree.rowCount)
+		{
+			return null;
+		}
+
+		return tree.itemToItemRenderer(getItemAt(index));
+	}
+
+	/**
+	 *  @private
+	 *  IAccessible method for returning the childFocus of the List.
+	 *
+	 *  @param childID uint
+	 *
+	 *  @return focused childID.
+	 */
+	override public function get_accFocus():uint
+	{
+		var index:int = Tree(master).selectedIndex;
+
+		return index >= 0 ? index + 1 : 0;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: AccImpl
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  method for returning the name of the TreeItem/Tree
+	 *  which is spoken out by the screen reader
+	 *  The TreeItem should return the label as the name
+	 *  with m of n string with level info and
+	 *  Tree should return the name specified in the Accessibility Panel.
+	 *
+	 *  @param childID uint
+	 *
+	 *  @return Name String
+	 *  @review
+	 */
+	override protected function getName(childID:uint):String
+	{
+		if (childID == 0)
+			return "";
+
+		var name:String = "";
+
+		var tree:Tree = Tree(master);
+
+		// Assuming childID is always ItemID + 1
+		// because getChildIDArray is not always invoked.
+		var index:int = childID - 1;
+
+		var item:Object = getItemAt(childID - 1);
+		if (!item)
+			return name;
+
+		if (tree.itemToLabel(item))
+			name = tree.itemToLabel(item);
+
+		name += getMOfN(item);
+
+		return name;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	private function getItemAt(index:int):Object
+	{
+		var iterator:IViewCursor = Tree(master).collectionIterator;
+		iterator.seek(CursorBookmark.FIRST, index);
+		return iterator.current;
+	}
+
+	/**
+	 *  @private
+	 *  Local method to return m of n String.
+	 *
+	 *  @param item Object
+	 *
+	 *  @return string.
+	 */
+	private function getMOfN(item:Object):String
+	{
+		var tree:Tree = Tree(master);
+		var i:int = 0;
+		var n:int = 0;
+
+		var view:HierarchicalCollectionView = HierarchicalCollectionView(tree.wrappedCollection);
+
+		var parent:Object = view.getParentItem(item);
+		if (parent)
+		{
+			var childNodes:ICollectionView =
+				tree.dataDescriptor.getChildren(parent, tree.collectionIterator.view);
+
+			if (childNodes)
+			{
+				n = childNodes.length;
+				for (i = 0; i < n; i++)
+				{
+					if (item == childNodes[i])
+						break;
+				}
+			}
+		}
+		else
+		{
+			var cursor:IViewCursor = ICollectionView(tree.collectionIterator.view).createCursor();
+			while (!cursor.afterLast)
+			{
+				if (item == cursor.current)
+					i = n;
+				n++;
+				cursor.moveNext();
+			}
+		}
+
+		if (i == n)
+			i = 0;
+
+		// Make it 1-based.
+		if (n > 0)
+			i++;
+
+		return ", " + i + " of " + n;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden event handlers: AccImpl
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Override the generic event handler.
+	 *  All AccImpl must implement this
+	 *  to listen for events from its master component.
+	 */
+	override protected function eventHandler(event:Event):void
+	{
+		var index:int = Tree(master).selectedIndex;
+
+		var childID:uint = index + 1;
+
+		switch (event.type)
+		{
+			case "change":
+			{
+				if (index >= 0)
+				{
+					Accessibility.sendEvent(master, childID,
+											EVENT_OBJECT_FOCUS);
+
+					Accessibility.sendEvent(master, childID,
+											EVENT_OBJECT_SELECTION);
+				}
+				break;
+			}
+
+			case TreeEvent.ITEM_OPEN:
+			case TreeEvent.ITEM_CLOSE:
+			{
+				if (index >= 0)
+				{
+					Accessibility.sendEvent(master, childID,
+											EVENT_OBJECT_STATECHANGE);
+				}
+				break;
+			}
+		}
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 19635
Author:   aharui@adobe.com
Date:     2011-01-07T00:25:18.039632Z

Log Message:
-----------
revert the layout changes from svn 18635.  Management feels that there isn't enough time to thoroughly test the changes.

Modified Paths:
--------------
<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/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/layoutClasses/PriorityQueue.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/core/Application.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<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/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/IconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airspark/src/spark/components/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/IContainerInvalidating.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/ILayoutManagerContainerClient.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/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/IStyleManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/core/Container.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/LayoutManager.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/components/Application.as</path>

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

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -4299,7 +4299,7 @@
         // allow the column's width to grow to the extent that the adjacent
         // (next) column can shrink.

-        if (isNaN(estimatedWidth) && (layoutDirection == LayoutDirection.RTL))
+        if (isNaN(explicitWidth) && (layoutDirection == LayoutDirection.RTL))
         {
             const nextColumnIndex:int = grid.getNextVisibleColumnIndex(resizeColumn.columnIndex);
             nextColumn = getColumnAt(nextColumnIndex);


Transferred from the Adobe Open Source Subversion Repository

Revision: 21010
Author:   cframpto@adobe.com
Date:     2011-04-01T12:09:11.474068Z

Log Message:
-----------
Added missing a few closing tags to ASdoc - replace <i> with </i>

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

Modified Paths:
--------------
/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGrid.as

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

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -633,11 +633,11 @@
  *    resizeableColumns="true"
  *    rowHeight="Calculated default"
  *    selectedCell="null"
- *    selectedCells="empty Vector.<CellPosition&gt"
+ *    selectedCells="empty Vector.<CellPosition&gt"
  *    selectedIndex="null"
- *    selectedIndices="empty Vector.<CellPosition&gt"
+ *    selectedIndices="empty Vector.<CellPosition&gt"
  *    selectedItem="null"
- *    selectedItems="empty Vector.<Object&gt"
+ *    selectedItems="empty Vector.<Object&gt"
  *    selectionMode="singleRow"
  *    showDataTips="false"
  *    sortableColumns="true"


Get things working with the latest ESC (line numbers in exceptions are known to fail, but we can live with that short term)

--- axscript/mscom.as
+++ axscript/mscom.as
@@ -35,8 +35,8 @@
  * ***** END LICENSE BLOCK ***** */

 // hackery - for now, this file is "built" via:
-// % java -ea -DAS3 -Xmx200m -DAVMPLUS -classpath ../utils/asc.jar macromedia.asc.embedding.ScriptCompiler -abcfuture -builtin -import ../core/builtin.abc -import ../esc/bin/parse.es.abc -import ../esc/bin/cogen.es.abc -import ../esc/bin/ast.es.abc -import ../esc/bin/esc-core.es.abc -import ../esc/bin/eval-support.es.abc -out axtoplevel mscom.as Domain.as ../shell/ByteArray.as && move /y ..\shell\axtoplevel.* .
-// Note that adding '-d' will include debug info which can be handy if you are tracking problems in this script
+// %java -ea -DAS3 -DAVMPLUS -classpath ../utils/asc.jar macromedia.asc.embedding.ScriptCompiler -abcfuture -builtin -d -import ../core/builtin.abc -import ../esc/bin/esc-core.es.abc -import ../esc/bin/eval-support.es.abc -out axtoplevel mscom.as Domain.as ../shell/ByteArray.as && move /y ..\shell\axtoplevel.* .
+// Note the '-d' will include debug info which is handy in the early days...

 package axtam
 {
@@ -62,11 +62,8 @@

 	namespace ESC = "ESC"; // implicit namespace from esc-env.ast

-	public function eval(s)
-	{
-		use namespace ESC;
-		ESC::evaluateInScopeArray(s, "", []);
-	}
+	// 'eval' support is still a work in progress.
+	public function eval(...rest) {} // just needs to exist!!
 }

 // a clone of the File class from shell/toplevel.as
@@ -139,7 +136,7 @@
 	// This is the actual class that is thrown by script code (see throwError above)
 	// When exceptions of this class are thrown, they are not treated as "unhandled",
 	// but simply indicate that script code wants a COM error returned.
-	public dynamic class ProviderError extends Error {
+	public dynamic class ProviderError extends axtam.com.Error {
 		function ProviderError(hresult, excepinfo:EXCEPINFO = null) {
 			super(hresult, excepinfo)
 		}
@@ -151,7 +148,7 @@
 	// (such as Window) returns a COM error code.  These are never thrown by script code,
 	// and are treated as "unhandled" when the occur - eg, a traceback is printed, debugger
 	// semantics followed, etc.
-	public dynamic class ConsumerError extends Error {
+	public dynamic class ConsumerError extends axtam.com.Error {
 		function ConsumerError(hresult, excepinfo:EXCEPINFO = null) {
 			super(hresult, excepinfo)
 		}
@@ -238,27 +235,21 @@

 package {

-    import flash.utils.*; // for our ByteArray clone - either it should die, or we rename the package in our clone!
-
-    public function compileString(str, fname:String = "", startLineNumber:int = 0): ByteArray
-    {
-        import Parse.*;
-        import Lex.*; // needed to set lnCoord below, for reasons too magic for markh :)
-        var top = []
-
-        var parser = new Parser(str,top,fname);
-        parser.scan.lnCoord += startLineNumber;
-        var prog = parser.program();
-        var bytes = Gen::cg(prog).getBytes();
-
-        var b = new ByteArray();
-        b.endian = "littleEndian";
-
-        for (var i = 0, len = bytes.length; i<len; ++i) {
-            b.writeByte(uint(bytes[i]));
-        }
-        return b
-    }
+	import flash.utils.*; // for our ByteArray clone - either it should die, or we rename the package in our clone!
+
+	public function compileString(str, fname:String = "", startLineNumber:int = 0)
+	{
+// Bug 432242 is adding a 'compileStringToBytes' function, but its not checked in
+// yet - so reimplement it ourselves.  Note that line numbers will be broken until
+// that bug is fixed.
+//		use namespace ESC;
+//		var bytes = ESC::compileStringToBytes(str, fname, startLineNumber+1);
+		var bytes;
+		ESC::compile( function () { return str },
+					  function (abc) { bytes = abc.getBytes() },
+					  fname);
+		return bytes;
+	}
 }

 package {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3184
Author:   shodgson@adobe.com
Date:     2008-09-11T22:51:31.586220Z

Log Message:
-----------
Update to Channel failover to survive transient network disconnects (i.e. HTTP proxy connection severing)

Bug: NA
QA: Yes - testable via judicious breakpointing or via an automated test run in concert with Shunra or something similar perhaps?
Doc: No
Checkintests Pass: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/Channel.as
+++ frameworks/projects/rpc/src/mx/messaging/Channel.as
@@ -122,16 +122,10 @@
 		super();

 		_log = Log.getLogger("mx.messaging.Channel");
-		_connecting = false;
 		_failoverIndex = -1;
 	    this.id = id;
 		_primaryURI = uri;
-		_shouldBeConnected = false;
 		this.uri = uri; // Current URI
-
-        // Don't know the authorization state in the beginning.  Assume true
-        // so that a logout can be done at the start.
-        authenticating = false;
 	}

     /**
@@ -202,7 +196,7 @@
      * @private
      * Flag indicating whether the endpoint has been calculated from the uri.
      */
-    private var _isEndpointCalculated:Boolean = false;
+    private var _isEndpointCalculated:Boolean;

     /**
      * @private
@@ -216,7 +210,14 @@
      *  @private
      *  Flag indicating whether this Channel owns the wait guard for managing initial connect attempts.
      */
-    private var _ownsWaitGuard:Boolean = false;
+    private var _ownsWaitGuard:Boolean;
+
+    /**
+     *  @private
+     *  Indicates whether the Channel was previously connected successfully. Used for pinned reconnect
+     *  attempt before trying failover options.
+     */
+    private var _previouslyConnected:Boolean;

 	/**
 	 *  @private
@@ -229,15 +230,7 @@
      */
     private var resourceManager:IResourceManager = ResourceManager.getInstance();

-	/**
-	 *  @private
-	 *  Indicates whether this channel should be connected to its endpoint.
-	 *  This flag is used to control when fail over should be attempted.
-	 */
-	private var _shouldBeConnected:Boolean;
-
-
-    //--------------------------------------------------------------------------
+	//--------------------------------------------------------------------------
     //
     // Properties
     //
@@ -286,6 +279,9 @@
 	{
 	    if (_connected != value)
 	    {
+	        if (_connected)
+	           _previouslyConnected = true;
+
 	        var event:PropertyChangeEvent = PropertyChangeEvent.createUpdateEvent(this, "connected", _connected, value)
 	        _connected = value;
 	        dispatchEvent(event);
@@ -570,6 +566,25 @@
 	public function set requestTimeout(value:int):void
 	{
 	    _requestTimeout = value;
+    }
+
+    //----------------------------------
+    //  shouldBeConnected
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private var _shouldBeConnected:Boolean;
+
+    /**
+     *  Indicates whether this channel should be connected to its endpoint.
+     *  This flag is used to control when fail over should be attempted and when disconnect
+     *  notification is sent to the remote endpoint upon disconnect or fault.
+     */
+    protected function get shouldBeConnected():Boolean
+    {
+        return _shouldBeConnected;
     }

 	//----------------------------------
@@ -1288,8 +1303,8 @@
      */
     private function shouldAttemptFailover():Boolean
     {
-        return (_shouldBeConnected && (_failoverURIs != null) &&
-	                (_failoverURIs.length > 0));
+        return (_shouldBeConnected &&
+               (_previouslyConnected || ((_failoverURIs != null) &&  (_failoverURIs.length > 0))));
     }

     /**
@@ -1298,6 +1313,18 @@
      */
     private function failover():void
     {
+        // Special-case retry on current URI.
+        if (_previouslyConnected)
+        {
+            _previouslyConnected = false;
+            setReconnecting(true);
+            var timer:Timer = new Timer(1, 1);
+            timer.addEventListener(TimerEvent.TIMER, reconnect);
+            timer.start();
+            return; // Exit early - if this fails the remaining failoverURIs will be tried next.
+        }
+
+        // General failover handling.
         ++_failoverIndex;
         if ((_failoverIndex + 1) <= failoverURIs.length)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7377
Author:   jimurphy@adobe.com
Date:     2009-05-28T18:43:12.971970Z

Log Message:
-----------
Merged beta1 revisions 7173,7179,7183,7214,7216,7219,7282 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/flex-config.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/themes/Wooden/Wooden.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/themes/AeonGraphical/AeonGraphical.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/themes/Smoke/Smoke.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/themes/Ice/Ice.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/air-config.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TitleWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/themes/Institutional/Institutional.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>

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

--- frameworks/projects/mx/src/mx/containers/TitleWindow.as
+++ frameworks/projects/mx/src/mx/containers/TitleWindow.as
@@ -118,6 +118,8 @@
 [AccessibilityClass(implementation="mx.accessibility.TitleWindowAccImpl")]

 [IconFile("TitleWindow.png")]
+
+[Alternative(replacement="spark.components.Panel", since="4.0")]

 /**
  *  A TitleWindow layout container contains a title bar, a caption,


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

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

 package mx.printing
 {