Transferred from the Adobe Open Source Subversion Repository

Revision: 4889
Author:   jszeto@adobe.com
Date:     2009-02-07T01:21:29.010759Z

Log Message:
-----------
Reverting revision 4885

Something in this checkin is causing an ASDoc compile failure. I will track this down later and resubmit the changes.

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as" copyfrom-rev="4884" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BevelFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientFilter.as" copyfrom-rev="4884" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as" copyfrom-rev="4884" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Parser.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IFlexBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateFilterInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as" copyfrom-rev="4884" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/filters/GradientGlowFilter.as
+++ frameworks/projects/spark/src/spark/filters/GradientGlowFilter.as
@@ -1,60 +1,14 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-2008 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////
-
 package mx.filters
 {
-import flash.events.Event;
-import flash.events.EventDispatcher;
-import flash.filters.BitmapFilter;
-import flash.filters.BitmapFilterQuality;
-import flash.filters.BitmapFilterType;
-import flash.filters.GradientGlowFilter;
-
-import mx.events.PropertyChangeEvent;
-import mx.filters.IFlexBitmapFilter;
-import mx.graphics.GradientEntry;
-
-/**
- *  @review
- *  Dispatched when a property value has changed.
- */
-[Event(name="change", type="flash.events.Event")]
-
-[DefaultProperty("entries")]
-
-/**
- *  @review
- *
- * 	The mx.filters.GradientGlowFilter class is based on
- *  flash.filters.GradientGlowFilter but adds support for dynamically updating
- *  property values.
- *  When a property changes, it dispatches an event that tells the filter owner to
- *  reapply the filter. Use this class instead of flash.filters.GradientGlowFilter if you plan
- *  to dynamically change the filter property values.
- *
- *  @see flash.filters.GradientGlowFilter
- */
-public class GradientGlowFilter extends EventDispatcher implements IFlexBitmapFilter
+	import flash.filters.BitmapFilter;
+	import flash.filters.GradientGlowFilter;
+	import mx.core.mx_internal;
+	import mx.filters.IBitmapFilter;
+
+	use namespace mx_internal;
+
+public class GradientGlowFilter extends GradientFilter implements IBitmapFilter
 {
-	include "../core/Version.as";
-
-    //--------------------------------------------------------------------------
-    //
-    //  Constructor
-    //
-    //--------------------------------------------------------------------------
-
-	/**
-	 * @copy flash.filters.GradientGlowFilter
-	 */
 	public function GradientGlowFilter(distance:Number = 4.0, angle:Number = 45,
 									   colors:Array = null, alphas:Array = null,
 									   ratios:Array = null, blurX:Number = 4.0,
@@ -62,8 +16,6 @@
 									   quality:int = 1, type:String = "inner",
 									   knockout:Boolean = false)
 	{
-		super();
-
 		this.distance = distance;
 		this.angle = angle;
 		this.blurX = blurX;
@@ -73,416 +25,10 @@
 		this.type = type;
 		this.knockout = knockout;

-
-		var newEntries:Array = [];
-		var colorsLen:int = colors ? colors.length : 0;
-		var alphasLen:int = alphas ? alphas.length : 0;
-		var ratiosLen:int = ratios ? ratios.length : 0;
-		var maxLen:int = Math.max(colorsLen, alphasLen, ratiosLen);
-
-		for (var i:int = 0; i < maxLen; i++)
-		{
-			var newEntry:GradientEntry = new GradientEntry();
-			if (colorsLen > i)
-				newEntry.color = colors[i];
-			if (alphasLen > i)
-				newEntry.alpha = alphas[i];
-			if (ratiosLen > i)
-				newEntry.ratio = ratios[i];
-
-			newEntries.push(newEntry);
-		}
-
-		entries = newEntries;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Variables
-	//
-	//--------------------------------------------------------------------------
-
- 	/**
-	 *  @private
-	 */
-	private var colors:Array /* of uint */ = [];
-
- 	/**
-	 *  @private
-	 */
-	private var ratios:Array /* of Number */ = [];
-
- 	/**
-	 *  @private
-	 */
-	private var alphas:Array /* of Number */ = [];
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-    //  angle
-    //----------------------------------
-
-	private var _angle:Number = 45;
-
-	/**
-	 *  The angle, in degrees. Valid values are 0 to 360. The default is 45.
-	 *  The angle value represents the angle of the theoretical light source
-	 *  falling on the object and determines the placement of the effect
-	 *  relative to the object. If distance is set to 0, the effect is not
-	 *  offset from the object, and therefore the angle property has no effect.
-	 */
-	public function get angle():Number
-	{
-		return _angle;
+		super(colors, alphas, ratios);
 	}

-	public function set angle(value:Number):void
-	{
-		if (value != _angle)
-		{
-			_angle = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-    //  blurX
-    //----------------------------------
-
-	private var _blurX:Number = 4.0;
-
-	/**
-	 *  The amount of horizontal blur. Valid values are 0 to 255. A blur of 1
-	 *  or less means that the original image is copied as is. The default
-	 *  value is 4. Values that are a power of 2 (such as 2, 4, 8, 16, and 32)
-	 *  are optimized to render more quickly than other values.
-	 */
-	public function get blurX():Number
-	{
-		return _blurX;
-	}
-
-	public function set blurX(value:Number):void
-	{
-		if (value != _blurX)
-		{
-			_blurX = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-    //  blurY
-    //----------------------------------
-
-	private var _blurY:Number = 4.0;
-
-	/**
-	 *  The amount of vertical blur. Valid values are 0 to 255. A blur of 1
-	 *  or less means that the original image is copied as is. The default
-	 *  value is 4. Values that are a power of 2 (such as 2, 4, 8, 16, and 32)
-	 *  are optimized to render more quickly than other values.
-	 */
-	public function get blurY():Number
-	{
-		return _blurY;
-	}
-
-	public function set blurY(value:Number):void
-	{
-		if (value != _blurY)
-		{
-			_blurY = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-    //  distance
-    //----------------------------------
-
-	private var _distance:Number = 4.0;
-
-	/**
-	 *  The offset distance of the glow. The default value is 4.
-	 */
-	public function get distance():Number
-	{
-		return _distance;
-	}
-
-	public function set distance(value:Number):void
-	{
-		if (value != _distance)
-		{
-			_distance = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-	//  entries
-	//----------------------------------
-
- 	/**
-	 *  @private
-	 *  Storage for the entries property.
-	 */
-	private var _entries:Array = [];
-
-	[Bindable("propertyChange")]
-    [Inspectable(category="General", arrayType="mx.graphics.GradientEntry")]
-
-	/**
-	 *  An Array of GradientEntry objects
-	 *  defining the fill patterns for the gradient fill.
-	 *
-	 *  @default []
-	 */
-	public function get entries():Array
-	{
-		return _entries;
-	}
-
- 	/**
-	 *  @private
-	 */
-	public function set entries(value:Array):void
-	{
-		var oldValue:Array = _entries;
-		_entries = value;
-
-		processEntries();
-		notifyFilterChanged();
-		//dispatchGradientChangedEvent("entries", oldValue, value);
-	}
-
-	//----------------------------------
-    //  knockout
-    //----------------------------------
-
-	private var _knockout:Boolean = false;
-
-	/**
-	 *  Specifies whether the object has a knockout effect. A knockout effect
-	 *  makes the object's fill transparent and reveals the background color
-	 *  of the document. The value true specifies a knockout effect; the
-	 *  default value is false (no knockout effect).
-	 */
-	public function get knockout():Boolean
-	{
-		return _knockout;
-	}
-
-	public function set knockout(value:Boolean):void
-	{
-		if (value != _knockout)
-		{
-			_knockout = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-    //  quality
-    //----------------------------------
-
-	private var _quality:int = BitmapFilterQuality.LOW;
-
-	/**
-	 *  The number of times to apply the filter. The default value is
-	 *  BitmapFilterQuality.LOW, which is equivalent to applying the filter
-	 *  once. The value BitmapFilterQuality.MEDIUM  applies the filter twice;
-	 *  the value BitmapFilterQuality.HIGH applies it three times. Filters
-	 *  with lower values are rendered more quickly.
-	 *
-	 *  For most applications, a quality value of low, medium, or high is
-	 *  sufficient. Although you can use additional numeric values up to 15
-	 *  to achieve different effects, higher values are rendered more slowly.
-	 *  Instead of increasing the value of quality, you can often get a similar
-	 *  effect, and with faster rendering, by simply increasing the values of
-	 *  the blurX and blurY properties.
-	 */
-	public function get quality():int
-	{
-		return _quality;
-	}
-
-	public function set quality(value:int):void
-	{
-		if (value != _quality)
-		{
-			_quality = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-    //  strength
-    //----------------------------------
-
-	private var _strength:Number = 1;
-
-	/**
-	 *  The strength of the imprint or spread. The higher the value, the more
-	 *  color is imprinted and the stronger the contrast between the glow and
-	 *  the background. Valid values are 0 to 255. A value of 0 means that the
-	 *  filter is not applied. The default value is 1.
-	 */
-	public function get strength():Number
-	{
-		return _strength;
-	}
-
-	public function set strength(value:Number):void
-	{
-		if (value != _strength)
-		{
-			_strength = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//----------------------------------
-    //  type
-    //----------------------------------
-
-	private var _type:String = BitmapFilterType.INNER;
-
-	/**
-	 *  The placement of the filter effect. Possible values are
-	 *  flash.filters.BitmapFilterType constants:
- 	 *  BitmapFilterType.OUTER — Glow on the outer edge of the object
-	 *  BitmapFilterType.INNER — Glow on the inner edge of the object; the default.
-	 *  BitmapFilterType.FULL — Glow on top of the object
-	 */
-	public function get type():String
-	{
-		return _type;
-	}
-
-	public function set type(value:String):void
-	{
-		if (value != _type)
-		{
-			_type = value;
-			notifyFilterChanged();
-		}
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Extract the gradient information in the public entries
-	 *  Array into the internal colors, ratios,
-	 *  and alphas arrays.
-	 */
-	private function processEntries():void
-	{
-		colors = [];
-		ratios = [];
-		alphas = [];
-
-		if (!_entries || _entries.length == 0)
-			return;
-
-		var ratioConvert:Number = 255;
-
-		var i:int;
-
-		var n:int = _entries.length;
-		for (i = 0; i < n; i++)
-		{
-			var e:GradientEntry = _entries[i];
-			e.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE,
-							   entry_propertyChangeHandler, false, 0, true);
-			colors.push(e.color);
-			alphas.push(e.alpha);
-			ratios.push(e.ratio * ratioConvert);
-		}
-
-		if (isNaN(ratios[0]))
-			ratios[0] = 0;
-
-		if (isNaN(ratios[n - 1]))
-			ratios[n - 1] = 255;
-
-		i = 1;
-
-		while (true)
-		{
-			while (i < n && !isNaN(ratios[i]))
-			{
-				i++;
-			}
-
-			if (i == n)
-				break;
-
-			var start:int = i - 1;
-
-			while (i < n && isNaN(ratios[i]))
-			{
-				i++;
-			}
-
-			var br:Number = ratios[start];
-			var tr:Number = ratios[i];
-
-			for (var j:int = 1; j < i - start; j++)
-			{
-				ratios[j] = br + j * (tr - br) / (i - start);
-			}
-		}
-	}
-
-   	/**
-     * @private
-     * Notify of a change to our filter, so that filter stack is ultimately
-     * re-applied by the framework.
-     */
-	private function notifyFilterChanged():void
-	{
-		dispatchEvent(new Event(Event.CHANGE));
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Event handlers
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private function entry_propertyChangeHandler(event:Event):void
-	{
-		processEntries();
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  IFlexBitmapFilter
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  Creates a flash.filters.GradientGlowFilter instance using the current
-	 *  property values.
-	 *
-	 *  @return flash.filters.GradientGlowFilter instance
-	 */
-	public function createBitmapFilter():BitmapFilter
+	public function clone():BitmapFilter
 	{
 		return new flash.filters.GradientGlowFilter(distance, angle, colors, alphas, ratios,
 										blurX, blurY, strength, quality, type,


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

--- frameworks/projects/advancedgrids/src/mx/collections/IHierarchicalCollectionView.as
+++ frameworks/projects/advancedgrids/src/mx/collections/IHierarchicalCollectionView.as
@@ -0,0 +1,268 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.collections
+{
+
+/**
+ *  The IHierarchicalCollectionView interface defines an interface
+ *  for hierarchical or grouped data.
+ *  Typically, you use this data with the AdvancedDataGrid control.
+ *
+ *  @see mx.controls.AdvancedDataGrid
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public interface IHierarchicalCollectionView extends ICollectionView
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  openNodes
+    //----------------------------------
+
+    /**
+     *  An Array of Objects containing the data provider element
+     *  for all the open branch nodes of the data.
+     *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get openNodes():Object;
+
+    /**
+     *  @private
+     */
+    function set openNodes(value:Object):void
+
+    //----------------------------------
+    //  hasRoot
+    //----------------------------------
+
+    /**
+     *  A flag that, if true, indicates that the current data provider has a root node;
+     *  for example, a single top-level node in a hierarchical structure.
+     *  XML and Object are examples of data types that have a root node,
+     *  while Lists and Arrays do not.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get hasRoot():Boolean;
+
+    //----------------------------------
+    //  showRoot
+    //----------------------------------
+
+    /**
+     *  A Boolean flag that specifies whether to display the data provider's root node.
+     *  If the source data has a root node, and this property is set to
+     *  false, the collection will not include the root item.
+     *  Only the descendants of the root item will be included in the collection.
+     *
+     *
This property has no effect on a source with no root node,
+     *  such as List and Array objects.

+     *
+     *  @default true
+     *  @see #hasRoot
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get showRoot():Boolean;
+
+    /**
+     *  @private
+     */
+    function set showRoot(value:Boolean):void;
+
+    //----------------------------------
+    //  source
+    //----------------------------------
+
+    /**
+     *  The source data of the IHierarchicalCollectionView.
+     *
+     *  @return the IHierarchicalData instance representing the source
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get source():IHierarchicalData;
+
+    /**
+     *  @private
+     */
+    function set source(value:IHierarchicalData):void;
+
+    //--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  Opens a node to display its children.
+     *
+     *  @param node The Object that defines the node.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function openNode(node:Object):void
+
+    /**
+     *  Closes a node to hide its children.
+     *
+     *  @param node The Object that defines the node.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function closeNode(node:Object):void
+
+    /**
+     *  Returns a collection of children, if they exist.
+     *
+     *  @param node The Object that defines the node.
+     *  If null, return a collection of top level nodes.
+     *
+     *  @return ICollectionView instance containing the child nodes.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function getChildren(node:Object):ICollectionView;
+
+    /**
+     *  Adds a child node to a node of the data.
+     *
+     *  @param node The Object that defines the parent node.
+     *
+     *  @param child The Object that defines the new node.
+     *
+     *  @return true if the node is added successfully.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function addChild(parent:Object, newChild:Object):Boolean;
+
+    /**
+     *  Removes the child node from the parent node.
+     *
+     *  @param node The Object that defines the parent node,
+     *   and null for top-level nodes.
+     *
+     *  @param child The Object that defines the child node to be removed.
+     *
+     *  @return true if the node is removed successfully.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function removeChild(parent:Object, child:Object):Boolean;
+
+    /**
+     *  Adds a child node to a node of the data at a specific index in the data.
+     *
+     *  @param node The Object that defines the parent node.
+     *
+     *  @param child The Object that defines the new node.
+     *
+     *  @param index The zero-based index of where to insert the child node.
+     *
+     *  @return true if the node is added successfully.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function addChildAt(parent:Object, newChild:Object,
+                        index:int):Boolean;
+
+    /**
+     *  Removes the child node from a node at the specified index.
+     *
+     *  @param parent The node object that currently parents the child node.
+     *  Set parent to null for top-level nodes.
+     *
+     *  @param index The zero-based index of the child node to remove relative to the parent.
+     *
+     *  @return true if successful, and false if not.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function removeChildAt(parent:Object, index:int):Boolean;
+
+    /**
+     *  Returns the depth of the node in the collection.
+     *
+     *  @param node The Object that defines the node.
+     *
+     *  @return The depth of the node.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function getNodeDepth(node:Object):int;
+
+    /**
+     *  Returns the parent of a node.
+     *  The parent of a top-level node is null.
+     *
+     *  @param node The Object that defines the node.
+     *
+     *  @return The parent node containing the node as child,
+     *  null for a top-level node,
+     *  and undefined if the parent cannot be determined.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function getParentItem(node:Object):*;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

Modified Paths:
--------------
151 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateFilterInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateFilterInstance.as
@@ -19,6 +19,11 @@
  * The AnimateFilterInstance class implements the instance class for the
  * AnimateFilter effect. Flex creates an instance of this class when
  * it plays a AnimateFilter effect; you do not create one yourself.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class FxAnimateFilterInstance extends FxAnimateInstance
 {
@@ -30,6 +35,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function FxAnimateFilterInstance(target:Object)
     {
@@ -48,6 +58,11 @@

     /**
      * IBitmapFilter instance to apply and animate.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public var bitmapFilter:IBitmapFilter;

@@ -72,6 +87,11 @@

     /**
      *  @copy mx.effects.IEffectInstance#finishEffect()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     override public function finishEffect():void
     {


adjust as3 to support macos

adjust as3 to support macos

--- actionscript/src/com/freshplanet/ane/AirInAppPurchase/InAppPurchase.as
+++ actionscript/src/com/freshplanet/ane/AirInAppPurchase/InAppPurchase.as
@@ -39,7 +39,7 @@
          *
          */
         public static function get isSupported():Boolean {
-            return _isIOS() || _isAndroid();
+            return _isIOSOrMacOS() || _isAndroid();
         }

         /**
@@ -106,7 +106,7 @@

                 _context.call("removePurchaseFromQueue", productId, receipt, developerPayload ? developerPayload : "");

-                if (_isIOS()) {
+                if (_isIOSOrMacOS()) {

                     var filterPurchase:Function = function(jsonPurchase:String, index:int, purchases:Vector.<Object>):Boolean {

@@ -155,7 +155,7 @@
                 _dispatchEvent(InAppPurchaseEvent.RESTORE_INFO_ERROR, "InAppPurchase not supported");
             else if (_isAndroid() || restoreIOSHistory)
                 _context.call("restoreTransaction");
-            else if (_isIOS()) {
+            else if (_isIOSOrMacOS()) {

                 var jsonPurchases:String = "[" + _iosPendingPurchases.join(",") + "]";
                 var jsonData:String = "{ \"purchases\": " + jsonPurchases + "}";
@@ -170,7 +170,7 @@
             _iosPendingPurchases = new Vector.<Object>();
             if (!isSupported || _isAndroid()) {
                 _dispatchEvent("CLEAR_TRANSACTIONS_ERROR", "clear transactions not supported");
-            } else if (_isIOS()) {
+            } else if (_isIOSOrMacOS()) {
                 _context.call("clearTransactions");
             }
         }
@@ -222,7 +222,7 @@
          */
 		private function _onStatus(event:StatusEvent):void {

-            if (event.code == InAppPurchaseEvent.PURCHASE_SUCCESSFUL && _isIOS())
+            if (event.code == InAppPurchaseEvent.PURCHASE_SUCCESSFUL && _isIOSOrMacOS())
                 _iosPendingPurchases.push(event.level);
             else if(event.code == "DEBUG")
                 _log("DEBUG", event.level);
@@ -247,8 +247,8 @@
          *
          * @return
          */
-        private static function _isIOS():Boolean {
-			return Capabilities.manufacturer.indexOf("iOS") > -1 && Capabilities.os.indexOf("x86_64") < 0 && Capabilities.os.indexOf("i386") < 0;
+        private static function _isIOSOrMacOS():Boolean {
+			return Capabilities.os.indexOf("Mac OS") > -1 || (Capabilities.manufacturer.indexOf("iOS") > -1 && Capabilities.os.indexOf("x86_64") < 0 && Capabilities.os.indexOf("i386") < 0);
         }

         /**


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

--- frameworks/projects/advancedgrids/src/mx/olap/IOLAPCustomAggregator.as
+++ frameworks/projects/advancedgrids/src/mx/olap/IOLAPCustomAggregator.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: 13173
Author:   gosmith@adobe.com
Date:     2009-12-23T00:22:15.529877Z

Log Message:
-----------
Added ASDoc for the Spark SpinnerAccImpl, NumericStepperAccImpl, and SliderBaseAccImpl, based on the opensource specs. Also made minor edits to ASDoc in other Spark acc impl classes.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SliderBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SpinnerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/DropDownListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/NumericStepperAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBarBaseAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/ButtonBaseAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/ButtonBaseAccImpl.as
@@ -29,13 +29,13 @@

 /**
  *  ButtonBaseAccImpl is the accessibility implementation class
- *  for spark.components.ButtonBase.
+ *  for spark.components.supportClasses.ButtonBase.
  *
  *
Although ToggleButton, CheckBox, and RadioButton have their own
  *  accessibility implementation subclasses,
  *  Button simply uses the one for ButtonBase.
  *  Therefore, the rest of this description refers to
- *  the commonly-used Button class rather than the ButtonBase base class.

+ *  the commonly-used Button component rather than the ButtonBase base class.

  *
  *
When a Spark Button is created,
  *  its accessibilityImplementation property


fixed histogram zoom bug

fixed histogram zoom bug

Change-Id: Ie7423da557f1288ddd4ac5fe79bbc90460a93d4b

--- WeaveUISpark/src/weave/visualization/plotters/HistogramPlotter.as
+++ WeaveUISpark/src/weave/visualization/plotters/HistogramPlotter.as
@@ -140,16 +140,7 @@
 		{
 			var binCol:BinnedColumn = internalBinnedColumn;
 			if (binCol)
-			{
-				var maxHeight:Number;
-				switch (aggregationMethod.value)
-				{
-					case AG_COUNT: maxHeight = binCol.largestBinSize; break;
-					case AG_SUM: maxHeight = aggregateStats.getSum(); break;
-					case AG_MEAN: maxHeight = aggregateStats.getMean(); break;
-				}
-				output.setBounds(-0.5, 0, Math.max(1, binCol.numberOfBins) - 0.5, Math.max(1, maxHeight));
-			}
+				output.setBounds(-0.5, NaN, Math.max(1, binCol.numberOfBins) - 0.5, NaN);
 			else
 				output.reset();
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3546
Author:   smgilson@adobe.com
Date:     2008-10-09T19:41:07.847521Z

Log Message:
-----------
ASDoc edits

Checkin Test Passed: Yes
QA: No
Bug:
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -21,20 +21,25 @@
 import mx.events.IndexChangedEvent;
 import mx.events.CollectionEvent;
 import mx.events.CollectionEventKind;
-
+
 /**
- *  Dispatched when the selection is going to change. Calling preventDefault()
+ *  Dispatched when the selection is going to change.
+ *  Calling the preventDefault() method
  *  on the event will prevent the selection from changing.
+ *
+ *  @eventType mx.events.IndexChangedEvent.ITEM_ADD
  */
 [Event(name="selectionChanging", type="mx.events.IndexChangedEvent")]

 /**
  *  Dispatched after the selection has changed.
+ *
+ *  @eventType mx.events.IndexChangedEvent.ITEM_ADD
  */
 [Event(name="selectionChanged", type="mx.events.IndexChangedEvent")]

 /**
- *  The Selector class is the base class for all components that support
+ *  The FxListBase class is the base class for all components that support
  *  selection.
  */
 public class FxListBase extends FxDataContainer
@@ -65,12 +70,12 @@
     //
     //--------------------------------------------------------------------------

-	/**
-	 *  Constructor.
-	 */
-	public function FxListBase()
-    {
-    	super();
+    /**
+     *  Constructor.
+     */
+    public function FxListBase()
+    {
+        super();
     }

     //--------------------------------------------------------------------------
@@ -78,18 +83,21 @@
     //  Properties
     //
     //--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private var doingWholesaleChanges:Boolean = false;
-
-	//----------------------------------
+
+    /**
+     *  @private
+     */
+    private var doingWholesaleChanges:Boolean = false;
+
+    //----------------------------------
     //  dataProvider
     //----------------------------------

     private var dataProviderChanged:Boolean;

+    /**
+     *  @inheritDoc
+     */
     override public function set dataProvider(value:IList):void
     {
         if (dataProvider)
@@ -103,90 +111,111 @@
         if (dataProvider)
             dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE, collectionChangeHandler);
     }
-
-	//----------------------------------
-	//  selectedIndex
-	//----------------------------------
-
-	/**
-	 *  @private
-	 *  The proposed selected index. This is a temporary variable that is
-	 *  used until the selected index is committed.
-	 */
-	private var _proposedSelectedIndex:int = NO_PROPOSED_SELECTION;
-
-	/**
-	 *  @private
-	 *  Flag that is set when the selectedIndex has been adjusted due to
-	 *  items being added or removed. When this flag is true, the value
-	 *  of the selectedIndex has changed, but the actual selected item
-	 *  is the same. This flag is cleared in commitProperties().
-	 */
-	private var selectedIndexAdjusted:Boolean = false;
-
-	/**
-	 *  @private
-	 *  Internal storage for the selectedIndex property.
-	 */
-	private var _selectedIndex:int = NO_SELECTION;
-
-   /**
+
+    //----------------------------------
+    //  selectedIndex
+    //----------------------------------
+
+    /**
+     *  @private
+     *  The proposed selected index. This is a temporary variable that is
+     *  used until the selected index is committed.
+     */
+    private var _proposedSelectedIndex:int = NO_PROPOSED_SELECTION;
+
+    /**
+     *  @private
+     *  Flag that is set when the selectedIndex has been adjusted due to
+     *  items being added or removed. When this flag is true, the value
+     *  of the selectedIndex has changed, but the actual selected item
+     *  is the same. This flag is cleared in commitProperties().
+     */
+    private var selectedIndexAdjusted:Boolean = false;
+
+    /**
+     *  @private
+     *  Internal storage for the selectedIndex property.
+     */
+    private var _selectedIndex:int = NO_SELECTION;
+
+    [Bindable("selectionChanged")]
+    /**
      *  The 0-based index of the selected item, or -1 if no item is selected.
-     *  Setting the selectedIndex property de-selects the currently selected
+     *  Setting the selectedIndex property deselects the currently selected
      *  item and selects the item at the specified index.
      *
-     *  The value of selectedIndex is always pinned between -1 and
-     *  (numItems - 1). If items at a lower index than selectedIndex are
+     *
The value is always between -1 and (numItems - 1).
+     *  If items at a lower index than selectedIndex are
      *  removed from the component, the selected index is adjusted downward
-     *  accordingly. If the selected item is removed, selected index is
-     *  set to -1 (if requireSelection = false or there are no remaining items)
-     *  or 0 (if requireSelection = true and there is at least one item).
+     *  accordingly.

+     *
+     *
If the selected item is removed, the selected index is set to:

+     *
+     *

+     *
-1 if requireSelection = false
+     *     or there are no remaining items.

+     *
0 if requireSelection = true
+     *     and there is at least one item.

+     *

      *
      *  @default -1
      */
+    public function get selectedIndex():int
+    {
+        if (_proposedSelectedIndex != NO_PROPOSED_SELECTION)
+            return _proposedSelectedIndex;
+
+        return _selectedIndex;
+    }
+
+    /**
+     *  @private
+     */
+    public function set selectedIndex(value:int):void
+    {
+        if (value == selectedIndex)
+            return;
+
+        _proposedSelectedIndex = value;
+        invalidateProperties();
+    }
+
+    //----------------------------------
+    //  selectedItem
+    //----------------------------------
+
     [Bindable("selectionChanged")]
-    public function get selectedIndex():int
-    {
-    	if (_proposedSelectedIndex != NO_PROPOSED_SELECTION)
-    		return _proposedSelectedIndex;
-
-    	return _selectedIndex;
-    }
-
-    public function set selectedIndex(value:int):void
-    {
-    	if (value == selectedIndex)
-    		return;
-
-		_proposedSelectedIndex = value;
-		invalidateProperties();
-    }
-
-    //----------------------------------
-    //  selectedItem
-    //----------------------------------
-
-   /**
-     *  The item that is currently selected. Setting the selectedItem property
-     *  de-selects the currently selected item and selects the specified item.
-     *
-     *  Setting selectedItem to an item that is not in this component results in
-     *  no selection, and selectedItem being set to undefined. If the selected
-     *  item is removed, the selected item is set to undefined (if requireSelection
-     *  = false or there are no remaining items) or the first item (if
-     *  requireSelection = true and there is at least one item).
+    /**
+     *  The item that is currently selected.
+     *  Setting this property
+     *  deselects the currently selected item and selects the specified item.
+     *
+     *
Setting selectedItem to an item that is not
+     *  in this component results in no selection,
+     *  and selectedItem being set to undefined.

+     *
+     *
If the selected item is removed, the selected item is set to:

+     *
+     *

+     *
undefined if requireSelection = false
+     *      or there are no remaining items.

+     *
The first item if requireSelection = true
+     *      and there is at least one item.

+     *

      *
      *  @default undefined
      */
-    [Bindable("selectionChanged")]
     public function get selectedItem():*
     {
-    	if (selectedIndex == NO_SELECTION)
-    	   return undefined;
-
+        if (selectedIndex == NO_SELECTION)
+           return undefined;
+
         return dataProvider.getItemAt(selectedIndex);
     }

+    /**
+     *  @private
+     */
     public function set selectedItem(value:*):void
     {
         selectedIndex = dataProvider.getItemIndex(value);
@@ -208,25 +237,28 @@
      */
     private var requiresSelectionChanged:Boolean = false;

+    [Bindable]
     /**
      *  Specifies whether an item must always be selected.
-     *  If the value is true, the selectedIndex property will always be
-     *  set to a value between 0 and (numItems - 1), or -1 if there are
-     *  no items.
+     *  If the value is true, the selectedIndex property
+     *  is always set to a value between 0 and (numItems - 1),
+     *  or -1 if there are no items.
      *
      *  @default false
      */
-    [Bindable]
     public function get requiresSelection():Boolean
     {
         return _requiresSelection;
     }

+    /**
+     *  @private
+     */
     public function set requiresSelection(value:Boolean):void
     {
         if (value == _requiresSelection)
-        	return;
-
+            return;
+
         _requiresSelection = value;

         // We only need to update if the value is changing
@@ -249,21 +281,21 @@
      */
     override protected function commitProperties():void
     {
-    	var changedSelection:Boolean = false;
-
+        var changedSelection:Boolean = false;
+
         super.commitProperties();

         if (dataProviderChanged)
         {
             dataProviderChanged = false;
             doingWholesaleChanges = false;
-
-    	    // TODO: should resetting the dataProvider clear out all of its state?
-    	    // or should we preserve selectedIndex
-        	if (selectedIndex >= 0 && dataProvider && selectedIndex < dataProvider.length)
-        	   itemSelected(dataProvider.getItemAt(selectedIndex), true);
-        	else
-        	   selectedIndex = -1;
+
+            // TODO: should resetting the dataProvider clear out all of its state?
+            // or should we preserve selectedIndex
+            if (selectedIndex >= 0 && dataProvider && selectedIndex < dataProvider.length)
+               itemSelected(dataProvider.getItemAt(selectedIndex), true);
+            else
+               selectedIndex = -1;
         }

         if (requiresSelectionChanged)
@@ -275,8 +307,8 @@
                     dataProvider &&
                     dataProvider.length > 0)
             {
-            	// Set the proposed selected index here to make sure
-            	// commitSelectedIndex() is called below.
+                // Set the proposed selected index here to make sure
+                // commitSelectedIndex() is called below.
                 _proposedSelectedIndex = 0;
             }
         }
@@ -292,10 +324,10 @@
             selectedIndexAdjusted = false;
             if (!changedSelection)
             {
-	            var e:IndexChangedEvent = new IndexChangedEvent("selectionChanged");
-	            e.oldIndex = selectedIndex;
-	            e.newIndex = selectedIndex;
-	            dispatchEvent(e);
+                var e:IndexChangedEvent = new IndexChangedEvent("selectionChanged");
+                e.oldIndex = selectedIndex;
+                e.newIndex = selectedIndex;
+                dispatchEvent(e);
             }
         }
     }
@@ -307,8 +339,13 @@
     //--------------------------------------------------------------------------

     /**
-     *  Called when an item is selected or de-selected. Subclasses must override
-     *  this method to display the selection.
+     *  Called when an item is selected or deselected.
+     *  Subclasses must override this method to display the selection.
+     *
+     *  @param item The item.
+     *
+     *  @param selected true if the item is selected,
+     *  and false if it is deselected.
      */
     protected function itemSelected(item:Object, selected:Boolean):void
     {
@@ -359,9 +396,9 @@

         // Step 3: commit the selection change
         if (_selectedIndex != NO_SELECTION)
-        	itemSelected(dataProvider.getItemAt(_selectedIndex), false);
+            itemSelected(dataProvider.getItemAt(_selectedIndex), false);
         if (_proposedSelectedIndex != NO_SELECTION)
-        	itemSelected(dataProvider.getItemAt(_proposedSelectedIndex), true);
+            itemSelected(dataProvider.getItemAt(_proposedSelectedIndex), true);
         _selectedIndex = _proposedSelectedIndex;
         _proposedSelectedIndex = NO_PROPOSED_SELECTION;

@@ -377,14 +414,20 @@
     /**
      *  Adjusts the selected index to account for items being added to or
      *  removed from this component. This method adjusts the selected index
-     *  value and sends a "selectionChanged" event. It does NOT send
-     *  "selectionChanging" or allow the cancellation of the selection. It
-     *  also does not call itemSelected(), since the same item is selected -
+     *  value and dispatches a selectionChanged event.
+     *  It does not dispatch a selectionChanging event
+     *  or allow the cancellation of the selection.
+     *  It also does not call the itemSelected() method,
+     *  since the same item is selected;
      *  the only thing that has changed is the index of the item.
      *
-     *  A "selectionChanged" event is sent in the next call to
-     *  commitProperties(). The "selectionChanging" event is not sent when
-     *  the selectedIndex is adjusted.
+     *
A selectionChanged event is dispatched in the next call to
+     *  the commitProperties() method.

+     *
+     *
The selectionChanging event is not sent when
+     *  the selectedIndex is adjusted.

+     *
+     *  @param newIndex The new index.
      */
     protected function adjustSelectedIndex(newIndex:int):void
     {
@@ -443,6 +486,9 @@
         }
     }

+    /**
+     *  @private
+     */
     protected function collectionChangeHandler(event:Event):void
     {
         if (event is CollectionEvent)


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -1147,52 +1147,6 @@
     }

     /**
-     *  @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.0
-     *  @productversion Flex 4.5
-     */
-	override public function setEstimatedSize(estimatedWidth:Number = NaN,
-												estimatedHeight:Number = NaN,
-												invalidateSize:Boolean = true):void
-    {
-        var oldcw:Number = this.estimatedWidth;
-        var oldch:Number = this.estimatedHeight;
-        super.setEstimatedSize(estimatedWidth, estimatedHeight);
-		var sameWidth:Boolean = isNaN(estimatedWidth) && isNaN(oldcw) || estimatedWidth == oldcw;
-		var sameHeight:Boolean = isNaN(estimatedHeight) && isNaN(oldch) || estimatedHeight == oldch;
-		if (!(sameHeight && sameWidth))
-        {
-            if (!isNaN(explicitWidth) &&
-                !isNaN(explicitHeight))
-                return;
-
-            if (_layout)
-                layout.setEstimatedSize(estimatedWidth, estimatedHeight, invalidateSize);
-        }
-
-    }
-
-    /**
-     *  @private
-     */
-    override public function validateEstimatedSizesOfChildren():void
-    {
-        if (!childEstimatedSizesChanged)
-            return;
-
-        if (_layout)
-		{
-            layout.estimateSizesOfElements();
-			childEstimatedSizesChanged = false;
-		}
-        else
-            super.validateEstimatedSizesOfChildren();
-    }
-
-    /**
      *  @private
      */
     override protected function validateMatrix():void
@@ -1814,7 +1768,7 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function getVirtualElementAt(index:int, eltWidth:Number=NaN, eltHeight:Number=NaN, skipValidation:Boolean = false):IVisualElement
+    public function getVirtualElementAt(index:int, eltWidth:Number=NaN, eltHeight:Number=NaN):IVisualElement
     {
         return getElementAt(index);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3430
Author:   gruehle@adobe.com
Date:     2008-09-30T23:43:13.377931Z

Log Message:
-----------
This is a collection of minor component changes, done for consistency.

* Data is always "pushed" into skin parts. We were doing this in some places like ItemsComponent.contentGroup, but not in other places. Affected components are TextInput, TextArea, NumericStepper, and Button.

* Button (and every subclass) has an optional "labelField" SkinPart. The Button "label" property is pushed into this part if it is defined.

* Added skin states to the following components:
  TrackBase (includes H/VScrollBar and H/VSlider): States "normal" and "disabled".
  Spinner (includes NumericStepper): States "normal" and "disabled".
  ContainerBase (includes ItemsComponent, Selector, and List): States "normal" and "disabled".

  The appearance of "disabled" states is controlled by the skin. The behavior of "disabled" states is still controlled by the component (ie ScrollBar disables the thumb, track and arrow when it is disabled).

* Added new ContainerBase class, which is the base class for ItemsComponent and DataComponent. The base class manages the skin states and puts up a mouse shield when disabled.

* Thumb positioning code in slider and scrollbar always rounds to the nearest pixel boundary. Sub-pixel positioning makes the thumbs look blurry.

* TextView measurement is rounded to integer values. It was commonly returning non-integer values which was causing subsequent components in relative layouts to be positioned on sub-pixel boundaries.

Bugs: SDK-16933 Make Label be an optional part of Button and related components
QE: The pixel alignment changes may result in bitmap comparison failures. The bitmaps should be regenerated with the pixel alignment. There should be no functional changes to any of the components.
Reviewer: Chet, Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/RadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/DataComponentSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ItemsComponentSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/NumericStepperSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/DataComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ItemsComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/VScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SpinnerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SelectorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ComplexPanelSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as
@@ -23,6 +23,11 @@
  *  @eventType flash.events.Event
  */
 [Event(name="change", type="flash.events.Event")]
+
+/**
+ *  Skin states for this component.
+ */
+[SkinStates("normal", "disabled")]

 /**
  *  TrackBase is a base class for components with a track
@@ -103,6 +108,7 @@
     {
         super.enabled = value;
         enableSkinParts(value);
+        invalidateSkinState();
     }

     override public function set maximum(value:Number):void
@@ -216,6 +222,14 @@
         positionThumb(valueToPosition(value));
     }

+    /**
+     *  @inheritDoc
+     */
+	override protected function getUpdatedSkinState():String
+	{
+		return enabled ? "normal" : "disabled";
+	}
+
     /**
      *  Adds event handlers to the track and thumb for mouse events.
      */


Hide mouse cursor when idle.

Hide mouse cursor when idle.

--- src/goplayer/SkinnedPlayerView.as
+++ src/goplayer/SkinnedPlayerView.as
@@ -3,6 +3,7 @@
   import flash.display.Sprite
   import flash.events.Event
   import flash.events.MouseEvent
+  import flash.ui.Mouse
   import flash.utils.getTimer

   public class SkinnedPlayerView extends Component
@@ -54,6 +55,11 @@
     {
       if (!player.playing)
         registerInteraction()
+
+      if (showControls)
+        Mouse.show()
+      else
+        Mouse.hide()

       skin.update()
     }


Attempting to allow sub validators to work more flexibly

--- as3/smartform/src/com/rpath/raf/util/ValidationHelper.as
+++ as3/smartform/src/com/rpath/raf/util/ValidationHelper.as
@@ -56,11 +56,28 @@
     public class ValidationHelper extends LifecycleObject
     {

+
+        private var _isValid:Boolean = true;
+
         /** isValid indicates whether this ValidationHelper as a whole is
          * valid. This is also bound to the target.property (if provided)
          */
-
-        public var isValid:Boolean = true;
+        [Bindable("validChanged")]
+        public function get isValid():Boolean
+        {
+            return _isValid;
+        }
+
+        /**
+         * @private
+         */
+        public function set isValid(value:Boolean):void
+        {
+            _isValid = value;
+            // propagate a validation changed event through our target view
+            target.dispatchEvent(new FlexEvent("validChanged",true,true));
+        }
+

         public function ValidationHelper(vals:Array=null, target:IEventDispatcher=null, property:String=null, errorTipManager:ErrorTipManager=null)
         {
@@ -129,6 +146,8 @@
             if (_target)
             {
                 _target.removeEventListener(Event.CLOSE, handleTargetRemovedFromStage);
+                _target.removeEventListener(FlexEvent.HIDE, handleTargetRemovedFromStage);
+                _target.removeEventListener(Event.REMOVED_FROM_STAGE, handleTargetRemovedFromStage);
             }

             bindTargetProperty(v, property);
@@ -138,6 +157,8 @@
             if (_target)
             {
                 _target.addEventListener(Event.CLOSE, handleTargetRemovedFromStage,false,0,true);
+                _target.addEventListener(FlexEvent.HIDE, handleTargetRemovedFromStage,false,0,true);
+                _target.addEventListener(Event.REMOVED_FROM_STAGE, handleTargetRemovedFromStage,false,0,true);
             }
         }

@@ -189,6 +210,7 @@
             {
                 v.removeEventListener(ValidationResultEvent.VALID, handleItemValidationEvent);
                 v.removeEventListener(ValidationResultEvent.INVALID, handleItemValidationEvent);
+                v.removeEventListener("validChanged", handleItemValidationEvent);
             }

             errorTipManager.unregisterValidator(v as Validator);
@@ -211,6 +233,7 @@
         {
             v.addEventListener(ValidationResultEvent.VALID, handleItemValidationEvent,false,0,true);
             v.addEventListener(ValidationResultEvent.INVALID, handleItemValidationEvent,false,0,true);
+            v.addEventListener("validChanged", handleItemValidationEvent,false,0,true);
         }

         private function getKeys(map:Dictionary) : Array
@@ -297,6 +320,11 @@
             else if (event is ValidationResultEvent)
             {
                 validateNow(true);
+            }
+            else if (event.type == 'validChanged')
+            {
+                // bubbling from subordinate ValidationHelpers
+                validateNow(false);
             }
         }


Updated to support the latest Foxhole version, by fixing issues with the new label handling

--- src/justpinegames/Logi/Console.as
+++ src/justpinegames/Logi/Console.as
@@ -124,30 +124,23 @@
 			_copyButton = new Button();

 			_copyButton.label = "Copy All";
-            _copyButton.defaultSkin = new Quad(100, 20, 0xff0000);
-
-            _copyButton.addEventListener(starling.events.Event.ADDED, function(e:starling.events.Event):void
-			{
-                /*
+			_copyButton.addEventListener(starling.events.Event.ADDED, function(e:starling.events.Event):void
+			{
                 _copyButton.defaultLabelProperties.smoothing = TextureSmoothing.NONE;
                 _copyButton.downLabelProperties.smoothing = TextureSmoothing.NONE;
-                                                       */
-                _copyButton.defaultSelectedLabelProperties.textFormat = new BitmapFontTextFormat(_defaultFont, 16, _consoleSettings.textColor);
-
-                _copyButton.defaultLabelProperties.defaultTextFormat = new BitmapFontTextFormat(_defaultFont, 16, _consoleSettings.textColor);
-                _copyButton.downLabelProperties.downTextFormat = new BitmapFontTextFormat(_defaultFont, 16, _consoleSettings.highlightColor);
-                            /*
-                _copyButton.disabledSkin = null;
+
+				_copyButton.defaultLabelProperties.textFormat = new BitmapFontTextFormat(_defaultFont, 16, _consoleSettings.textColor);
+				_copyButton.downLabelProperties.textFormat = new BitmapFontTextFormat(_defaultFont, 16, _consoleSettings.highlightColor);
+
+				_copyButton.disabledSkin = null;
 				_copyButton.defaultSkin = null;
 				_copyButton.upSkin = null;
 				_copyButton.downSkin = null;
 				_copyButton.hoverSkin = null;
-				              */
-                _copyButton.width = 150;
+
+				_copyButton.width = 150;
 				_copyButton.height = 40;
-                _copyButton.label = "Copy All";
-
-            });
+			});
 			_copyButton.onPress.add(copy);
 			_consoleContainer.addChild(_copyButton);

@@ -189,8 +182,8 @@
 			_quad.width = width;
 			_quad.height = _consoleHeight;

-			_copyButton.x = width - 110 - HORIZONTAL_PADDING -100;
-			_copyButton.y = _consoleHeight - 33 - VERTICAL_PADDING - 50;
+			_copyButton.x = width - 110 - HORIZONTAL_PADDING;
+			_copyButton.y = _consoleHeight - 33 - VERTICAL_PADDING;

 			_list.width = this.stage.stageWidth - HORIZONTAL_PADDING * 2;
 			_list.height = _consoleHeight - VERTICAL_PADDING * 2;


LPP-2169: setting clip=true when drawview clips, removes non-rectangular mask

git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@1537 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

--- WEB-INF/lps/lfc/views/LzDrawView.as
+++ WEB-INF/lps/lfc/views/LzDrawView.as
@@ -145,6 +145,8 @@
 // @keywords private
 //------------------------------------------------------------------------------
 LzDrawView.prototype.clip = function() {
+    if (this.mask)
+        this.removeMask(); // Remove any mask created by clip="true"
     if (this.__LZmaskClip == null){
         this.applyMask(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@1290352 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridBaseSelectionPending.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridBaseSelectionPending.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.controls.advancedDataGridClasses
 {


fixed for sim

fixed for sim

--- actionscript/src/com/freshplanet/ane/AirFacebook/Facebook.as
+++ actionscript/src/com/freshplanet/ane/AirFacebook/Facebook.as
@@ -33,20 +33,20 @@

     private static function isIOS():Boolean
     {
-        return Capabilities.version.indexOf("IOS") != -1;
+        return Capabilities.manufacturer.indexOf("iOS") > -1;
     }

     private static function isAndroid():Boolean
     {
-        return Capabilities.version.indexOf("AND") != -1;
+        return Capabilities.manufacturer.indexOf("Android") > -1;
     }

     public function Facebook()
     {
-        if(!isSupported){
-            throw new Error("This extension is supported only on iOS and Android!");
-        }
         if (!_instance) {
+
+            _instance = this;
+
             _context = ExtensionContext.createExtensionContext(EXTENSION_ID, null);
             if (!_context) {
                 log("ERROR - Extension context is null. Please check if extension.xml is setup correctly.");
@@ -58,7 +58,6 @@
             NativeApplication.nativeApplication.addEventListener(Event.ACTIVATE, onActivate);
             NativeApplication.nativeApplication.addEventListener(Event.DEACTIVATE, onDeactivate);

-            _instance = this;
         }
         else {
             throw Error("This is a singleton, use getInstance(), do not call the constructor directly.");
@@ -83,10 +82,6 @@

     public static function getInstance():Facebook
     {
-        if(!isSupported){
-            trace("This extension is supported only on iOS and Android!");
-            return null;
-        }
         return _instance ? _instance : new Facebook();
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 10672
Author:   dloverin@adobe.com
Date:     2009-09-29T11:43:11.672658Z

Log Message:
-----------
Use styleManager instance instead of the StyleManager singleton (airframework, halo, and spark projects)

A couple updates in the framework project as well.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex
Tests run: checkintests
Is noteworthy for integration: no.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/SliderTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/SetActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ScrollTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/dataGridClasses/TLFDataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ProgressTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/TitleBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ButtonBarButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/NumericStepperDownSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/PopUpButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/TabSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ScrollArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/CheckBoxIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/NumericStepperUpSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleModule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/RadioButtonIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/DateChooserMonthArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ComboBoxArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/MenuBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ProgressBarSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/ScrollThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as</path>

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

--- frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as
+++ frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as
@@ -328,7 +328,7 @@
      */
     override public function getStyle(styleProp:String):*
     {
-        return (StyleManager.inheritingStyles[styleProp]) ?
+        return (styleManager.inheritingStyles[styleProp]) ?
             inheritingStyles[styleProp] : nonInheritingStyles[styleProp];
     }

@@ -366,7 +366,7 @@
         // then regenerate the UIComponent's proto chain (and the proto chains
         // of this UIComponent's descendants).
         var isInheritingStyle:Boolean =
-            StyleManager.isInheritingStyle(styleProp);
+            styleManager.isInheritingStyle(styleProp);
         var isProtoChainInitialized:Boolean =
             inheritingStyles != StyleProtoChain.STYLE_UNINITIALIZED;
         if (isInheritingStyle)
@@ -582,7 +582,7 @@
                 for (var c:int=0; c < styleNames.length; c++)
                 {
                     if (styleNames[c].length) {
-                        classSelectors.push(StyleManager.getStyleDeclaration("." +
+                        classSelectors.push(styleManager.getStyleDeclaration("." +
                             styleNames[c]));
                     }
                 }
@@ -594,7 +594,7 @@
         // getting the tail of the proto chain, which is:
         //  - for non-inheriting styles, the global style sheet
         //  - for inheriting styles, my parent's style object
-        var nonInheritChain:Object = StyleManager.stylesRoot;
+        var nonInheritChain:Object = styleManager.stylesRoot;

         var p:IStyleClient = parent as IStyleClient;
         if (p)
@@ -605,7 +605,7 @@
         }
         else
         {
-            inheritChain = StyleManager.stylesRoot;
+            inheritChain = styleManager.stylesRoot;
         }

         // Working backwards up the list, the next element in the
@@ -687,7 +687,7 @@
                className != "mx.core.UITLFTextField")
         {
             var s:CSSStyleDeclaration =
-                StyleManager.getStyleDeclaration(className);
+                styleManager.getStyleDeclaration(className);

             if (s)
             {


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

--- frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as
+++ frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as
@@ -0,0 +1,403 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.charts.series
+{
+
+import mx.charts.HitData;
+import mx.charts.chartClasses.HLOCSeriesBase;
+import mx.charts.renderers.HLOCItemRenderer;
+import mx.charts.series.items.HLOCSeriesItem;
+import mx.charts.styles.HaloDefaults;
+import mx.core.ClassFactory;
+import mx.core.mx_internal;
+import mx.graphics.IStroke;
+import mx.graphics.LinearGradientStroke;
+import mx.graphics.Stroke;
+import mx.styles.CSSStyleDeclaration;
+import mx.core.IFlexModuleFactory;
+
+use namespace mx_internal;
+
+/**
+ *  Specifies the length, in pixels, for the close tick mark.
+ *  Regardless of this value, an HLOCSeries will not render the close tick
+ *  mark outside of the area assigned to the individual element.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="closeTickLength", type="Number", format="Length", inherit="no")]
+
+/**
+ *  Specifies the stroke to use for the close tick mark
+ *  if an opening value is specified.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="closeTickStroke", type="mx.graphics.IStroke", inherit="no")]
+
+/**
+ *  @private
+ *  Style used to determine default color of stroke to be used
+ *  when custom IStroke is specified as either stroke, openTickStroke or
+ *  closeTickStroke.
+ */
+[Style(name="hlocColor", type="uint", format="Color", inherit="no")]
+
+/**
+ *  Specifies the length, in pixels, for the open tick mark
+ *  if an opening value is specified.
+ *  Regardless of this value, an HLOCSeries will not render the open tick
+ *  mark outside of the area assigned to the individual element.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="openTickLength", type="Number", format="Length", inherit="no")]
+
+/**
+ *  Specifies the stroke to use for the open tick mark
+ *  if an opening value is specified.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="openTickStroke", type="mx.graphics.IStroke", inherit="no")]
+
+/**
+ *  Sets the stroke style for this data series.
+ *  You must specify a Stroke object to define the stroke.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="stroke", type="mx.graphics.IStroke", inherit="no")]
+
+[Exclude(name="hlocColor", kind="style")]	//this is private style and excluded from tag inspector
+
+/**
+ *  Represents financial data as a series of elements
+ *  representing the high, low, closing, and, optionally, opening values
+ *  of a data series.
+ *  The top and bottom of the vertical line in each element
+ *  represent the high and low values for the datapoint.
+ *  The right-facing tick mark represents the closing value,
+ *  and the left tick mark represents the opening value, if one was specified.
+ *
+ *  @mxml
+ *
+ *
The <mx:HLOCSeries> tag inherits all the properties
+ *  of its parent classes, and adds the following properties:

+ *
+ *

+ *  <mx:HLOCSeries
+ *    Styles
+ *    closeTickLength="No default"
+ *    closeTickStroke="No default"
+ *    openTickLength="No default"
+ *    openTickStroke="No default"
+ *    stroke="No default"
+ *  />
+ *

+ *
+ *  @see mx.charts.HLOCChart
+ *
+ *  @includeExample ../examples/HLOCChartExample.mxml
+ *
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class HLOCSeries extends HLOCSeriesBase
+{
+    include "../../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class initialization
+	//
+	//--------------------------------------------------------------------------
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function HLOCSeries()
+	{
+		super();
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var _moduleFactoryInitialized:Boolean = false;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods
+	//
+	//--------------------------------------------------------------------------
+
+
+	/**
+	 *  @private
+	 */
+	private function initStyles():Boolean
+	{
+		HaloDefaults.init(styleManager);
+
+		var hlocSeriesStyle:CSSStyleDeclaration =
+			HaloDefaults.createSelector("mx.charts.series.HLOCSeries", styleManager);
+
+		hlocSeriesStyle.defaultFactory = function():void
+		{
+			this.closeTickLength = 3;
+			this.closeTickStroke= new Stroke(0, 3, 1, false, "normal", "none");
+			this.itemRenderer = new ClassFactory(HLOCItemRenderer);
+			this.openTickLength = 3;
+			this.openTickStroke= new Stroke(0, 3, 1, false, "normal", "none");
+			this.stroke = new Stroke(0, 0);
+			this.hlocColor = 0;
+		}
+
+		return true;
+	}
+
+	/**
+	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	override public function set moduleFactory(factory:IFlexModuleFactory):void
+	{
+		super.moduleFactory = factory;
+
+		if (_moduleFactoryInitialized)
+			return;
+
+		_moduleFactoryInitialized = true;
+
+		// our style settings
+		initStyles();
+	}
+
+	/**
+     *  @private
+     */
+    override public function getAllDataPoints():Array /* of HitData */
+    {
+    	if (!_renderData)
+    		return [];
+    	if (!(_renderData.filteredCache))
+    		return [];
+
+    	var itemArr:Array /* of HLOCSeriesItem */ = [];
+    	if (chart && chart.dataTipItemsSet && dataTipItems)
+    		itemArr = dataTipItems;
+    	else if (chart && chart.showAllDataTips && _renderData.filteredCache)
+    		itemArr = _renderData.filteredCache;
+    	else
+    		itemArr = [];
+
+    	var n:uint = itemArr.length;
+    	var i:uint;
+    	var result:Array /* of HitData */ = [];
+
+    	for (i = 0; i < n; i++)
+        {
+            var v:HLOCSeriesItem = itemArr[i];
+            if (_renderData.filteredCache.indexOf(v) == -1)
+            {
+            	var itemExists:Boolean = false;
+            	var m:int  = _renderData.filteredCache.length;
+            	for (var j:int = 0; j < m; j++)
+            	{
+            		if (v.item == _renderData.filteredCache[j].item)
+            		{
+            			v = _renderData.filteredCache[j];
+            			itemExists = true;
+            			break;
+            		}
+            	}
+            	if (!itemExists)
+            		continue;
+            }
+            if (v)
+        	{
+            	var ypos:Number = _openField != "" ?
+							  (v.open + v.close) / 2 :
+							  v.close;
+
+				var id:int = v.index;
+
+				var hd:HitData = new HitData(createDataID(id), Math.sqrt(0),
+										 v.x + _renderData.renderedXOffset,
+										 ypos, v);
+
+				var istroke:IStroke;
+				var gb:LinearGradientStroke;
+
+				istroke= getStyle("stroke");
+				if (istroke is Stroke)
+				{
+					hd.contextColor = Stroke(istroke).color;
+				}
+				else if (istroke is LinearGradientStroke)
+				{
+					gb = LinearGradientStroke(istroke);
+					if (gb.entries.length > 0)
+						hd.contextColor = gb.entries[0].color;
+				}
+
+				hd.dataTipFunction = formatDataTip;
+            	result.push(hd);
+        	}
+        }
+        return result;
+    }
+
+	/**
+	 *  @private
+	 */
+	override public function findDataPoints(x:Number, y:Number,
+											sensitivity:Number):Array /* of HitData */
+	{
+		// esg, 8/7/06: if your mouse is over a series when it gets added and displayed for the first time, this can get called
+		// before updateData, and before and render data is constructed. The right long term fix is to make sure a stubbed out
+		// render data is _always_ present, but that's a little disruptive right now.
+		if (interactive == false || !_renderData)
+			return [];
+
+		var minDist:Number = _renderData.renderedHalfWidth;
+
+		var strokeLength:Number = getStyle("closeTickLength");
+		if (openField != "" && openField != null)
+			strokeLength += getStyle("openTickLength");
+
+		if (minDist > strokeLength)
+			minDist = strokeLength;
+		minDist += sensitivity;
+
+		var minItem:HLOCSeriesItem;
+
+		var n:int = _renderData.filteredCache.length;
+		for (var i:int = 0; i < n; i++)
+		{
+			var v:HLOCSeriesItem = _renderData.filteredCache[i];
+
+			var dist:Number = Math.abs((v.x + _renderData.renderedXOffset) - x);
+			if (dist > minDist)
+				continue;
+
+			var lowValue:Number = Math.max(v.low,Math.max(v.high,v.close));
+			var highValue:Number = Math.min(v.low,Math.min(v.high,v.close));
+			if (!isNaN(v.open))
+			{
+				lowValue = Math.max(lowValue,v.open);
+				highValue = Math.min(highValue,v.open);
+			}
+
+			if (highValue- y > sensitivity)
+				continue;
+			if (y - lowValue > sensitivity)
+				continue;
+
+			minDist = dist;
+			minItem = v;
+			if (dist < _renderData.renderedHalfWidth)
+			{
+				// We're actually inside the column, so go no further.
+				break;
+			}
+		}
+
+		if (minItem)
+		{
+			var ypos:Number = _openField != "" ?
+							  (minItem.open + minItem.close) / 2 :
+							  minItem.close;
+
+			var id:int = minItem.index;
+
+			var hd:HitData = new HitData(createDataID(id), Math.sqrt(minDist),
+										 minItem.x + _renderData.renderedXOffset,
+										 ypos, minItem);
+
+			var istroke:IStroke;
+			var gb:LinearGradientStroke;
+
+			istroke= getStyle("stroke");
+			if (istroke is Stroke)
+			{
+				hd.contextColor = Stroke(istroke).color;
+			}
+			else if (istroke is LinearGradientStroke)
+			{
+				gb = LinearGradientStroke(istroke);
+				if (gb.entries.length > 0)
+					hd.contextColor = gb.entries[0].color;
+			}
+
+			hd.dataTipFunction = formatDataTip;
+
+			istroke = getStyle("stroke");
+			if (istroke is Stroke)
+			{
+				hd.contextColor = Stroke(istroke).color;
+			}
+			else if (istroke is LinearGradientStroke)
+			{
+				gb = LinearGradientStroke(istroke);
+				if (gb.entries.length > 0)
+					hd.contextColor = gb.entries[0].color;
+			}
+
+			return [ hd ];
+		}
+
+		return [];
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 6368
Author:   gosmith@adobe.com
Date:     2009-04-29T02:20:06.064038Z

Log Message:
-----------
Undid typo fix in SWFBridgeEvent ("brdigeWindowDeactivate" -> "bridgeWindowDeactivate") that I made in revision 6343.

This class is involved in the "Marshall Plan" feature of making SWFs compiled against different versions of the framework work together. Therefore any change has to be made across Flex 3 and Flex 4. And since versions of Flex 3 with the misspelling have already shipped, it needs to be made in a way such that apps with the misspelled event can communicate with apps with the correctly spelled event. So I'll file a bug and leave it to Darrell or Alex if we decide to fix it.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Darrell and Alex

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as

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

--- frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as
+++ frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as
@@ -133,7 +133,7 @@
 	 *  @productversion Flex 3
 	 */
     public static const BRIDGE_WINDOW_DEACTIVATE:String =
-		"bridgeWindowDeactivate";
+		"brdigeWindowDeactivate";

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 19864
Author:   smgilson@adobe.com
Date:     2011-01-21T17:26:11.511570Z

Log Message:
-----------
ASDoc updates for Form

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/layouts/FormLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Form.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormHeading.as</path>

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

--- frameworks/projects/spark/src/spark/components/FormHeading.as
+++ frameworks/projects/spark/src/spark/components/FormHeading.as
@@ -32,7 +32,7 @@
 [Style(name="backgroundAlpha", type="Number", inherit="no", theme="spark")]

 /**
- *  Background color of a component.
+ *  Background color of the component.
  *
  *  @default 0xFFFFFF
  *
@@ -58,14 +58,86 @@
 [IconFile("FormHeading.png")]

 /**
- * A simple form item component which contains a label. It is used to
- * provide a heading to a set of form items. It is basically a FormItem
- * without any content, sequenceLabel or helpContent. Since it is
- * a separate class from FormItem, it has a default style
- * (larger font size) and its own skin.
+ *  The Spark FormHeading container displays a heading
+ *  for a group of controls inside a Spark Form container.
+ *  You can include multiple FormHeading containers within a single Form
+ *  container.
+ *
+ *  @mxml
+ *
+ *
The <s:FormHeading> tag inherits all the tag
+ *  attributes of its superclass and adds no new tag attributes:

+ *
+ *

+ *  <mx:FormHeading
+ *    Properties
+ *    label=""
+ *
+ *    Common Styles
+ *    alignmentBaseline="baseline"
+ *    baselineShift="0"
+ *    cffHinting="0.0"
+ *    color="0x000000"
+ *    digitCase="default"
+ *    digitWidth="default"
+ *    direction="ltr"
+ *    dominantBaseline="auto"
+ *    fontFamily="Arial"
+ *    fontLookup="embeddedCFF"
+ *    fontSize="12"
+ *    fontStyle="normal"
+ *    fontWeight="normal"
+ *    justificationRule="auto"
+ *    justificationStyle="auto"
+ *    kerning="false"
+ *    ligatureLevel="common"
+ *    lineBreak="toFit"
+ *    lineHeight="120%"
+ *    lineThrough="false%"
+ *    locale="en"
+ *    paddingBottom="0"
+ *    paddingLeft="0"
+ *    paddingRight="0"
+ *    paddingTop="0"
+ *    renderingMode="cff"
+ *    textAlign="start"
+ *    textAlignLast="start"
+ *    textAlpha="1"
+ *    textDecoration="start"
+ *    textJustify="interWord"
+ *    trackingLeft="0"
+ *    trackingRight="00"
+ *    typographicCase="default"
+ *    verticalAlign="top"
+ *
+ *    Common Styles
+ *    leading="2"
+ *    letterSpacing="0"
+ *  />
+ *

+ *
+ *  @see spark.components.Form
+ *  @see spark.components.FormItem
+ *  @see spark.layouts.FormLayout
+ *  @see spark.skins.spark.FormHeadingSkin
+ *
+ *  @includeExample examples/FormExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
  */
 public class FormHeading extends SkinnableComponent
 {
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
     public function FormHeading()
     {
     }
@@ -99,7 +171,7 @@
     [Inspectable(category="General", defaultValue="")]

     /**
-     *  Text to display in the FormHeading
+     *  Text to display in the FormHeading component.
      *
      *  @default ""
      */