Transferred from the Adobe Open Source Subversion Repository

Revision: 5098
Author:   gauravj@adobe.com
Date:     2009-02-27T02:21:27.489350Z

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:
--------------
151 paths were modified

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

--- frameworks/projects/spark/src/spark/components/DropDownList.as
+++ frameworks/projects/spark/src/spark/components/DropDownList.as
@@ -23,6 +23,16 @@
 - FxList current dispatches selectionChanged on arrowUp/Down. Should we subclass FxList
 and change behavior to commit value only on ENTER, SPACE, or CTRL-UP?

+*
+
+*  @langversion 3.0
+
+*  @playerversion Flash 10
+
+*  @playerversion AIR 1.5
+
+*  @productversion Flex 4
+
 */

 package mx.components
@@ -45,6 +55,11 @@
  *  selectedItem property changes.
  *
  *  @eventType mx.events.ListEvent.CHANGE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 [Event(name="change", type="flash.events.Event")]

@@ -56,18 +71,33 @@
  *  Its functionality is very similar to that of the
  *  SELECT form element in HTML.
  *
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class DropDownList extends DropDownBase
 {

     /**
      *  An optional skin part that holds the prompt or the text of the selectedItem
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     [SkinPart(required="false")]
     public var labelElement:TextGraphicElement;

 	/**
      *  A skin part that is the instance of the dropDown list
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */

      // TODO (jszeto) We want this to be required. But when the skin part is in a state,
@@ -77,6 +107,11 @@

 	/**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
 	public function DropDownList()
 	{
@@ -106,6 +141,11 @@
      *  likely to occur.

      *
      *  @default null
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
 	 */
 	public function get dataProvider():IList
 	{
@@ -128,6 +168,11 @@

     /**
      *  @copy mx.components.DataGroup#itemRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get itemRenderer():IFactory
     {
@@ -155,6 +200,11 @@
      *  The name of the field in the data provider items to display as the label.

      * @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get labelField():String
     {
@@ -183,6 +233,11 @@
      *
myLabelFunction(item:Object):String

      *
      *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get labelFunction():Function
     {
@@ -216,6 +271,11 @@
      *  a String like "Select one...".  If there is no
      *  prompt, the FxComboBox control sets selectedIndex to 0
      *  and displays the first item in the dataProvider.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get prompt():String
     {
@@ -254,6 +314,11 @@
      *  affects the other.

      *
      *  @default -1
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get selectedIndex():int
     {
@@ -297,6 +362,11 @@
      *  affects the other.

      *
      *  @default null;
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get selectedItem():Object
     {
@@ -478,6 +548,11 @@

     /**
 	 *  Called when the dropDown dispatches a selectionChanged event.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
 	 */
     protected function dropDown_selectionChangedHandler(event:IndexChangedEvent):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13311
Author:   rfrishbe@adobe.com
Date:     2010-01-06T19:49:23.642460Z

Log Message:
-----------
Fixing two video bugs:

SDK-24880: Moving and resizing a video at the same time while maintaining the center was jittery because the video's width/height didn't take effect until another frame because of some invalidation/validation logic that goes on inside of OSMF.  Now, to make it validate immediately, we call regionGateway.validateContentNow().

SDK-24845: Thumbnail images weren't being cropped for catalyst.  Now we keep track of the group's size independent of the image's size and set clipAndEnabledScrolling=true on that group.

QE notes: -
Doc notes: -
Bugs: SDK-24880, SDK-24845
Reviewer: Kevin
Tests run: checkintests
Is noteworthy for integration: No

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

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

--- frameworks/projects/spark/src/spark/components/VideoDisplay.as
+++ frameworks/projects/spark/src/spark/components/VideoDisplay.as
@@ -931,6 +931,12 @@
      */
     private var thumbnailGroup:Group;

+    /**
+     *  @private
+     *  BitmapImage for the thumbnail
+     */
+    private var thumbnailBitmapImage:BitmapImage;
+
     [Inspectable(Category="General")]

     /**
@@ -987,32 +993,23 @@
     private function setUpThumbnailSource():void
     {
         if (thumbnailSource)
-        {
-            var bitmapImage:BitmapImage;
-
+        {
             // create thumbnail group if there isn't one
             if (!thumbnailGroup)
             {
-                bitmapImage = new BitmapImage();
-
-                bitmapImage.left = 0;
-                bitmapImage.right = 0;
-                bitmapImage.top = 0;
-                bitmapImage.bottom = 0;
+                thumbnailBitmapImage = new BitmapImage();
+                thumbnailBitmapImage.includeInLayout = false;

                 thumbnailGroup = new Group();
-                thumbnailGroup.addElement(bitmapImage);
-            }
-            else
-            {
-                bitmapImage = thumbnailGroup.getElementAt(0) as BitmapImage;
+                thumbnailGroup.clipAndEnableScrolling = true;
+                thumbnailGroup.addElement(thumbnailBitmapImage);
             }

             // if thumbnailGroup isn't on the display list, then add it.
             if (!this.contains(thumbnailGroup))
                 addChild(thumbnailGroup);

-            bitmapImage.source = thumbnailSource;
+            thumbnailBitmapImage.source = thumbnailSource;
             invalidateSize();
         }
         else
@@ -1020,9 +1017,8 @@
             if (thumbnailGroup)
             {
                 // null out the source and remove the thumbnail group
-                bitmapImage = thumbnailGroup.getElementAt(0) as BitmapImage;
-                if (bitmapImage)
-                    bitmapImage.source = null;
+                if (thumbnailBitmapImage)
+                    thumbnailBitmapImage.source = null;
                 if (this.contains(thumbnailGroup))
                     removeChild(thumbnailGroup);
                 invalidateSize();
@@ -1156,8 +1152,8 @@
         // if showing the thumbnail, just use the thumbnail's size
         if (thumbnailSource && thumbnailGroup)
         {
-            intrinsicWidth = thumbnailGroup.getPreferredBoundsWidth();
-            intrinsicHeight = thumbnailGroup.getPreferredBoundsHeight();
+            intrinsicWidth = thumbnailBitmapImage.getPreferredBoundsWidth();
+            intrinsicHeight = thumbnailBitmapImage.getPreferredBoundsHeight();
         }
         else
         {
@@ -1192,13 +1188,17 @@
         {
             // get what the size of our image should be
             var newSize:Point = ScaleModeUtils.getScaledSize(scaleMode, unscaledWidth, unscaledHeight,
-                thumbnailGroup.getPreferredBoundsWidth(), thumbnailGroup.getPreferredBoundsHeight());
-
-            thumbnailGroup.setLayoutBoundsSize(newSize.x, newSize.y);
-
-            // center the thumbnailGroup
-            thumbnailGroup.x = (unscaledWidth - newSize.x)/2;
-            thumbnailGroup.y = (unscaledHeight - newSize.y)/2;
+                thumbnailBitmapImage.getPreferredBoundsWidth(), thumbnailBitmapImage.getPreferredBoundsHeight());
+
+            // set the thumbnailGroup to be the size of the component.
+            // set the bitmap image to be the size it should be according to OSMF
+            thumbnailGroup.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
+            thumbnailBitmapImage.setLayoutBoundsSize(newSize.x, newSize.y);
+
+            // center the thumnail image within the thumbnail group.
+            // if it's too big to fit, the thumbnail group will crop it
+            thumbnailBitmapImage.x = (unscaledWidth - newSize.x)/2;
+            thumbnailBitmapImage.y = (unscaledHeight - newSize.y)/2;

             return;
         }
@@ -1206,6 +1206,10 @@
         // set the gateway's dimensions
         LayoutUtils.setAbsoluteLayout(videoGateway.metadata,
             Math.floor(unscaledWidth), Math.floor(unscaledHeight));
+
+        // need to validate the gateway immediately--otherwise we may run out of synch
+        // as they may wait a frame by default before validating (see SDK-24880)
+        videoGateway.validateContentNow();
     }

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


remove unused methods

remove unused methods

--- actionscript/src/com/freshplanet/ane/AirInAppPurchase/InAppPurchase.as
+++ actionscript/src/com/freshplanet/ane/AirInAppPurchase/InAppPurchase.as
@@ -145,37 +145,8 @@
 		}

         /**
-         *
-         */
-		public function userCanMakeAPurchase():void {
-
-            if (!isSupported) {
-
-                _dispatchEvent(InAppPurchaseEvent.PURCHASE_DISABLED, "InAppPurchase not supported");
-                return;
-            }
-
-            trace("[InAppPurchase] check user can make a purchase");
-            _context.call("userCanMakeAPurchase");
-		}
-
-        /**
-         *
-         */
-		public function userCanMakeASubscription():void {
-
-			if (Capabilities.manufacturer.indexOf('Android') > -1) {
-
-				trace("[InAppPurchase] check user can make a purchase");
-				_context.call("userCanMakeASubscription");
-			}
-            else {
-                _dispatchEvent(InAppPurchaseEvent.PURCHASE_DISABLED, "subscriptions not supported");
-			}
-		}
-
-        /**
-         *
+         * PURCHASE_ERROR
+         * PURCHASE_ERROR
          * @param productId
          */
 		public function makeSubscription(productId:String):void {
@@ -191,7 +162,7 @@
 		}

         /**
-         *
+         * RESTORE_INFO_RECEIVED
          */
 		public function restoreTransactions():void {

@@ -208,18 +179,6 @@

         /**
          *
-         */
-		public function stop():void {
-
-			if (Capabilities.manufacturer.indexOf('Android') > -1) {
-
-				trace("[InAppPurchase] stop library");
-				_context.call("stopLib");
-			}
-		}
-
-        /**
-         *
          * @param type
          * @param eventData
          */


Fix Vertex uvs shader

Fix Vertex uvs shader

A Support of uvoffset and uvscale in the vertex uvs shader
M Use a fractional instruction to fix the shader

--- src/aerys/minko/render/effect/vertex/VertexUVShader.as
+++ src/aerys/minko/render/effect/vertex/VertexUVShader.as
@@ -1,6 +1,7 @@
 package aerys.minko.render.effect.vertex
 {
 	import aerys.minko.render.RenderTarget;
+	import aerys.minko.render.effect.basic.BasicProperties;
 	import aerys.minko.render.effect.basic.BasicShader;
 	import aerys.minko.render.shader.SFloat;
 	import aerys.minko.type.stream.format.VertexComponent;
@@ -17,8 +18,14 @@
 		override protected function getPixelColor() : SFloat
 		{
 			var uv 				: SFloat = getVertexAttribute(VertexComponent.UV);
-			var interpolatedUv 	: SFloat = normalize(interpolate(uv));

+			if (meshBindings.propertyExists(BasicProperties.DIFFUSE_UV_SCALE))
+				uv.scaleBy(meshBindings.getParameter(BasicProperties.DIFFUSE_UV_SCALE, 2));
+
+			if (meshBindings.propertyExists(BasicProperties.DIFFUSE_UV_OFFSET))
+				uv.incrementBy(meshBindings.getParameter(BasicProperties.DIFFUSE_UV_OFFSET, 2));
+
+			var interpolatedUv 	: SFloat = fractional(interpolate(uv));

 			return float4(interpolatedUv.x, interpolatedUv.y, 0, 1);
 		}


Fixed a null object bug that occured when handling MUC configuration form packets.

git-svn-id: c197267f952b24206666de142881703007ca05d5@9773 b35dd754-fafc-0310-a699-88a17e54d16e

--- src/org/jivesoftware/xiff/data/muc/MUCUserExtension.as
+++ src/org/jivesoftware/xiff/data/muc/MUCUserExtension.as
@@ -22,11 +22,9 @@
 	 *
 	 */

+	import flash.xml.XMLNode;
+
 	import org.jivesoftware.xiff.data.IExtension;
-	import org.jivesoftware.xiff.data.ISerializable;
-
-	import org.jivesoftware.xiff.data.muc.MUCBaseExtension;
-	import flash.xml.XMLNode;

 	/**
 	 * Implements the base MUC user protocol schema from <a href="http://www.xmpp.org/extensions/xep-0045.html">XEP-0045<a> for multi-user chat.
@@ -105,6 +103,8 @@
 		 */
 		public function get type():String
 		{
+			if (myActionNode == null)
+				return null;
 			return myActionNode.nodeName == null ? OTHER_TYPE : myActionNode.nodeName;
 		}


Catch uncaught errors on Flash and print them to the console.

Flash won't forward uncaught exceptions into Javascript, so install
an uncaught event handler and print the error message to the
console when an exception is caught.

--- src/renderers/FlashCommon.as
+++ src/renderers/FlashCommon.as
@@ -23,8 +23,10 @@
   import flash.display.StageAlign;
   import flash.display.BitmapData;
   import flash.display.Loader;
+  import flash.events.ErrorEvent;
   import flash.events.Event;
   import flash.events.IOErrorEvent;
+  import flash.events.UncaughtErrorEvent;
   import flash.text.TextField;
   import flash.system.Security;
   import flash.geom.Point;
@@ -44,6 +46,10 @@

     public function FlashCommon() {

+      // Install event handler for uncaught errors.
+      loaderInfo.uncaughtErrorEvents.addEventListener(
+          UncaughtErrorEvent.UNCAUGHT_ERROR, handleError);
+
       // Declare external interface.
       ExternalInterface.marshallExceptions = true
       ExternalInterface.addCallback('isReady', isReady);
@@ -70,6 +76,18 @@

     }

+    private function handleError(event:UncaughtErrorEvent):void {
+      var message:String;
+      if (event.error is Error) {
+        message = Error(event.error).message;
+      } else if (event.error is ErrorEvent) {
+        message = ErrorEvent(event.error).text;
+      } else {
+        message = event.error.toString();
+      }
+      debug('ERROR: ' + message);
+    };
+
     private function debug(str:String):void {
       ExternalInterface.call('console.log', str);
     }
@@ -101,7 +119,7 @@
         debug('createLayer: ' + id + ' already exists');
         return;
       }
-
+
       var layer:Sprite = new Sprite();

       layerMap[id] = layer;
@@ -440,4 +458,4 @@
       delete textureMap[id];
     }
   }
-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

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

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

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

 package mx.states
 {


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

--- frameworks/projects/framework/src/mx/utils/object_proxy.as
+++ frameworks/projects/framework/src/mx/utils/object_proxy.as
@@ -14,6 +14,11 @@

 /**
  *  Documentation is not currently available.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public namespace object_proxy =
 	"http://www.adobe.com/2006/actionscript/flash/objectproxy";


Transferred from the Adobe Open Source Subversion Repository

Revision: 11995
Author:   doug.lee@ssbbartgroup.com
Date:     2009-11-19T18:50:30.831767Z

Log Message:
-----------
Updated all AccImpls that use MSAA constants (except TextLayout) to
use the new AccConst references instead of hard-coding hex numbers and
local copies of the constants.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/LabelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextInputAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/accessibility/WindowedApplicationAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SpinnerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/DropDownListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/RichEditableTextAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AlertAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateFieldAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/NumericStepperAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SkinnableTextBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/LinkButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ToggleButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/accessibility/WindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateChooserAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TitleWindowAccImpl.as</path>

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

--- frameworks/projects/mx/src/mx/accessibility/TreeAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/TreeAccImpl.as
@@ -15,6 +15,7 @@
 import flash.accessibility.Accessibility;
 import flash.events.Event;

+import mx.accessibility.AccConst;
 import mx.collections.CursorBookmark;
 import mx.collections.ICollectionView;
 import mx.collections.IViewCursor;
@@ -42,63 +43,6 @@

 	//--------------------------------------------------------------------------
 	//
-	//  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
-	 */
-	private static const EVENT_OBJECT_FOCUS:uint = 0x8005;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_SELECTION:uint = 0x8006;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_STATECHANGE:uint = 0x800A;
-
-	//--------------------------------------------------------------------------
-	//
 	//  Class methods
 	//
 	//--------------------------------------------------------------------------
@@ -157,7 +101,7 @@
 	{
 		super(master);

-		role = 0x23; // ROLE_SYSTEM_OUTLINE
+		role = AccConst.ROLE_SYSTEM_OUTLINE;
 	}

 	//--------------------------------------------------------------------------
@@ -194,7 +138,7 @@
 	 */
 	override public function get_accRole(childID:uint):uint
 	{
-		return childID == 0 ? role : ROLE_SYSTEM_OUTLINEITEM;
+		return childID == 0 ? role : AccConst.ROLE_SYSTEM_OUTLINEITEM;
 	}

 	/**
@@ -257,27 +201,27 @@
 			if (index < tree.verticalScrollPosition ||
 				index >= tree.verticalScrollPosition + tree.rowCount)
 			{
-				accState |= STATE_SYSTEM_INVISIBLE;
+				accState |= AccConst.STATE_SYSTEM_INVISIBLE;
 			}
 			else
 			{
-				accState |= STATE_SYSTEM_SELECTABLE;
+				accState |= AccConst.STATE_SYSTEM_SELECTABLE;

 				var item:Object = getItemAt(index);

 				if (item && tree.dataDescriptor.isBranch(item, tree.dataProvider))
 				{
 					if (tree.isItemOpen(item))
-						accState |= STATE_SYSTEM_EXPANDED;
+						accState |= AccConst.STATE_SYSTEM_EXPANDED;
 					else
-						accState |= STATE_SYSTEM_COLLAPSED;
+						accState |= AccConst.STATE_SYSTEM_COLLAPSED;
 				}

 				var renderer:IListItemRenderer =
 					tree.itemToItemRenderer(item);

 				if (renderer != null && tree.isItemSelected(renderer.data))
-					accState |= STATE_SYSTEM_SELECTED | STATE_SYSTEM_FOCUSED;
+					accState |= AccConst.STATE_SYSTEM_SELECTED | AccConst.STATE_SYSTEM_FOCUSED;
 			}
 		}
 		return accState;
@@ -465,10 +409,10 @@
 				if (index >= 0)
 				{
 					Accessibility.sendEvent(master, childID,
-											EVENT_OBJECT_FOCUS);
+											AccConst.EVENT_OBJECT_FOCUS);

 					Accessibility.sendEvent(master, childID,
-											EVENT_OBJECT_SELECTION);
+											AccConst.EVENT_OBJECT_SELECTION);
 				}
 				break;
 			}
@@ -479,7 +423,7 @@
 				if (index >= 0)
 				{
 					Accessibility.sendEvent(master, childID,
-											EVENT_OBJECT_STATECHANGE);
+											AccConst.EVENT_OBJECT_STATECHANGE);
 				}
 				break;
 			}


Transferred from the Adobe Open Source Subversion Repository

Revision: 18188
Author:   dloverin@adobe.com
Date:     2010-10-16T03:11:51.820813Z

Log Message:
-----------
DataGrid editor PARB changes and more.

Don't open a cell editor on double click.

QE notes: Ready for testing.
Doc notes: None.
Bugs:
Reviewer: Hans
Tests run: cyclone server
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/IGridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridItemEditorEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/TextGridItemEditor.mxml" copyfrom-rev="18150" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DefaultGridItemEditor.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/TextGridItemEditor.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.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/gridClasses/ComboBoxGridItemEditor.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/DataGrid.as
+++ frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -129,6 +129,22 @@

 include "../styles/metadata/BasicNonInheritingTextStyles.as"
 include "../styles/metadata/BasicInheritingTextStyles.as"
+
+/**
+ *  Name of the class of the itemEditor to be used if one is not
+ *  specified for a column.  This is a way to set
+ *  an item editor for a group of DataGrids instead of having to
+ *  set each one individually.  If you set the DataGridColumn's itemEditor
+ *  property, it supercedes this value.
+ *  @default null
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="defaultDataGridItemEditor", type="Class", inherit="no")]
+

 //--------------------------------------
 //  Events
@@ -280,7 +296,7 @@
  *
  *
If this event is cancelled the item editor will not be created.

  *
- *  @eventType spark.events.GridItemEditorEvent.START_GRID_ITEM_EDITOR_SESSION
+ *  @eventType spark.events.GridItemEditorEvent.GRID_ITEM_EDITOR_SESSION_STARTING
  *
  *  @see spark.components.DataGrid.itemEditorInstance
  *  @see flash.events.Event
@@ -290,12 +306,12 @@
  *  @playerversion AIR 2.0
  *  @productversion Flex 4.5
  */
-[Event(name="startGridItemEditorSession", type="spark.events.GridItemEditorEvent")]
+[Event(name="gridItemEditorSessionStarting", type="spark.events.GridItemEditorEvent")]

 /**
  *  Dispatched immediately after an item editor has been opened.
  *
- *  @eventType spark.events.GridItemEditorEvent.OPEN_GRID_ITEM_EDITOR_SESSION
+ *  @eventType spark.events.GridItemEditorEvent.GRID_ITEM_EDITOR_SESSION_START
  *
  *  @see spark.components.DataGrid.itemEditorInstance
  *
@@ -304,13 +320,13 @@
  *  @playerversion AIR 2.0
  *  @productversion Flex 4.5
  */
-[Event(name="openGridItemEditorSession", type="spark.events.GridItemEditorEvent")]
+[Event(name="gridItemEditorSessionStart", type="spark.events.GridItemEditorEvent")]

 /**
  *  Dispatched after the data in item editor has been saved into the data provider
  *  and the editor has been closed.
  *
- *  @eventType spark.events.GridItemEditorEvent.SAVE_GRID_ITEM_EDITOR_SESSION
+ *  @eventType spark.events.GridItemEditorEvent.GRID_ITEM_EDITOR_SESSION_SAVE
  *
  *  @see spark.components.DataGrid.itemEditorInstance
  *
@@ -319,12 +335,12 @@
  *  @playerversion AIR 2.0
  *  @productversion Flex 4.5
  */
-[Event(name="saveGridItemEditorSession", type="spark.events.GridItemEditorEvent")]
+[Event(name="gridItemEditorSessionSave", type="spark.events.GridItemEditorEvent")]

 /**
  *  Dispatched after the item editor has been closed without saving its data.
  *
- *  @eventType spark.events.GridItemEditorEvent.CANCEL_GRID_ITEM_EDITOR_SESSION
+ *  @eventType spark.events.GridItemEditorEvent.GRID_ITEM_EDITOR_SESSION_CANCEL
  *
  *  @see spark.components.DataGrid.itemEditorInstance
  *
@@ -333,7 +349,7 @@
  *  @playerversion AIR 2.0
  *  @productversion Flex 4.5
  */
-[Event(name="cancelGridItemEditorSession", type="spark.events.GridItemEditorEvent")]
+[Event(name="gridItemEditorSessionCancel", type="spark.events.GridItemEditorEvent")]

 //--------------------------------------
 //  Other metadata
@@ -736,10 +752,25 @@

     /**
      *  @private
+     *  Maximum time in milliseconds between a click and a double click.
+     *
+     */
+    mx_internal var doubleClickTime:Number = 250;
+
+    /**
+     *  @private
      *
      *  Key used to start editting a cell.
      */
     mx_internal var editKey:uint = Keyboard.F2;
+
+    /**
+     *  @private
+     *  A cell editor is initiated by a single click on a selected cell.
+     *  If this variable is true then also open an editor when a cell is
+     *  double clicked, otherwise cancel the edit.
+     */
+    mx_internal var editOnDoubleClick:Boolean = false;

     /**
      *  @private
@@ -751,7 +782,7 @@
      *  the initialize() function.
      */
     mx_internal var editor:DataGridEditor;
-
+
     //--------------------------------------------------------------------------
     //
     //  Properties
@@ -1152,21 +1183,19 @@
      *
To access the item editor instance and the new item value when an
      *  item is being edited, you use the itemEditorInstance
      *  property. The itemEditorInstance property
-     *  is not valid until after the event listener for
-     *  the itemEditBegin event executes. Therefore, you typically
-     *  only access the itemEditorInstance property from within
-     *  the event listener for the itemEditEnd event.

+     *  is not valid until the itemEditorSessionStart event is
+     *  dispatched.

      *
      *
The DataGridColumn.itemEditor property defines the
-     *  class of the item editor
-     *  and, therefore, the data type of the item editor instance.

+     *  class of the item editor and, therefore, the data type of the item
+     *  editor instance.

      *
      *
You do not set this property in MXML.

      *
      *  @langversion 3.0
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @productversion Flex 4.5
      */
     public function get itemEditorInstance():IGridItemEditor
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3248
Author:   gosmith@adobe.com
Date:     2008-09-17T22:58:26.587163Z

Log Message:
-----------
Updated to TCAL build 173. (Note: I did NOT update the players.)

The three TCAL SWCS used by Flex 4 are now named tcal_core.swc, tcal_conversion.swc, and tcal_edit.swc.

All TCAL APIs are now in a package named flashx.tcal. We are using flashx to indicate important APIs that are considered to extend the Flash platform but which live below application frameworks such as Flex.

On TextFlow, a new 'displayController' property replaces the old 'container' and 'controller' properties.

When importing, you use importToFlow() rather than importFromString() or importFromXML.

Reviewer: N/A
Bugs: -
QA: No
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Parser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextFlowComposer.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/text_importExport.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/libs/tcal_conversion.swc</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/libs/tcal_edit.swc</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/text_edit.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/events/TextOperationEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/libs/tcal_core.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/utils/TextUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/fxg-manifest.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/text_model.swc</path>

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -15,18 +15,18 @@
 import flash.display.DisplayObjectContainer;
 import flash.geom.Rectangle;

+import flashx.tcal.conversion.TextFilter;
+import flashx.tcal.elements.FlowElement;
+import flashx.tcal.elements.ParagraphElement;
+import flashx.tcal.elements.SpanElement;
+import flashx.tcal.elements.TextFlow;
+import flashx.tcal.formats.ICharacterFormat;
+import flashx.tcal.formats.IContainerFormat;
+import flashx.tcal.formats.IParagraphFormat;
+
 import flex.graphics.graphicsClasses.TextFlowComposer;
 import flex.graphics.graphicsClasses.TextGraphicElement;
 import flex.utils.TextUtil;
-
-import text.elements.FlowElement;
-import text.elements.ParagraphElement;
-import text.elements.SpanElement;
-import text.elements.TextFlow;
-import text.formats.ICharacterFormat;
-import text.formats.IContainerFormat;
-import text.formats.IParagraphFormat;
-import text.importExport.TextFilter;

 //--------------------------------------
 //  Styles
@@ -232,7 +232,7 @@
 			    '<content>' + markup + '</content>' +
 			'</TextGraphic>';

-		return TextFilter.importFromString(markup, TextFilter.FXG_FORMAT);
+		return TextFilter.importToFlow(markup, TextFilter.FXG_FORMAT);
 	}

 	/**
@@ -278,7 +278,7 @@
 		    {
 			    if (text != null && text != "")
 			    {
-				    textFlow = TextFilter.importFromString(text, TextFilter.PLAIN_TEXT_FORMAT);
+				    textFlow = TextFilter.importToFlow(text, TextFilter.PLAIN_TEXT_FORMAT);
 			    }
 			    else
 			    {


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 19804
Author:   smgilson@adobe.com
Date:     2011-01-19T18:44:24.377971Z

Log Message:
-----------
ASDoc edits for soft keyboard support

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.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@1280506 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -190,18 +190,23 @@
 [Style(name="horizontalScrollPolicy", type="String", inherit="no", enumeration="off,on,auto")]

 /**
- *  A proxy for the scrollbars' liveDragging styles.
+ *  A proxy for the liveDragging style of the scrollbars
+ *  used by the Scroller component.
  *
- *
If this style is set to true, then the scrollbars' liveDragging styles are set to true (the default),
- *  which means that dragging a scrollbar thumb immedidately updates the viewport's scroll position.
- *  If this style is set to false, then the scrollbars' liveDragging styles are set to false,
- *  which means that when a scrollbar thumb is dragged the viewport's scroll position is only updated
+ *
If this style is set to true, then the
+ *  liveDragging styles are set to true (the default).
+ *  That means dragging a scrollbar thumb immediately updates the viewport's scroll position.
+ *  If this style is set to false, then the liveDragging styles
+ *  are set to false.
+ *  That means when a scrollbar thumb is dragged the viewport's scroll position is only updated
  *  then the mouse button is released.

  *
- *
Setting this style to false can be helpful when updating the viewport's display is so
+ *
Setting this style to false can be helpful
+ *  when updating the viewport's display is so
  *  expensive that "liveDragging" performs poorly.

  *
- *
By default this style is undefined, which means that the scrollbar's liveDragging styles are not modified.

+ *
By default this style is undefined, which means that
+ *  the liveDragging styles are not modified.

  *
  *  @default undefined
  *
@@ -389,6 +394,7 @@
  *

  *  <s:Scroller
  *   Properties
+ *    ensureFocusedElementIsVisible="true"
  *    measuredSizeIncludesScrollBars="true"
  *    minViewportInset="0"
  *    viewport="null"
@@ -724,10 +730,25 @@
     //----------------------------------

     /**
-     *  A value of true means when a descendant element gains focus, the Scroller will scroll
-     *  that element into view.
-     *
+     *  Some devices do not support a hardware keyboard.
+     *  Instead, these devices use a keyboard that opens on
+     *  the screen when necessary.
+     *  A value of true means that when a component in
+     *  the container wrapped by the scroller receives focus,
+     *  the Scroller scrolls that component into view.
+     *
+     *
When the keyboard closes, the parent container might be smaller
+     *  than the available screen space.
+     *  If the container is smaller than the available screen space,
+     *  then the Scroller restores the scroll positions to 0,
+     *  the top of the wrapped container.

+     *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public var ensureFocusedElementIsVisible:Boolean = true;

@@ -1370,7 +1391,7 @@
     //  Touch scrolling methods
     //
     //--------------------------------------------------------------------------
-
+
     /**
      *  @private
      *  Add touch listeners
@@ -2151,7 +2172,7 @@

         touchScrollHelper.startScrollWatch(event);
     }
-
+
     /**
      *  @private
      */
@@ -2159,7 +2180,7 @@
     {
         var xMove:int = 0;
         var yMove:int = 0;
-
+
         if (scrollerLayout && scrollerLayout.canScrollHorizontally)
             xMove = dragX;

@@ -2195,7 +2216,7 @@
         // clamp the values here
         newHSP = Math.min(Math.max(newHSP, -viewportWidth), maxWidth+viewportWidth);
         newVSP = Math.min(Math.max(newVSP, -viewportHeight), maxHeight+viewportHeight);
-
+
         viewport.horizontalScrollPosition = newHSP;
         viewport.verticalScrollPosition = newVSP;
     }
@@ -2264,141 +2285,141 @@
         // scrollbars in overlay mode
         skin.invalidateDisplayList();
     }
