Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridRendererProvider.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridRendererProvider.as
@@ -0,0 +1,287 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+
+import mx.core.IFactory;
+import mx.core.mx_internal;
+
+use namespace mx_internal;
+
+/**
+ *  An AdvancedDataGridRendererProvider instance defines the characteristics for
+ *  a single item renderer used by the AdvancedDataGrid control.
+ *  Use properties of the AdvancedDataGridRendererProvider class to
+ *  configure where an item renderer is used in an AdvancedDataGrid control.
+ *
+ *
The following example uses the AdvancedDataGridRendererProvider class to
+ *  configure a custom item renderer named EstimateRenderer.mxml in the
+ *  myComponents subdirectory.

+ *
+ *

+ *  <mx:AdvancedDataGrid>
+ *      <mx:columns>
+ *          <mx:AdvancedDataGridColumn dataField="Region"/>
+ *          <mx:AdvancedDataGridColumn dataField="Territory_Rep"
+ *              headerText="Territory Rep"/>
+ *          <mx:AdvancedDataGridColumn dataField="Actual"/>
+ *          <mx:AdvancedDataGridColumn dataField="Estimate"/>
+ *      </mx:columns>
+ *
+ *      <mx:rendererProviders>
+ *          <mx:AdvancedDataGridRendererProvider
+ *              columnIndex="3"
+ *              columnSpan="1"
+ *              renderer="myComponents.EstimateRenderer"/>
+ *      </mx:rendererProviders>
+ *  </mx:AdvancedDataGrid>
+ *

+ *
+ *  @mxml
+ *
The <mx:AdvancedDataGridRendererProvider> tag
+ *  defines the following tag attributes:

+ *

+ *  <mx:AdvancedDataGridRendererProvider
+ *    Properties
+ *    column="Not defined"
+ *    columnIndex="-1"
+ *    columnSpan="1"
+ *    dataField="No default"
+ *    depth="All depths of the tree"
+ *    renderer="null"
+ *    rowSpan="1"
+ *  />
+ *
+ *  @see mx.controls.AdvancedDataGrid
+ *
+ *  @includeExample examples/AdvancedDataGridChartRendererExample.mxml
+ *  @includeExample examples/ChartRenderer.mxml -noswf
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class AdvancedDataGridRendererProvider implements IAdvancedDataGridRendererProvider
+{
+    include "../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+    *  Constructor.
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 9
+    *  @playerversion AIR 1.1
+    *  @productversion Flex 3
+    */
+    public function AdvancedDataGridRendererProvider()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    // column
+    //----------------------------------
+
+    /**
+     *  The id of the column for which the renderer is used.
+     *  If you omit this property,
+     *  you can use the columnIndex property to specify the column.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var column:AdvancedDataGridColumn;
+
+    //----------------------------------
+    // columnIndex
+    //----------------------------------
+
+    /**
+     *  The column index for which the renderer is used,
+     *  where the first column is at an index of 0.
+     *
+     *  @default -1
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var columnIndex:int = -1;
+
+    //----------------------------------
+    // columnSpan
+    //----------------------------------
+
+    /**
+     *  Specifies how many columns the renderer should span.
+     *  Set this property to 0 to span all columns.
+     *  The AdvancedDataGrid control uses this information to set the width
+     *  of the item renderer.
+     *
+     *  @default 1
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var columnSpan:int = 1;
+
+    //----------------------------------
+    // dataField
+    //----------------------------------
+
+    /**
+     *  The data field in the data provider for the renderer.
+     *  This property is optional.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var dataField:String;
+
+    //----------------------------------
+    // depth
+    //----------------------------------
+
+    /**
+     *  Depth in the tree at which the renderer is used,
+     *  where the top-most node of the tree is at a depth of 1.
+     *  Use this property if the renderer should only be used when the tree
+     *  is expanded to a certain depth, but not for all nodes in the tree.
+     *  By default, the control uses the renderer for all levels of the tree.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var depth:int = -1;
+
+    //----------------------------------
+    // renderer
+    //----------------------------------
+
+    /**
+     * The ItemRenderer IFactory used to create an instance of the item renderer.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var renderer:IFactory;
+
+    //----------------------------------
+    // rowSpan
+    //----------------------------------
+
+    /**
+     *  Specifies how many rows the renderer should span.
+     *  The AdvancedDataGrid control uses this information to set the height of the renderer.
+     *
+     *
Currently, this property is not implemented in the AdvancedDataGrid control.

+     *
+     *  @default 1
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var rowSpan:int = 1;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Method which compares property values to given values to determine whether the
+     *  renderer should be used for the given data, depth and column.
+     */
+    protected function checkMatch(data:Object, dataDepth:int, column:AdvancedDataGridColumn):Boolean
+    {
+        var matching:Boolean = true;
+
+        // check if the data object has the specified dataField
+        if(dataField && (!data || !data.hasOwnProperty(dataField)))
+            matching = false;
+
+        // check if the column has the same columnIndex as specified in the rendererProvider
+        if(columnIndex != -1 && columnIndex != column.colNum)
+            matching = false;
+
+        // check if the data has the same depth as specified in the rendererProvider
+        if(depth != -1 && dataDepth != depth)
+            matching = false;
+
+        // check if this is the same column as specified in the rendererProvider
+        if(this.column && this.column != column)
+            matching = false;
+
+        return matching;
+    }
+
+    /**
+     *  Updates the AdvancedDataGridRendererDescription instance with information about
+     *  this AdvancedDataGridRendererProvider instance.
+     *
+     *  @param data The data item to display.
+     *
+     *  @param dataDepth The depth of the data item in the AdvancedDataGrid control.
+     *
+     *  @param column The column associated with the item.
+     *
+     *  @param description The AdvancedDataGridRendererDescription object populated
+     *  with the renderer and column span information.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function describeRendererForItem(data:Object,
+                                   dataDepth:int,
+                                   column:AdvancedDataGridColumn,
+                                   description:AdvancedDataGridRendererDescription):void
+    {
+        // check for matching properties
+        if(checkMatch(data,dataDepth,column))
+        {
+            description.columnSpan = this.columnSpan;
+            description.renderer = this.renderer;
+        }
+    }
+}
+
+}


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

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


getLabelText function changed in getter

getLabelText function changed in getter

--- collect-flex/collect-flex-client/src/generated/flex/org/openforis/collect/metamodel/proxy/EntityDefinitionProxy.as
+++ collect-flex/collect-flex-client/src/generated/flex/org/openforis/collect/metamodel/proxy/EntityDefinitionProxy.as
@@ -13,7 +13,7 @@
     [RemoteClass(alias="org.openforis.collect.metamodel.proxy.EntityDefinitionProxy")]
     public class EntityDefinitionProxy extends EntityDefinitionProxyBase {

-		public function keyAttributeDefinitions():IList {
+		public function get keyAttributeDefinitions():IList {
 			var list:ArrayCollection = new ArrayCollection();
 			for each(var nodeDef:NodeDefinitionProxy in childDefinitions) {
 				if(nodeDef is AttributeDefinitionProxy && (nodeDef as AttributeDefinitionProxy).key) {


M Refactor BlendingShaderPart

M Refactor BlendingShaderPart

--- src/aerys/minko/render/shader/part/BlendingShaderPart.as
+++ src/aerys/minko/render/shader/part/BlendingShaderPart.as
@@ -1,7 +1,7 @@
 package aerys.minko.render.shader.part
 {
+	import aerys.minko.render.shader.SFloat;
 	import aerys.minko.render.shader.Shader;
-	import aerys.minko.render.shader.SFloat;
 	import aerys.minko.type.enum.BlendingSource;

 	/**
@@ -18,28 +18,39 @@

 		public function blend(sourceColor : SFloat, destColor : SFloat, blendingMode : uint) : SFloat
 		{
+			var sourceBlendingMode	: uint		= blendingMode & 0x0000FFFF;
+			var destBlendingMode	: uint		= (blendingMode & 0xFFFF0000) >>> 16;
+			var source				: SFloat	= computeNode(sourceBlendingMode, sourceColor, sourceColor, destColor);
+			var dest				: SFloat	= computeNode(destBlendingMode, destColor, sourceColor, destColor);
+			var result				: SFloat;

-			var sourceBlendingMode	: uint		= blendingMode & 0x0000FFFF;
-			var source				: SFloat;
-
-			if (sourceBlendingMode == BlendingSource.ONE)		source = sourceColor;
-			else if (sourceBlendingMode == BlendingSource.ZERO)	source = null;
-			else source = multiply(sourceColor, blendFactor(sourceColor, destColor, sourceBlendingMode));
-
-			var destBlendingMode	: uint		= (blendingMode & 0xFFFF0000) >>> 16;
-			var dest				: SFloat;
-
-			if (destBlendingMode == BlendingSource.ONE)			dest = destColor;
-			else if (destBlendingMode == BlendingSource.ZERO)	dest = null;
-			else dest = multiply(destColor, blendFactor(sourceColor, destColor, destBlendingMode));
-
-			var result	: SFloat;
-			if (dest == null && source == null)	return float4(0, 0, 0, 0);
-			else if (dest == null)				return source;
-			else if (source == null)			return dest;
-			else								return add(source, dest);
+			if (dest == null && source == null)
+				return float4(0, 0, 0, 0);
+			else if (dest == null)
+				return source;
+			else if (source == null)
+				return dest;
+			else
+				return add(source, dest);

 			return float4(result.xyz, destColor.w);
+		}
+
+		private function computeNode(blendingMode	: uint,
+									 colorNode		: SFloat,
+									 sourceColor	: SFloat,
+									 destColor		: SFloat) : SFloat
+		{
+			var result : SFloat;
+
+			if (blendingMode == BlendingSource.ONE)
+				result = colorNode;
+			else if (blendingMode == BlendingSource.ZERO)
+				result = null;
+			else
+				result = multiply(colorNode, blendFactor(sourceColor, destColor, blendingMode));
+
+			return result;
 		}

 		private function blendFactor(sourceColor	: SFloat,


This is now defined in our superclass.

This is now defined in our superclass.

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

--- src/as/com/threerings/whirled/data/DefaultSceneConfig.as
+++ src/as/com/threerings/whirled/data/DefaultSceneConfig.as
@@ -37,7 +37,7 @@
 public class DefaultSceneConfig extends PlaceConfig
 {
     // documentation inherited
-    public function getManagerClassName () :String
+    override public function getManagerClassName () :String
     {
         return "com.threerings.whirled.server.SceneManager";
     }


tolerate exceptions

tolerate exceptions

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/binding/GenericBinding.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/binding/GenericBinding.as
@@ -120,8 +120,14 @@
 		public function set strand(value:IStrand):void
 		{
 			destination = value;
-            var val:Object = getValueFromSource();
-            applyValue(val);
+            try
+            {
+                var val:Object = getValueFromSource();
+                applyValue(val);
+            }
+            catch (e:Error)
+            {
+            }
         }

         private function getValueFromSource():Object
@@ -204,8 +210,14 @@
          */
 		public function valueChanged(value:Object):void
 		{
-            var val:Object = getValueFromSource();
-            applyValue(val);
+            try
+            {
+                var val:Object = getValueFromSource();
+                applyValue(val);
+            }
+            catch (e:Error)
+            {
+            }
 		}
 	}
 }


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

--- frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as
+++ frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2006-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: 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@1265328 13f79535-47bb-0310-9956-ffa450edef68

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

 package spark.skins.mobile
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18286
Author:   dloverin@adobe.com
Date:     2010-10-22T14:19:42.189298Z

Log Message:
-----------
Final DataGrid editor PARB changes plus bug fixes.

Removed cancel() from GridItemEditor.
ComboBoxGridItemEditor's width is now sized to fit in the cell.

QE notes: None.
Doc notes: None.
Bugs: SDK-28260, SDK-28291, SDK-28258
Reviewer: Hans
Tests run: cyclone
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/IGridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/ComboBoxGridItemEditor.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/IGridItemEditor.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/IGridItemEditor.as
@@ -22,8 +22,7 @@
  *  When the editor is closing the discard() method is called.

  *
  *
When the editor is closed the input value can be saved or cancelled. If saving,
- * the save() function is called by the editor. If canceling the
- * cancel() function is called.
+ * the save() function is called by the editor.
  *

  */
 public interface IGridItemEditor extends IDataRenderer, IVisualElement,


#FEC-264 #comment unescape adTagUrl

#FEC-264 #comment unescape adTagUrl

--- plugins/doubleclickPlugin/src/doubleclickPluginCode.as
+++ plugins/doubleclickPlugin/src/doubleclickPluginCode.as
@@ -65,7 +65,7 @@
 		public var cpAdTagUrl:String;

 		//adTagURL from config, overrides cuepoint ad tags.
-		public var adTagUrl:String;
+		private var _adTagUrl:String;

 		//do we care about cuepoints?
 		public var trackCuePoints:Boolean		= true;
@@ -143,6 +143,16 @@
 			Security.allowDomain("*");
 		}

