making anchorplotter drawConvexHull function accessible

--- WeaveUISpark/src/weave/visualization/plotters/AnchorPlotter.as
+++ WeaveUISpark/src/weave/visualization/plotters/AnchorPlotter.as
@@ -21,6 +21,7 @@
 {
 	import flash.display.BitmapData;
 	import flash.display.Graphics;
+	import flash.display.Shape;
 	import flash.geom.Matrix;
 	import flash.geom.Point;
 	import flash.geom.Rectangle;
@@ -34,6 +35,7 @@
 	import weave.api.newDisposableChild;
 	import weave.api.primitives.IBounds2D;
 	import weave.api.registerLinkableChild;
+	import weave.api.ui.ILineStyle;
 	import weave.api.ui.IPlotTask;
 	import weave.api.ui.IPlotter;
 	import weave.api.ui.ITextPlotter;
@@ -258,20 +260,21 @@
 				// draw bitmap text
 				_bitmapText.draw(destination);
 			}
-			if(showBarycenter.value)
-			{
-				drawBarycenter(recordKeys, dataBounds, screenBounds, graphics, destination);
-			}
-
-			if(showVoronoi.value)
-			{
-				drawVoronoi(recordKeys, dataBounds, screenBounds, graphics, destination);
-			}
-			if(showConvexHull.value)
-			{
-				drawConvexHull(recordKeys, dataBounds, screenBounds, graphics, destination);
-			}
-			destination.draw(tempShape);
+
+			destination.draw(tempShape);
+
+			if (showBarycenter.value)
+			{
+				drawBarycenter(recordKeys, dataBounds, screenBounds, destination);
+			}
+			if (showVoronoi.value)
+			{
+				drawVoronoi(recordKeys, dataBounds, screenBounds, destination);
+			}
+			if (showConvexHull.value)
+			{
+				drawConvexHull(recordKeys, dataBounds, screenBounds, destination);
+			}

 			_currentScreenBounds.copyFrom(screenBounds);
 			_currentDataBounds.copyFrom(dataBounds);
@@ -310,21 +313,21 @@
 				circleLineStyle.beginLineStyle(null,g);
 				g.drawEllipse(x, y, coordinate.x - x, coordinate.y - y);
 			} catch (e:Error) { }
+			destination.draw(tempShape);

 			if(drawingClassLines)
 			{
-				drawClassLines(dataBounds, screenBounds, g,destination );
-			}
-
-			destination.draw(tempShape);
+				drawClassLines(dataBounds, screenBounds, destination );
+			}

 			_currentScreenBounds.copyFrom(screenBounds);
 			_currentDataBounds.copyFrom(dataBounds);
 		}

