marked most of Matrix4x4 methods as final for performances

--- src/aerys/minko/type/math/Matrix4x4.as
+++ src/aerys/minko/type/math/Matrix4x4.as
@@ -24,6 +24,7 @@
         private static const TMP_VECTOR4_2			: Vector4			= new Vector4();
 		private static const TMP_MATRIX				: Matrix4x4			= new Matrix4x4();

+        private static const COMPONENT_NONE			: uint				= 0;
 		private static const COMPONENT_TRANSLATION	: uint				= 1;
 		private static const COMPONENT_ROTATION		: uint				= 2;
 		private static const COMPONENT_SCALE		: uint				= 4;
@@ -41,125 +42,125 @@

 		minko_math var _matrix	: flash.geom.Matrix3D		= new flash.geom.Matrix3D();

-		public function get translationX() : Number
+		final public function get translationX() : Number
 		{
 			if (_invalidComponents)
 				updateComponents(COMPONENT_TRANSLATION);

 			return _translation.x;
 		}
-		public function set translationX(value : Number) : void
+        final public function set translationX(value : Number) : void
 		{
 			setTranslation(value, _translation.y, _translation.z);
 		}

-		public function get translationY() : Number
+        final public function get translationY() : Number
 		{
 			if (_invalidComponents)
 				updateComponents(COMPONENT_TRANSLATION);

 			return _translation.y;
 		}
-		public function set translationY(value : Number) : void
+        final public function set translationY(value : Number) : void
 		{
 			setTranslation(_translation.x, value, _translation.z);
 		}

-		public function get translationZ() : Number
+        final public function get translationZ() : Number
 		{
 			if (_invalidComponents)
 				updateComponents(COMPONENT_TRANSLATION);

 			return _translation.z;
 		}
-		public function set translationZ(value : Number) : void
+        final public function set translationZ(value : Number) : void
 		{
 			setTranslation(_translation.x, _translation.y, value);
 		}

-		public function get rotationX() : Number
+        final public function get rotationX() : Number
 		{
 			if (_invalidComponents)
 				updateComponents(COMPONENT_ROTATION);

 			return _rotation.x;
 		}
-		public function set rotationX(value : Number) : void
+        final public function set rotationX(value : Number) : void
 		{
 			setRotation(value, _rotation.y, _rotation.z);
 		}

-		public function get rotationY() : Number
+        final public function get rotationY() : Number
 		{
 			if (_invalidComponents)
 				updateComponents(COMPONENT_ROTATION);

 			return _rotation.y;
 		}
-		public function set rotationY(value : Number) : void
+        final public function set rotationY(value : Number) : void
 		{
 			setRotation(_rotation.x, value, _rotation.z);
 		}

-		public function get rotationZ() : Number
+        final public function get rotationZ() : Number
 		{
 			if (_invalidComponents)
 				updateComponents(COMPONENT_ROTATION);

 			return _rotation.z;
 		}
-		public function set rotationZ(value : Number) : void
+        final public function set rotationZ(value : Number) : void
 		{
 			setRotation(_rotation.x, _rotation.y, value);
 		}

-		public function get scaleX() : Number
+        final public function get scaleX() : Number
 		{
 			if (_invalidComponents)
 				updateComponents(COMPONENT_SCALE);

 			return _scale.x;
 		}
-		public function set scaleX(value : Number) : void
+        final public function set scaleX(value : Number) : void
 		{
 			setScale(value, _scale.y, _scale.z);
 		}

-		public function get scaleY() : Number
+        final public function get scaleY() : Number
 		{
 			if (_invalidComponents)
 				updateComponents(COMPONENT_SCALE);

 			return _scale.y;
 		}
-		public function set scaleY(value : Number) : void
+        final public function set scaleY(value : Number) : void
 		{
 			setScale(_scale.x, value, _scale.z);
 		}

-		public function get scaleZ() : Number
+        final public function get scaleZ() : Number
 		{
 			if (_invalidComponents)
 				updateComponents(COMPONENT_SCALE);

 			return _scale.z;
 		}
-		public function set scaleZ(value : Number) : void
+        final public function set scaleZ(value : Number) : void
 		{
 			setScale(_scale.x, _scale.y, value);
 		}

-		public function get determinant(): Number
+        final public function get determinant(): Number
 		{
 			return _matrix.determinant;
 		}

-		public function get locked() : Boolean
+        final public function get locked() : Boolean
 		{
 			return _locked;
 		}

-		public function get changed() : Signal
+        final public function get changed() : Signal
 		{
 			return _changed;
 		}
@@ -177,10 +178,10 @@
 			);
 		}

-		public function initialize(m11 : Number, m12 : Number, m13 : Number, m14 : Number,
-								   m21 : Number, m22 : Number, m23 : Number, m24 : Number,
-								   m31 : Number, m32 : Number, m33 : Number, m34 : Number,
-								   m41 : Number, m42 : Number, m43 : Number, m44 : Number) : void
+        final public function initialize(m11 : Number, m12 : Number, m13 : Number, m14 : Number,
+                                         m21 : Number, m22 : Number, m23 : Number, m24 : Number,
+                                         m31 : Number, m32 : Number, m33 : Number, m34 : Number,
+                                         m41 : Number, m42 : Number, m43 : Number, m44 : Number) : void
 		{
 			TMP_VECTOR.length = 0;
 			TMP_VECTOR.push(
@@ -197,21 +198,18 @@
 				_changed.execute(this);
 		}

-		public function copyFrom(matrix : Matrix4x4) : Matrix4x4
+        final public function copyFrom(matrix : Matrix4x4) : Matrix4x4
 		{
 			_matrix.copyFrom(matrix._matrix);
-			_invalidComponents = matrix._invalidComponents;
-			_translation.copyFrom(matrix._translation);
-			_rotation.copyFrom(matrix._rotation);
-			_scale.copyFrom(matrix._scale);
-
-			if (!_locked)
-				_changed.execute(this);
-
-			return this;
-		}
-
-		public function copyFromMatrix3D(matrix : Matrix3D) : Matrix4x4
+			_invalidComponents = COMPONENT_ALL;
+
+			if (!_locked)
+				_changed.execute(this);
+
+			return this;
+		}
+
+        final public function copyFromMatrix3D(matrix : Matrix3D) : Matrix4x4
 		{
 			_matrix.copyFrom(matrix);
 			_invalidComponents = COMPONENT_ALL;
@@ -222,12 +220,12 @@
 			return this;
 		}