-
-	//--------------------------------------------------------------------------
-	//
-	//  Text selection auto scroll
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  When true, use the text selection scroll behavior instead of the
-	 *  typical "throw" behavior. This is only used when interactionMode="touch"
-	 */
-	mx_internal var textSelectionAutoScrollEnabled:Boolean = false;
-	private var textSelectionAutoScrollTimer:Timer;
-	private var minTextSelectionVScrollPos:int = 0;
-	private var maxTextSelectionVScrollPos:int = -1;
-	private var minTextSelectionHScrollPos:int = 0;
-	private var maxTextSelectionHScrollPos:int = -1;
-	private static const TEXT_SELECTION_AUTO_SCROLL_FPS:int = 10;
-
-	/**
-	 *  @private
-	 *  Change scroll behavior when selecting text.
-	 */
-	mx_internal function enableTextSelectionAutoScroll(enable:Boolean,
-					   minHScrollPosition:int = 0, maxHScrollPosition:int = -1,
-					   minVScrollPosition:int = 0, maxVScrollPosition:int = -1):void
-	{
-		if (getStyle("interactionMode") == InteractionMode.TOUCH)
-		{
-			this.textSelectionAutoScrollEnabled = enable;
-			this.minTextSelectionHScrollPos = minHScrollPosition;
-			this.maxTextSelectionHScrollPos = maxHScrollPosition;
-			this.minTextSelectionVScrollPos = minVScrollPosition;
-			this.maxTextSelectionVScrollPos = maxVScrollPosition;
-		}
-	}
-
-	/**
-	 *  @private
-	 */
-	mx_internal function setUpTextSelectionAutoScroll():void
-	{
-		if (!textSelectionAutoScrollTimer)
-		{
-			textSelectionAutoScrollTimer = new Timer(1000 / TEXT_SELECTION_AUTO_SCROLL_FPS);
-			textSelectionAutoScrollTimer.addEventListener(TimerEvent.TIMER,
-				textSelectionAutoScrollTimerHandler);
-
-			textSelectionAutoScrollTimer.start();
-		}
-	}
-
-	/**
-	 *  @private
-	 */
-	mx_internal function stopTextSelectionAutoScroll():void
-	{
-		if (textSelectionAutoScrollTimer)
-		{
-			textSelectionAutoScrollTimer.stop();
-			textSelectionAutoScrollTimer.removeEventListener(TimerEvent.TIMER,
-				textSelectionAutoScrollTimerHandler);
-			textSelectionAutoScrollTimer = null;
-		}
-	}
-
-	/**
-	 *  @private
-	 */
-	private function textSelectionAutoScrollTimerHandler(event:TimerEvent):void
-	{
-		const SLOW_SCROLL_THRESHOLD:int = 12;		// Distance from edge to trigger a slow scroll
-		const SLOW_SCROLL_SPEED:int = 20;			// Pixels per timer callback to scroll
-		const FAST_SCROLL_THRESHOLD:int = 3;		// Distance from edge to trigger a fast scroll
-		const FAST_SCROLL_DELTA:int = 30; 			// Added to SLOW_SCROLL_SPEED to determine fast speed
-
-		var newVSP:Number = viewport.verticalScrollPosition;
-		var newHSP:Number = viewport.horizontalScrollPosition;
-
-		if (scrollerLayout.canScrollHorizontally)
-		{
-			if (mouseX > width - SLOW_SCROLL_THRESHOLD)
-			{
-				newHSP += SLOW_SCROLL_SPEED;
-
-				if (mouseX > width - FAST_SCROLL_THRESHOLD)
-					newHSP += FAST_SCROLL_DELTA;
-
-				if (maxTextSelectionHScrollPos != -1 && newHSP > maxTextSelectionHScrollPos)
-					newHSP = maxTextSelectionHScrollPos;
-			}
-
-			if (mouseX < SLOW_SCROLL_THRESHOLD)
-			{
-				newHSP -= SLOW_SCROLL_SPEED;
-
-				if (mouseX < FAST_SCROLL_THRESHOLD)
-					newHSP -= FAST_SCROLL_DELTA;
-
-				if (newHSP < minTextSelectionHScrollPos)
-					newHSP = minTextSelectionHScrollPos;
-    		}
-		}
-
-		if (scrollerLayout.canScrollVertically)
-		{
-			if (mouseY > height - SLOW_SCROLL_THRESHOLD)
-			{
-				newVSP += SLOW_SCROLL_SPEED;
-
-				if (mouseY > height - FAST_SCROLL_THRESHOLD)
-					newVSP += FAST_SCROLL_DELTA;
-
-				if (maxTextSelectionVScrollPos != -1 && newVSP > maxTextSelectionVScrollPos)
-					newVSP = maxTextSelectionVScrollPos;
-			}
-
-			if (mouseY < SLOW_SCROLL_THRESHOLD)
-			{
-				newVSP -= SLOW_SCROLL_SPEED;
-
-				if (mouseY < FAST_SCROLL_THRESHOLD)
-					newVSP -= FAST_SCROLL_DELTA;
-
-				if (newVSP < minTextSelectionVScrollPos)
-					newVSP = minTextSelectionVScrollPos;
-			}
-		}
-
-		if (newHSP != viewport.horizontalScrollPosition)
-			viewport.horizontalScrollPosition = newHSP;
-		if (newVSP != viewport.verticalScrollPosition)
-			viewport.verticalScrollPosition = newVSP;
-	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Text selection auto scroll
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  When true, use the text selection scroll behavior instead of the
+     *  typical "throw" behavior. This is only used when interactionMode="touch"
+     */
+    mx_internal var textSelectionAutoScrollEnabled:Boolean = false;
+    private var textSelectionAutoScrollTimer:Timer;
+    private var minTextSelectionVScrollPos:int = 0;
+    private var maxTextSelectionVScrollPos:int = -1;
+    private var minTextSelectionHScrollPos:int = 0;
+    private var maxTextSelectionHScrollPos:int = -1;
+    private static const TEXT_SELECTION_AUTO_SCROLL_FPS:int = 10;
+
+    /**
+     *  @private
+     *  Change scroll behavior when selecting text.
+     */
+    mx_internal function enableTextSelectionAutoScroll(enable:Boolean,
+                       minHScrollPosition:int = 0, maxHScrollPosition:int = -1,
+                       minVScrollPosition:int = 0, maxVScrollPosition:int = -1):void
+    {
+        if (getStyle("interactionMode") == InteractionMode.TOUCH)
+        {
+            this.textSelectionAutoScrollEnabled = enable;
+            this.minTextSelectionHScrollPos = minHScrollPosition;
+            this.maxTextSelectionHScrollPos = maxHScrollPosition;
+            this.minTextSelectionVScrollPos = minVScrollPosition;
+            this.maxTextSelectionVScrollPos = maxVScrollPosition;
+        }
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal function setUpTextSelectionAutoScroll():void
+    {
+        if (!textSelectionAutoScrollTimer)
+        {
+            textSelectionAutoScrollTimer = new Timer(1000 / TEXT_SELECTION_AUTO_SCROLL_FPS);
+            textSelectionAutoScrollTimer.addEventListener(TimerEvent.TIMER,
+                textSelectionAutoScrollTimerHandler);
+
+            textSelectionAutoScrollTimer.start();
+        }
+    }
+
+    /**
+     *  @private
+     */
+    mx_internal function stopTextSelectionAutoScroll():void
+    {
+        if (textSelectionAutoScrollTimer)
+        {
+            textSelectionAutoScrollTimer.stop();
+            textSelectionAutoScrollTimer.removeEventListener(TimerEvent.TIMER,
+                textSelectionAutoScrollTimerHandler);
+            textSelectionAutoScrollTimer = null;
+        }
+    }
+
+    /**
+     *  @private
+     */
+    private function textSelectionAutoScrollTimerHandler(event:TimerEvent):void
+    {
+        const SLOW_SCROLL_THRESHOLD:int = 12;       // Distance from edge to trigger a slow scroll
+        const SLOW_SCROLL_SPEED:int = 20;           // Pixels per timer callback to scroll
+        const FAST_SCROLL_THRESHOLD:int = 3;        // Distance from edge to trigger a fast scroll
+        const FAST_SCROLL_DELTA:int = 30;           // Added to SLOW_SCROLL_SPEED to determine fast speed
+
+        var newVSP:Number = viewport.verticalScrollPosition;
+        var newHSP:Number = viewport.horizontalScrollPosition;
+
+        if (scrollerLayout.canScrollHorizontally)
+        {
+            if (mouseX > width - SLOW_SCROLL_THRESHOLD)
+            {
+                newHSP += SLOW_SCROLL_SPEED;
+
+                if (mouseX > width - FAST_SCROLL_THRESHOLD)
+                    newHSP += FAST_SCROLL_DELTA;
+
+                if (maxTextSelectionHScrollPos != -1 && newHSP > maxTextSelectionHScrollPos)
+                    newHSP = maxTextSelectionHScrollPos;
+            }
+
+            if (mouseX < SLOW_SCROLL_THRESHOLD)
+            {
+                newHSP -= SLOW_SCROLL_SPEED;
+
+                if (mouseX < FAST_SCROLL_THRESHOLD)
+                    newHSP -= FAST_SCROLL_DELTA;
+
+                if (newHSP < minTextSelectionHScrollPos)
+                    newHSP = minTextSelectionHScrollPos;
+            }
+        }
+
+        if (scrollerLayout.canScrollVertically)
+        {
+            if (mouseY > height - SLOW_SCROLL_THRESHOLD)
+            {
+                newVSP += SLOW_SCROLL_SPEED;
+
+                if (mouseY > height - FAST_SCROLL_THRESHOLD)
+                    newVSP += FAST_SCROLL_DELTA;
+
+                if (maxTextSelectionVScrollPos != -1 && newVSP > maxTextSelectionVScrollPos)
+                    newVSP = maxTextSelectionVScrollPos;
+            }
+
+            if (mouseY < SLOW_SCROLL_THRESHOLD)
+            {
+                newVSP -= SLOW_SCROLL_SPEED;
+
+                if (mouseY < FAST_SCROLL_THRESHOLD)
+                    newVSP -= FAST_SCROLL_DELTA;
+
+                if (newVSP < minTextSelectionVScrollPos)
+                    newVSP = minTextSelectionVScrollPos;
+            }
+        }
+
+        if (newHSP != viewport.horizontalScrollPosition)
+            viewport.horizontalScrollPosition = newHSP;
+        if (newVSP != viewport.verticalScrollPosition)
+            viewport.verticalScrollPosition = newVSP;
+    }

     //--------------------------------------------------------------------------
     //
@@ -2884,7 +2905,7 @@
                 var scrollStartEvent:TouchInteractionEvent = new TouchInteractionEvent(TouchInteractionEvent.TOUCH_INTERACTION_START, true, true);
                 scrollStartEvent.relatedObject = scroller;
                 scrollStartEvent.reason = TouchInteractionReason.SCROLL;
-				dispatchBubblingEventOnMouseDownedDisplayObject(scrollStartEvent);
+                dispatchBubblingEventOnMouseDownedDisplayObject(scrollStartEvent);

                 isScrolling = true;

@@ -2941,11 +2962,11 @@
         // if we are scrolling (even if we just started scrolling)
         if (isScrolling)
         {
-			if (scroller.textSelectionAutoScrollEnabled)
-			{
-				scroller.setUpTextSelectionAutoScroll();
-				return;
-			}
+            if (scroller.textSelectionAutoScrollEnabled)
+            {
+                scroller.setUpTextSelectionAutoScroll();
+                return;
+            }

             // calculate the delta
             var dx:Number = event.stageX - scrollGestureAnchorPoint.x;
@@ -3026,14 +3047,14 @@
         if (!isScrolling)
             return;

-		// Don't throw if we're doing a text selection auto scroll
-		if (scroller.textSelectionAutoScrollEnabled)
-		{
-			scroller.stopTextSelectionAutoScroll();
-			endTouchScroll();
-			return;
-		}
-
+        // Don't throw if we're doing a text selection auto scroll
+        if (scroller.textSelectionAutoScrollEnabled)
+        {
+            scroller.stopTextSelectionAutoScroll();
+            endTouchScroll();
+            return;
+        }
+
         if (dragTimer)
         {
             if (dragScrollPending)
@@ -3091,13 +3112,13 @@
         }
         averageDt /= len-1;

-		// if off screen for some reason, let's end scrolling:
-		if (!scroller.stage)
-		{
+        // if off screen for some reason, let's end scrolling:
+        if (!scroller.stage)
+        {
             endTouchScroll();
-			return;
-		}
-
+            return;
+        }
+
         var lastMouseEventPoint:Point = mouseEventCoordinatesHistory[endIndex];

         // calculate the last velocity and make sure there was no pause that occurred
@@ -3193,40 +3214,40 @@

         return new Point(velX,velY);
     }
-
-	/**
-	 *  @private
-	 *  Helper method to dispatch bubbling events on mouseDownDisplayObject.  Since this
-	 *  object can be off the display list, this may be tricky.  Technically, we should
-	 *  grab all the live objects at the time of mouseDown and dispatch events to them
-	 *  manually, but instead, we just use this heuristic, which is dispatch it to
-	 *  mouseDownedDisplayObject.  If it's not inside of scroller and off the display list,
-	 *  then dispatch to scroller as well.
-	 *
-	 *
If you absolutely need to know the touch event ended, add event listeners
-	 *  to the mouseDownedDisplayObject directly and don't rely on event
-	 *  bubbling.

-	 */
-	private function dispatchBubblingEventOnMouseDownedDisplayObject(event:Event):Boolean
-	{
-		var eventAccepted:Boolean = true;
-		if (mouseDownedDisplayObject)
-		{
-			eventAccepted = eventAccepted && mouseDownedDisplayObject.dispatchEvent(event);
-			if (!mouseDownedDisplayObject.stage)
-			{
-				if (scroller && !scroller.contains(mouseDownedDisplayObject))
-					eventAccepted = eventAccepted && scroller.dispatchEvent(event);
-			}
-		}
-		else
-		{
-			eventAccepted = eventAccepted && scroller.dispatchEvent(event);
-		}
-
-		return eventAccepted;
-	}
-
+
+    /**
+     *  @private
+     *  Helper method to dispatch bubbling events on mouseDownDisplayObject.  Since this
+     *  object can be off the display list, this may be tricky.  Technically, we should
+     *  grab all the live objects at the time of mouseDown and dispatch events to them
+     *  manually, but instead, we just use this heuristic, which is dispatch it to
+     *  mouseDownedDisplayObject.  If it's not inside of scroller and off the display list,
+     *  then dispatch to scroller as well.
+     *
+     *
If you absolutely need to know the touch event ended, add event listeners
+     *  to the mouseDownedDisplayObject directly and don't rely on event
+     *  bubbling.

+     */
+    private function dispatchBubblingEventOnMouseDownedDisplayObject(event:Event):Boolean
+    {
+        var eventAccepted:Boolean = true;
+        if (mouseDownedDisplayObject)
+        {
+            eventAccepted = eventAccepted && mouseDownedDisplayObject.dispatchEvent(event);
+            if (!mouseDownedDisplayObject.stage)
+            {
+                if (scroller && !scroller.contains(mouseDownedDisplayObject))
+                    eventAccepted = eventAccepted && scroller.dispatchEvent(event);
+            }
+        }
+        else
+        {
+            eventAccepted = eventAccepted && scroller.dispatchEvent(event);
+        }
+
+        return eventAccepted;
+    }
+
     /**
      *  @private
      *  When the touchScrollThrow is over, we should dispatch a touchInteractionEnd.


Transferred from the Adobe Open Source Subversion Repository

Revision: 4919
Author:   gosmith@adobe.com
Date:     2009-02-10T21:57:24.277259Z

Log Message:
-----------
The widthInChars property in TextView, FxTextInput, and FxTextArea is now a Number rather than an int; ditto for the heightInRows property in TextView and FxTextArea.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Jason

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextArea.as
+++ frameworks/projects/spark/src/spark/components/TextArea.as
@@ -181,7 +181,7 @@
 	/**
 	 *  @private
 	 */
-	private var _heightInLines:int = 10;
+	private var _heightInLines:Number = 10;

 	/**
 	 *  @private
@@ -191,7 +191,7 @@
 	/**
 	 *  Documentation is not currently available.
 	 */
-	public function get heightInLines():int
+	public function get heightInLines():Number
 	{
 		return _heightInLines;
 	}
@@ -199,7 +199,7 @@
 	/**
 	 *  @private
 	 */
-	public function set heightInLines(value:int):void
+	public function set heightInLines(value:Number):void
 	{
 		if (value == _heightInLines)
 			return;
@@ -300,7 +300,7 @@
 	/**
 	 *  @private
 	 */
-	private var _widthInChars:int = 20;
+	private var _widthInChars:Number = 20;

 	/**
 	 *  @private
@@ -316,7 +316,7 @@
 	 *
 	 *  @default
 	 */
-	public function get widthInChars():int
+	public function get widthInChars():Number
 	{
 		return _widthInChars;
 	}
@@ -324,7 +324,7 @@
 	/**
 	 *  @private
 	 */
-	public function set widthInChars(value:int):void
+	public function set widthInChars(value:Number):void
 	{
 		if (value == _widthInChars)
 			return;


use string literals for texture formats to avoid compatibility issues

--- src/aerys/minko/render/resource/texture/TextureResource.as
+++ src/aerys/minko/render/resource/texture/TextureResource.as
@@ -4,7 +4,6 @@
 	import aerys.minko.type.enum.SamplerFormat;

 	import flash.display.BitmapData;
-	import flash.display3D.Context3DTextureFormat;
 	import flash.display3D.textures.Texture;
 	import flash.display3D.textures.TextureBase;
 	import flash.geom.Matrix;
@@ -19,9 +18,9 @@
 	{
 		private static const MAX_SIZE					: uint		= 2048;
 		private static const TMP_MATRIX					: Matrix	= new Matrix();
-		private static const FORMAT_BGRA				: String	= Context3DTextureFormat.BGRA
-		private static const FORMAT_COMPRESSED			: String	= Context3DTextureFormat.COMPRESSED;
-		private static const FORMAT_COMPRESSED_ALPHA 	: String 	= Context3DTextureFormat.COMPRESSED_ALPHA;
+		private static const FORMAT_BGRA				: String	= 'bgra';
+		private static const FORMAT_COMPRESSED			: String	= 'compressed';
+		private static const FORMAT_COMPRESSED_ALPHA 	: String 	= 'compressedAlpha';

 		private static const TEXTURE_FORMAT_TO_SAMPLER	: Array 	= []
 		{
@@ -30,18 +29,18 @@
 			TEXTURE_FORMAT_TO_SAMPLER[FORMAT_COMPRESSED_ALPHA] 	= SamplerFormat.COMPRESSED_ALPHA;
 		}

-		private var _texture		: Texture		= null;
-		private var _mipmap			: Boolean		= false;
-
-		private var _bitmapData		: BitmapData	= null;
-		private var _atf			: ByteArray		= null;
-		private var _atfFormat		: uint			= 0;
-		private var _format 		: String 		= FORMAT_BGRA;
-
-		private var _width			: Number		= 0;
-		private var _height			: Number		= 0;
-
-		private var _update			: Boolean		= false;
+		private var _texture		: Texture;
+		private var _mipmap			: Boolean;
+
+		private var _bitmapData		: BitmapData;
+		private var _atf			: ByteArray;
+		private var _atfFormat		: uint;
+		private var _format 		: String;
+
+		private var _width			: Number;
+		private var _height			: Number;
+
+		private var _update			: Boolean;

 		public function get format() : uint
 		{
@@ -68,6 +67,7 @@
 		{
             _width = width;
             _height = height;
+			_format = FORMAT_BGRA;
 		}

 		public function setContentFromBitmapData(bitmapData	: BitmapData,
@@ -110,7 +110,8 @@
 			}

 			if (_texture
-				&& (mipmap != _mipmap
+				&& (_format	!= FORMAT_BGRA
+					|| mipmap != _mipmap
 					|| bitmapData.width != _width
 					|| bitmapData.height != _height))
 			{
@@ -120,6 +121,7 @@

 			_width = _bitmapData.width;
 			_height = _bitmapData.height;
+			_format = FORMAT_BGRA;

 			_mipmap	= mipmap;
 			_update	= true;
@@ -134,6 +136,7 @@
 			var oldWidth	: Number = _width;
 			var oldHeight	: Number = _height;
 			var oldMipmap	: Boolean = _mipmap;
+			var oldFormat	: String = _format;

 			atf.position 	= 6;

@@ -150,9 +153,12 @@
 				_format = FORMAT_COMPRESSED_ALPHA;
 			else if (_atfFormat == 3)
 				_format = FORMAT_COMPRESSED;
+			else
+				_format = FORMAT_BGRA;

 			if (_texture
-				&& (oldMipmap != _mipmap
+				&& (oldFormat != _format
+					|| oldMipmap != _mipmap
 					|| oldWidth != _width
 					|| oldHeight != _height))
 			{


How come classes were saved to an Array with a string based index keys? Changed to Object.

git-svn-id: c197267f952b24206666de142881703007ca05d5@13146 b35dd754-fafc-0310-a699-88a17e54d16e

--- src/org/igniterealtime/xiff/data/ExtensionClassRegistry.as
+++ src/org/igniterealtime/xiff/data/ExtensionClassRegistry.as
@@ -31,7 +31,7 @@
 	 */
 	public class ExtensionClassRegistry
 	{
-		private static var _classes:Array = [];
+		private static var _classes:Object = [];

 		/**
 	     * Registers the given extension with the extension registry for it to be used,


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

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

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

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

 package mx.containers
 {


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

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

 package mx.rpc.wsdl
 {


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

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

 package spark.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6003
Author:   egeorgie@adobe.com
Date:     2009-04-07T22:44:37.670097Z

Log Message:
-----------
Fix bug http://bugs.adobe.com/jira/browse/SDK-19154 layoutBounds for group that has a path with a larger stroke weight is incorrect

Fix: Modify BasicLayout to use the new ILayoutElement APIs getLayoutBoundsXAtSize, getLayoutBoundsYAtSize.

QE Notes: None
Doc Notes: None
Bugs: SDK-19154
Reviewer: Ely
tests: checkintests, mustella (group, layout)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/Rect.as
+++ frameworks/projects/spark/src/spark/primitives/Rect.as
@@ -189,6 +189,74 @@
         // Take stroke into account
         return height + getStrokeExtents(postTransform).y;
     }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    override public function getBoundsXAtSize(width:Number, height:Number, postTransform:Boolean = true):Number
+    {
+        var strokeExtents:Point = getStrokeExtents(postTransform);
+        var m:Matrix = postTransform ? computeMatrix() : null;
+        if (!m)
+            return strokeExtents.x * -0.5 + this.x;
+
+        if (!isNaN(width))
+            width -= strokeExtents.x;
+
+        if (!isNaN(height))
+            height -= strokeExtents.y;
+
+        // Calculate the width and height pre-transform:
+        var newSize:Point = MatrixUtil.fitBounds(width, height, m,
+                                                 preferredWidthPreTransform(),
+                                                 preferredHeightPreTransform(),
+                                                 minWidth, minHeight,
+                                                 maxWidth, maxHeight);
+        if (!newSize)
+            newSize = new Point(minWidth, minHeight);
+
+        return strokeExtents.x * -0.5 +
+            getRoundRectBoundingBox(newSize.x, newSize.y, radiusX, radiusY, m).x;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    override public function getBoundsYAtSize(width:Number, height:Number, postTransform:Boolean = true):Number
+    {
+        var strokeExtents:Point = getStrokeExtents(postTransform);
+        var m:Matrix = postTransform ? computeMatrix() : null;
+        if (!m)
+            return strokeExtents.y * -0.5 + this.y;
+
+        if (!isNaN(width))
+            width -= strokeExtents.x;
+
+        if (!isNaN(height))
+            height -= strokeExtents.y;
+
+        // Calculate the width and height pre-transform:
+        var newSize:Point = MatrixUtil.fitBounds(width, height, m,
+                                                 preferredWidthPreTransform(),
+                                                 preferredHeightPreTransform(),
+                                                 minWidth, minHeight,
+                                                 maxWidth, maxHeight);
+        if (!newSize)
+            newSize = new Point(minWidth, minHeight);
+
+        return strokeExtents.y * -0.5 +
+            getRoundRectBoundingBox(newSize.x, newSize.y, radiusX, radiusY, m).y;
+    }

     /**
      *  @private


Fixed exception spam in headless NinjaSnowWar server.

--- Bin/Data/Scripts/NinjaSnowWar.as
+++ Bin/Data/Scripts/NinjaSnowWar.as
@@ -395,17 +395,19 @@
         if (command.length > 0)
             script.Execute(command);
     }
-
-    if (debugHud.mode != DEBUGHUD_SHOW_NONE)
-    {
-        Node@ playerNode = FindOwnNode();
-        if (playerNode !is null)
-        {
-            debugHud.SetAppStats("Player Pos", playerNode.worldPosition.ToString());
-            debugHud.SetAppStats("Player Yaw", Variant(playerNode.worldRotation.yaw));
-        }
-        else
-            debugHud.ClearAppStats();
+    else
+    {
+        if (debugHud.mode != DEBUGHUD_SHOW_NONE)
+        {
+            Node@ playerNode = FindOwnNode();
+            if (playerNode !is null)
+            {
+                debugHud.SetAppStats("Player Pos", playerNode.worldPosition.ToString());
+                debugHud.SetAppStats("Player Yaw", Variant(playerNode.worldRotation.yaw));
+            }
+            else
+                debugHud.ClearAppStats();
+        }
     }
 }


[VectorCommon]: Fixed bug in Rail with displaying single mismatches

git-svn-id: adbdea8fc1759bd16b0eaf24a244a7e5f870a654@72 fe3f0490-d73e-11de-a956-c71e7d3a9d2f

--- VectorCommon/src/org/jbei/components/railClasses/TraceRenderer.as
+++ VectorCommon/src/org/jbei/components/railClasses/TraceRenderer.as
@@ -89,13 +89,14 @@
 					var mismatchStartPosition:Number = railMetrics.x + bpWidth * mismatchSegment.start;
 					var mismatchEndPosition:Number = railMetrics.x + bpWidth * mismatchSegment.end;

-					if(mismatchStartPosition == mismatchEndPosition) {
-						mismatchStartPosition -= bpWidth / 2;
-						mismatchEndPosition += bpWidth / 2;
+					if(mismatchSegment.start == mismatchSegment.end) {
+						g.lineStyle(2, MISMATCH_COLOR);
+
+						g.drawCircle(mismatchStartPosition, yPosition, 1);
+					} else {
+						g.moveTo(mismatchStartPosition, yPosition);
+						g.lineTo(mismatchEndPosition, yPosition);
 					}
-
-					g.moveTo(mismatchStartPosition, yPosition);
-					g.lineTo(mismatchEndPosition, yPosition);
 				}
 			}

@@ -108,13 +109,14 @@
 					var deletionStartPosition:Number = railMetrics.x + bpWidth * deletionSegment.start;
 					var deletionEndPosition:Number = railMetrics.x + bpWidth * deletionSegment.end;

-					if(deletionStartPosition == deletionEndPosition) {
-						deletionStartPosition -= bpWidth / 2;
-						deletionEndPosition += bpWidth / 2;
+					if(deletionSegment.start == deletionSegment.end) {
+						g.lineStyle(2, MISMATCH_COLOR);
+
+						g.drawCircle(deletionStartPosition, yPosition, 1);
+					} else {
+						g.moveTo(deletionStartPosition, yPosition);
+						g.lineTo(deletionEndPosition, yPosition);
 					}
-
-					g.moveTo(deletionStartPosition, yPosition);
-					g.lineTo(deletionEndPosition, yPosition);
 				}
 			}

@@ -127,13 +129,14 @@
 					var insertionStartPosition:Number = railMetrics.x + bpWidth * insertionSegment.start;
 					var insertionEndPosition:Number = railMetrics.x + bpWidth * insertionSegment.end;

-					if(insertionStartPosition == insertionEndPosition) {
-						insertionStartPosition -= bpWidth / 2;
-						insertionEndPosition += bpWidth / 2;
+					if(insertionSegment.start == insertionSegment.end) {
+						g.lineStyle(2, MISMATCH_COLOR);
+
+						g.drawCircle(insertionStartPosition, yPosition, 1);
+					} else {
+						g.moveTo(insertionStartPosition, yPosition);
+						g.lineTo(insertionEndPosition, yPosition);
 					}
-
-					g.moveTo(insertionStartPosition, yPosition);
-					g.lineTo(insertionEndPosition, yPosition);
 				}
 			}
 		}


bledner mode mmb pan, flymode off by rmb or esc

--- bin/Data/Scripts/Editor/EditorView.as
+++ bin/Data/Scripts/Editor/EditorView.as
@@ -1318,7 +1318,7 @@
     {
         changeCamViewButton = input.mouseButtonDown[MOUSEB_MIDDLE] || cameraFlyMode;

-        if (input.mouseButtonPress[MOUSEB_RIGHT])
+        if (input.mouseButtonPress[MOUSEB_RIGHT] || input.keyDown[KEY_ESC])
             cameraFlyMode = false;
     }

@@ -1330,8 +1330,11 @@
         if (mouseMove.x != 0 || mouseMove.y != 0)
         {
             bool panTheCamera = false;
-            if(mmbPanMode)
-                panTheCamera = !(changeCamViewButton && input.keyDown[KEY_LSHIFT]);
+            if(mmbPanMode || (hotKeyMode == HOTKEYS_MODE_BLENDER))
+                if ( hotKeyMode == HOTKEYS_MODE_STANDARD)
+                    panTheCamera = !(changeCamViewButton && input.keyDown[KEY_LSHIFT]);
+                else if (hotKeyMode == HOTKEYS_MODE_BLENDER && cameraFlyMode == true )
+                    panTheCamera = false;
             else
                 panTheCamera = (changeCamViewButton && input.keyDown[KEY_LSHIFT]);


Transferred from the Adobe Open Source Subversion Repository

Revision: 12785
Author:   mhorn@adobe.com
Date:     2009-12-10T15:33:19.460787Z

Log Message:
-----------
asdoc updates for l10n

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/IStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/ImageSnapshot.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as
+++ frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as
@@ -179,6 +179,9 @@
 		return _alpha;
 	}

+    /**
+     *  @private
+     */
 	public function set alpha(value:Number):void
 	{
 		var oldValue:Number = _alpha;


Transferred from the Adobe Open Source Subversion Repository

Revision: 10766
Author:   gruehle@adobe.com
Date:     2009-09-30T22:55:55.205927Z

Log Message:
-----------
Re-commit compiler errors for other theme's styles feature. If Style metadata has a "themes" attribute, the style is only valid if that theme is applied.

The Spark theme is applied by default. The halo theme can be specified as a compiler argument or by selecting the "MX Only" component set in Builder.

All other themes need to be applied using theme+= instead of theme=. If you use theme= you will get warnings about styles used in CSS selectors, and errors if you use any theme-specific style as an attribute on an MXML tag.

By default, styles that aren't valid for the current theme are errors. These can be changed to warnings with the report-invalid-styles-as-warnings compiler option.

QE notes: Expect test breakage
Doc notes: The new policy for themes needs to be documented.
Bugs: none yet, but I'm sure there will be some...
Reviewer: Ryan
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.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/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ApplicationBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/themes/Spark/spark.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/DeclarationHandler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.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/lang/AttributeHandler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FXGCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin.mxml</path>

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

--- frameworks/projects/mx/src/mx/containers/ApplicationControlBar.as
+++ frameworks/projects/mx/src/mx/containers/ApplicationControlBar.as
@@ -13,8 +13,12 @@
 {

 import flash.events.Event;
+
+import mx.core.FlexVersion;
 import mx.core.mx_internal;
+import mx.styles.CSSStyleDeclaration;
 import mx.styles.IStyleClient;
+import mx.styles.StyleManager;

 use namespace mx_internal;

@@ -202,6 +206,24 @@
     public function ApplicationControlBar()
     {
         super();
+
+        if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_0)
+        {
+            var typeSelector:CSSStyleDeclaration =
+                StyleManager.getStyleDeclaration("mx.containers.ApplicationControlBar");
+
+            if (typeSelector)
+            {
+                if (typeSelector.getStyle("borderStyle") === undefined)
+                    typeSelector.setStyle("borderStyle", "applicationControlBar");
+                if (typeSelector.getStyle("docked") === undefined)
+                    typeSelector.setStyle("docked", false);
+                if (typeSelector.getStyle("dropShadowEnabled") === undefined)
+                    typeSelector.setStyle("dropShadowEnabled", true);
+                if (typeSelector.getStyle("shadowDistance") === undefined)
+                    typeSelector.setStyle("shadowDistance", 5);
+            }
+        }
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 5067
Author:   smgilson@adobe.com
Date:     2009-02-25T16:21:22.849704Z

Log Message:
-----------
In preparation for adding ASDoc version tags for Flex, remove old tags from AIR files

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>

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

--- frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as
+++ frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as
@@ -26,7 +26,6 @@
  *  @see mx.core.Window
  *  @see mx.core.WindowedApplication
  *
- *  @playerversion AIR 1.1
  */
 public class WindowExistenceEvent extends Event
 {
@@ -109,11 +108,11 @@
      */
     public function WindowExistenceEvent(type:String, bubbles:Boolean = false,
                                 cancelable:Boolean = false, window:Window = null)
-	{
-	    super(type, bubbles, cancelable);
+    {
+        super(type, bubbles, cancelable);

         this.window = window;
-	}
+    }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

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

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

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

 package spark.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8487
Author:   smgilson@adobe.com
Date:     2009-07-09T18:57:21.985536Z

Log Message:
-----------
final checkin to update the namespace in ASDoc MXML syntax descriptions for Spark components

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/SetAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientFilter.as</path>

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

--- frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as
+++ frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as
@@ -83,7 +83,7 @@
  *
  *  @mxml
  *
- *
The <mx:AnimateTransitionShader> tag
+ *
The <s:AnimateTransitionShader> tag
  *  inherits all of the tag attributes of its superclass,
  *  and adds the following tag attributes:

  *