+		public function get adTagUrl():String
+		{
+			return _adTagUrl;
+		}
+
+		public function set adTagUrl(value:String):void
+		{
+			_adTagUrl = unescape(value);
+		}
+
 		public function initializePlugin(facade:IFacade):void
 		{


Minus enraged debug messages.

Minus enraged debug messages.

--- tamarin-central/thane/AMF3Encoder.as
+++ tamarin-central/thane/AMF3Encoder.as
@@ -32,20 +32,15 @@

         } else if (value is Number) {
             var className =  Domain.currentDomain.getClassName(value);
-            trace("test: " + className);
-
             var doublify :Boolean = false;

             if (className == "Number") {
-                trace("NUMBER: " + value);
                 doublify = true;

             } else if ((value < -(1 << 28)) || (value >= (1 << 28))) {
-                trace("Out of range: " + value);
                 doublify = true;

             } else if (value < 0) {
-                trace("Negative: " + value);
                 value = (1 << 29) + value;

             }


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

--- frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as
@@ -0,0 +1,431 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.effects.effectClasses
+{
+
+import flash.events.TimerEvent;
+import flash.utils.Timer;
+import mx.core.UIComponent;
+import mx.core.mx_internal;
+import mx.effects.IEffectInstance;
+import mx.effects.EffectInstance;
+
+use namespace mx_internal;
+
+/**
+ *  The ParallelInstance class implements the instance class
+ *  for the Parallel effect.
+ *  Flex creates an instance of this class when it plays a Parallel effect;
+ *  you do not create one yourself.
+ *
+ *  @see mx.effects.Parallel
+ */
+public class ParallelInstance extends CompositeEffectInstance
+{
+    include "../../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param target This argument is ignored for Parallel effects.
+	 *  It is included only for consistency with other types of effects.
+	 */
+	public function ParallelInstance(target:Object)
+	{
+		super(target);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Holds the child effect instances that have already completed.
+	 */
+	private var doneEffectQueue:Array /* of EffectInstance */;
+
+	/**
+	 *  @private
+	 *  Holds the child effect instances that are waiting to be replayed.
+	 */
+	private var replayEffectQueue:Array /* of EffectInstance */;
+
+	/**
+	 *  @private
+	 */
+	private var isReversed:Boolean = false;
+
+	/**
+	 *  @private
+	 */
+	private var timer:Timer;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  durationWithoutRepeat
+	//----------------------------------
+
+	/**
+	 *  @private
+	 */
+	override mx_internal function get durationWithoutRepeat():Number
+	{
+		var _duration:Number = 0;
+
+		// Get the largest actualDuration of all of our children
+		var n:int = childSets.length;
+		for (var i:int = 0; i < n; i++)
+		{
+			var instances:Array = childSets[i];
+			_duration = Math.max(instances[0].actualDuration, _duration);
+		}
+
+		return _duration;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function addChildSet(childSet:Array):void
+	{
+		super.addChildSet(childSet);
+
+		// Make sure that the Rotate is in the beginning of the array because it needs to be
+		// before any Move effects
+		if (childSet.length > 0)
+		{
+			var compChild:CompositeEffectInstance = childSet[0] as CompositeEffectInstance;
+
+			// Check if the child is a Rotate and also check if it is a composite effect that has a Rotate
+			if (childSet[0] is RotateInstance || (compChild != null && compChild.hasRotateInstance()))
+			{
+				childSets.pop();
+				childSets.unshift(childSet);
+			}
+		}
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function play():void
+	{
+		doneEffectQueue = [];
+		activeEffectQueue = [];
+		replayEffectQueue = [];
+
+		// Create a timer tween used to keep track of the playheadTime
+
+		var checkQueueLength:Boolean = false;
+
+		// Dispatch an effectStart event from the target.
+		super.play();
+
+		var n:int;
+		var i:int;
+
+		n = childSets.length;
+		for (i = 0; i < n; i++)
+		{
+			var instances:Array = childSets[i];
+
+			var m:int = instances.length;
+			for (var j:int = 0; j < m && activeEffectQueue != null; j++)
+			{
+				var childEffect:EffectInstance = instances[j];
+
+				// Check if the effect should play right away
+				// or should be put in the replay queue.
+				if (playReversed &&
+					childEffect.actualDuration < durationWithoutRepeat)
+				{
+					replayEffectQueue.push(childEffect);
+					startTimer();
+				}
+				else
+				{
+					childEffect.playReversed = playReversed;
+					activeEffectQueue.push(childEffect);
+				}
+
+				// Block all layout, responses from web services,
+				// and other background processing until the effect
+				// finishes executing.
+				if (childEffect.suspendBackgroundProcessing)
+					UIComponent.suspendBackgroundProcessing();
+
+			}
+		}
+
+		if (activeEffectQueue.length > 0)
+		{
+			// Start all of the effects in the active queue.
+			// Need to make a copy of the queue first since some effects
+			// (like Action effects) are immediate and will be removed
+			// from the activeEffectQueue before returning from startEffect().
+			var queueCopy:Array = activeEffectQueue.slice(0);
+
+			for (i = 0; i < queueCopy.length; i++)
+			{
+				queueCopy[i].startEffect();
+			}
+		}
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function pause():void
+	{
+		super.pause();
+
+		// Pause every currently playing effect instance.
+		var n:int = activeEffectQueue.length;
+		for (var i:int = 0; i < n; i++)
+		{
+			activeEffectQueue[i].pause();
+		}
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function stop():void
+	{
+		stopTimer();
+
+		if (activeEffectQueue)
+		{
+			var queueCopy:Array = activeEffectQueue.concat();
+			activeEffectQueue = null;
+			var n:int = queueCopy.length;
+			for (var i:int = 0; i < n; i++)
+			{
+				if (queueCopy[i])
+					queueCopy[i].stop();
+			}
+		}
+
+		super.stop();
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function resume():void
+	{
+		super.resume();
+
+		// Resume every currently playing effect instance.
+		var n:int = activeEffectQueue.length;
+		for (var i:int = 0; i < n; i++)
+		{
+			activeEffectQueue[i].resume();
+		}
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function reverse():void
+	{
+		super.reverse();
+
+		var n:int;
+		var i:int;
+
+		if (isReversed)
+		{
+			// We don't care about anything in the done queue.
+			// Just reverse all the active ones.
+
+			n = activeEffectQueue.length;
+			for (i = 0; i < n; i++)
+			{
+				activeEffectQueue[i].reverse();
+			}
+
+			stopTimer();
+		}
+		else
+		{
+			replayEffectQueue = doneEffectQueue.splice(0);
+
+			// Reverse all of the active ones.
+			// Plus, setup a timer to check if we reach any done ones.
+			n = activeEffectQueue.length;
+			for (i = 0; i < n; i++)
+			{
+				activeEffectQueue[i].reverse();
+			}
+
+			startTimer();
+		}
+
+		isReversed = !isReversed;
+	}
+
+	/**
+	 *  Interrupts any effects that are currently playing, skips over
+	 *  any effects that haven't started playing, and jumps immediately
+	 *  to the end of the composite effect.
+	 */
+	override public function end():void
+	{
+		endEffectCalled = true;
+		stopTimer();
+
+		if (activeEffectQueue)
+		{
+			var queueCopy:Array = activeEffectQueue.concat();
+			activeEffectQueue = null;
+			var n:int = queueCopy.length;
+			for (var i:int = 0; i < n; i++)
+			{
+				if (queueCopy[i])
+					queueCopy[i].end();
+			}
+		}
+
+		super.end();
+	}
+
+	/**
+	 *  Each time a child effect of SequenceInstance or ParallelInstance
+	 *  finishes, Flex calls the onEffectEnd() method.
+	 *  For SequenceInstance, it plays the next effect.
+	 *  In ParallelInstance, it keeps track of all the
+	 *  effects until all of them have finished playing.
+	 *  If you create a subclass of CompositeEffect, you must implement this method.
+	 */
+	override protected function onEffectEnd(childEffect:IEffectInstance):void
+	{
+		// Each child effect notifies us when it is finished.  Remove
+		// the notifying child from childSets, so that the end()
+		// method doesn't call it.  When the last child notifies
+		// us that it's finished, notify our listener that we're finished.
+
+		// Resume the background processing that was suspended earlier
+		if (Object(childEffect).suspendBackgroundProcessing)
+			UIComponent.resumeBackgroundProcessing();
+
+		// See endEffect, above.
+
+		if (endEffectCalled || activeEffectQueue == null)
+			return;
+
+		var n:int = activeEffectQueue.length;
+		for (var i:int = 0; i < n; i++)
+		{
+			if (childEffect == activeEffectQueue[i])
+			{
+				doneEffectQueue.push(childEffect);
+				activeEffectQueue.splice(i, 1);
+				break;
+			}
+		}
+
+		if (n == 1)
+		{
+			// Note: This event must be dispatched *before* checking for
+			// actualCachePolicy below so that the listener has a chance to set
+			// it to "on".
+			finishRepeat();
+		}
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private function startTimer():void
+	{
+		if (!timer)
+		{
+			timer = new Timer(10);
+			timer.addEventListener(TimerEvent.TIMER, timerHandler);
+		}
+		timer.start();
+	}
+
+	/**
+	 *  @private
+	 */
+	private function stopTimer():void
+	{
+		if (timer)
+			timer.reset();
+	}
+
+	/**
+	 *  @private
+	 *  Used internally to figure out if we should be playing an effect
+	 *  from the replay queue.
+	 */
+	private function timerHandler(event:TimerEvent):void
+	{
+		// Assume we are playing in reverse
+		// invert the playheadTime
+		var position:Number = durationWithoutRepeat - playheadTime;
+		var numDone:int = replayEffectQueue.length;
+
+		if (numDone == 0)
+		{
+			stopTimer();
+			return;
+		}
+
+		for (var i:int = numDone - 1; i >= 0; i--)
+		{
+			var childEffect:EffectInstance = replayEffectQueue[i];
+
+			if (position <= childEffect.actualDuration)
+			{
+				// Move the effect from the done queue back onto the active one
+				activeEffectQueue.push(childEffect);
+				replayEffectQueue.splice(i,1);
+
+				childEffect.playReversed =playReversed;
+				childEffect.startEffect();
+
+			}
+		}
+
+	}
+}
+
+}


fix missing import

fix missing import

--- frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
@@ -27,6 +27,7 @@
     import mx.core.IToolTip;
     import mx.core.IUIComponent;
     import mx.core.LayoutDirection;
+    import mx.core.mx_internal;
     import mx.events.FlexEvent;
     import mx.events.ToolTipEvent;
     import mx.managers.IToolTipManagerClient;


Transferred from the Adobe Open Source Subversion Repository

Revision: 18714
Author:   smgilson@adobe.com
Date:     2010-11-18T20:19:29.573629Z

Log Message:
-----------
Remove "zero-based" extra comments from ASDoc

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

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
@@ -188,9 +188,7 @@
     //----------------------------------

     /**
-     *  Returns the zero-based index of the column being rendered.
-     *  That means that values are 0, 1, 2, ... , n - 1,
-     *  where n is the total number of columns.
+     *  @inheritDoc
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 13168
Author:   gosmith@adobe.com
Date:     2009-12-22T22:31:13.970084Z

Log Message:
-----------
Changed how accessibility works in the Spark Panel and TitleWindow.

Previously, we were attaching the PanelAccImpl or TitleWindowAccImpl to the titleDisplay, which complicated things. The first complication was that the titleDisplay is a skin part that might not be there when initializeAccessibility() is called. The second complication was in trying to get the MSAA Location to be the size of the Panel or TitleWindow, not the size of the titleDisplay; this wasn't working properly due to timing issues, since the titleDisplay redraws after the Panel/TitleWindow.

Now, we attach the acc impl to a special first child Sprite which stays behind all the content. The accessibility code in Panel and TitleWindow goes back to being completely standard; the creation and drawing of this Sprite (to get the MSAA Location correct) is handled in PanelAccImpl and inherited by TitleWindowAccImpl.

To prevent the title from being spoken twice, I null out the titleDisplay's own accessibilityImplementation at initialization or when the titelDisplay is added as a skin part. But I keep a reference to it in the component's acc impl so that I can restore it when the titleDisplay is removed as a skin part. For some reason, simply setting accessibilityEnabled to false didn't seem to work.

I also changed the logic in TitleWindowAccImpl for dispatching the MSAA events EVENT_OBJECT_LOCATIONCHANGE and EVENT_OBJECT_DESTROY. Previously, EVENT_OBJECT_LOCATIONCHANGE was being sent in response to a MOUSE_UP from the titleDisplay (after a drag); now it is sent in response to a WINDOW_MOVE_END from the TitleWindow (after a drag). And, previously, EVENT_OBJECT_DESTROY was sent in response to a MOUSE_UP from the closeButton (after a click); now it is sent in response to a CLOSE from the TitleWindow.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TitleWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.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/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TitleWindowAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
@@ -619,7 +619,9 @@

             // the skin's styles should be the same as the components
             skin.styleName = this;
-
+
+			// Note: The Spark PanelAccImpl adds a child Sprite at index 0.
+			// The skin should be in front of that.
             super.addChild(skin);

             skin.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, skin_propertyChangeHandler);


Default value for lightBleedingBias

Default value for lightBleedingBias

--- src/aerys/minko/scene/node/light/AbstractLight.as
+++ src/aerys/minko/scene/node/light/AbstractLight.as
@@ -88,8 +88,9 @@

 			addController(controller);

-			this.color			= color;
-			this.emissionMask	= emissionMask;
+			this.color				= color;
+			this.emissionMask		= emissionMask;
+			this.lightBleedingBias 	= 0;
 		}
 	}
 }


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

--- frameworks/projects/framework/src/mx/containers/utilityClasses/FlexChildInfo.as
+++ frameworks/projects/framework/src/mx/containers/utilityClasses/FlexChildInfo.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.containers.utilityClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8495
Author:   hmuller@adobe.com
Date:     2009-07-09T22:12:27.468962Z

Log Message:
-----------
Hide scrollbars in ScrollerLayout by (also) setting their scaleX,Y to 0.  This produces more intuitive results when getBounds() and getRect() are applied to to a component that includes a Scroller with scrollbars that aren't visible.  More info: http://bugs.adobe.com/jira/browse/SDK-21540.

QE Notes:
Doc Notes:
Bugs:  sdk-20585, sdk-20540
Reviewer: Glenn

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as
@@ -174,6 +174,12 @@
         g.measuredMinHeight = Math.ceil(minH);
     }

+    // Used by updateDisplayList() to record the scale of hidden scrollbars
+    private var hsbScaleX:Number = 1;
+    private var hsbScaleY:Number = 1;
+    private var vsbScaleX:Number = 1;
+    private var vsbScaleY:Number = 1;
+
     // Used by updateDisplayList() to prevent looping, see below.
     private var invalidationCount:int = 0;

@@ -288,30 +294,49 @@
         if (!isNaN(explicitViewportW)) viewportW = explicitViewportW;
         if (!isNaN(explicitViewportH)) viewportH = explicitViewportH;

-        // layout the viewport
+        // Layout the viewport.
         if (viewport)
         {
             viewport.setLayoutBoundsSize(viewportW, viewportH);
             viewport.setLayoutBoundsPosition(minViewportInset, minViewportInset);
         }

-        // layout the scrollbars
+        // Layout the scrollbars.  To make the scrollbars invisible to methods
+        // like getRect() and getBounds() as well as to methods based on them
+        // like hitTestPoint(), we set their scale to 0.  More info about this
+        // here: http://bugs.adobe.com/jira/browse/SDK-21540

         if (hsb) hsb.includeInLayout = hsb.visible = showHSB;
         if (showHSB)
         {
+            if (hsb.scaleX == 0) hsb.scaleX = hsbScaleX;
+            if (hsb.scaleY == 0) hsb.scaleY = hsbScaleY;
             var hsbW:Number = (showVSB) ? w - vsbW : w;
             hsb.setLayoutBoundsSize(Math.max(hsb.getMinBoundsWidth(), hsbW), hsbH);
             hsb.setLayoutBoundsPosition(0, h - hsbH);
         }
-
+        else
+        {
+            if (hsb.scaleX != 0) hsbScaleX = hsb.scaleX;
+            if (hsb.scaleY != 0) hsbScaleY = hsb.scaleY;
+            hsb.scaleX = hsb.scaleY = 0;
+        }
+
         if (vsb) vsb.includeInLayout = vsb.visible = showVSB;
         if (showVSB)
         {
+            if (vsb.scaleX == 0) vsb.scaleX = vsbScaleX;
+            if (vsb.scaleY == 0) vsb.scaleY = vsbScaleY;
             var vsbH:Number = (showHSB) ? h - hsbH : h;
             vsb.setLayoutBoundsSize(vsbW, Math.max(vsb.getMinBoundsHeight(), vsbH));
             vsb.setLayoutBoundsPosition(w - vsbW, 0);
         }
+        else
+        {
+            if (vsb.scaleX != 0) vsbScaleX = vsb.scaleX;
+            if (vsb.scaleY != 0) vsbScaleY = vsb.scaleY;
+            vsb.scaleX = vsb.scaleY = 0;
+        }

         // If we've added an auto scrollbar, then the measured size is likely to have been wrong.
         // There's a risk of looping here, so we count.


Transferred from the Adobe Open Source Subversion Repository

Revision: 3925
Author:   jimurphy@adobe.com
Date:     2008-10-28T15:28:25.006190Z

Log Message:
-----------
Merged gumbo_alpha revisions 3857-3860,3870,3872,3874-3876,3881,3884,3886,3889,3891,3893,3895,3908,3912 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxRotateEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxFadeEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/CubicBezierSegment.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/skins/spark/FxFocusSkin.as" copyfrom-rev="3895" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxFocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxVSliderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/LineSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxListExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxMoveEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/PathSegment.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/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout_conversion.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxAnimateColorEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout_core.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxAnimateEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxCheckBoxExample.mxml</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/DataGroupExample.mxml" copyfrom-rev="3895" action="A">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/DataGroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleDeclaration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/GroupExample.mxml" copyfrom-rev="3895" action="A">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/GroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/QuadraticBezierSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxNumericStepperExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/effects/examples/FxResizeEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxResize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxToggleButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxSpinnerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/PropertyValuesHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout_edit.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/TextViewExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxMove.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxHSliderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -1209,10 +1209,14 @@
     [Bindable("propertyChange")]
     [Inspectable(category="General")]

-    /**
-     *  Indicates the rotation of the element, in degrees,
-     *  from the transform point.
-     */
+	/**
+	 * Indicates the x-axis rotation of the element instance, in degrees, from its original orientation
+	 * relative to the 3D parent container. Values from 0 to 180 represent clockwise rotation; values
+	 * from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from
+	 * 360 to obtain a value within the range.
+	 *
+	 * This property is ignored during calculation by any of Flex's 2D layouts.
+	 */
     public function get rotationX():Number
     {
         return layoutFeatures.layoutRotationX;
@@ -1235,10 +1239,14 @@
     [Bindable("propertyChange")]
     [Inspectable(category="General")]

-    /**
-     *  Indicates the rotation of the element, in degrees,
-     *  from the transform point.
-     */
+	/**
+	 * Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation
+	 * relative to the 3D parent container. Values from 0 to 180 represent clockwise rotation; values
+	 * from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from
+	 * 360 to obtain a value within the range.
+	 *
+	 * This property is ignored during calculation by any of Flex's 2D layouts.
+	 */
     public function get rotationY():Number
     {
         return layoutFeatures.layoutRotationY;
@@ -1538,9 +1546,14 @@
         return layoutFeatures.layoutMatrix3D;
     }

-    /**
-     *  Documentation not available.
-     */
+	/**
+	 * A utility method to update the rotation and scale of the transform while keeping a particular point, specified in the component's own coordinate space,
+	 * fixed in the parent's coordinate space.  This function will assign the rotation and scale values provided, then update the x/y/z properties
+	 * as necessary to keep tx/ty/tz fixed.
+	 * @param rx,ry,rz the new values for the rotation of the transform
+	 * @param sx,sy,sz the new values for the scale of the transform
+	 * @param tx,ty,tz the point, in the component's own coordinates, to keep fixed relative to its parent.
+	 */
     public function transformAround(rx:Number,ry:Number,rz:Number,sx:Number,sy:Number,sz:Number,tx:Number,ty:Number,tz:Number):void
     {
         layoutFeatures.transformAround(rx,ry,rz,sx,sy,sz,tx,ty,tz,true);
@@ -1714,9 +1727,14 @@
     //----------------------------------
     //  layer
     //----------------------------------
-    /**
-     *  @inheritDoc
-     */
+	/**
+	 * Determines the order in which items inside of groups are rendered. Groups order their items based on their layer property, with the lowest layer
+	 * in the back, and the higher in the front.  items with the same layer value will appear in the order they are added to the Groups item list.
+	 *
+	 * defaults to 0
+	 *
+	 * @default 0
+	 */
     public function get layer():Number
     {
         return layoutFeatures.layer;
@@ -1799,7 +1817,7 @@
     [Inspectable(category="General")]

     /**
-     *  The y position of the graphic element.
+     *  The z position of the graphic element.
      */
     public function get z():Number
     {


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

--- frameworks/projects/framework/src/mx/resources/IResourceManager.as
+++ frameworks/projects/framework/src/mx/resources/IResourceManager.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 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.resources
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8712
Author:   aharui@adobe.com
Date:     2009-07-21T17:39:03.273624Z

Log Message:
-----------
Fix embedded fonts in RSLs (and more complex module topologies)

QE Notes: None
Doc Notes: None
Bugs: SDK-22313
Reviewer: Darrell, Gordon
API Change: None
Is noteworthy for integration: No
tests: checkintests mustella/gumbo/components/TextInput mustella/gumbo/components/TextArea

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -1601,6 +1601,22 @@
     /**
      *  @private
      */
+    override public function removeChild(child:DisplayObject):DisplayObject
+    {
+        // not sure why this happens but it does if you just change
+        // the embeddedFont context
+        if (!child.parent)
+            return child;
+
+        if (child.parent == this)
+            return super.removeChild(child);
+
+        return child.parent.removeChild(child);
+    }
+
+    /**
+     *  @private
+     */
     override protected function commitProperties():void
     {
         super.commitProperties();
@@ -1626,6 +1642,13 @@
                 // the fontLookup format is set to either
                 // "device" or "embedded" depending on whether
                 // embeddedFontContext is null or non-null.
+
+            // reset the text to propagate a new textLineCreator.  We only
+            // do this if the text didn't change since it will get done
+            // further down if it did
+            if (_textFlow && !(textChanged || textFlowChanged || contentChanged))
+                _textContainerManager.setTextFlow(_textFlow);
+
         }

         if (selectionFormatsChanged)
@@ -3535,6 +3558,7 @@
         }
     }

+
 }

 }


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

--- frameworks/projects/automation/src/mx/automation/tabularData/AdvancedDataGridTabularData.as
+++ frameworks/projects/automation/src/mx/automation/tabularData/AdvancedDataGridTabularData.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.automation.tabularData
 {


Code clean

Code clean

--- collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/client/SessionClient.as
+++ collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/client/SessionClient.as
@@ -12,11 +12,6 @@
 		private var _getSessionStateOperation:Operation;
 		private var _keepAliveOperation:Operation;
 		private var _setLocaleOperation:Operation;
-
-
-		private var _testGetValueOperation:Operation;
-		private var remoteCallQueueProcessor:RemoteCallQueueProcessor = new RemoteCallQueueProcessor();
-

 		public function SessionClient() {
 			super("sessionService");
@@ -41,15 +36,5 @@
 			token.addResponder(responder);
 		}

-		// TEST
-		public function testGetValue(responder:IResponder):void {
-			/*
-			var token:AsyncToken = this._testGetValue.send();
-			token.addResponder(responder);
-			*/
-
-			remoteCallQueueProcessor.appendOperation(responder, this._testGetValueOperation);
-		}
-
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5797
Author:   jimurphy@adobe.com
Date:     2009-03-31T15:35:34.544076Z

Log Message:
-----------
Merged revisions 3.x 5505,5526-5527,5535,5540,5542,5572,5616-5617,5656-5657,5671,5674,5683,5687-5688,5690,5698,5708-5709,5713-5716,5719-5723,5726,5728-5729,5736,5752,5754,5761,5774,5780,5784 -> trunk

most of these are user submitted patches! very cool.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/IResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToggleButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="D">/flex/sdk/trunk/modules/compiler/FlexCompilerShell-license.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/DateFormatter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/PhoneNumberValidator.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/validators/NumberValidatorDomainType.as" copyfrom-rev="5784" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/NumberValidatorDomainType.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/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/NumberValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/CurrencyValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/CalendarLayoutChangeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/DataGridEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpMenuButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>

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

--- frameworks/projects/mx/src/mx/core/Container.as
+++ frameworks/projects/mx/src/mx/core/Container.as
@@ -4305,7 +4305,7 @@
         //     <VBox>
         //         <Button>
         var id:String = descriptor.id;
-        if (id != null && document[id] == null)
+        if (id != null && (id in document) && document[id] == null)
             return false;

         var n:int = numChildren;


Transferred from the Adobe Open Source Subversion Repository

Revision: 18743
Author:   clucier@adobe.com
Date:     2010-11-19T20:43:39.402229Z

Log Message:
-----------
Adding cross fade mobile view transition.
Updates to ASDoc.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Chiedo
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/CrossFadeViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransition.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as
@@ -152,7 +152,7 @@
      *  Flag set when we've determined that we need to transition the navigator
      *  in its entirety and cannot transition the control bars independently.
      */
-    private var consolidatedTransition:Boolean = false;
+    protected var consolidatedTransition:Boolean = false;

     /**
      *  @private
@@ -558,7 +558,8 @@
         // Determine first if we're able to transition our control bars independently
         // of our view content.  If we are, then capture the necessary action bar
         // bitmap snapshots for use later by our default action bar transition.
-        consolidatedTransition = !canTransitionControlBarContent();
+        consolidatedTransition = consolidatedTransition ?
+			consolidatedTransition : !canTransitionControlBarContent();

         // Snapshot component parts of action bar in preparation for our
         // default action bar transition, (if appropriate).


Transferred from the Adobe Open Source Subversion Repository

Revision: 4357
Author:   egreenfi@adobe.com
Date:     2008-12-18T23:52:27.017290Z

Log Message:
-----------
UIComponent now implements ILayoutElement directly

ILayoutElement was moved to mx.core.ILayoutElement, as it is now a core interface required by UIComponent.

Further phases to follow:
1) IVlisualElement to extend ILayoutElement, pending resolution of a compiler bug.
2) remove LayoutElementUIC, pending UIMovieclip implementing ILayoutElement
3) remove LayoutElementFactory, once all IVisualElements implement ILayoutElement directly.
4) remove ITransformable, moving transform properties onto IVisualElement.

Reviewer: Evtim
QA: yes.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/layout/layout_tester.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.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/effects/effectClasses/FxAnimate3DInstance.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/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutElementFactory.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/components/FxVScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/utils/MatrixUtil.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutElement.as" copyfrom-rev="4249" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutElementUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as
@@ -14,7 +14,7 @@
 {
 import flash.geom.Rectangle;
 import mx.graphics.Rect;
-import mx.layout.ILayoutElement;
+import mx.core.ILayoutElement;

 /**


Further tweak of NinjaSnowWar shadows on mobiles (make the only cascade show a bit further, make shadows lighter)

--- Bin/Data/Scripts/NinjaSnowWar.as
+++ Bin/Data/Scripts/NinjaSnowWar.as
@@ -155,6 +155,15 @@
     {
         renderer.reuseShadowMaps = false;
         renderer.shadowQuality = SHADOWQUALITY_LOW_16BIT;
+        // Adjust the directional light shadow range slightly further, as only the first
+        // cascade is supported
+        Node@ dirLightNode = gameScene.GetChild("GlobalLight", true);
+        if (dirLightNode != null)
+        {
+            Light@ dirLight = dirLightNode.GetComponent("Light");
+            dirLight.shadowCascade = CascadeParameters(15.0f, 0.0f, 0.0f, 0.0f, 0.9f);
+            dirLight.shadowIntensity = 0.333f;
+        }
     }
 }


* 补充注释

* 补充注释

--- ageb/src/ageb/utils/ImageUtil.as
+++ ageb/src/ageb/utils/ImageUtil.as
@@ -23,7 +23,7 @@
 		/**
 		 * 假设 f 是 png 文件，这里可以返回 png 的大小
 		 * @param f
-		 * @return 一个 Point，x 代表宽，y 代表高度
+		 * @return 一个 Point，x 代表宽，y 代表高度。如果 <tt>f</tt> 不是 PNG 文件则返回 null
 		 *
 		 */
 		public static function getImageSize(f:File):Point


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

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

 package mx.states
 {


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

--- frameworks/projects/mx/src/mx/containers/TitleWindow.as
+++ frameworks/projects/mx/src/mx/containers/TitleWindow.as
@@ -0,0 +1,243 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.containers
+{
+
+import mx.core.mx_internal;
+
+use namespace mx_internal;
+
+//--------------------------------------
+//  Events
+//--------------------------------------
+
+/**
+ *  Dispatched when the user selects the close button.
+ *
+ *  @eventType mx.events.CloseEvent.CLOSE
+ *  @helpid 3985
+ *  @tiptext close event
+ */
+[Event(name="close", type="mx.events.CloseEvent")]
+
+//--------------------------------------
+//  Styles
+//--------------------------------------
+/**
+ *  The close button default skin.
+ *
+ *  @default null
+ */
+[Style(name="closeButtonSkin", type="Class", inherit="no", states="up, over, down, disabled")]
+
+/**
+ *  The close button disabled skin.
+ *
+ *  @default CloseButtonDisabled
+ */
+[Style(name="closeButtonDisabledSkin", type="Class", inherit="no")]
+
+/**
+ *  The close button down skin.
+ *
+ *  @default CloseButtonDown
+ */
+[Style(name="closeButtonDownSkin", type="Class", inherit="no")]
+
+/**
+ *  The close button over skin.
+ *
+ *  @default CloseButtonOver
+ */
+[Style(name="closeButtonOverSkin", type="Class", inherit="no")]
+
+/**
+ *  The close button up skin.
+ *
+ *  @default CloseButtonUp
+ */
+[Style(name="closeButtonUpSkin", type="Class", inherit="no")]
+
+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+[Exclude(name="focusIn", kind="event")]
+[Exclude(name="focusOut", kind="event")]
+
+[Exclude(name="focusBlendMode", kind="style")]
+[Exclude(name="focusSkin", kind="style")]
+[Exclude(name="focusThickness", kind="style")]
+
+[Exclude(name="focusInEffect", kind="effect")]
+[Exclude(name="focusOutEffect", kind="effect")]
+
+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+[AccessibilityClass(implementation="mx.accessibility.TitleWindowAccImpl")]
+
+[IconFile("TitleWindow.png")]
+
+/**
+ *  A TitleWindow layout container contains a title bar, a caption,
+ *  a border, and a content area for its child.
+ *  Typically, you use TitleWindow containers to wrap self-contained
+ *  application modules.
+ *  For example, you could include a form in a TitleWindow container.
+ *  When the user completes the form, you can close the TitleWindow
+ *  container programmatically, or let the user close it by using the
+ *  Close button.
+ *
+ *
The TitleWindow container has the following default sizing characteristics:

+ *

+ *

+ *           Characteristic
+ *           Description
+ *

+ *

+ *           Default size
+ *           Height is large enough to hold all of the children in the content area at the default or
+ *               explicit heights of the children, plus the title bar and border, plus any vertical gap between
+ *               the children, plus the top and bottom padding of the container.

+ *               Width is the larger of the default or explicit width of the widest child, plus the left and
+ *               right container borders padding, or the width of the title text.
+ *

+ *

+ *           borders
+ *           10 pixels for the left and right values.

+ *               2 pixels for the top value.

+ *               0 pixels for the bottom value.
+ *
+ *

+ *

+ *           padding
+ *           4 pixels for the top, bottom, left, and right values.
+ *

+ *

+ *
+ *  @mxml
+ *
+ *
The <mx:TitleWindow> tag inherits all of the tag
+ *  attributes of its superclass, and adds the following tag attributes:

+ *
+ *

+ *  <mx:TitleWindow
+ *   Properties
+ *   showCloseButton="false|true"
+ *   closeButtonDisabledSkin="CloseButtonDisabled"
+ *   closeButtonDownSkin="CloseButtonDown"
+ *   closeButtonOverSkin="CloseButtonOver"
+ *   closeButtonUpSkin="CloseButtonUp"
+ *   Events
+ *   close="No default"
+ *   >
+ *    ...
+ *      child tags
+ *    ...
+ *  />
+ *

+ *
+ *  @includeExample examples/SimpleTitleWindowExample.mxml -noswf
+ *  @includeExample examples/TitleWindowApp.mxml
+ *
+ *  @see mx.core.Application
+ *  @see mx.managers.PopUpManager
+ *  @see mx.containers.Panel
+ */
+public class TitleWindow extends Panel
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class mixins
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Placeholder for mixin by TitleWindowAccImpl.
+     */
+    mx_internal static var createAccessibilityImplementation:Function;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     */
+    public function TitleWindow()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  showCloseButton
+    //----------------------------------
+
+    [Inspectable(category="General")]
+
+    /**
+     *  Whether to display a Close button in the TitleWindow container.
+     *  The default value is false.
+     *  Set it to true to display the Close button.
+     *  Selecting the Close button generates a close event,
+     *  but does not close the TitleWindow container.
+     *  You must write a handler for the close event
+     *  and close the TitleWindow from within it.
+     *
+     *  @default false
+     *
+     *  @tiptext If true, the close button is displayed
+     *  @helpid 3986
+     */
+    public function get showCloseButton():Boolean
+    {
+        return mx_internal::_showCloseButton;
+    }
+
+    /**
+     *  @private
+     */
+    public function set showCloseButton(value:Boolean):void
+    {
+        mx_internal::_showCloseButton = value;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: UIComponent
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function initializeAccessibility():void
+    {
+        if (TitleWindow.createAccessibilityImplementation != null)
+            TitleWindow.createAccessibilityImplementation(this);
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20675
Author:   smgilson@adobe.com
Date:     2011-03-08T14:47:24.323678Z

Log Message:
-----------
ASDoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/LoaderInvalidationEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/ListEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridSortEvent.as</path>

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

--- frameworks/projects/spark/src/spark/events/GridEvent.as
+++ frameworks/projects/spark/src/spark/events/GridEvent.as
@@ -92,7 +92,7 @@
      *
      *  @eventType gridMouseDown
      *
-     *  @see flash.display.InteractiveObject.mouseDown
+     *  @see flash.display.InteractiveObject#event:mouseDown
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -174,7 +174,7 @@
      *
      *  @eventType gridMouseUp
      *
-     *  @see flash.display.InteractiveObject.mouseUp
+     *  @see flash.display.InteractiveObject#event:mouseUp
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -215,7 +215,7 @@
      *
      *  @eventType gridClick
      *
-     *  @see flash.display.InteractiveObject.click
+     *  @see flash.display.InteractiveObject#event:click
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -256,7 +256,7 @@
      *
      *  @eventType gridDoubleClick
      *
-     *  @see flash.display.InteractiveObject.doubleClick
+     *  @see flash.display.InteractiveObject#event:doubleClick
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -297,7 +297,7 @@
      *
      *  @eventType gridRollOver
      *
-     *  @see flash.display.InteractiveObject.rollOver
+     *  @see flash.display.InteractiveObject#event:rollOver
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -338,7 +338,7 @@
      *
      *  @eventType gridRollOut
      *
-     *  @see flash.display.InteractiveObject.rollOut
+     *  @see flash.display.InteractiveObject#event:rollOut
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -496,7 +496,7 @@
      *
      *  @eventType separatorMouseDown
      *
-     *  @see flash.display.InteractiveObject.rollOut
+     *  @see flash.display.InteractiveObject#event:rollOut
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -537,7 +537,7 @@
      *
      *  @eventType separatorMouseUp
      *
-     *  @see flash.display.InteractiveObject.rollOut
+     *  @see flash.display.InteractiveObject#event:rollOut
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 10203
Author:   klin@adobe.com
Date:     2009-09-12T23:14:39.753219Z

Log Message:
-----------
http://bugs.adobe.com/jira/browse/SDK-23113 - Bug where backgroundColor and backgroundAlpha would show up twice in the ASDocs.

I pulled out the two styles into separate style files that distinguish between having just the halo theme (some components) or both halo and spark (Container and container subclasses). Updated other components to include the right style files.

QE notes: None
Doc notes: Check to make sure duplicates are not there.
Bugs: SDK-23113
Reviewer: Glenn
Tests run: local asdoc
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BackgroundStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/ContainerBackgroundStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/framework/src/mx/styles/metadata/ContainerBackgroundStyles.as
+++ frameworks/projects/framework/src/mx/styles/metadata/ContainerBackgroundStyles.as
@@ -0,0 +1,57 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  Alpha level of the color defined by the backgroundColor
+ *  property, of the image or SWF file defined by the backgroundImage
+ *  style.
+ *  Valid values range from 0.0 to 1.0. For most controls, the default value is 1.0,
+ *  but for ToolTip controls, the default value is 0.95 and for Alert controls, the default value is 0.9.
+ *
+ *  @default 1.0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="backgroundAlpha", type="Number", inherit="no", theme="halo, spark")]
+
+/**
+ *  Background color of a component.
+ *  You can have both a backgroundColor and a
+ *  backgroundImage set.
+ *  Some components do not have a background.
+ *  The DataGrid control ignores this style.
+ *  The default value is undefined, which means it is not set.
+ *  If both this style and the backgroundImage style
+ *  are undefined, the component has a transparent background.
+ *
+ *
For the Application container, this style specifies the background color
+ *  while the application loads, and a background gradient while it is running.
+ *  Flex calculates the gradient pattern between a color slightly darker than
+ *  the specified color, and a color slightly lighter than the specified color.

+ *
+ *
The default skins of most Flex controls are partially transparent. As a result, the background color of
+ *  a container partially "bleeds through" to controls that are in that container. You can avoid this by setting the
+ *  alpha values of the control's fillAlphas property to 1, as the following example shows:
+ *

+ *  <mx:Container backgroundColor="0x66CC66"/>
+ *      <mx:ControlName ... fillAlphas="[1,1]"/>
+ *  </mx:Container>

+ *

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="backgroundColor", type="uint", format="Color", inherit="no", theme="halo, spark")]


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

--- frameworks/projects/advancedgrids/src/mx/olap/OLAPCube.as
+++ frameworks/projects/advancedgrids/src/mx/olap/OLAPCube.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 mx.olap
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18403
Author:   chiedozi@adobe.com
Date:     2010-11-01T23:47:15.103906Z

Log Message:
-----------
Fixed a memory leak in View and ViewNavigator

QE notes:
Doc notes:
Bugs: SDK-28396
Reviewer: Ryan
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as
@@ -581,8 +581,9 @@
     {
         super.initialize();

+        // Add weak listener so stage doesn't hold a reference to the navigator
         systemManager.stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE,
-            stage_orientationChangeHandler);
+            stage_orientationChangeHandler, false, 0, true);
     }
 }
 }


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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/ScrollBarAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/ScrollBarAutomationImpl.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 mx.automation.delegates.controls
 {


サウンドグループ停止の不具合修正

サウンドグループ停止の不具合修正

--- project/SoundConductor/src/jp/hiiragi/managers/soundConductor/SoundGroupController.as
+++ project/SoundConductor/src/jp/hiiragi/managers/soundConductor/SoundGroupController.as
@@ -261,49 +261,48 @@
 		 */
 		public function stop(fadeOutTimeByMS:Number = 0, fadeOutEasing:Function = null):void
 		{
+			for (var i:int = _soundControllerList.length - 1; i >= 0; i--)
+			{
+				_soundControllerList[i].stop(fadeOutTimeByMS, fadeOutEasing);
+			}
+		}
+
+		/**
+		 * グループに所属するサウンドをミュートします.
+		 */
+		public function mute():void
+		{
+			if (_isMute)
+			{
+				return;
+			}
+
+			_isMute = true;
+			_groupVolumeController.setEnabled(false);
+
 			var len:int = _soundControllerList.length;
 			for (var i:int = 0; i < len; i++)
 			{
-				_soundControllerList[i].stop(fadeOutTimeByMS, fadeOutEasing);
-			}
-		}
-
-		/**
-		 * グループに所属するサウンドをミュートします.
-		 */
-		public function mute():void
-		{
-			if (_isMute)
+				_soundControllerList[i].muteAtParent();
+			}
+		}
+
+		/**
+		 * グループに所属するサウンドのミュート状態を解除します.
+		 */
+		public function unmute():void
+		{
+			if (!_isMute)
 			{
 				return;
 			}

-			_isMute = true;
-			_groupVolumeController.setEnabled(false);
+			_isMute = false;
+			_groupVolumeController.setEnabled(true);

 			var len:int = _soundControllerList.length;
 			for (var i:int = 0; i < len; i++)
 			{
-				_soundControllerList[i].muteAtParent();
-			}
-		}
-
-		/**
-		 * グループに所属するサウンドのミュート状態を解除します.
-		 */
-		public function unmute():void
-		{
-			if (!_isMute)
-			{
-				return;
-			}
-
-			_isMute = false;
-			_groupVolumeController.setEnabled(true);
-
-			var len:int = _soundControllerList.length;
-			for (var i:int = 0; i < len; i++)
-			{
 				_soundControllerList[i].unmuteAtParent();
 			}
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 7663
Author:   cframpto@adobe.com
Date:     2009-06-09T01:01:39.339448Z

Log Message:
-----------
- Clicking within already focused spark text control causes focus to redraw since it was being drawn on the TextBase rather than the textView.
- SimpleText ignored visible property because it was set on lines which were removed and then readded without textLine.visible set the 2nd time.
- On focusOut need to dispatch Event.VALUE_COMMIT to trigger the validator to check for required fields and draw the error highlight, if needed.

QA Notes:
Doc Notes:
Bugs: SDK-21335, SDK-21588, SDK-20667
Reviewers: Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
@@ -940,7 +940,8 @@
             return;
         }

-        super.drawFocus(isFocused);
+        if (textView)
+            textView.drawFocus(isFocused);
     }

     //--------------------------------------------------------------------------
@@ -1282,7 +1283,19 @@

         super.focusInHandler(event);
     }
-
+
+    /**
+     *  @private
+     */
+    override protected function focusOutHandler(event:FocusEvent):void
+    {
+        super.focusOutHandler(event);
+
+        // Trigger validation when leaving the field to test for required
+        // fields and invalid values.
+        dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Event handlers