-		public function clone() : Matrix4x4
+        public function clone() : Matrix4x4
 		{
 			return new Matrix4x4().copyFrom(this);
 		}

-		public function push() : Matrix4x4
+        final public function push() : Matrix4x4
 		{
 			_matrix.copyRawDataTo(_data, _numPushes * 16);
 			_numPushes++;
@@ -235,7 +233,7 @@
 			return this;
 		}

-		public function pop(restore : Boolean = true) : Matrix4x4
+        final public function pop(restore : Boolean = true) : Matrix4x4
 		{
 			if (_numPushes == 0)
 				return this;
@@ -253,7 +251,7 @@
 			return this;
 		}

-		public function prepend(m : Matrix4x4) : Matrix4x4
+        final public function prepend(m : Matrix4x4) : Matrix4x4
 		{
 			_invalidComponents = COMPONENT_ALL;
 			_matrix.prepend(m._matrix);
@@ -264,7 +262,7 @@
 			return this;
 		}

-		public function append(m : Matrix4x4) : Matrix4x4
+        final public function append(m : Matrix4x4) : Matrix4x4
 		{
 			_invalidComponents = COMPONENT_ALL;
 			_matrix.append(m._matrix);
@@ -275,9 +273,9 @@
 			return this;
 		}

-		public function appendRotation(radians		: Number,
-									   axis			: Vector4,
-									   pivotPoint	: Vector4	= null) : Matrix4x4
+        final public function appendRotation(radians	: Number,
+                                             axis	    : Vector4,
+                                             pivotPoint	: Vector4	= null) : Matrix4x4
 		{
 			_invalidComponents = COMPONENT_ALL;
 			_matrix.appendRotation(
@@ -292,9 +290,9 @@
 			return this;
 		}

-		public function appendScale(x	: Number,
-									y	: Number	= 1.,
-									z	: Number	= 1.) : Matrix4x4
+        final public function appendScale(x	: Number,
+                                          y	: Number	= 1.,
+                                          z	: Number	= 1.) : Matrix4x4
 		{
 			_invalidComponents = COMPONENT_ALL;
 			_matrix.appendScale(x, y, z);
@@ -305,20 +303,20 @@
 			return this;
 		}

-		public function appendUniformScale(scale : Number) : Matrix4x4
-		{
-			_invalidComponents = COMPONENT_ALL;
-			_matrix.appendScale(scale, scale, scale);
-
-			if (!_locked)
-				_changed.execute(this);
-
-			return this;
-		}
-
-		public function appendTranslation(x : Number,
-										  y : Number = 0.,
-										  z : Number = 0.) : Matrix4x4
+        final public function appendUniformScale(scale : Number) : Matrix4x4
+		{
+            _invalidComponents = COMPONENT_ALL;
+            _matrix.appendScale(scale, scale, scale);
+
+            if (!_locked)
+                _changed.execute(this);
+
+            return this;
+		}
+
+        final public function appendTranslation(x : Number,
+                                                y : Number = 0.,
+                                                z : Number = 0.) : Matrix4x4
 		{
 			_matrix.appendTranslation(x, y, z);

@@ -328,9 +326,9 @@
 			return this;
 		}

-		public function prependRotation(radians		: Number,
-										axis		: Vector4,
-										pivotPoint	: Vector4 = null) : Matrix4x4
+        final public function prependRotation(radians		: Number,
+                                              axis		: Vector4,
+                                              pivotPoint	: Vector4 = null) : Matrix4x4
 		{
 			_invalidComponents = COMPONENT_ALL;
 			_matrix.prependRotation(
@@ -345,9 +343,9 @@
 			return this;
 		}

-		public function prependScale(x	: Number,
-									 y	: Number = 1.,
-									 z	: Number = 1.) : Matrix4x4
+        final public function prependScale(x	: Number,
+                                           y	: Number = 1.,
+                                           z	: Number = 1.) : Matrix4x4
 		{
 			_invalidComponents = COMPONENT_ALL;
 			_matrix.prependScale(x, y, z);
@@ -358,7 +356,7 @@
 			return this;
 		}

-		public function prependUniformScale(scale : Number) : Matrix4x4
+        final public function prependUniformScale(scale : Number) : Matrix4x4
 		{
 			_matrix.prependScale(scale, scale, scale);

@@ -368,9 +366,9 @@
 			return this;
 		}

-		public function prependTranslation(x : Number,
-										   y : Number	= 1.,
-										   z : Number	= 1.) : Matrix4x4
+        final public function prependTranslation(x : Number,
+                                                 y : Number	= 1.,
+                                                 z : Number	= 1.) : Matrix4x4
 		{
 			_matrix.prependTranslation(x, y, z);

@@ -380,8 +378,8 @@
 			return this;
 		}

-		public function transformVector(input 	: Vector4,
-									    output	: Vector4	= null) : Vector4
+        final public function transformVector(input 	: Vector4,
+                                              output	: Vector4	= null) : Vector4
 		{
 			TMP_VECTOR[0] = input.x;
 			TMP_VECTOR[1] = input.y;
@@ -396,8 +394,8 @@
 			return output;
 		}

-		public function deltaTransformVector(input 	: Vector4,
-											 output	: Vector4	= null) : Vector4
+        final public function deltaTransformVector(input 	: Vector4,
+                                                   output	: Vector4	= null) : Vector4
 		{
 			var v : Vector3D = _matrix.deltaTransformVector(input._vector);

@@ -407,8 +405,8 @@
 			return output;
 		}

-		public function transformRawVectors(input 	: Vector.<Number>,
-										    output	: Vector.<Number> = null) : Vector.<Number>
+        final public function transformRawVectors(input 	: Vector.<Number>,
+                                                  output	: Vector.<Number> = null) : Vector.<Number>
 		{
 			output ||= new Vector.<Number>();
 			_matrix.transformVectors(input, output);
@@ -416,7 +414,7 @@
 			return output;
 		}

-		public function identity() : Matrix4x4
+        final public function identity() : Matrix4x4
 		{
 			_matrix.identity();

@@ -426,7 +424,7 @@
 			return this;
 		}

-		public function invert() : Matrix4x4
+        final public function invert() : Matrix4x4
 		{
 			_matrix.invert();

@@ -436,7 +434,7 @@
 			return this;
 		}

-		public function transpose() : Matrix4x4
+        final public function transpose() : Matrix4x4
 		{
 			_matrix.transpose();

@@ -446,8 +444,8 @@
 			return this;
 		}

-		public function projectVector(input 	: Vector4,
-									  output	: Vector4 = null) : Vector4
+        final public function projectVector(input 	: Vector4,
+                                            output	: Vector4 = null) : Vector4
 		{
 			var v : Vector3D = Utils3D.projectVector(_matrix, input._vector);

@@ -457,17 +455,17 @@
 			return output;
 		}

-		public function projectRawVectors(input 	: Vector.<Number>,
-										  output	: Vector.<Number>,
-										  uvt		: Vector.<Number>) : void
+        final public function projectRawVectors(input 	: Vector.<Number>,
+                                                output	: Vector.<Number>,
+                                                uvt		: Vector.<Number>) : void
 		{
 			Utils3D.projectVectors(_matrix, input, output, uvt);
 		}

-		public function getRawData(out 			: Vector.<Number> = null,
-								   offset		: int			  = 0,
-								   transposed	: Boolean 		  = false) : Vector.<Number>
+        final public function getRawData(out 		: Vector.<Number> = null,
+                                         offset		: uint			  = 0,
+                                         transposed	: Boolean 		  = false) : Vector.<Number>
 		{
 			out ||= new Vector.<Number>();
 			_matrix.copyRawDataTo(out, offset, transposed);
@@ -475,9 +473,9 @@
 			return out;
 		}

-		public function setRawData(input		: Vector.<Number>,
-								   offset		: int		= 0,
-								   transposed	: Boolean	= false) : Matrix4x4
+        final public function setRawData(input		: Vector.<Number>,
+                                         offset		: uint		= 0,
+                                         transposed	: Boolean	= false) : Matrix4x4
 		{
 			_matrix.copyRawDataFrom(input, offset, transposed);

@@ -487,7 +485,7 @@
 			return this;
 		}

-		public function getColumn(column : uint, out : Vector4 = null) : Vector4
+        final public function getColumn(column : uint, out : Vector4 = null) : Vector4
 		{
 			out ||= new Vector4();

@@ -499,7 +497,7 @@
 			return out;
 		}

-		public function setColumn(column : uint, value : Vector4) : Matrix4x4
+        final public function setColumn(column : uint, value : Vector4) : Matrix4x4
 		{
 			_matrix.copyColumnFrom(column, value._vector);

@@ -509,7 +507,7 @@
 			return this;
 		}

-		public function getRow(row : uint, out : Vector4 = null) : Vector4
+        final public function getRow(row : uint, out : Vector4 = null) : Vector4
 		{
 			out ||= new Vector4();

@@ -521,7 +519,7 @@
 			return out;
 		}

-		public function setRow(row : uint, value : Vector4) : Matrix4x4
+        final public function setRow(row : uint, value : Vector4) : Matrix4x4
 		{
 			_matrix.copyRowFrom(row, value._vector);

@@ -531,10 +529,10 @@
 			return this;
 		}

-		public function interpolateTo(target            : Matrix4x4,
-                                      ratio             : Number,
-                                      interpolateScale  : Boolean = true,
-                                      interpolateW      : Boolean = true) : Matrix4x4
+        final public function interpolateTo(target            : Matrix4x4,
+                                            ratio             : Number,
+                                            interpolateScale  : Boolean = true,
+                                            interpolateW      : Boolean = true) : Matrix4x4
 		{
 			_invalidComponents = COMPONENT_ROTATION | COMPONENT_TRANSLATION;

@@ -574,11 +572,11 @@
 			return this;
 		}

-		public function interpolateBetween(m1 			    : Matrix4x4,
-										   m2 			    : Matrix4x4,
-										   ratio 		    : Number,
-										   interpolateScale : Boolean   = true,
-                                           interpolateW     : Boolean   = true) : Matrix4x4
+        final public function interpolateBetween(m1 			    : Matrix4x4,
+                                                 m2 			    : Matrix4x4,
+                                                 ratio 		        : Number,
+                                                 interpolateScale   : Boolean   = true,
+                                                 interpolateW       : Boolean   = true) : Matrix4x4
 		{
 			_matrix.copyFrom(m1._matrix);
 			interpolateTo(m2, ratio, interpolateScale, interpolateW);
@@ -586,7 +584,7 @@
 			return this;
 		}

-		public function getTranslation(output : Vector4 = null) : Vector4
+        final public function getTranslation(output : Vector4 = null) : Vector4
 		{
 			output ||= new Vector4();
 			_matrix.copyColumnTo(3, output._vector);
@@ -596,7 +594,7 @@
 			return output;
 		}

-		public function setTranslation(x : Number, y : Number, z : Number) : Matrix4x4
+        final public function setTranslation(x : Number, y : Number, z : Number) : Matrix4x4
 		{
 			if (_invalidComponents)
 				updateComponents(COMPONENT_TRANSLATION);
@@ -613,7 +611,7 @@
 			return this;
 		}

-		public function getRotation(output : Vector4 = null) : Vector4
+        final public function getRotation(output : Vector4 = null) : Vector4
 		{
 			var components 	: Vector.<Vector3D>	= _matrix.decompose();

@@ -624,7 +622,7 @@
 			return output;
 		}

-		public function setRotation(x : Number, y : Number, z : Number) : Matrix4x4
+        final public function setRotation(x : Number, y : Number, z : Number) : Matrix4x4
 		{
 			if (_invalidComponents)
 				updateComponents();
@@ -643,7 +641,7 @@
 			return this;
 		}

-		public function getRotationQuaternion(output : Vector4 = null) : Vector4
+        final public function getRotationQuaternion(output : Vector4 = null) : Vector4
 		{
 			var components 	: Vector.<Vector3D>	= _matrix.decompose(Orientation3D.QUATERNION);
 			var rotation	: Vector3D			= components[1];
@@ -654,7 +652,7 @@
 			return output;
 		}

-		public function getScale(output : Vector4 = null) : Vector4
+        final public function getScale(output : Vector4 = null) : Vector4
 		{
 			var components 	: Vector.<Vector3D>	= _matrix.decompose();

@@ -666,7 +664,7 @@
 			return output;
 		}

-		public function setScale(x : Number, y : Number, z : Number) : Matrix4x4
+        final public function setScale(x : Number, y : Number, z : Number) : Matrix4x4
 		{
 			if (_invalidComponents)
 				updateComponents();
@@ -689,8 +687,8 @@
 			return this;
 		}

-		public function toDualQuaternion(n : Vector4,
-										 d : Vector4) : void
+        final public function toDualQuaternion(n : Vector4,
+                                               d : Vector4) : void
 		{
 			var m : Vector.<Number> = TMP_VECTOR;

@@ -748,14 +746,14 @@
 			d.set(dx, dy, dz, dw);
 		}

-		public function lock() : Matrix4x4
+        final public function lock() : Matrix4x4
 		{
 			_locked = true;

 			return this;
 		}

-		public function unlock() : Matrix4x4
+        final public function unlock() : Matrix4x4
 		{
 			_locked = false;
 			_changed.execute(this);
@@ -763,7 +761,7 @@
 			return this;
 		}

-		public function compareTo(matrix : Matrix4x4) : Boolean
+        final public function compareTo(matrix : Matrix4x4) : Boolean
 		{
 			_matrix.copyRawDataTo(TMP_VECTOR);
 			matrix._matrix.copyRawDataTo(TMP_VECTOR, 16);
@@ -775,9 +773,9 @@
 			return true;
 		}

-		public function orientTo(direction	: Vector4,
-								 position	: Vector4	= null,
-								 up			: Vector4   = null) : Matrix4x4
+        final public function orientTo(direction	: Vector4,
+                                       position	    : Vector4	= null,
+                                       up			: Vector4   = null) : Matrix4x4
 		{
 			position ||= getTranslation();

@@ -790,9 +788,9 @@
 			return invert();
 		}

-		public function lookAt(target	: Vector4,
-							   position	: Vector4	= null,
-							   up		: Vector4	= null) : Matrix4x4
+        final public function lookAt(target	    : Vector4,
+                                     position	: Vector4	= null,
+                                     up		    : Vector4	= null) : Matrix4x4
 		{
 			view(
 				position,
@@ -803,11 +801,15 @@
 			return invert();
 		}

-		public function world(translation	: Vector4,
-							  rotation		: Vector4,
-							  scale			: Vector4) : Matrix4x4
+        final public function world(translation : Vector4,
+                                    rotation	: Vector4,
+                                    scale		: Vector4) : Matrix4x4
 		{
 			_matrix.recompose(new <Vector3D>[translation._vector, rotation._vector, scale._vector]);
+            _translation.copyFrom(translation);
+            _rotation.copyFrom(rotation);
+            _scale.copyFrom(scale);
+            _invalidComponents = 0;

 			if (!_locked)
 				_changed.execute(this);
@@ -832,9 +834,9 @@
 		 * @return Returns a left-handed view Matrix3D to convert world coordinates into eye coordinates
 		 *
 		 */
-		public function view(eye	: Vector4,
-							 lookAt : Vector4,
-							 up		: Vector4	= null) : Matrix4x4
+		final public function view(eye	    : Vector4,
+                                   lookAt   : Vector4,
+                                   up		: Vector4	= null) : Matrix4x4
 		{
 			eye ||= getTranslation();

@@ -928,10 +930,10 @@
 			return this;
 		}

-		public function perspectiveFoV(fov		: Number,
-									   ratio	: Number,
-									   zNear	: Number,
-									   zFar 	: Number) : Matrix4x4
+		final public function perspectiveFoV(fov	: Number,
+                                             ratio	: Number,
+                                             zNear	: Number,
+                                             zFar 	: Number) : Matrix4x4
 		{
 			var fd : Number = 1. / Math.tan(fov * 0.5);

@@ -945,10 +947,10 @@
 			return this;
 		}

-		public function ortho(w 	: Number,
-							  h		: Number,
-							  zNear	: Number,
-							  zFar	: Number) : Matrix4x4
+		final public function ortho(w 	    : Number,
+                                    h		: Number,
+                                    zNear	: Number,
+                                    zFar	: Number) : Matrix4x4
 		{
 			initialize(
 				2. / w,	0.,		0.,						0.,
@@ -960,12 +962,12 @@
 			return this;
 		}

-		public function orthoOffCenter(l		: Number,
-									   r		: Number,
-									   b		: Number,
-									   t		: Number,
-									   zNear	: Number,
-									   zFar		: Number) : Matrix4x4
+		final public function orthoOffCenter(l		: Number,
+                                             r		: Number,
+                                             b		: Number,
+                                             t		: Number,
+                                             zNear	: Number,
+                                             zFar		: Number) : Matrix4x4
 		{
 			initialize(
 				2. / (r - l),		0.,					0.,						0.,
@@ -977,7 +979,7 @@
 			return this;
 		}

-		public function fromQuaternion(quaternion : Vector4) : Matrix4x4
+		final public function fromQuaternion(quaternion : Vector4) : Matrix4x4
 		{
 			var x : Number = quaternion.x;
 			var y : Number = quaternion.y;
@@ -1004,8 +1006,8 @@
 			return this;
 		}

-		public function fromDualQuaternion(dQn : Vector4,
-										   dQd : Vector4) : Matrix4x4
+		final public function fromDualQuaternion(dQn : Vector4,
+                                                 dQd : Vector4) : Matrix4x4
 		{
 			var len2Inv	: Number = 1 / (dQn.w * dQn.w + dQn.x * dQn.x + dQn.y * dQn.y + dQn.z * dQn.z);


added DebugUtils.replaceUnknownObjectsInState()

--- WeaveJS/src/weavejs/utils/DebugUtils.as
+++ WeaveJS/src/weavejs/utils/DebugUtils.as
@@ -17,8 +17,9 @@
 {
 	import weavejs.api.core.DynamicState;
 	import weavejs.api.core.ILinkableObject;
-	import weavejs.utils.JS;
-	import weavejs.utils.StandardLib;
+	import weavejs.core.LinkableHashMap;
+	import weavejs.core.LinkableString;
+	import weavejs.core.LinkableVariable;

 	/**
 	 * Tools for debugging.
@@ -259,5 +260,29 @@
 //			var table:TableTool = weave.root.requestObject(null, TableTool, false);
 //			data[0].forEach(n=>csv.putColumnInHashMap(n, table.columns));
 //		}
+
+		public static function replaceUnknownObjectsInState(stateToModify:Object, className:String = null):Object
+		{
+			if (DynamicState.isDynamicStateArray(stateToModify))
+			{
+				for each (var obj:Object in stateToModify)
+				{
+					if (DynamicState.isDynamicState(obj) && !Weave.getDefinition(obj[DynamicState.CLASS_NAME]))
+						obj[DynamicState.SESSION_STATE] = replaceUnknownObjectsInState(obj[DynamicState.SESSION_STATE], obj[DynamicState.CLASS_NAME]);
+				}
+			}
+			else if (!JS.isPrimitive(stateToModify))
+			{
+				var newState:Array = [DynamicState.create("class", Weave.className(LinkableString), className)];
+				for (var key:String in stateToModify)
+				{
+					var value:Object = stateToModify[key];
+					var type:String = Weave.className(JS.isPrimitive(value) ? LinkableVariable : LinkableHashMap);
+					newState.push(DynamicState.create(key, type, value));
+				}
+				stateToModify = newState;
+			}
+			return stateToModify;
+		}
 	}
 }


- fully closes stream to stop downloading when changing files

--- src/flash/htmlelements/VideoElement.as
+++ src/flash/htmlelements/VideoElement.as
@@ -204,21 +204,23 @@
 		}

 		public function load():void {
-			// as far as I know there is no way to start downloading a file without playing it (preload="auto" in HTML5)
-			// so this "load" just begins a Flash connection
+			// disconnect existing stream and connection
 			if (_isConnected && _stream) {
 				_stream.pause();
+				_stream.close();
+				_connection.close();
 			}
 			_isConnected = false;

+			// start new connection
 			if (_isRTMP) {
 				_connection.connect(_currentUrl.replace(/\/[^\/]+$/,"/"));
 			} else {
 				_connection.connect(null);
 			}
+
 			// in a few moments the "NetConnection.Connect.Success" event will fire
 			// and call createConnection which finishes the "load" sequence
-
 			sendEvent(HtmlMediaEvent.LOADSTART);
 		}

@@ -240,13 +242,14 @@

 			_video.attachNetStream(_stream);

-			// attempt to start downloading without playing
+			// start downloading without playing )based on preload and play() hasn't been called)
+			// I wish flash had a load() command to make this less awkward
 			if (_preload != "none" && !_playWhenConnected) {
 				_stream.play(_currentUrl, 0, 0);

 				_stream.pause();
 				_isPaused = true;
-				sendEvent(HtmlMediaEvent.PAUSE);
+				sendEvent(HtmlMediaEvent.PAUSE); // have to send this because the "playing" event gets sent via event handlers
 			}

 			_isConnected = true;


remove unused var

remove unused var

--- src/org/mangui/hls/stream/TagBuffer.as
+++ src/org/mangui/hls/stream/TagBuffer.as
@@ -37,8 +37,6 @@
         /** start position of first injected tag **/
         private var _first_start_position : Number;
         private var _seek_pos_reached : Boolean;
-        /** Current play position (relative position from beginning of sliding window) **/
-        private var _playback_current_position : Number;
         /** playlist sliding (non null for live playlist) **/
         private var _playlist_sliding_duration : Number;
         /** buffer PTS (indexed by continuity counter)  */


Unlink the heartbeat reference too, when we despawn a domain.

--- tamarin-central/thane/as3src/Thane.as
+++ tamarin-central/thane/as3src/Thane.as
@@ -28,6 +28,8 @@
 import flash.net.CachingHttpClient;
 import flash.utils.ByteArray;
 import flash.utils.Dictionary;
+
+import com.adobe.utils.ArrayUtil;

 import avmplus.Puddle;
 import avmplus.System;
@@ -83,6 +85,10 @@

     public static function unspawnPuddle (puddleId :String) :void
     {
+        var puddle :SpawnedPuddle = _spawnedPuddles[puddleId];
+        if (puddle != null) {
+            ArrayUtil.removeValueFromArray(_hearts, puddle.heartbeat);
+        }
         delete _spawnedPuddles[puddleId];
     }


added show caption to IAltText interface

--- WeaveJS/src/weavejs/api/ui/IAltText.as
+++ WeaveJS/src/weavejs/api/ui/IAltText.as
@@ -1,11 +1,13 @@
 package weavejs.api.ui
 {
-	import weavejs.core.LinkableString;
+import weavejs.core.LinkableBoolean;
+import weavejs.core.LinkableString;

 	public interface IAltText
 	{
 		function get altText():LinkableString;
 		function get altTextMode():LinkableString;
+		function get showCaption():LinkableBoolean;
 		function updateAltText():void;
 	}
 }


edited the addNewItem/Plaque/Character popup-menu for location;

--- editor/src/main/flex/org/arisgames/editor/view/GameEditorObjectPaletteView.as
+++ editor/src/main/flex/org/arisgames/editor/view/GameEditorObjectPaletteView.as
@@ -142,7 +142,7 @@
         pt.y = addObjectButton.y;
         pt = addObjectButton.localToGlobal(pt);

-        myMenu.show(pt.x + 30, pt.y - 50); // WB Magic number values here, play around with them as needed
+        myMenu.show(pt.x + 0, pt.y - 66); // WB Magic number values here, play around with them as needed
     }

     private function addFolderButtonOnClick(evt:MouseEvent):void
@@ -306,7 +306,7 @@
             trace("Dragged Object is a folder, so check to see if it's got any children before allowing deletion.")
             if (it.children.length > 0)
             {
-                trace("This folder has childre, so can't allow it to be deleted.");
+                trace("This folder has children, so can't allow it to be deleted.");
                 okDrop = false;
             }
         }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.validators
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 11682
Author:   chaase@adobe.com
Date:     2009-11-12T03:12:14.425227Z

Log Message:
-----------
Fixed issues with popups and effects. We were incorrectly grabbing the location of the popup before it was actually on the stage - AnimateTransform should not capture values of unparented objects (it should instead lazily grab location values from the object as the animation begins). Also, the alpha value of the popup was being clobbered by the value in the owning anchor. Finally, the auto-fading logic which temporarily adds in a disappearing object was not accounting for the popup parent of SystemManager.

QE notes:
Doc notes:
Bugs: sdk-23210, sdk-22827
Reviewer: Jason
Tests run: checkintests, Mustella spark/effects
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.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/effects/AnimateTransform.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
@@ -11,6 +11,7 @@

 package spark.effects.supportClasses
 {
+import flash.display.DisplayObject;
 import flash.events.TimerEvent;
 import flash.utils.Timer;

@@ -20,6 +21,7 @@
 import mx.core.mx_internal;
 import mx.effects.EffectInstance;
 import mx.events.EffectEvent;
+import mx.managers.SystemManager;
 import mx.resources.IResourceManager;
 import mx.resources.ResourceManager;
 import mx.styles.IStyleClient;
@@ -817,17 +819,28 @@
             {
                 var parentStart:* = propertyChanges.start["parent"];
                 var parentEnd:* = propertyChanges.end["parent"];
-                if (parentStart && !parentEnd && parentStart is IVisualElementContainer)
+                if (parentStart && !parentEnd &&
+                    (parentStart is IVisualElementContainer || parentStart is SystemManager))
                 {
-                    var startContainer:IVisualElementContainer =
-                        IVisualElementContainer(parentStart);
                     var startIndex:* = propertyChanges.start["index"];
-                    if (startIndex !== undefined && startIndex <= startContainer.numElements)
-                        startContainer.addElementAt(
-                            target as IVisualElement, int(startIndex));
+                    if (parentStart is IVisualElementContainer)
+                    {
+                        var startContainer:IVisualElementContainer =
+                            IVisualElementContainer(parentStart);
+                        if (startIndex !== undefined && startIndex <= startContainer.numElements)
+                            startContainer.addElementAt(
+                                target as IVisualElement, int(startIndex));
+                        else
+                            startContainer.addElement(target as IVisualElement);
+                    }
                     else
-                        startContainer.addElement(
-                            target as IVisualElement);
+                    {
+                        var startMgr:SystemManager = parentStart as SystemManager;
+                        if (startIndex !== undefined && startIndex <= startMgr.numChildren)
+                            startMgr.addChildAt(target as DisplayObject, int(startIndex));
+                        else
+                            startMgr.addChild(target as DisplayObject);
+                    }
                     // GraphicElements may delay parenting their underlying displayObject until
                     // a layout pass, so let's force it to make sure we're ready to go
                     // FIXME (chaase): this should probably happen as a part of applyStartValues()


Change current language to German

Change current language to German

--- Arguments/src/classes/Language.as
+++ Arguments/src/classes/Language.as
@@ -39,7 +39,7 @@
 		public static const GERMAN:String = "GER";
 		public static const ENGLISH:String = "EN-US";
 		public static const RUSSIAN:String = "RUS";
-		public static var language:String = "EN-US";
+		public static var language:String = GERMAN;

 		public static var xml:XML;
 		private static var ready:Boolean=false;


progress indicator now checks for Infinity progress values.

--- WeaveData/src/weave/services/ProgressIndicator.as
+++ WeaveData/src/weave/services/ProgressIndicator.as
@@ -63,6 +63,8 @@
 				_taskCount++;
 				_maxTaskCount++;
 			}
+			if (percent == Infinity)
+				percent = 0.5; // undetermined
 			_taskToProgressMap[taskToken] = percent;
 			triggerCallbacks();
 		}


Updated documentation. Fixed percentHeight and verticalAlignment bugs.

--- WeaveUI/src/weave/ui/CheckBoxWithNestedOptions.as
+++ WeaveUI/src/weave/ui/CheckBoxWithNestedOptions.as
@@ -21,6 +21,8 @@
 	import flash.display.DisplayObject;
 	import flash.events.Event;

+	import flashx.textLayout.formats.VerticalAlign;
+
 	import mx.binding.utils.BindingUtils;
 	import mx.containers.HBox;
 	import mx.containers.VBox;
@@ -34,8 +36,10 @@
 	[Event(name="change", type="flash.events.Event")]

 	/**
-	 * This class features a correctly behaving auto horizontal scroll policy.
-	 */
+	 * This will display a checkbox in addition to the children you add.
+	 * The children will be indented underneath the checkbox and show/hide depending on the state of the checkbox.
+	 * If you add a HelpComponent as a child, it will be displayed to the right of the checkbox.
+	 */
 	public class CheckBoxWithNestedOptions extends VBox
 	{
 		public function CheckBoxWithNestedOptions()
@@ -44,7 +48,9 @@
 			BindingUtils.bindProperty(this, 'selected', checkBox, 'selected');
 			BindingUtils.bindProperty(innerVBox, 'visible', checkBox, 'selected');
 			BindingUtils.bindProperty(innerVBox, 'includeInLayout', checkBox, 'selected');
-			checkBox.addEventListener(Event.CHANGE, function(event:Event):void { dispatchEvent(event); });
+			checkBox.addEventListener(Event.CHANGE, function(event:Event):void {
+				dispatchEvent(event);
+			});
 		}

 		public const indent:int = 20;
@@ -78,7 +84,9 @@
 			UIUtils.spark_addChildAt(topHBox, checkBox, 0);
 			UIUtils.spark_addChild(this, innerVBox);
 			this.percentWidth = 100;
+			topHBox.setStyle('verticalAlign', 'middle');
 			innerVBox.percentWidth = 100;
+			innerVBox.percentHeight = 100;
 			innerVBox.setStyle('paddingLeft', indent);
 		}


Fixed layer setter to avoid problems when changing Entity's layer immediately after adding it to a World.

--- net/flashpunk/Entity.as
+++ net/flashpunk/Entity.as
@@ -355,7 +355,7 @@
 		public function set layer(value:int):void
 		{
 			if (_layer == value) return;
-			if (!_world)
+			if (!_added)
 			{
 				_layer = value;
 				return;


Removed the last of the async metadata and some commented-out code in TestRunnerAsyncMethodTest.

--- as3/test/asunit4/runners/TestRunnerAsyncMethodTest.as
+++ as3/test/asunit4/runners/TestRunnerAsyncMethodTest.as
@@ -92,7 +92,7 @@

 class AsyncMethodSuccessTest {

-	[Test(async,timeout="100")]
+	[Test(timeout="100")]
 	public function operation_delayed_but_fast_enough_will_succeed():void {
 		var delegate:Function = asunit4.async.addAsync(onComplete);
 		setTimeout(delegate, 0);
@@ -105,7 +105,7 @@

 class AsyncMethodTooSlowTest {

-	[Test(async,timeout="0")]
+	[Test(timeout="0")]
 	public function operation_too_slow_will_fail():void {
 		var delegate:Function = asunit4.async.addAsync(onComplete);
 		setTimeout(delegate, 1);
@@ -120,7 +120,7 @@

 	private var handlerWasCalled:Boolean = false;

-	[Test(async,timeout="10")]
+	[Test(timeout="10")]
 	public function calling_delegate_synchronously_should_succeed():void {
 		var delegate:Function = asunit4.async.addAsync(onComplete);
 		delegate();
@@ -133,22 +133,3 @@

 }

-/*
-class DelegateListener implements IRunListener {
-	public var _onTestFailure:Function;
-	public var _onTestSuccess:Function;
-	public var _onRunCompleted:Function;
-
-	public function onTestFailure(failure:ITestFailure):void {
-		if (_onTestFailure != null) _onTestFailure(failure);
-	}
-
-	public function onTestSuccess(success:ITestSuccess):void {
-		if (_onTestSuccess != null) _onTestSuccess(success);
-	}
-
-	public function onRunCompleted(result:IResult):void {
-		if (_onRunCompleted != null) _onRunCompleted(result);
-	}
-}
-*/


fixing a little over zealous refactoring (by me)

--- frameworks/projects/framework/src/mx/effects/Tween.as
+++ frameworks/projects/framework/src/mx/effects/Tween.as
@@ -157,7 +157,8 @@
             return;

         activeTweens.splice(index, 1);
-
+
+		length--;
         for (var i:int = index; i < length; i++)
         {
             var curTween:Tween = Tween(activeTweens[i]);


Transferred from the Adobe Open Source Subversion Repository

Revision: 14963
Author:   jszeto@adobe.com
Date:     2010-03-23T21:34:04.235844Z

Log Message:
-----------
Merging revisions 14946 and 14947 from 4.x to trunk

Mirroring code hinting fixes

http://bugs.adobe.com/jira/browse/SDK-25565 - Components should define [Style] metadata for  layoutDirection and direction styles

There is both a style and property called layoutDirection in UIComponent. For UIComponent, both Hans and I agree that we should promote the use of the style. I added an exclude for the layoutDirection property in UIComponent. This allows code hinting for the layoutDirection style in the CSS style declaration. It also removes the layoutDirection property from the ASDoc. Code hinting still works for the layoutDirection attribute on a UIComponent subclass MXML tag. This attribute gets set to the property, not the style.

ProgressBar has both a direction property and style. However, in this situation, they control different behaviors. It is not possible to code hint for the direction style in the CSS style declaration without removing the direction property from ASDoc. We are just going to have to live with this limitation.

http://bugs.adobe.com/jira/browse/SDK-25823 - The layoutDirection style/property doesnt code hint static enums

Added Inspectable metadata to BitmapAsset, SpriteAsset, SpriteVisualElement and GraphicElement.

QE notes: test code hinting for layoutDirection
Doc notes: none
Bugs: SDK-25565, SDK-25823
Reviewer: Carol, Hans
Tests run: checkintests, Mirroring
Is noteworthy for integration: no

ColorPicker and PopUpButton mirroring bug fix

http://bugs.adobe.com/jira/browse/SDK-25916 - color/label field in swatch panel isn't updated when layoutDirection is
changed between rtl and ltr

Since the ColorPicker's SwatchPanel is parented by the SystemManager it wasn't inheriting the layoutDirection and it wasn't invalidating the layoutDirection. The fix is to pass the layoutDirection to the SwatchPanel and always call invalidateLayoutDirection in PopUpManager.addPopUp.

http://bugs.adobe.com/jira/browse/SDK-25828 - initial popup starts with wrong position, not aligned with PopupButton when there is padding set on container

The popup is not guaranteed to know its size until it has been added as a popup. Moved the position logic to after the popup has been added.

QE notes: test mirrored ColorPicker and PopUpButton
Doc notes: none
Bugs: SDK-25916
Reviewer: Carol
Tests run: checkintests, ColorPicker, PopUpButton
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/SpriteAsset.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/BitmapAsset.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/mx/src/mx/controls/PopUpButton.as
+++ frameworks/projects/mx/src/mx/controls/PopUpButton.as
@@ -22,9 +22,11 @@
 import flash.geom.Rectangle;
 import flash.ui.Keyboard;
 import flash.utils.getTimer;
+
 import mx.controls.listClasses.IListItemRenderer;
 import mx.core.EdgeMetrics;
 import mx.core.IFlexDisplayObject;
+import mx.core.ILayoutDirectionElement;
 import mx.core.IRectangularBorder;
 import mx.core.IUIComponent;
 import mx.core.UIComponent;
@@ -32,10 +34,10 @@
 import mx.core.mx_internal;
 import mx.effects.Tween;
 import mx.events.DropdownEvent;
+import mx.events.FlexMouseEvent;
 import mx.events.InterManagerRequest;
 import mx.events.ListEvent;
 import mx.events.MenuEvent;
-import mx.events.FlexMouseEvent;
 import mx.events.SandboxMouseEvent;
 import mx.managers.IFocusManagerComponent;
 import mx.managers.ISystemManager;
@@ -865,9 +867,10 @@
         if (getPopUp() == null)
             return;

-        var popUpGap:Number = getStyle("popUpGap");
-        var point:Point = new Point(layoutDirection == "rtl" ? _popUp.width : 0, unscaledHeight + popUpGap);
-        point = localToGlobal(point);
+        if (_popUp is ILayoutDirectionElement)
+        {
+            ILayoutDirectionElement(_popUp).layoutDirection = layoutDirection;
+        }

         //Show or hide the popup
         var initY:Number;
@@ -878,7 +881,7 @@
         var screen:Rectangle = sm.getVisibleApplicationRect();

         if (show)
-        {
+        {
             if (_popUp.parent == null)
             {
                 PopUpManager.addPopUp(_popUp, this, false);
@@ -886,8 +889,15 @@
             }
             else
                 PopUpManager.bringToFront(_popUp);
-
-            if (point.y + _popUp.height > screen.bottom &&
+        }
+
+        var popUpGap:Number = getStyle("popUpGap");
+        var point:Point = new Point(layoutDirection == "rtl" ? _popUp.getExplicitOrMeasuredWidth() : 0, unscaledHeight + popUpGap);
+        point = localToGlobal(point);
+
+        if (show)
+        {
+           if (point.y + _popUp.height > screen.bottom &&
                 point.y > (screen.top + height + _popUp.height))
             {
                 // PopUp will go below the bottom of the stage


Transferred from the Adobe Open Source Subversion Repository

Revision: 4271
Author:   anshulg@adobe.com
Date:     2008-12-10T05:42:29.977738Z

Log Message:
-----------
Checking in for netmon support for mx:DataService and mx:MessageService (for FB). We tested these changes with check in tests for network monitor. This has been reviewed by Seth Hodgson. No bugs were fixed with this change. No change in documentation in SDK. This needs to be backported to SDK3 (for support for SDK3 as well). This backporting would be done later.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.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/messaging/MessageAgent.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as
+++ frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as
@@ -216,8 +216,7 @@
         event.callTokenResponders();
         if (!event.isDefaultPrevented())
         {
-            dispatchEvent(event);
-		monitorRpcEvent(event);
+            dispatchEvent(event);
         }
     }

@@ -339,16 +338,7 @@
             fault = new Fault("InvokeFailed", e2.message);
             new AsyncDispatcher(dispatchRpcEvent, [FaultEvent.createEvent(fault, token, message)], 10);
         }
-        finally
-        {
-            if (NetworkMonitor.isMonitoring())
-            {
-            	//trace(" AbstractInvoker: monitorInvoke: message ",message.toString());
-                NetworkMonitor.monitorInvocation(getNetmonId(), message);
-            }
-        }
-
-
+
         return token;
     }


Make includeTransients logic clear and default to false.

--- frameworks/projects/rpc/src/mx/utils/RPCObjectUtil.as
+++ frameworks/projects/rpc/src/mx/utils/RPCObjectUtil.as
@@ -273,7 +273,7 @@
                 else
                 {
                     var classInfo:Object = getClassInfo(value, exclude,
-                        { includeReadOnly: true, uris: namespaceURIs });
+                        { includeReadOnly: true, uris: namespaceURIs, includeTransient: false });

                     var properties:Array = classInfo.properties;

@@ -372,9 +372,7 @@
      */
     private static function newline(str:String, length:int = 0):String
     {
-        var result:String = str;
-        result += "\n";
-
+        var result:String = str + "\n";
         for (var i:int = 0; i < length; i++)
         {
             result += " ";
@@ -540,6 +538,10 @@
             var uris:Array = options.uris;
             var uri:String;
             var qName:QName;
+			var includeTransients:Boolean;
+
+			includeTransients = options.hasOwnProperty(includeTransient) && options.includeTransient;
+
             for (i = 0; i < length; i++)
             {
                 prop = properties[i];
@@ -549,7 +551,7 @@
                 if (excludeObject[p] == 1)
                     continue;

-                if (!options.includeTransient && internalHasMetadata(metadataInfo, p, "Transient"))
+                if (!includeTransients && internalHasMetadata(metadataInfo, p, "Transient"))
                     continue;

                 if (uris != null)


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

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