-		public function drawClassLines(dataBounds:IBounds2D, screenBounds:IBounds2D, g:Graphics,destination:BitmapData):void
-		{
-			var graphics:Graphics = g;
+		public function drawClassLines(dataBounds:IBounds2D, screenBounds:IBounds2D, destination:BitmapData):void
+		{
+			var graphics:Graphics = static_tempShape.graphics;
+			graphics.clear();
 			var numOfClasses:int = 0;
 			for ( var type:Object in anchorClasses)
 			{
@@ -372,11 +375,13 @@

 				_bitmapText.draw(destination);*/
 			}
-		}
-
-		public function drawBarycenter(recordKeys:Array, dataBounds:IBounds2D, screenBounds:IBounds2D, g:Graphics,destination:BitmapData):void
-		{
-			var graphics:Graphics = g;
+			destination.draw(static_tempShape);
+		}
+
+		public function drawBarycenter(recordKeys:Array, dataBounds:IBounds2D, screenBounds:IBounds2D, destination:BitmapData):void
+		{
+			var graphics:Graphics = static_tempShape.graphics;
+			graphics.clear();

 			var barycenter:Point = new Point();
 			var counter:int = 0;
@@ -408,34 +413,47 @@
 			graphics.drawCircle(barycenter.x, barycenter.y, barycenterRadius.value);

 			graphics.endFill();
-
-		}
-
-		public function drawConvexHull(recordKeys:Array, dataBounds:IBounds2D, screenBounds:IBounds2D, g:Graphics,destination:BitmapData):void
-		{
-			var graphics:Graphics = g;
+			destination.draw(static_tempShape);
+		}
+
+		public function drawConvexHull(recordKeys:Array, dataBounds:IBounds2D, screenBounds:IBounds2D, destination:BitmapData):void
+		{
+			static_drawConvexHull(anchors, circleLineStyle, recordKeys, dataBounds, screenBounds, destination);
+		}
+
+		private static const static_tempShape:Shape = new Shape();
+		public static function static_drawConvexHull(anchors:LinkableHashMap, lineStyle:ILineStyle, recordKeys:Array, dataBounds:IBounds2D, screenBounds:IBounds2D, destination:BitmapData):void
+		{
+			var graphics:Graphics = static_tempShape.graphics;
 			var anchor1:AnchorPoint;
 			var anchor2:AnchorPoint;
 			var anchor:AnchorPoint;
 			var _anchors:Array = [];
 			var index:int;
 			var p1:Point = new Point();
-			var p2:Point = new Point();0
+			var p2:Point = new Point();
+
+			graphics.clear();
+			if (recordKeys)
+			{
+
+				// convert the array of record keys into array of anchors
+				for(index = 0; index < recordKeys.length; index++)
+				{
+					anchor = anchors.getObject(recordKeys[index].localName) as AnchorPoint;
+
+					if (recordKeys[index].keyType != ANCHOR_KEYTYPE || !anchor)
+						continue;
+
+					_anchors.push(anchor);
+				}
+			}
+			else
+				_anchors = anchors.getObjects();

 			// don't draw anything if no anchors
-			if ( !recordKeys || recordKeys.length == 0)
+			if (_anchors.length == 0)
 				return;
-
-			// convert the array of record keys into array of anchors
-			for(index = 0; index < recordKeys.length; index++)
-			{
-				 anchor = anchors.getObject(recordKeys[index].localName) as AnchorPoint;
-
-				if (recordKeys[index].keyType != ANCHOR_KEYTYPE || !anchor)
-					continue;
-
-				_anchors.push(anchor);
-			}

 			// sort by polar angle
 			_anchors.sort(anchorCompareFunctionByPolarAngle);
@@ -449,7 +467,7 @@
 				p2.x = anchor2.x.value;p2.y = anchor2.y.value;
 				dataBounds.projectPointTo(p1, screenBounds);
 				dataBounds.projectPointTo(p2, screenBounds);
-				circleLineStyle.beginLineStyle(null, graphics);
+				lineStyle.beginLineStyle(null, graphics);
 				graphics.moveTo(p1.x, p1.y);
 				graphics.lineTo(p2.x, p2.y);
 			}
@@ -464,6 +482,7 @@
 			graphics.lineTo(p2.x, p2.y);

 			graphics.endFill();
+			destination.draw(static_tempShape);

 			function anchorCompareFunctionByPolarAngle(a1:AnchorPoint, a2:AnchorPoint):Number
 			{
@@ -482,10 +501,11 @@

-		public function drawVoronoi(recordKeys:Array, dataBounds:IBounds2D, screenBounds:IBounds2D, g:Graphics,destination:BitmapData):void
+		public function drawVoronoi(recordKeys:Array, dataBounds:IBounds2D, screenBounds:IBounds2D, destination:BitmapData):void
 		{
 			// http://blog.ivank.net/voronoi-diagram-in-as3.html
-			var graphics:Graphics = g;
+			var graphics:Graphics = static_tempShape.graphics;
+			graphics.clear();

 			var i:int;
 			var edges:Vector.<VEdge>; // vector  for edges
@@ -532,6 +552,7 @@
 			   graphics.moveTo(edges[i].start.x, edges[i].start.y);
 			   graphics.lineTo(edges[i].end  .x, edges[i].end  .y);
 			}
+			destination.draw(static_tempShape);
 		}

 		override public function getDataBoundsFromRecordKey(recordKey:IQualifiedKey, output:Array):void


create game defaults show player on map to true

--- flexEditor/src/org/arisgames/editor/services/AppServices.as
+++ flexEditor/src/org/arisgames/editor/services/AppServices.as
@@ -96,6 +96,7 @@
 			game.playerCreateComments = true;
 			game.playerLikesNotes = true;
 			game.allowtrading = true;
+			game.showPlayerOnMap = true;
 			r = AppDAO.getInstance().getGameServer().createGame(SecurityModel.getInstance().getUserId(),
 																game.name, game.description,
 																game.pcMediaId, game.iconMediaId, game.mediaId,


fixed new location error

fixed new location error

--- flexEditor/src/org/arisgames/editor/services/AppServices.as
+++ flexEditor/src/org/arisgames/editor/services/AppServices.as
@@ -112,12 +112,12 @@
         if (isNaN(item.itemId) || item.itemId == 0)
         {
             trace("This item doesn't have an itemId, so call create Item.");
-            r = AppDAO.getInstance().getItemServer().createItem(gid, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.destroyable);
+            r = AppDAO.getInstance().getItemServer().createItem(gid, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.destroyable, 1);
         }
         else
         {
             trace("This item has an itemId (" + item.itemId + "), so call update Item.");
-            r = AppDAO.getInstance().getItemServer().updateItem(gid, item.itemId, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.destroyable);
+            r = AppDAO.getInstance().getItemServer().updateItem(gid, item.itemId, item.name, item.description, item.iconMediaId, item.mediaId, item.dropable, item.destroyable, 1);
         }
         r.addResponder(resp);
     }
@@ -160,7 +160,7 @@
         if (isNaN(loc.locationId))
         {
             trace("This Location doesn't have an Id, so call create Location.");
-            l = AppDAO.getInstance().getLocationServer().createLocation(gid, loc.name, loc.iconMediaId, loc.latitude, loc.longitude, loc.error, loc.type, loc.typeId, loc.quantity, loc.hidden, loc.forceView);
+            l = AppDAO.getInstance().getLocationServer().createLocation(gid, loc.name, loc.iconMediaId, loc.latitude, loc.longitude, loc.error, loc.type, loc.typeId, loc.quantity, loc.hidden, loc.forceView,0);
         }
         else
         {


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

--- frameworks/projects/framework/src/mx/effects/easing/Back.as
+++ frameworks/projects/framework/src/mx/effects/easing/Back.as
@@ -17,6 +17,11 @@
  *  motion with Flex effect classes.
  *
  *  For more information, see http://www.robertpenner.com/profmx.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class Back
 {
@@ -45,6 +50,11 @@
 	 *  the greater the overshoot.
      *
      *  @return Number corresponding to the position of the component.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	public static function easeIn(t:Number, b:Number, c:Number,
 								  d:Number, s:Number = 0):Number
@@ -72,6 +82,11 @@
 	 *  the greater the overshoot.
      *
      *  @return Number corresponding to the position of the component.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	public static function easeOut(t:Number, b:Number, c:Number,
 								   d:Number, s:Number = 0):Number
@@ -101,6 +116,11 @@
 	 *  the greater the overshoot.
      *
      *  @return Number corresponding to the position of the component.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
 	public static function easeInOut(t:Number, b:Number, c:Number,
 									 d:Number, s:Number = 0):Number


Transferred from the Adobe Open Source Subversion Repository

Revision: 16781
Author:   tkraikit@adobe.com
Date:     2010-07-01T21:08:54.596928Z

Log Message:
-----------
fix for bug 26639: use ByteArray.writeBytes() instead of copying byte-by-byte. In quick tests, sped up decoding by ~30%.

QE notes: none
Doc notes: none
Bugs: SDK-26639
Reviewer: Corey
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/Base64Decoder.as

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

--- frameworks/projects/framework/src/mx/utils/Base64Decoder.as
+++ frameworks/projects/framework/src/mx/utils/Base64Decoder.as
@@ -107,7 +107,13 @@
     public function drain():ByteArray
     {
         var result:ByteArray = new ByteArray();
-        copyByteArray(data, result, filled);
+
+		var oldPosition:uint = data.position;
+		data.position = 0;	// technically, shouldn't need to set this, but carrying over from previous implementation
+		result.writeBytes(data, 0, data.length);
+		data.position = oldPosition;
+		result.position = 0;
+
         filled = 0;
         return result;
     }
@@ -161,30 +167,6 @@

 	//--------------------------------------------------------------------------
 	//
-	//  Private Methods
-	//
-	//--------------------------------------------------------------------------
-
-    private static function copyByteArray(source:ByteArray, destination:ByteArray, length:uint = 0):void
-    {
-        var oldPosition:int = source.position;
-
-        source.position = 0;
-        destination.position = 0;
-        var i:uint = 0;
-
-        while (source.bytesAvailable > 0 && i < length)
-        {
-            destination.writeByte(source.readByte());
-            i++;
-        }
-
-        source.position = oldPosition;
-        destination.position = 0;
-    }
-
-	//--------------------------------------------------------------------------
-	//
 	//  Private Variables
 	//
 	//--------------------------------------------------------------------------


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 6223
Author:   gruehle@adobe.com
Date:     2009-04-23T19:36:59.037094Z

Log Message:
-----------
Updates to revision 6205. SystemManager uses the Spark download progress bar if no others are defined. Updated ASDoc comments on SparkDownloadProgressBar. Made SparkDownloadProgressBar.initCompleteHandler() protected so QE can override for testing.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/SparkDownloadProgressBar.as</path>

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

--- frameworks/projects/framework/src/mx/preloaders/SparkDownloadProgressBar.as
+++ frameworks/projects/framework/src/mx/preloaders/SparkDownloadProgressBar.as
@@ -42,7 +42,7 @@
 import mx.managers.ISystemManager;

 /**
- *  The DownloadProgressBar class displays download progress.
+ *  The SparkDownloadProgressBar class displays download progress.
  *  It is used by the Preloader control to provide user feedback
  *  while the application is downloading and loading.
  *
@@ -54,7 +54,7 @@
  *  the preloader property to specify the name of your subclass.

  *
  *
You can implement a custom download progress bar component
- *  by creating a subclass of the DownloadProgressBar class.
+ *  by creating a subclass of the SparkDownloadProgressBar class.
  *  Do not implement a download progress bar as an MXML component
  *  because it loads too slowly.

  *
@@ -63,9 +63,9 @@
  *  @see mx.preloaders.Preloader
  *
  *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class SparkDownloadProgressBar extends Sprite implements IPreloaderDisplay
 {
@@ -80,10 +80,10 @@
 	/**
 	 *  Constructor.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	public function SparkDownloadProgressBar()
 	{
@@ -144,10 +144,10 @@
 	 *
 	 *  @default 6
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 4
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	protected var initProgressTotal:uint = 6;

@@ -174,16 +174,16 @@
 	 *  it sets this value to true. When the Preloader control determines that
 	 *  the progress bar should be hidden, it sets the value to false.

 	 *
-	 *
A subclass of the DownloadProgressBar class should never modify this property.
+	 *
A subclass of the SparkDownloadProgressBar class should never modify this property.
 	 *  Instead, you can override the setter method to recognize when
 	 *  the Preloader control modifies it, and perform any necessary actions.

 	 *
 	 *  @default false
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	override public function get visible():Boolean
 	{
@@ -232,10 +232,10 @@
 	 *  @default 1.0
 	 *
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	public function get backgroundAlpha():Number
 	{
@@ -268,10 +268,10 @@
      *  You can have either a backgroundColor or a
      *  backgroundImage, but not both.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	public function get backgroundColor():uint
 	{
@@ -305,10 +305,10 @@
 	 *
 	 *  @default null
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	public function get backgroundImage():Object
 	{
@@ -338,10 +338,10 @@
 	 *
 	 *  @default "auto"
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	public function get backgroundSize():String
 	{
@@ -370,10 +370,10 @@
 	 *  The Preloader class passes in a reference to itself to the display class
 	 *  so that it can listen for events from the preloader.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	public function set preloader(value:Sprite):void
 	{
@@ -404,10 +404,10 @@
 	 *  The height of the stage,
 	 *  which is passed in by the Preloader class.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	public function get stageHeight():Number
 	{
@@ -436,10 +436,10 @@
 	 *  The width of the stage,
 	 *  which is passed in by the Preloader class.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	public function get stageWidth():Number
 	{
@@ -465,10 +465,10 @@
 	 *  has been added as a child of the Preloader.
 	 *  This should be the starting point for configuring your download progress bar.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	public function initialize():void
 	{
@@ -485,10 +485,10 @@
 	/**
 	 *  Creates the subcomponents of the display.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	protected function createChildren():void
 	{
@@ -578,10 +578,10 @@
 	 *
 	 *  @param total Size of the application SWF file in bytes.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10
-	 *  @playerversion AIR 1.5
-	 *  @productversion Flex 4
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	protected function setDownloadProgress(completed:Number, total:Number):void
 	{
@@ -629,10 +629,10 @@
 	 *
 	 *  @param total Total number of initialization steps
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10
-	 *  @playerversion AIR 1.5
-	 *  @productversion Flex 4
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	protected function setInitProgress(completed:Number, total:Number):void
 	{
@@ -696,10 +696,10 @@
 	 *  if more than 700 milliseconds have elapsed
 	 *  and if Flex has downloaded less than half of the bytes of the SWF file.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	protected function showDisplayForDownloading(elapsedTime:int,
 											  event:ProgressEvent):Boolean
@@ -721,10 +721,10 @@
 	 *
 	 *  @return If true, then show the download progress bar.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	protected function showDisplayForInit(elapsedTime:int, count:int):Boolean
 	{
@@ -744,10 +744,10 @@
 	 *
 	 *  @param event The event object.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	protected function progressHandler(event:ProgressEvent):void
 	{
@@ -770,10 +770,10 @@
 	 *
 	 *  @param event The event object.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	protected function completeHandler(event:Event):void
 	{
@@ -785,10 +785,10 @@
 	 *
 	 *  @param event The event object.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	protected function rslProgressHandler(event:RSLEvent):void
 	{
@@ -799,10 +799,10 @@
 	 *
 	 *  @param event The event object.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	protected function rslCompleteHandler(event:RSLEvent):void
 	{
@@ -814,10 +814,10 @@
 	 *
 	 *  @param event The event object.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	protected function rslErrorHandler(event:RSLEvent):void
 	{
@@ -856,10 +856,10 @@
 	 *
 	 *  @param event The event object.
 	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
 	 */
 	protected function initProgressHandler(event:Event):void
 	{
@@ -885,9 +885,17 @@
 	}

 	/**
-	 *  @private
-	 */
-	private function initCompleteHandler(event:Event):void
+	 *  Event listener for the FlexEvent.INIT_COMPLETE event.
+	 *  This implementation dispatches a Event.COMPLETE event.
+	 *
+	 *  @param event The event object
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+	 */
+	protected function initCompleteHandler(event:Event):void
 	{
 		dispatchEvent(new Event(Event.COMPLETE));
 	}


Transferred from the Adobe Open Source Subversion Repository

Revision: 19678
Author:   chiedozi@adobe.com
Date:     2011-01-10T22:45:03.607947Z

Log Message:
-----------
Resolved some FIXMEs

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/NavigationStack.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as
+++ frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as
@@ -13,7 +13,6 @@
 {
 import flash.events.Event;

-// FIXME (chiedozi): comment
 /**
  *  The ViewNavigatorEvent class represents event objects dispatched by the
  *  View class.
@@ -171,7 +170,6 @@
         this.action = action;
     }

-    // FIXME (chiedozi): clone
     //--------------------------------------------------------------------------
     //
     //  Properties


prevent memory leak

prevent memory leak

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/BusyIndicatorSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/BusyIndicatorSkin.as
@@ -23,6 +23,7 @@
 	import flash.display.CapsStyle;
 	import flash.display.Graphics;
 	import flash.display.LineScaleMode;
+	import flash.events.Event;
 	import flash.events.TimerEvent;
 	import flash.geom.Point;
 	import flash.utils.Timer;
@@ -60,6 +61,8 @@
 		{
 			super();
 			alpha = 0.60;       // default alpha
+            // component changes state when removed but it doesn't get validated in time
+            addEventListener(Event.REMOVED_FROM_STAGE, removedFromStageHandler,false,0,true);
 		}

 		private var _hostComponent:spark.components.BusyIndicator;
@@ -453,5 +456,14 @@
 			event.updateAfterEvent();
 		}

+        /**
+         *  @private
+         */
+        private function removedFromStageHandler(event:Event):void
+        {
+            stopRotation();
+        }
+
+
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 18173
Author:   jasonsj@adobe.com
Date:     2010-10-15T17:03:20.801634Z

Log Message:
-----------
Mobile Theme Initial check-in

* New light-look visuals from XD
* Changed airmobile-config.xml to use standalone Mobile theme instead of Spark overlay
* Added theme="spark, mobile" where spark was already white-listed and support is implemented and/or planned for Mobile/spark.css (see https://zerowing.corp.adobe.com/display/flexmobile/Mobile+Theme+Styles+Spec)
* MobileSkin has symbolColor and chromeColor support. Override beginChromeColorFill and drawChromeColor when defining custom chromeColor visuals.
* CheckBox and RadioButton now have chromeColor and symbolColor support
* Added textShadowColor and textShadowAlpha support to Button and ActionBar
* Added chromeColor support to HScrollBar and VScrollBar

QE notes: All mobile skins have been updaetd.
Doc notes: Update mobile skinning documentation for new APIs
Bugs:
SDK-28043 Investigate usage of "viewWidth", "viewHeight" for the Flex Mobile Skin Assets
SDK-27609 Mobile scroll bar skins should use chromeColor
SDK-27646 cornerradius has no effect on button in mobile application
Reviewer: gruehle
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_symbol.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Image.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/RadioButton_symbol.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/Button_up.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/metadata/ContainerBackgroundStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_up.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/RadioButton_up.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/TextInput_border.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/Button_down.fxg</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_upSelected.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/RadioButton_upSelected.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_down.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/RadioButton_down.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_downSelected.fxg</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/themes/Mobile/spark.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/airmobile-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/RadioButton_downSelected.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/NavigationButtonSkin.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
@@ -51,7 +51,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="focusAlpha", type="Number", inherit="no", theme="spark", minValue="0.0", maxValue="1.0")]
+[Style(name="focusAlpha", type="Number", inherit="no", theme="spark, mobile", minValue="0.0", maxValue="1.0")]

 /**
  *  @copy spark.components.supportClasses.GroupBase#focusColor
@@ -63,7 +63,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="focusColor", type="uint", format="Color", inherit="yes", theme="spark")]
+[Style(name="focusColor", type="uint", format="Color", inherit="yes", theme="spark, mobile")]

 /**
  *  When true, the thumb's value is


Улучшение Progress

Улучшение Progress

--- src/main/org/shypl/common/util/progress/CompositeProgress.as
+++ src/main/org/shypl/common/util/progress/CompositeProgress.as
@@ -37,5 +37,9 @@
 		public function setProgressAt(index:int, progress:Progress):void {
 			_progresses[index] = progress;
 		}
+
+		public function getProgressAt(index:int):Progress {
+			return _progresses[index];
+		}
 	}
 }


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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridRendererDescription.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridRendererDescription.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2009 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.controls.advancedDataGridClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 13742
Author:   rbhat@adobe.com
Date:     2010-01-25T05:44:35.924793Z

Log Message:
-----------
sbannur: Reverting the changes which were done, in previous revision by re-adding the patent comments, this will be done in the branch.

QE notes: None
Doc notes: None
Bugs:
Reviewer: R K Bhat
Tests run: None
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/charts/chartClasses/IDataCanvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/charts/chartClasses/CartesianDataCanvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/charts/chartClasses/CartesianCanvasValue.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/charts/chartClasses/PolarDataCanvas.as</path>

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

--- frameworks/projects/charts/src/mx/charts/chartClasses/CartesianDataCanvas.as
+++ frameworks/projects/charts/src/mx/charts/chartClasses/CartesianDataCanvas.as
@@ -7,6 +7,10 @@
 //  NOTICE: Adobe permits you to use, modify, and distribute this file
 //  in accordance with the terms of the license agreement accompanying it.
 //
+//  Adobe Patent or Adobe Patent Pending Invention Included Within this File
+//  Adobe patent application tracking B503, entitled Charting Data Graphics -
+//  graphics drawing API that allows to draw in data space, inventors Ely Greenfield.
+//  AdobePatentID="B503"
 //
 ////////////////////////////////////////////////////////////////////////////////
 package mx.charts.chartClasses


Added streamEnded event

Added streamEnded event

--- src/Player.as
+++ src/Player.as
@@ -32,6 +32,7 @@
     private static const EVENT_STREAM_STARTED:String  = "streamStarted";
     private static const EVENT_STREAM_PAUSED:String  = "streamPaused";
     private static const EVENT_STREAM_STOPPED:String  = "streamStopped";
+    private static const EVENT_STREAM_ENDED:String  = "streamEnded";
     private static const EVENT_FULLSCREEN_ENTERED:String  = "fullscreenEntered";
     private static const EVENT_FULLSCREEN_EXITED:String  = "fullscreenExited";

@@ -356,6 +357,8 @@

     public function onPlayStatus(ev:Object):void {
       this.currentState = "stopped";
+      this.callAPI(EVENT_STREAM_STOPPED);
+      this.callAPI(EVENT_STREAM_ENDED);
     }

     private function callAPI(eventName:String, data:Object = null):void {


add a workaround for a bug from adobe during shader validation to do vc[ft0.x], ft0.yzw must be set, which makes no sense...

--- src/aerys/minko/render/shader/node/operation/manipulation/VariadicExtract.as
+++ src/aerys/minko/render/shader/node/operation/manipulation/VariadicExtract.as
@@ -1,5 +1,6 @@
 package aerys.minko.render.shader.node.operation.manipulation
 {
+	import aerys.minko.render.shader.node.Components;
 	import aerys.minko.render.shader.node.INode;
 	import aerys.minko.render.shader.node.leaf.AbstractConstant;
 	import aerys.minko.render.shader.node.leaf.Constant;
@@ -33,10 +34,13 @@

 			var leftOperand : INode = index;
 			if (cellSize != 4)
-				leftOperand = new Multiply(
-					leftOperand,
-					new Constant(cellSize / 4)
-				);
+			{
+				leftOperand = new Multiply(leftOperand, new Constant(cellSize / 4));
+
+				// the following is a patch to adobe's agal validator.
+				// we have to fill a complete register for the index to work
+				leftOperand = new RootWrapper(new Extract(leftOperand, Components.XXXX));
+			}

 			var rightOperand : INode = table;


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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkDropDownListBaseAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkDropDownListBaseAutomationImpl.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 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.automation.delegates.components.supportClasses
 {


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

--- frameworks/projects/framework/src/mx/core/IDisplayObjectContainerInterface.as
+++ frameworks/projects/framework/src/mx/core/IDisplayObjectContainerInterface.as
@@ -12,93 +12,183 @@
 /*
  *  The IDisplayObjectContainerInterface defines the basic set of APIs
  *  for web version of flash.display.DisplayObjectContainer
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 import flash.text.TextSnapshot;
 import flash.geom.Point;

     /**
      *  @copy flash.display.DisplayObjectContainer#addChild()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function addChild(child:DisplayObject):DisplayObject;

     /**
      *  @copy flash.display.DisplayObjectContainer#addChildAt()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function addChildAt(child:DisplayObject, index:int):DisplayObject;

     /**
      *  @copy flash.display.DisplayObjectContainer#removeChild()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function removeChild(child:DisplayObject):DisplayObject;

     /**
      *  @copy flash.display.DisplayObjectContainer#removeChildAt()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function removeChildAt(index:int):DisplayObject;

     /**
      *  @copy flash.display.DisplayObjectContainer#getChildIndex()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function getChildIndex(child:DisplayObject):int;

     /**
      *  @copy flash.display.DisplayObjectContainer#setChildIndex()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function setChildIndex(child:DisplayObject, index:int):void;

     /**
      *  @copy flash.display.DisplayObjectContainer#getChildAt()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function getChildAt(index:int):DisplayObject;

     /**
      *  @copy flash.display.DisplayObjectContainer#getChildByName()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function getChildByName(name:String):DisplayObject;

     /**
      *  @copy flash.display.DisplayObjectContainer#numChildren
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get numChildren():int;

     /**
      *  @copy flash.display.DisplayObjectContainer#textSnapshot
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get textSnapshot():TextSnapshot;

     /**
      *  @copy flash.display.DisplayObjectContainer#getObjectsUnderPoint()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function getObjectsUnderPoint(point:Point):Array;

     /**
      *  @copy flash.display.DisplayObjectContainer#areInaccessibleObjectsUnderPoint()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function areInaccessibleObjectsUnderPoint(point:Point):Boolean;

     /**
      *  @copy flash.display.DisplayObjectContainer#tabChildren
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get tabChildren():Boolean;
     function set tabChildren(enable:Boolean):void;

     /**
      *  @copy flash.display.DisplayObjectContainer#mouseChildren
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get mouseChildren():Boolean;
     function set mouseChildren(enable:Boolean):void;

     /**
      *  @copy flash.display.DisplayObjectContainer#contains()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function contains(child:DisplayObject):Boolean;

     /**
      *  @copy flash.display.DisplayObjectContainer#swapChildrenAt()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function swapChildrenAt(index1:int, index2:int):void;

     /**
      *  @copy flash.display.DisplayObjectContainer#swapChildren()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function swapChildren(child1:DisplayObject, child2:DisplayObject):void;


Re positioning of infobox done.

Re positioning of infobox done.

--- Arguments/src/Controller/ArgumentController.as
+++ Arguments/src/Controller/ArgumentController.as
@@ -1188,17 +1188,29 @@
 			//infobox beside enabler
 			var inference:ArgumentPanel = agoraMap.panelsHash[argumentTypeModel.inferenceModel.ID];
 			var addArgumentsInfo:InfoBox=new InfoBox();
-			addArgumentsInfo.boxWidth=500;
+
+			addArgumentsInfo.y =  inference.y ;
+			if(inference.x < 550)
+			{
+				addArgumentsInfo.boxWidth = inference.x - 50;
+				addArgumentsInfo.x = 0;
+			}
+			else
+			{
+				addArgumentsInfo.boxWidth = 500;			//max length
+				addArgumentsInfo.x = inference.x - 50 - addArgumentsInfo.boxWidth;
+			}
+		//	addArgumentsInfo.width = addArgumentsInfo.boxWidth;
 			addArgumentsInfo.text = Language.lookup('ArgComplete');
+			addArgumentsInfo.visible=true;
+
+			map.setScrollers(addArgumentsInfo.x,addArgumentsInfo.y);
 			map.addEventListener(MouseEvent.CLICK,function(e:Event):void{
 				FlexGlobals.topLevelApplication.map.alerts.removeElement(addArgumentsInfo);
 				map.removeEventListener(MouseEvent.CLICK, arguments.callee);
 			});
-			FlexGlobals.topLevelApplication.map.alerts.addElement(addArgumentsInfo);
-			addArgumentsInfo.y =  inference.y + inference.height + 20;
-			addArgumentsInfo.x = inference.x;
-			addArgumentsInfo.visible=true;
-			map.setScrollers(addArgumentsInfo.x,addArgumentsInfo.y);
+
+			FlexGlobals.topLevelApplication.map.alerts.addElement(addArgumentsInfo);		//so the text is fitted, thats why we are calling this at the end
 			//infobox on top of the claim and the reason
 			var claim:ArgumentPanel = agoraMap.panelsHash[argumentTypeModel.claimModel.ID];
 			if(claim.panelType != StatementModel.INFERENCE){


Transferred from the Adobe Open Source Subversion Repository

Revision: 6377
Author:   smgilson@adobe.com
Date:     2009-04-29T14:45:13.176859Z

Log Message:
-----------
ASDoc fixes for FLEXDOCS-780 and FLEXDOCS-781

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IUIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/PostScaleAdapter.as</path>

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

--- frameworks/projects/framework/src/mx/core/IUIComponent.as
+++ frameworks/projects/framework/src/mx/core/IUIComponent.as
@@ -223,7 +223,7 @@

     /**
      *  A single Sprite object that is shared among components
-     *  and used as an overlay for drawing focus.
+     *  and used as an overlay for drawing the focus indicator.
      *  Components share this object if their parent is a focused component,
      *  not if the component implements the IFocusManagerComponent interface.
      *


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 1218
Author:   jimurphy@adobe.com
Date:     2008-04-15T16:09:32.174552Z

Log Message:
-----------
merge 3.0.x[1069:1202] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/PNGEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/JPEGEncoder.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/rpc/src/mx/rpc/xml/SchemaTypeRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/codec/IImageEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/SOAPFault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloColors.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/frameworks/projects/framework/src/mx/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RoundedRectangle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.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/rpc/src/mx/rpc/soap/SOAPHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLBinding.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/framework/src/mx/utils/ObjectProxy.as
+++ frameworks/projects/framework/src/mx/utils/ObjectProxy.as
@@ -508,6 +508,9 @@
      *  the server flex.messaging.io.ObjectProxy instance serializes itself
      *  as a Map that will be returned as a plain ActionScript object.
      *  You can then set the object_proxy object property to this value.
+     *
+     *  @param input The source object from which the ObjectProxy is
+     *  deserialized.
      */
     public function readExternal(input:IDataInput):void
     {
@@ -518,7 +521,11 @@
     /**
      *  Since Flex only serializes the inner ActionScript object that it wraps,
      *  the server flex.messaging.io.ObjectProxy populates itself
-     *  with this anonymous object's contents and appears to the user as a Map.
+     *  with this anonymous object's contents and appears to the user
+     *  as a Map.
+     *
+     *  @param output The source object from which the ObjectProxy is
+     *  deserialized.
      */
     public function writeExternal(output:IDataOutput):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8486
Author:   smgilson@adobe.com
Date:     2009-07-09T18:42:45.734868Z

Log Message:
-----------
Third 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/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ScrollBarBase.as
@@ -148,7 +148,7 @@
  *
  *  @mxml
  *
- *
The <ScrollBar> tag inherits all of the tag
+ *
The <s:ScrollBar> tag inherits all of the tag
  *  attributes of its superclass and adds the following tag attributes:

  *
  *


proper casting to integer

proper casting to integer

--- DroneAnarchy/Resources/Scripts/DroneAnarchy.as
+++ DroneAnarchy/Resources/Scripts/DroneAnarchy.as
@@ -613,7 +613,7 @@
 	float playerHealthFraction = eventData["CurrentHealthFraction"].GetFloat();

-	int range = 512 - ( 512 * playerHealthFraction);
+	int range = 512 - int( 512 * playerHealthFraction);
 	healthFillSprite_.imageRect = IntRect(range, 0, 512 + range, 64);
 	UpdateHealthTexture(playerHealthFraction);


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 11806
Author:   egeorgie@adobe.com
Date:     2009-11-13T23:59:03.417720Z

Log Message:
-----------
Update GradientEntry ASDoc comment to make it more consistent with the Graphics beginFill ASDoc.

QE notes: None
Doc notes: We should revisit gradients and gradient entry AsDoc comments and clarify coordinate spaces, interpolation, etc.
Bugs: None
Reviewer: Hans
Tests run: None
Is noteworthy for integration: No

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientEntry.as

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

--- frameworks/projects/framework/src/mx/graphics/GradientEntry.as
+++ frameworks/projects/framework/src/mx/graphics/GradientEntry.as
@@ -60,8 +60,8 @@
 	 *  @param color The color for this gradient entry.
 	 *  The default value is 0x000000 (black).
 	 *
-	 *  @param ratio Where in the graphical element to start
-	 *  the transition to the associated color.
+	 *  @param ratio Where in the graphical element the associated color is
+     *  sampled at 100%.
 	 *  Flex uniformly spaces any GradientEntries
 	 *  with missing ratio values.
 	 *  The default value is NaN.
@@ -169,7 +169,7 @@

 	/**
 	 *  Where in the graphical element, as a percentage from 0.0 to 1.0,
-	 *  Flex starts the transition to the associated color.
+	 *  Flex samples the associated color at 100%.
 	 *  For example, a ratio of 0.33 means Flex begins the transition
 	 *  to that color 33% of the way through the graphical element.
 	 *


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

--- frameworks/projects/framework/src/mx/logging/ILoggingTarget.as
+++ frameworks/projects/framework/src/mx/logging/ILoggingTarget.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.logging
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/events/DateChooserEventDetail.as
+++ frameworks/projects/mx/src/mx/events/DateChooserEventDetail.as
@@ -0,0 +1,52 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.events
+{
+
+/**
+ *  Constants that define the  values of the detail property
+ *  of a DateChooserEvent object.
+ *
+ *  @see mx.events.DateChooserEvent
+ */
+public final class DateChooserEventDetail
+{
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Indicates that the user scrolled the calendar to the next month.
+	 */
+	public static const NEXT_MONTH:String = "nextMonth";
+
+	/**
+	 *  Indicates that the user scrolled the calendar to the next year.
+	 */
+	public static const NEXT_YEAR:String = "nextYear";
+
+	/**
+	 *  Indicates that the user scrolled the calendar to the previous month.
+	 */
+	public static const PREVIOUS_MONTH:String = "previousMonth";
+
+	/**
+	 *  Indicates that the user scrolled the calendar to the previous year.
+	 */
+	public static const PREVIOUS_YEAR:String = "previousYear";
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

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

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

--- frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.as
+++ frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.as
@@ -0,0 +1,100 @@
+package mx.rpc.http
+{
+
+import mx.core.mx_internal;
+
+use namespace mx_internal;
+
+/**
+ * An instance of this class can manage formatting HTTP request responses and
+ * converting their parameters.  HTTPMultiService and HTTPService will expose a
+ * serializationFilter property, or you can define one of these statically and register it
+ * for a custom resultFormat.  In that case, the resultFormat can be used to choose the
+ * SerializationFilter automatically.
+ */
+public class SerializationFilter
+{
+    // replaces/returns previous with that name or null
+    static mx_internal var filterForResultFormatTable:Object = new Object();
+    public static function registerFilterForResultFormat(resultFormat:String, filter:SerializationFilter):SerializationFilter
+    {
+        var old:SerializationFilter = filterForResultFormatTable[resultFormat];
+        filterForResultFormatTable[resultFormat] = filter;
+        return old;
+    }
+
+
+    /**
+     * This method takes the result from the HTTP request in a raw format.  It
+     * can convert it to an ActionScript object.  It can use the resultType or
+     * resultElementType properties of the Operation.  It also can store additional
+     * properties on the operation's properties object.
+     */
+    public function deserializeResult(operation:AbstractOperation, result:Object):Object
+    {
+        return result;
+    }
+
+    /**
+     * This is a hook to override the request's content type for a specific serializer.
+     * It is given the parameter object and the content type configured on the operation.
+     * The default behavior is to return the supplied content type.
+     */
+    public function getRequestContentType(operation:AbstractOperation, obj:Object, contentType:String):String
+    {
+        return contentType;
+    }
+
+    /**
+     * This method is used when you use the "send" method to the mx.rpc.http.Operation.
+     * That method takes an array of parameters without names.  The role of this method
+     * is to convert this to a single object which is used as the data for the HTTP request
+     * body.  The default implementation produces an object where the keys are the values
+     * in the Operation's argumentNames array and the values are the values of the parameters.
+     * When using the default implementation, you must set argumentNames to have the same number
+     * of elements as the parameters array.
+     * <p>
+     * Note that this method is not used if you invoke the HTTP operation using the sendBody
+     * method which just takes a single object.  In that case, this step is skipped and only
+     * the serializeBody method is called.
+     */
+    public function serializeParameters(operation:AbstractOperation, params:Array):Object
+    {
+        var argNames:Array = operation.argumentNames;
+
+        if (params == null || params.length == 0)
+            return params;
+
+        if (argNames == null || params.length != argNames.length)
+            throw new ArgumentError("HTTPMultiService operation called with " + (argNames == null ? 0 : argNames.length) + " argumentNames and " + params.length + " number of parameters.  When argumentNames is specified, it must match the number of arguments passed to the invocation");
+
+        var obj:Object = new Object();
+        var argumentNames:Array = operation.argumentNames;
+        for (var i:int = 0; i < argumentNames.length; i++)
+            obj[argumentNames[i]] = params[i];
+
+        return obj;
+    }
+
+    /**
+     * This method is called for all invocations of the HTTP service.  It is able to convert
+     * the supplied object into a form suitable for placing directly in the HTTP's request
+     * body.
+     */
+    public function serializeBody(operation:AbstractOperation, obj:Object):Object
+    {
+        return obj;
+    }
+
+    /**
+     * This method is used if you need to take data from the request body object and encode
+     * it into the URL string.   It is given the incoming URL.  By default, the incoming
+     * URL is returned directly.
+     */
+    public function serializeURL(operation:AbstractOperation, obj:Object, url:String):String
+    {
+        return url;
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 4073
Author:   rfrishbe@adobe.com
Date:     2008-11-11T22:09:40.130593Z

Log Message:
-----------
Add IViewport properties to FxContainer and FxDataContainer.  This is using a new property delegation pattern.  This pattern may be refined later on.  For part of it, we are doing bit manipulation to store a set of booleans efficiently.  I removed the Flags32 class and replaced it with static helpers because it's more efficient without the object overhead.  So I cleaned up Button and ToggleButton to use the new static helper class.

Ran checkintests and mustella tests for: List, FxContainer, FxDataContainer, Button, ToggleButton, CheckBox, RadioButton.

QE Notes: Need to test these new properties (how they facade, setting them explicitly, what happens when skins changed, bindability of these properties, etc...)
Doc Notes: None
Bugs: -
Reviewer: Hans, Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/utils/Flags32.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/BitFlagUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/ToggleButton.as
+++ frameworks/projects/spark/src/spark/components/ToggleButton.as
@@ -16,6 +16,7 @@
 import flash.events.MouseEvent;

 import mx.events.FlexEvent;
+import mx.utils.BitFlagUtil;

 /**
  *  Dispatched when the selected property
@@ -92,7 +93,7 @@
      */
     public function get selected():Boolean
     {
-        return flags.isSet(selectedFlag);
+        return BitFlagUtil.isSet(flags, selectedFlag);
     }

     /**
@@ -100,8 +101,10 @@
      */
     public function set selected(value:Boolean):void
     {
-        if (!flags.update(selectedFlag, value))
+        if (BitFlagUtil.isSet(flags, selectedFlag) == value)
             return;
+
+        flags = BitFlagUtil.update(flags, selectedFlag, value);

         dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
         invalidateButtonState();


Comment Format Alterations. Made the requested comment format alterations, removed end if, end for, and end function comments.

--- HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
+++ HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
@@ -496,8 +496,8 @@
 							{
 								logger.debug("More than one audio stream marked as default. Ignoring \"" + currentInfo.name + "\"");
 							}
-					}//end if else
-				}//end for
+					}
+				}

 				//If we didn't find a default, and we have alternate audio sources available, just use the first one
 				if (!foundDefault && currentResource.alternativeAudioStreamItems.length > 0)
@@ -505,7 +505,7 @@
 					var firstInfo:HLSManifestPlaylist = currentResource.alternativeAudioStreamItems[0].info as HLSManifestPlaylist;
 					changeAudioStreamTo(firstInfo.name);
 				}
-			}//end function
+			}

 			/**
 			 * @private


Transferred from the Adobe Open Source Subversion Repository

Revision: 16467
Author:   cframpto@adobe.com
Date:     2010-06-04T19:12:40.158227Z

Log Message:
-----------
Rename SelectionMode to GridSelectionMode to prepare for upcoming TreeSelectionMode.  Add requireSelection property placeholder to API.  Preliminary code to handle column collection change events.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/GridSelection.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/SelectionMode.as" copyfrom-rev="16459" action="A">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/GridSelectionMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/GridContainerBase.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/components/supportClasses/SelectionMode.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridSelectionMode.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridSelectionMode.as
@@ -2,12 +2,12 @@
 {

 /**
- *  The SelectionMode class defines the legal constant values for the DataGrid
+ *  The GridSelectionMode class defines the legal constant values for the DataGrid
  *  selectionMode property.
  */
-public final class SelectionMode
+public final class GridSelectionMode
 {
-    public function SelectionMode()
+    public function GridSelectionMode()
     {
         super();
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17350
Author:   klin@adobe.com
Date:     2010-08-17T17:59:48.307247Z

Log Message:
-----------
Add true states support to GridItemRenderer. Added the hovered property that was missing from IGridItemRenderer, and implemented it in GridItemRenderer and DefaultGridItemRenderer. GridLayout now also sets the hovered property correctly in initializeItemRenderer(). GridItemRenderer now sets the state correctly when the properties are changed. For now, we disable transitions at all times between states until Grid can support it.

QE notes: No
Doc notes: No
Bugs: SDK-27056, SDK-27262
Reviewer: Hans
Tests run: checkintests, DataGrid
Is noteworthy for integration: No

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/IGridItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/IGridItemRenderer.as
@@ -26,7 +26,6 @@
      *  @playerversion Flash 10
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
-     *
      */
     function get rowIndex():int;
     function set rowIndex(value:int):void;
@@ -39,10 +38,25 @@
      *  @playerversion Flash 10
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
-     *
      */
     function get dragging():Boolean;
     function set dragging(value:Boolean):void;
+
+    /**
+     *  True if the item renderer is being hovered over by the mouse.
+     *  Unlike a List item renderer, grid item renderers do not have exclusive
+     *  responsibility for displaying the hovered indicator.  The Grid itself
+     *  renders the hovered indicator for the selected row or cell.
+     *  The item renderer can also change its visual properties to emphasize
+     *  that it's being hovered over.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    function get hovered():Boolean;
+    function set hovered(value:Boolean):void;

     /**
      *  The string to display in the item renderer's cell.
@@ -56,7 +70,6 @@
      *  @playerversion Flash 10
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
-     *
      */
     function get label():String;
     function set label(value:String):void;
@@ -73,7 +86,6 @@
      *  @playerversion Flash 10
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
-     *
      */
     function get selected():Boolean;
     function set selected(value:Boolean):void;
@@ -88,7 +100,6 @@
      *  @playerversion Flash 10
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
-     *
      */
     function get showsCaret():Boolean;
     function set showsCaret(value:Boolean):void;


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

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

 package spark.effects.supportClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4318
Author:   rfrishbe@adobe.com
Date:     2008-12-16T01:06:12.577766Z

Log Message:
-----------
A bunch of small changes:

- Rename from "content" to "mxmlContent"--I missed some places before

- Remove references from Group to GraphicElement.  Change them to use IGraphicElement.

- Update the IGraphicElement interface for above.  Evtim will go in and clean it up more later

- Group optimization so we don't loop through all visual element children in validateProperties(), validateSize(), and validateDisplayList() if we have no graphic elements.  Some further optimizations are possible, but we're not sure if it's worth it.  For instance, we could just loop over the graphic elements directly, rather than all elements.  Also, we always call assignDisplayObjects() even if we don't need to (all elements are display objects and have layer == 0).

- Cleanup around setting alpha and blendMode in Group

- Cleanup around bindable properties in Group

- Commented a lot of code I didn't understand in Group

- Cleaned up some code in display object sharing for Group (no need for lastDisplayObject...just need insertIndex)

- All layouts now call super.measure() and super.updateDisplayList() even though the LayoutBase version of these methods does nothing.

QE Notes: None
Doc Notes: None
Bugs: SDK-18065
Reviewer: Jason
tests: checkintests, Mustella Group, FxContainer, GraphicTags, and layout

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Parser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -450,11 +450,11 @@
     }

     /**
-     *  @private
-     */
-    public function set parent(value:DisplayObjectContainer):void
-    {
-        elementHost = GroupBase(value);
+     *  @inheritDoc
+     */
+    public function parentChanged(p:DisplayObjectContainer):void
+    {
+        elementHost = GroupBase(p);
     }

     //----------------------------------
@@ -1977,8 +1977,7 @@
     [Inspectable(category="General")]

     /**
-     *  The DisplayObject where the GraphicElement will be drawn.
-     *  This property is automatically assigned by the parent Group of this element.
+     *  @inheritDoc
      */
     public function get displayObject():DisplayObject
     {
@@ -2099,21 +2098,20 @@
     //--------------------------------------------------------------------------

     /**
-     *  Creates a new DisplayObject where the GraphicElement is drawn,
-     *  if one does not already exist.
+     *  @inheritDoc
      */
     public function createDisplayObject():DisplayObject
     {
         if (displayObject)
             return displayObject;

-        return new Sprite();
-    }
-
-
-    /**
-     *  Destroys the DisplayObject where the GraphicElement is drawn,
-     *  if it exists.
+        displayObject = new Sprite();
+        return displayObject;
+    }
+
+
+    /**
+     *  @inheritDoc
      */
     public function destroyDisplayObject():void
     {
@@ -2146,9 +2144,7 @@
     }

     /**
-     *  true if the graphic element needs its own unique display object to render into.
-     *  In general, you will not set this property, although if you extend the GraphicElement class, you
-     *  might override the setter.
+     *  @inheritDoc
      */
     public function get needsDisplayObject():Boolean
     {
@@ -2173,7 +2169,7 @@
     }

     /**
-     *
+     *  @inheritDoc
      */
     public function get nextSiblingNeedsDisplayObject():Boolean
     {
@@ -2185,7 +2181,7 @@
     private var _sharedDisplayObject:DisplayObject;

     /**
-     *
+     *  @inheritDoc
      */
     public function set sharedDisplayObject(value:DisplayObject):void
     {


Minor Typo Fix

Minor Typo Fix

Changed "devide" to "divide".

--- HLSPlugin/src/com/kaltura/hls/manifest/HLSManifestStream.as
+++ HLSPlugin/src/com/kaltura/hls/manifest/HLSManifestStream.as
@@ -51,7 +51,7 @@
 							newNote.programId = parseInt(accum);
 							break;
 						case "BANDWIDTH":
-							// We devide this value by 1000 to convert into Kilobits
+							// We divide this value by 1000 to convert into Kilobits
 							newNote.bandwidth = parseInt(accum) / 1000;
 							break;
 						case "CODECS":
@@ -94,4 +94,4 @@
 			return newNote;
 		}
 	}
-}+}


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

--- frameworks/projects/framework/src/mx/formatters/NumberBase.as
+++ frameworks/projects/framework/src/mx/formatters/NumberBase.as
@@ -20,6 +20,11 @@
  *
  *  @see mx.formatters.NumberFormatter
  *  @see mx.formatters.NumberBaseRoundType
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class NumberBase
 {
@@ -45,6 +50,11 @@
 	 *
 	 *  @param thousandsSeparatorTo Character to use
 	 *  as the thousands separator in the output String.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function NumberBase(decimalSeparatorFrom:String = ".",
 							   thousandsSeparatorFrom:String = ",",
@@ -76,6 +86,11 @@
 	 *  when parsing an input String.
 	 *
 	 *  @default "."
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var decimalSeparatorFrom:String;

@@ -88,6 +103,11 @@
 	 *  when outputting formatted decimal numbers.
 	 *
 	 *  @default "."
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var decimalSeparatorTo:String;

@@ -98,6 +118,11 @@
 	/**
 	 *  If true, the format succeeded,
 	 *  otherwise it is false.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var isValid:Boolean = false;

@@ -110,6 +135,11 @@
 	 *  in the input String.
 	 *
 	 *  @default ","
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var thousandsSeparatorFrom:String;

@@ -122,6 +152,11 @@
 	 *  in the output String.
 	 *
 	 *  @default ","
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var thousandsSeparatorTo:String;

@@ -145,6 +180,11 @@
 	 *  @return Formatted number.
 	 *
 	 *  @see mx.formatters.NumberBaseRoundType
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function formatRounding(value:String, roundType:String):String
 	{
@@ -190,6 +230,11 @@
 	 *  @return Formatted number.
 	 *
 	 *  @see mx.formatters.NumberBaseRoundType
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function formatRoundingWithPrecision(value:String, roundType:String,
 												precision:int):String
@@ -255,6 +300,11 @@
 	 *
 	 *  @return String representation of the input where "." is replaced
 	 *  with the decimal formatting character.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function formatDecimal(value:String):String
 	{
@@ -270,6 +320,11 @@
 	 *  @param value Value to be formatted.
 	 *
 	 *  @return Formatted number.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function formatThousands(value:String):String
 	{
@@ -322,6 +377,11 @@
 	 *  @param precision Number of decimal points to use.
 	 *
 	 *  @return Formatted number.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function formatPrecision(value:String, precision:int):String
 	{
@@ -362,6 +422,11 @@
 	 *  If false, use parentheses ().
 	 *
 	 *  @return Formatted number.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function formatNegative(value:String, useSign:Boolean):String
 	{
@@ -394,6 +459,11 @@
 	 *  @param str String to parse for the numeric value.
 	 *
 	 *  @return Value, which can be a decimal.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function parseNumberString(str:String):String
 	{