Transferred from the Adobe Open Source Subversion Repository

Revision: 17274
Author:   rfrishbe@adobe.com
Date:     2010-08-11T18:08:34.293087Z

Log Message:
-----------
A lot of changes, most involving touch scrolling.

UIComponent: remove keepControlOfMouseDown, which was checked in accidentally

FocusManager: move a check for event.isPreventDefauled() from the mouseDown handler to the mouseFocusHandler.  It was probably accidentally added in the mouseDown handler in the first place since mousedown events were not prevent defaultable (they are now, though)

SystemManager: Make MouseDown events prevent defaultable.  We do this for mouseWheel handlers already.  This allows our components to communicate a little with regards to who's handling this event.  Currently only ButtonBase and ItemRenderer check for this.

Split up IconItemRenderer in to MobileItemRenderer and MobileIconItemRenderer.  MobileItemRenderer is still based on UIComponent and is in charge of drawing the background and has a single text component.  MobileIconItemRenderer will be a more complex item renderer that developers can use. I'm also moving both of these classes in to the mobilecomponents project and mapping them in the spark manifest so that developers can now use them.

ButtonBase and List: Clean up code around how we deal with touch scrolling and adding a delay to button.  We also make sure that if the Button was clicked quickly before the delay fires that we show the button in the down state for some minimum amount of time.

Scroller: clean up a lot of the touch scrolling code

QE notes: None
Doc notes: None
Bugs: SDK-27263, SDK-27173, SDK-27157, SDK-27016
Reviewer: Jason SJ for MobileItemRenderer/MobileIconItemRenderer, Hans for the rest (he's still working through it though)
Tests run: checkintests, all mustella (some mustella failed for me locally but also in a clean sandbox)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TouchScrollingEasing.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/IconItemRenderer.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/IconItemRenderer.as" copyfrom-rev="17121" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileIconItemRenderer.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="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/PaddingStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/GapStyles.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>

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

--- frameworks/projects/mobiletheme/src/MobileThemeClasses.as
+++ frameworks/projects/mobiletheme/src/MobileThemeClasses.as
@@ -26,7 +26,6 @@
 import spark.skins.mobile.CheckBoxSkin; spark.skins.mobile.CheckBoxSkin;
 import spark.skins.mobile.RadioButtonSkin; spark.skins.mobile.RadioButtonSkin;
 import spark.skins.mobile.HScrollBarSkin; spark.skins.mobile.HScrollBarSkin;
-import spark.skins.mobile.IconItemRenderer; spark.skins.mobile.IconItemRenderer;
 import spark.skins.mobile.ListSkin; spark.skins.mobile.ListSkin;
 import spark.skins.mobile.MobileApplicationSkin; MobileApplicationSkin;
 import spark.skins.mobile.SliderSkin; SliderSkin;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/skins/halo/ActivatorSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/ActivatorSkin.as
@@ -0,0 +1,320 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.skins.halo
+{
+
+import flash.display.DisplayObject;
+import flash.display.GradientType;
+import flash.filters.BlurFilter;
+import flash.utils.getQualifiedClassName;
+import flash.utils.describeType;
+import mx.core.ApplicationGlobals;
+import mx.skins.Border;
+import mx.styles.IStyleClient;
+import mx.utils.ColorUtil;
+
+/**
+ *  Defines the up, down, and over states for MenuBarItem objects.
+ */
+public class ActivatorSkin extends Border
+{
+	include "../../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private static var cache:Object = {};
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Several colors used for drawing are calculated from the base colors
+	 *  of the component (themeColor, borderColor and fillColors).
+	 *  Since these calculations can be a bit expensive,
+	 *  we calculate once per color set and cache the results.
+	 */
+	private static function calcDerivedStyles(themeColor:uint,
+											  fillColor0:uint,
+											  fillColor1:uint):Object
+	{
+		var key:String = HaloColors.getCacheKey(themeColor,
+												fillColor0, fillColor1);
+
+		if (!cache[key])
+		{
+			var o:Object = cache[key] = {};
+
+			// Cross-component styles.
+			HaloColors.addHaloColors(o, themeColor, fillColor0, fillColor1);
+		}
+
+		return cache[key];
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 */
+	public function ActivatorSkin()
+	{
+		super();
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function updateDisplayList(w:Number, h:Number):void
+	{
+		super.updateDisplayList(w, h);
+
+		if (!getStyle("translucent"))
+			drawHaloRect(w, h);
+		else
+			drawTranslucentHaloRect(w, h);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private function drawHaloRect(w:Number, h:Number):void
+	{
+		var fillAlphas:Array = getStyle("fillAlphas");
+		var fillColors:Array = getStyle("fillColors");
+		var highlightAlphas:Array = getStyle("highlightAlphas");
+		var themeColor:uint = getStyle("themeColor");
+
+		var themeColorDrk1:Number =
+			ColorUtil.adjustBrightness2(themeColor, -25);
+
+		// Derivative styles.
+		var derStyles:Object = calcDerivedStyles(themeColor, fillColors[0],
+												 fillColors[1]);
+
+		graphics.clear();
+
+		switch (name)
+		{
+			case "itemUpSkin": // up/disabled
+			{
+				// invisible hit area
+				drawRoundRect(
+					x, y, w, h, 0,
+					0xFFFFFF, 0);
+				break;
+			}
+
+			case "itemDownSkin":
+			{
+				// face
+				drawRoundRect(
+					x + 1, y + 1, w - 2, h - 2, 0,
+					[ derStyles.fillColorPress1, derStyles.fillColorPress2], 1,
+					verticalGradientMatrix(0, 0, w, h ));
+
+				// highlight
+				drawRoundRect(
+					x + 1, y + 1, w - 2, h - 2 / 2, 0,
+					[ 0xFFFFFF, 0xFFFFFF ], highlightAlphas,
+					verticalGradientMatrix(0, 0, w - 2, h - 2));
+
+				break;
+			}
+
+			case "itemOverSkin":
+			{
+				var overFillColors:Array;
+				if (fillColors.length > 2)
+					overFillColors = [ fillColors[2], fillColors[3] ];
+				else
+					overFillColors = [ fillColors[0], fillColors[1] ];
+
+				var overFillAlphas:Array;
+				if (fillAlphas.length > 2)
+					overFillAlphas = [ fillAlphas[2], fillAlphas[3] ];
+  				else
+					overFillAlphas = [ fillAlphas[0], fillAlphas[1] ];
+
+				// face
+				drawRoundRect(
+					x + 1, y + 1, w - 2, h - 2, 0,
+					overFillColors, overFillAlphas,
+					verticalGradientMatrix(0, 0, w, h ));
+
+				// highlight
+				drawRoundRect(
+					x + 1, y + 1, w - 2, h - 2 / 2, 0,
+					[ 0xFFFFFF, 0xFFFFFF ], highlightAlphas,
+					verticalGradientMatrix(0, 0, w - 2, h - 2));
+
+				break;
+			}
+		}
+
+		filters = [ new BlurFilter(2, 0) ];
+	}
+
+	/**
+	 *  @private
+	 *  The drawTranslucentHaloRect function is called when the "translucent"
+	 *  style is set to true, which happens when a MenuBar is inside an ACB.
+	 */
+	private function drawTranslucentHaloRect(w:Number,h:Number):void
+	{
+		// Find the parent app bar's colors.
+		var p:IStyleClient = parent as IStyleClient;
+		while (p && !(isApplicationControlBar(p)))
+		{
+			p = DisplayObject(p).parent as IStyleClient;
+		}
+		if (!p)
+			return;
+
+		var fillColor:Object = p.getStyle("fillColor");
+		var backgroundColor:Object =
+			p.getStyle("backgroundColor");
+		var backgroundAlpha:Number =
+			p.getStyle("backgroundAlpha");
+
+		var radius:Number = p.getStyle("cornerRadius");
+		var docked:Boolean = p.getStyle("docked");
+
+		if (backgroundColor == "")
+			backgroundColor = null;
+
+		if (docked && !backgroundColor)
+		{
+			// The docked bar always has a background, so take the
+			// main application's background color.
+			var pabc:Object =
+				ApplicationGlobals.application.getStyle("backgroundColor");
+			backgroundColor = pabc ? pabc : 0x919999;
+		}
+
+		graphics.clear();
+
+		switch (name)
+		{
+			case "itemUpSkin": // up/disabled
+			{
+				drawRoundRect(
+					1, 1, w - 2, h - 1, 0,
+					0, 0);
+				filters = [];
+				break;
+			}
+
+			case "itemOverSkin":
+			{
+				if (backgroundColor)
+				{
+					drawRoundRect(
+						1, 1, w - 2, h - 1, 0,
+						backgroundColor, backgroundAlpha);
+				}
+
+				drawRoundRect(
+					1, 1, w - 2, h - 1, 0,
+					[ fillColor, fillColor, fillColor, fillColor, fillColor ],
+					[ 1, 0.75, 0.6, 0.7, 0.9 ],
+					verticalGradientMatrix(0, 0, w, h),
+					GradientType.LINEAR,
+					[ 0, 0x5F, 0x7F, 0xBF, 0xFF ]);
+
+				filters = [ new BlurFilter(0, 4) ];
+				break;
+			}
+
+			case "itemDownSkin":
+			{
+				if (backgroundColor)
+				{
+					drawRoundRect(
+						1, 1, w - 2, h - 1, 0,
+						backgroundColor, backgroundAlpha);
+				}
+
+				drawRoundRect(
+					1, 1, w - 2, h - 1, 0,
+					[ fillColor, fillColor, fillColor, fillColor, fillColor ],
+					[ 0.85, 0.6, 0.45, 0.55, 0.75 ],
+					verticalGradientMatrix(0, 0, w, h),
+					GradientType.LINEAR,
+					[ 0, 0x5F, 0x7F, 0xBF, 0xFF ]);
+
+				filters = [ new BlurFilter(0, 4) ];
+				break;
+			}
+		}
+	}
+
+	/**
+	 *  We don't use 'is' to prevent dependency issues
+	 */
+	static private var acbs:Object = {};
+
+	static private function isApplicationControlBar(parent:Object):Boolean
+	{
+		var s:String = getQualifiedClassName(parent);
+		if (acbs[s] == 1)
+			return true;
+
+		if (acbs[s] == 0)
+			return false;
+
+		if (s == "mx.containers::ApplicationControlBar")
+		{
+			acbs[s] == 1;
+			return true;
+		}
+
+		var x:XML = describeType(parent);
+		var xmllist:XMLList = x.extendsClass.(@type == "mx.containers::ApplicationControlBar");
+		if (xmllist.length() == 0)
+		{
+			acbs[s] = 0;
+			return false;
+		}
+
+		acbs[s] = 1;
+		return true;
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 15859
Author:   jszeto@adobe.com
Date:     2010-05-01T00:03:11.333724Z

Log Message:
-----------
Form Feature Work

FormLayout:
- set width of each form item to the sum of the widest columns.
- refactored some logic
- added call to getMeasuredColumnWidths in updateDisplayList()
- set Form's measuredWidth to sum of the widest columns in measure()

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

Modified Paths:
--------------
/private/flex/sdk/branches/flex4_5/frameworks/projects/spark/src/spark/layouts/FormLayout.as

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

--- frameworks/projects/spark/src/spark/layouts/FormLayout.as
+++ frameworks/projects/spark/src/spark/layouts/FormLayout.as
@@ -43,6 +43,9 @@
             super();
         }

+        /**
+         *  @private
+         */
         private var colsMaxWidth:Vector.<Number>;

         //--------------------------------------------------------------------------
@@ -56,7 +59,33 @@
          */
         override public function measure():void
         {
-
+            super.measure();
+
+            const layoutTarget:GroupBase = target;
+            if (!layoutTarget)
+                return;
+
+            getColumnWidthsMax();
+
+            var formWidth:Number = getColumnWidthsSum();
+
+            // use measured column widths to set Form's measuredWidth
+            layoutTarget.measuredWidth = Math.max(formWidth, layoutTarget.measuredWidth);
+            layoutTarget.measuredMinWidth = Math.max(formWidth, layoutTarget.measuredMinWidth);
+        }
+
+        /**
+         *  @private
+         */
+        override public function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+        {
+            // TODO add logic for getting measuredWidths again
+
+            super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+            getColumnWidthsMax();
+
+            var eltWidth:Number = getColumnWidthsSum();

             var layout:LayoutBase;
             var fiLayout:FormItemLayout;
@@ -70,12 +99,60 @@
             var formItem:IFormItem
             var elt:IVisualElement

+            if (colsMaxWidth != null)
+            {
+                var eltHeight:Number;
+
+                for(var i:int = 0; i < nElts; i++)
+                {
+                    elt = layoutTarget.getElementAt(i);
+
+                    if (elt is GroupBase)
+                        layout = GroupBase(elt).layout;
+                    else if (elt is FormItem)
+                        layout = FormItem(elt).skin["layout"];
+                    else if (elt is FormHeading)
+                        layout = FormHeading(elt).skin["layout"];
+                    else if (elt is SkinnableContainer)
+                        layout = SkinnableContainer(elt).layout;
+
+                    if (layout is FormItemLayout)
+                    {
+                        fiLayout = layout as FormItemLayout;
+                        fiLayout.setLayoutColumnWidths(colsMaxWidth);
+
+                        eltHeight = elt.getLayoutBoundsHeight(false);
+
+                        elt.setLayoutBoundsSize(eltWidth, eltHeight);
+                    }
+
+                }
+            }
+        }
+
+        //--------------------------------------------------------------------------
+        //
+        //  Methods
+        //
+        //--------------------------------------------------------------------------
+
+        /**
+         *  @private
+         */
+        private function getColumnWidthsMax():void
+        {
+            const layoutTarget:GroupBase = target;
+
+            var layout:LayoutBase;
+            var fiLayout:FormItemLayout;
+
+            const nElts:int = layoutTarget.numElements;
+            var formItem:IFormItem
+            var elt:IVisualElement
+
             for(var i:int = 0; i < nElts; i++)
             {
                 elt = layoutTarget.getElementAt(i);
-
-
-
                 if (elt is GroupBase)
                     layout = GroupBase(elt).layout;
                 else if (elt is FormItem)
@@ -85,8 +162,6 @@
                 else if (elt is SkinnableContainer)
                     layout = SkinnableContainer(elt).layout;

-
-
                 if (layout is FormItemLayout)
                 {
                     fiLayout = layout as FormItemLayout;
@@ -106,79 +181,24 @@
                         colsMaxWidth[k] = Math.max(colsMaxWidth[k], cols[k]);
                     }
                 }
-
-
-                /*if (elt is IFormItem)
-                {
-                    formItem = IFormItem(elt);
-                    var cols:Vector.<Number> = formItem.measuredColumnWidths;
-
-                    if (colsMaxWidth == null)
-                    {
-                        colsMaxWidth = new Vector.<Number>();
-                        for (var j:int = 0; j < cols.length; j++)
-                            colsMaxWidth[j] = 0;
-                    }
-
-                    for (var k:int = 0; k < cols.length; k++)
-                    {
-                        colsMaxWidth[k] = Math.max(colsMaxWidth[k], cols[k]);
-                    }
-
-                }*/
             }
-
-
-
-            super.measure();
-         }
-
-        override public function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
-        {
-            super.updateDisplayList(unscaledWidth, unscaledHeight);
-
-            var layout:LayoutBase;
-            var fiLayout:FormItemLayout;
-
-            // Apply constraint columns before measuring
-            const layoutTarget:GroupBase = target;
-            if (!layoutTarget)
-                return;
-
-            const nElts:int = layoutTarget.numElements;
-            var formItem:IFormItem
-            var elt:IVisualElement
-
-            if (colsMaxWidth != null)
+        }
+
+        /**
+         *  @private
+         */
+        private function getColumnWidthsSum():Number
+        {
+            if (colsMaxWidth == null)
+                return 0;
+
+            var sum:Number = 0;
+            for (var i:int = 0; i < colsMaxWidth.length; i++)
             {
-                var columnMaxWidths:Vector.<Number> = colsMaxWidth.slice(0);
-
-                for(var i:int = 0; i < nElts; i++)
-                {
-                    elt = layoutTarget.getElementAt(i);
-
-                    if (elt is GroupBase)
-                        layout = GroupBase(elt).layout;
-                    else if (elt is FormItem)
-                        layout = FormItem(elt).skin["layout"];
-                    else if (elt is FormHeading)
-                        layout = FormHeading(elt).skin["layout"];
-                    else if (elt is SkinnableContainer)
-                        layout = SkinnableContainer(elt).layout;
-
-                    if (layout is FormItemLayout)
-                    {
-                        fiLayout = layout as FormItemLayout;
-                        fiLayout.setLayoutColumnWidths(columnMaxWidths);
-                    }
-
-                    /*if (elt is IFormItem)
-                    {
-                    formItem = IFormItem(elt);
-                    formItem.layoutColumnWidths = columnMaxWidths;
-                    }*/
-                }
+                sum += colsMaxWidth[i];
             }
+
+            return sum;
         }
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3309
Author:   jvroom@adobe.com
Date:     2008-09-23T05:42:00.127217Z

Log Message:
-----------
Oops - missed this method in moving over endpoint functionality in last checkin

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as

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

--- frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as
+++ frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as
@@ -13,6 +13,10 @@
 {

 import mx.core.mx_internal;
+import mx.messaging.Channel;
+import mx.messaging.ChannelSet;
+import mx.messaging.channels.AMFChannel;
+import mx.messaging.channels.SecureAMFChannel;
 import mx.rpc.AbstractOperation;
 import mx.rpc.AbstractService;

@@ -133,6 +137,34 @@
     public function set source(s:String):void
     {
         _source = s;
+    }
+
+   //-------------------------------------------------------------------------
+
+   //
+   // Internal Methods
+   //
+   //-------------------------------------------------------------------------
+
+    /**
+     *@private
+     */
+    mx_internal function initEndpoint():void
+    {
+        if (endpoint != null)
+        {
+            var chan:Channel;
+            if (endpoint.indexOf("https") == 0)
+            {
+                chan = new SecureAMFChannel(null, endpoint);
+            }
+            else
+            {
+                chan = new AMFChannel(null, endpoint);
+            }
+            channelSet = new ChannelSet();
+            channelSet.addChannel(chan);
+        }
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 5305
Author:   chaase@adobe.com
Date:     2009-03-13T20:07:42.611851Z

Log Message:
-----------
Fixed a few unrelated effects bugs, including an RTE when manually playing an FxRotate3D effect, incorrect calculations using valueBy in general, and allowing FxAnimateColor to handle color names instead of just uints.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>

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

--- frameworks/projects/spark/src/spark/effects/AnimateColor.as
+++ frameworks/projects/spark/src/spark/effects/AnimateColor.as
@@ -43,6 +43,7 @@
     // Some objects have a 'color' style instead
     private static var RELEVANT_STYLES:Array = ["color"];

+    [Inspectable(category="General", format="Color")]
     /**
      * The starting color
      *
@@ -53,6 +54,7 @@
      */
     public var colorFrom:uint = StyleManager.NOT_A_COLOR;

+    [Inspectable(category="General", format="Color")]
     /**
      * The ending color
      *


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

--- frameworks/projects/advancedgrids/src/mx/collections/GroupingField.as
+++ frameworks/projects/advancedgrids/src/mx/collections/GroupingField.as
@@ -0,0 +1,485 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+
+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+[DefaultProperty("summaries")]
+
+/**
+ *  The GroupingField class represents individual data fields
+ *  that you use to group flat data for display by the AdvancedDataGrid control.
+ *
+ *
To populate the AdvancedDataGrid control with grouped data,
+ *  you create an instance of the GroupingCollection class from your flat data,
+ *  and then pass that GroupingCollection instance to the data provider
+ *  of the AdvancedDataGrid control.
+ *  To specify the grouping fields of your flat data,
+ *  you pass a Grouping instance to
+ *  the GroupingCollection.grouping property.
+ *  The Grouping instance contains an Array of GroupingField instances,
+ *  one per grouping field.

+ *
+ *
The following example uses the Grouping class to define
+ *  two grouping fields: Region and Territory.

+ *
+ *

+ *  <mx:AdvancedDataGrid id="myADG"
+ *    <mx:dataProvider>
+ *      <mx:GroupingCollection id="gc" source="{dpFlat}">
+ *        <mx:grouping>
+ *          <mx:Grouping>
+ *            <mx:GroupingField name="Region"/>
+ *            <mx:GroupingField name="Territory"/>
+ *          </mx:Grouping>
+ *        </mx:grouping>
+ *      </mx:GroupingCollection>
+ *    </mx:dataProvider>
+ *
+ *    <mx:columns>
+ *      <mx:AdvancedDataGridColumn dataField="Region"/>
+ *      <mx:AdvancedDataGridColumn dataField="Territory"/>
+ *      <mx:AdvancedDataGridColumn dataField="Territory_Rep"/>
+ *      <mx:AdvancedDataGridColumn dataField="Actual"/>
+ *      <mx:AdvancedDataGridColumn dataField="Estimate"/>
+ *    </mx:columns>
+ *  </mx:AdvancedDataGrid>
+ *

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

+ *
+ *

+ *  <mx:GroupingField
+ *  Properties
+ *    caseInsensitive="false|true"
+ *    compareFunction="No default"
+ *    descending="false|true"
+ *    groupingFunction="No default"
+ *    groupingObjectFunction="No default"
+ *    name="null"
+ *    numeric="false|true"
+ *    summaries="No default"
+ *  />
+ *

+ *
+ *  @see mx.controls.AdvancedDataGrid
+ *  @see mx.collections.GroupingCollection
+ *  @see mx.collections.Grouping
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class GroupingField
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param name The name of the property that this field uses for
+     *              comparison.
+     *              If the object is a simple type, pass null.
+     *  @param caseInsensitive When sorting strings, tells the comparitor
+     *              whether to ignore the case of the values.
+     *  @param descending Tells the comparator whether to arrange items in
+     *              descending order.
+     *  @param numeric Tells the comparitor whether to compare sort items as
+     *              numbers, instead of alphabetically.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function GroupingField(name:String=null,
+                                caseInsensitive:Boolean=false,
+                                descending:Boolean=false,
+                                numeric:Boolean=false)
+    {
+        super();
+
+        _name = name;
+        _caseInsensitive = caseInsensitive;
+        _descending = descending;
+        _numeric = numeric;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //---------------------------------
+    //  caseInsensitive
+    //---------------------------------
+
+    /**
+     *  @private
+     *  Storage for the caseInsensitive property.
+     */
+    private var _caseInsensitive:Boolean;
+
+    [Inspectable(category="General")]
+
+    /**
+     *  Set to true if the sort for this field should be case-insensitive.
+     *
+     *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get caseInsensitive():Boolean
+    {
+        return _caseInsensitive;
+    }
+
+    /**
+     *  @private
+     */
+    public function set caseInsensitive(value:Boolean):void
+    {
+        if (value != _caseInsensitive)
+        {
+            _caseInsensitive = value;
+        }
+    }
+
+    //---------------------------------
+    //  compareFunction
+    //---------------------------------
+
+    /**
+     *  @private
+     *  Storage for the compareFunction property.
+     */
+    private var _compareFunction:Function;
+
+    [Inspectable(category="General")]
+
+    /**
+     *  The function that compares two items during a sort of items for the
+     *  associated collection. If you specify a compareFunction
+     *  property in a Grouping object, Flex ignores any compareFunction
+     *  properties of the GroupingField objects.
+     *
+     *
The compare function must have the following signature:

+     *
+     *
function myCompare(a:Object, b:Object):int

+     *
+     *
This function must return the following values:

+     *

+     *
-1, if a should appear before b in
+     *        the sorted sequence.

+     *
0, if a equals b.

+     *
1, if a should appear after b in the
+     *        sorted sequence.

+     *

+     *
+     *
The default value is an internal compare function that can perform
+     *  a string, numeric, or date comparison in ascending or descending order,
+     *  with case-sensitive or case-insensitive string comparisons.
+     *  Specify your own function only if you need a custom comparison algorithm.
+     *  This is normally only the case if a calculated field is used in a display.

+     *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get compareFunction():Function
+    {
+        return _compareFunction;
+    }
+
+    /**
+     *  @private
+     */
+    public function set compareFunction(c:Function):void
+    {
+        _compareFunction = c;
+    }
+
+    //---------------------------------
+    //  descending
+    //---------------------------------
+
+    /**
+     *  @private
+     *  Storage for the descending property.
+     */
+    private var _descending:Boolean;
+
+    [Inspectable(category="General")]
+
+    /**
+     *  Set to true if the sort for this field should be
+     *  in descending order.
+     *
+     *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get descending():Boolean
+    {
+        return _descending;
+    }
+
+    /**
+     *  @private
+     */
+    public function set descending(value:Boolean):void
+    {
+        if (_descending != value)
+        {
+            _descending = value;
+        }
+    }
+
+    //---------------------------------
+    //  name
+    //---------------------------------
+
+    /**
+     *  @private
+     *  Storage for the name property.
+     */
+    private var _name:String;
+
+    [Inspectable(category="General")]
+
+    /**
+     *  The name of the field to be sorted.
+     *
+     *  @default null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get name():String
+    {
+        return _name;
+    }
+
+    /**
+     *  @private
+     */
+    public function set name(n:String):void
+    {
+        _name = n;
+    }
+
+    //---------------------------------
+    //  numeric
+    //---------------------------------
+
+    /**
+     *  @private
+     *  Storage for the numeric property.
+     */
+    private var _numeric:Boolean;
+
+    [Inspectable(category="General")]
+
+    /**
+     *  Specifies that if the field being sorted contains numeric
+     *  (Number/int/uint) values, or String representations of numeric values,
+     *  the comparitor uses a numeric comparison.
+     *  If this property is false, fields with String representations
+     *  of numbers are sorted using String comparison, so 100 precedes 99,
+     *  because "1" is a lower string value than "9".
+     *
+     *  @default false
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get numeric():Boolean
+    {
+        return _numeric;
+    }
+
+    /**
+     *  @private
+     */
+    public function set numeric(value:Boolean):void
+    {
+        if (_numeric != value)
+        {
+            _numeric = value;
+        }
+    }
+
+    //---------------------------------
+    //  groupingFunction
+    //---------------------------------
+
+    /**
+     *  A function that determines the label for this group.
+     *  By default,
+     *  the group displays the text for the field in the data that matches the
+     *  filed specified by the name property.
+     *  However, sometimes you want to group the items based on
+     *  more than one field in the data, or group based on something that is
+     *  not a simple String field.
+     *  In such a case, you specify a callback function by using
+     *  the groupingFunction property.
+     *
+     *
A callback function might convert a number for the month into
+     *  the String for the month, or group multiple items into a single group
+     *  based on some criteria other than the actual value of the field.

+     *
+     *
For the GroupField, the method signature has the following form:

+     *
+     *
groupingFunction(item:Object, field:GroupField):String

+     *
+     *
Where item contains the data item object, and
+     *  field contains the GroupField object.

+     *
+     *  For example, a groupingFunction which returns the
+     *  first character as the group name can be written as -
+     *

+     *  private function groupFunc(item:Object, field:GroupingField):String
+     *  {
+     *      return item[field.name].toString().substr(0, 1);
+     *  }
+     *

+     *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var groupingFunction:Function;
+
+    //---------------------------------
+    //  groupingObjectFunction
+    //---------------------------------
+
+    /**
+     *  A callback function to run on each group node to determine the
+     *  grouping object.
+     *  By default, a new Object will be created for group nodes.
+     *
+     *
You can supply a groupingObjectFunction that provides the
+     *  appropriate Object for group nodes.

+     *
+     *
The method signature is:

+     *

+     *  myGroupObjectFunction(label:String):Object

+     *
+     *
Where label contains the value that will be
+     *  shown for that group node.
+     *  The function returns an Object that will be used for group nodes.

+     *
+     *  For example, a groupingObjectFunction which returns an Object
+     *  containing a "name" property with value as "Bob" can be written as -
+     *

+     *  private function groupObjFunction(label:String):Object
+     *  {
+     *      var obj:Object = {};
+     *      obj.name = "Bob";
+     *
+     *      return obj;
+     *  }
+     *

+     *
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var groupingObjectFunction:Function;
+
+    //---------------------------------
+    //  summaries
+    //---------------------------------
+
+    /**
+     *  Array of SummaryRow instances that define the group-level summaries.
+     *  Specify one or more SummaryRow instances to define the data summaries,
+     *  as the following example shows:
+     *
+     *

+     *  <mx:AdvancedDataGrid id="myADG"
+     *     width="100%" height="100%"
+     *     initialize="gc.refresh();">
+     *     <mx:dataProvider>
+     *         <mx:GroupingCollection id="gc" source="{dpFlat}">
+     *             <mx:Grouping>
+     *                 <mx:GroupingField name="Region">
+     *                   <mx:summaries>
+     *                       <mx:SummaryRow summaryPlacement="group">
+     *                         <mx:fields>
+     *                             <mx:SummaryField dataField="Actual"
+     *                                 label="Min Actual" operation="MIN"/>
+     *                             <mx:SummaryField dataField="Actual"
+     *                                 label="Max Actual" operation="MAX"/>
+     *                         </mx:fields>
+     *                       </mx:SummaryRow>
+     *                     </mx:summaries>
+     *                 </mx:GroupingField>
+     *             </mx:Grouping>
+     *         </mx:GroupingCollection>
+     *     </mx:dataProvider>
+     *
+     *     <mx:columns>
+     *         <mx:AdvancedDataGridColumn dataField="Region"/>
+     *         <mx:AdvancedDataGridColumn dataField="Territory_Rep"
+     *             headerText="Territory Rep"/>
+     *         <mx:AdvancedDataGridColumn dataField="Actual"/>
+     *         <mx:AdvancedDataGridColumn dataField="Estimate"/>
+     *         <mx:AdvancedDataGridColumn dataField="Min Actual"/>
+     *         <mx:AdvancedDataGridColumn dataField="Max Actual"/>
+     *     </mx:columns>
+     *  </mx:AdvancedDataGrid>
+     *

+     *
+     *  @see mx.collections.SummaryRow
+     *  @see mx.collections.SummaryField
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public var summaries:Array;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

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

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


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

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

 package mx.graphics
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

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

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

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as
@@ -27,6 +27,11 @@
  *  @see mx.graphics.GradientEntry
  *  @see mx.graphics.RadialGradient
  *  @see flash.display.Graphics
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class LinearGradientStroke extends GradientStroke implements IStroke
 {
@@ -95,6 +100,11 @@
      *  thickness of 10 pixels, the miter is cut off at 25 pixels.
      *  This parameter is optional,
      *  with a default value of 0.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function LinearGradientStroke(weight:Number = 1,
                                          pixelHinting:Boolean = false,
@@ -117,6 +127,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private static var commonMatrix:Matrix = new Matrix();

@@ -126,6 +141,11 @@
      *
      *  @param g The Graphics object to which the LinearGradientStroke styles
      *  are applied.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function apply(g:Graphics):void
     {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.messaging.config
 {


Don't die silently.

Don't die silently.

	* build-aux/urbi.as (find_urbi_server): Die with a message.

--- build-aux/urbi.as
+++ build-aux/urbi.as
@@ -122,7 +122,8 @@
        URBI_SERVER=$(find_prog "$URBI_SERVER" "$PATH")
        # If we can't find it, then ucore-pc was probably not installed.
        # Skip.
-       test x"$URBI_SERVER" != x || exit 77
+       test x"$URBI_SERVER" != x ||
+         fatal 77 "cannot find $URBI_SERVER in $PATH"
        ;;
   esac


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -61,7 +61,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="accentColor", type="uint", format="Color", inherit="yes", theme="spark")]
+[Style(name="accentColor", type="uint", format="Color", inherit="yes", theme="spark, mobile")]

 /**
  *  The colors to use for the backgrounds of the items in the list.
@@ -75,7 +75,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="alternatingItemColors", type="Array", arrayType="uint", format="Color", inherit="yes", theme="spark")]
+[Style(name="alternatingItemColors", type="Array", arrayType="uint", format="Color", inherit="yes", theme="spark, mobile")]

 /**
  *  The main color for a component.
@@ -87,7 +87,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="chromeColor", type="uint", format="Color", inherit="yes", theme="spark")]
+[Style(name="chromeColor", type="uint", format="Color", inherit="yes", theme="spark, mobile")]

 /**
  *  The alpha of the content background for this component.
@@ -99,7 +99,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="contentBackgroundAlpha", type="Number", inherit="yes", theme="spark", minValue="0.0", maxValue="1.0")]
+[Style(name="contentBackgroundAlpha", type="Number", inherit="yes", theme="spark, mobile", minValue="0.0", maxValue="1.0")]

 /**
  *  Color of the fill of an item renderer.
@@ -111,7 +111,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes", theme="spark")]
+[Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes", theme="spark, mobile")]

 /**
  *  The alpha value when the container is disabled.
@@ -123,7 +123,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="disabledAlpha", type="Number", inherit="no", theme="spark", minValue="0.0", maxValue="1.0")]
+[Style(name="disabledAlpha", type="Number", inherit="no", theme="spark, mobile", minValue="0.0", maxValue="1.0")]

 /**
  *  Color of focus ring when the component is in focus.
@@ -135,7 +135,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="focusColor", type="uint", format="Color", inherit="yes", theme="spark")]
+[Style(name="focusColor", type="uint", format="Color", inherit="yes", theme="spark, mobile")]

 /**
  *  Color of the highlights when the mouse is over the component.
@@ -160,7 +160,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="symbolColor", type="uint", format="Color", inherit="yes", theme="spark")]
+[Style(name="symbolColor", type="uint", format="Color", inherit="yes", theme="spark, mobile")]

 /**
  *  When in touch interaction mode, the number of milliseconds to wait before showing the


Transferred from the Adobe Open Source Subversion Repository

Revision: 10755
Author:   clucier@adobe.com
Date:     2009-09-30T19:32:20.239118Z

Log Message:
-----------
Cleanup. Removing all 2.x APIs that have been deprecated since 3.0.

QE notes:  None
Doc notes: None
Bugs: SDK-23265
Reviewer: Ryan, Gordon
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceBundle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IHistoryManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/Locale.as</path>

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

--- frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as
@@ -702,17 +702,6 @@

         return s;
     }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Deprecated
-    //
-    //--------------------------------------------------------------------------
-    public function registered():void {}
-    public function registerHandshake():void {}
-    public function load(stateVars:Object):void {}
-    public function loadInitialState():void {}
-
 }

 }


Fix warning.

Fix warning.

--- HLSPlugin/src/com/kaltura/hls/m2ts/FLVTranscoder.as
+++ HLSPlugin/src/com/kaltura/hls/m2ts/FLVTranscoder.as
@@ -195,7 +195,7 @@
             naluProcessor.resetAVCCExtraction();
         }

-        public var videoLastDTS:uint = -1000000.0;
+        public var videoLastDTS:int = -1000000.0;

         /**
          * Convert and emit AVC NALU data.


fixed BitmapFill issue: http://code.google.com/p/as3isolib/issues/detail?id=8

--- src/as3isolib/graphics/BitmapFill.as
+++ src/as3isolib/graphics/BitmapFill.as
@@ -38,6 +38,7 @@
 	import flash.display.Graphics;
 	import flash.geom.ColorTransform;
 	import flash.geom.Matrix;
+	import flash.geom.Rectangle;
 	import flash.utils.getDefinitionByName;

 	public class BitmapFill implements IFill
@@ -91,6 +92,12 @@
 		{
 			sourceObject = value;

+			if (bitmapData)
+			{
+				bitmapData.dispose();
+				bitmapData = null;
+			}
+
 			var tempSprite:DisplayObject;

 			if (value is BitmapData)
@@ -125,6 +132,9 @@
 				bitmapData = new BitmapData(tempSprite.width, tempSprite.height);
 				bitmapData.draw(tempSprite, new Matrix(), colorTransform);
 			}
+
+			if (cTransform)
+				bitmapData.colorTransform(bitmapData.rect, cTransform);
 		}

 		///////////////////////////////////////////////////////////
@@ -178,7 +188,9 @@
 		public function set colorTransform (value:ColorTransform):void
 		{
 			cTransform = value;
-			source = sourceObject; //trigger to apply color transform if applicable
+
+			if (bitmapData)
+				bitmapData.colorTransform(bitmapData.rect, cTransform);
 		}

 		/**


use Mesh.cast() in Group.cast()

use Mesh.cast() in Group.cast()

--- src/aerys/minko/scene/node/Group.as
+++ src/aerys/minko/scene/node/Group.as
@@ -411,11 +411,7 @@
 			for (var i : uint = 0; i < numMeshes; ++i)
 			{
 				var mesh 		: Mesh		= meshes[i] as Mesh;
-				var hitDepth	: Number	= mesh.geometry.boundingBox.testRay(
-					ray,
-					mesh.worldToLocal,
-					maxDistance
-				);
+				var hitDepth	: Number	= mesh.cast(ray, maxDistance);

 				if (hitDepth >= 0.0)
 				{


added disabled='disabled' HTML5 support to UIComponentHelper

--- src/metafas3/reaction_view/helpers/UIComponentHelper.as
+++ src/metafas3/reaction_view/helpers/UIComponentHelper.as
@@ -58,6 +58,12 @@
 			if (! (skin is Class)) skin = getClassByAlias(skin.toString());
 			this.setStyle('upSkin', skin);
 		}
+
+        // HTML5 property alias:
+        public function set disabled (b:Boolean) :void
+        {
+            this.enabled = (! b);
+        }

 		/**
 		*	helper.embedFonts = true


We seem to need to use an IP address; using a domain name keeps giving me a security error.

--- swfcat.as
+++ swfcat.as
@@ -11,7 +11,7 @@

     public class swfcat extends Sprite
     {
-        private const TOR_ADDRESS:String = "upload.bamsoftware.com";
+        private const TOR_ADDRESS:String = "173.255.221.44";
         private const TOR_PORT:int = 9001;
         private const CLIENT_ADDRESS:String = "192.168.0.2";
         private const CLIENT_PORT:int = 9001;


Don't allocate a TextField unless in debug mode.

--- swfcat.as
+++ swfcat.as
@@ -57,8 +57,10 @@

         public function puts(s:String):void
         {
-            output_text.appendText(s + "\n");
-            output_text.scrollV = output_text.maxScrollV;
+            if (output_text) {
+                output_text.appendText(s + "\n");
+                output_text.scrollV = output_text.maxScrollV;
+            }
         }

         public function swfcat()
@@ -66,13 +68,6 @@
             // Absolute positioning.
             stage.scaleMode = StageScaleMode.NO_SCALE;
             stage.align = StageAlign.TOP_LEFT;
-
-            output_text = new TextField();
-            output_text.width = stage.stageWidth;
-            output_text.height = stage.stageHeight;
-            output_text.background = true;
-            output_text.backgroundColor = 0x001f0f;
-            output_text.textColor = 0x44cc44;

             badge = new Badge();

@@ -81,7 +76,6 @@
             else
                 rate_limit = new RateUnlimit();

-            puts("Starting.");
             // Wait until the query string parameters are loaded.
             this.loaderInfo.addEventListener(Event.COMPLETE, loaderinfo_complete);
         }
@@ -90,12 +84,19 @@
         {
             var fac_spec:String;

+            if (this.loaderInfo.parameters["debug"] || this.loaderInfo.parameters["client"]) {
+                output_text = new TextField();
+                output_text.width = stage.stageWidth;
+                output_text.height = stage.stageHeight;
+                output_text.background = true;
+                output_text.backgroundColor = 0x001f0f;
+                output_text.textColor = 0x44cc44;
+                addChild(output_text);
+            } else {
+                addChild(badge);
+            }
+
             puts("Parameters loaded.");
-
-            if (this.loaderInfo.parameters["debug"] || this.loaderInfo.parameters["client"])
-                addChild(output_text);
-            else
-                addChild(badge);

             fac_addr = get_param_addr("facilitator", DEFAULT_FACILITATOR_ADDR);
             if (!fac_addr) {


fix triangle iterator

fix triangle iterator

--- src/aerys/minko/render/geometry/stream/iterator/TriangleIterator.as
+++ src/aerys/minko/render/geometry/stream/iterator/TriangleIterator.as
@@ -71,9 +71,9 @@
 			if (_singleReference)
 			{
 				_triangle._index = _index;
-				_triangle.v0._index = _ib._data[int(_index * 3)];
-				_triangle.v1._index = _ib._data[int(_index * 3 + 1)];
-				_triangle.v2._index = _ib._data[int(_index * 3 + 2)];
+				_triangle.v0.index = _ib.get(_index * 3);
+				_triangle.v1.index = _ib.get(_index * 3 + 1);
+				_triangle.v2.index = _ib.get(_index * 3 + 2);
 				_triangle._update = TriangleReference.UPDATE_ALL;
 			}


Pass test for resolving default scope when registered (auto-pass)

--- src/asfac.tests/src/com/thedevstop/asfac/ResolutionTests.as
+++ src/asfac.tests/src/com/thedevstop/asfac/ResolutionTests.as
@@ -116,5 +116,16 @@
 			var instance:Object = factory.resolve(Object, "nonDefaultScope");
 			assertSame(instance, obj);
 		}
+
+		public function test_should_resolve_default_scope_if_registered():void
+		{
+			var factory:AsFactory = new AsFactory();
+
+			var obj:Object = { numbers:[1, 2, 3] };
+			factory.registerInstance(obj, Object);
+
+			var instance:Object = factory.resolve(Object);
+			assertSame(instance, obj);
+		}
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

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

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


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

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

 package mx.logging.targets
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

-/**
- *  Number of pixels between children in the horizontal direction.
- *  The default value depends on the component class;
- *  if not overridden for the class, the default value is 8.
- *
- *  @langversion 3.0
- *  @playerversion AIR 2.5
- *  @productversion Flex 4.5
- */
 [Style(name="horizontalGap", type="Number", format="Length", inherit="no")]

 /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 21765
Author:   aaltman@adobe.com
Date:     2011-08-02T00:58:57.293820Z

Log Message:
-----------
StageText fixes:
Make sure prompt text styles get committed.
Remove text height adjustment that causes text to appear too low on iOS.
Forward new key down and key up events from StageText.
Use new key down event to correctly dispatch an ENTER event.
Place cursor after programmatically inserted/appended text.
Cleaned up and fixed workaround code that stops StageText from accepting typed text.

QE notes: None
Doc notes: None
Bugs: SDK-30728, SDK-30793, SDK-30806, SDK-30868, SDK-30925
Reviewer: cframpto
Tests run: checkintests, mustella-mobile
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableStageText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextInputSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextAreaSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/StageTextAreaSkin.as
@@ -12,6 +12,7 @@
 package spark.skins.mobile
 {
 import spark.components.TextArea;
+import spark.components.supportClasses.StyleableTextField;
 import spark.skins.mobile.supportClasses.StageTextSkinBase;

 /**
@@ -88,6 +89,9 @@

         if (promptDisplay)
         {
+            if (promptDisplay is StyleableTextField)
+                StyleableTextField(promptDisplay).commitStyles();
+
             setElementSize(promptDisplay, unscaledTextWidth, unscaledTextHeight);
             setElementPosition(promptDisplay, paddingLeft, paddingTop);
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7967
Author:   gosmith@adobe.com
Date:     2009-06-18T19:44:16.674676Z

Log Message:
-----------
PARB changes to TextGraphicElement/SimpleText/RichText and to text styles in general.

TextGraphicElement:

The 'truncation' property has been renamed to 'maxDisplayedLines'.

The isTruncated() method has become an 'isTruncated' read-only property.

RichText:

Since a TextFlow object is the fundamental representation for rich test in TLF, the RichText component now has a public textFlow:TextFlow property which you can get or set. To turn TLF markup -- in either String or XML form -- into a TextFlow, use the static importFromString() and importFromXML() methods in the TextFlowUtil class. These are bindable methods so that if the markup parameter changes they will re-evaluate. To turn the TextFlow back into markup, use TextFLowUtil.export(...) to produce XML.

The 'content' property is now intended only for use by the MXML compiler. It is set-only and only supports being set to what MXML markup produces: a String (which will be treated as the text of an implicit span in an implicit paragraph), a FlowElement, or an Array of Strings and FlowElements.

The 'text', 'textFlow', and 'content' properties are interacting properties. For example, you can set 'textFlow' and then get the 'text', and vice versa. In fact, you can now do this immediately, without waiting for the component to undergo a LayoutManager pass. Of these three properties, the last one set in ActionScript wins; if more than one is set in MXML the results are undefined since MXML does not guarantee the order in which properties are set. Setting any of them to null is equivalent to setting the 'text' to the empty String, which is the initial state of the component.

Styles:

The 'lineBreak' style is now non-inheriting, since in TLF it doesn't inherit from FlowElement to FlowElement.

The text styles are now divided into five buckets:

BasicInheritingTextStyles.as
BasicNonInheritingTextStyles.as
AdvancedInheritingTextStyles.as
AdvancedNonInheritingTextStyles.as
SelectionFormatTextStyles.as

Skinnable components like TextInput and TextArea no longer declare any on the noninheriting text styles, because the RichTextElement in the skin doesn't inherit them. You must set them directly on the RichTextElement in the component's skin, either with ActionScript or by reskinning.

The styleInitialized() method has been added to the IAdvancedStyleClient interface.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Carol

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicTextLayoutFormatStyles.as" copyfrom-rev="7910" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultButtonSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/TextFlowUtil.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedNonInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/TitleBarSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/NonInheritingTextLayoutFormatStyles.as" copyfrom-rev="7910" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicNonInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/CheckBoxSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/NonInheritingTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/RadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/RadioButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedTextLayoutFormatStyles.as" copyfrom-rev="7910" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/MacTitleBarSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
@@ -30,7 +30,7 @@

 use namespace mx_internal;

-include "../../styles/metadata/BasicTextLayoutFormatStyles.as"
+include "../../styles/metadata/BasicInheritingTextStyles.as"

 /**
  *  @copy spark.components.supportClasses.GroupBase#focusColor
@@ -948,10 +948,10 @@

         // Check if the label text is truncated
         labelDisplay.validateNow();
-        var truncated:Boolean = labelDisplay.isTruncated();
+        var isTruncated:Boolean = labelDisplay.isTruncated;

         // If the label is truncated, show the whole label string as a tooltip
-        super.toolTip = truncated ? labelDisplay.text : null;
+        super.toolTip = isTruncated ? labelDisplay.text : null;
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 22836
Author:   tkraikit@adobe.com
Date:     2011-09-30T21:05:47.816991Z

Log Message:
-----------
Checking in fix for SDK-31412 again (reverting the reversion).

Checkintests re-run for sanity.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as
@@ -858,17 +858,7 @@

         if (checkForButtonDownConditions)
         {
-            var isCurrentlyDown:Boolean = isDown();
-
-            // Only if down state has changed, do we need to do something
-            if (_downEventFired != isCurrentlyDown)
-            {
-                if (isCurrentlyDown)
-                    dispatchEvent(new FlexEvent(FlexEvent.BUTTON_DOWN));
-
-                _downEventFired = isCurrentlyDown;
-                checkAutoRepeatTimerConditions(isCurrentlyDown);
-            }
+            dispatchButtonEvents();

             checkForButtonDownConditions = false;
         }
@@ -1127,6 +1117,10 @@
         }
         else
         {
+            // if we're not waiting then commitProperties won't have a chance to run
+            // before we flip flags back; at least dispatch any relevant button events
+            // even if the UI isn't going to reflect the click
+            dispatchButtonEvents();
             mouseUpDeselectTimer_timerCompleteHandler();
         }
     }
@@ -1140,6 +1134,24 @@
         {
             mouseUpDeselectTimer.stop();
             mouseUpDeselectTimer = null;
+        }
+    }
+
+    /**
+     *  @private
+     */
+    private function dispatchButtonEvents():void
+    {
+        var isCurrentlyDown:Boolean = isDown();
+
+        // Only if down state has changed, do we need to do something
+        if (_downEventFired != isCurrentlyDown)
+        {
+            if (isCurrentlyDown)
+                dispatchEvent(new FlexEvent(FlexEvent.BUTTON_DOWN));
+
+            _downEventFired = isCurrentlyDown;
+            checkAutoRepeatTimerConditions(isCurrentlyDown);
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8400
Author:   srahim@adobe.com
Date:     2009-07-06T21:28:33.082387Z

Log Message:
-----------
ASDoc updates for Spark components

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
@@ -65,8 +65,61 @@
  *  the end points of the slider track.
  *  The current value of the slider is determined by the relative location of
  *  the thumb between the end points of the slider,
- *  corresponding to the slider's minimum and maximum values.
+ *  corresponding to the slider's minimum and maximum values.
+ *
+ *  The Slider class is a base class for HSlider and VSlider.
+ *
+ *  @mxml
+ *
+ *
The <Slider> tag inherits all of the tag
+ *  attributes of its superclass and adds the following tag attributes:

+ *
+ *

+ *  <Slider
+ *    Properties
+ *    dataTipFormatFunction="20"
+ *    dataTipPrecision="2"
+ *    showDataTip="true"
+ *
+ *    Styles
+ *    alignmentBaseline="USE_DOMINANT_BASELINE"
+ *    baselineShift="0.0"
+ *    breakOpportunity="AUTO"
+ *    cffHinting="HORIZONTAL_STEM"
+ *    color="0"
+ *    digitCase="DEFAULT"
+ *    digitWidth="DEFAULT"
+ *    direction="LTR"
+ *    dominantBaseline="AUTO"
+ *    focusColor
+ *    fontFamily="Times New Roman"
+ *    fontLookup="DEVICE"
+ *    fontSize="12"
+ *    fontStyle="NORMAL"
+ *    fontWeight="NORMAL"
+ *    justificationRule="AUTO"
+ *    justificationStyle="AUTO"
+ *    kerning="AUTO"
+ *    ligatureLevel="COMMON"
+ *    lineHeight="120%"
+ *    lineThrough="false"
+ *    liveDragging="false"
+ *    local="en"
+ *    renderingMode="CFF"
+ *    textAlign="START"
+ *    textAlignLast="START"
+ *    textAlpha="1"
+ *    textDecoration="NONE"
+ *    textJustify="INTER_WORD"
+ *    trackingLeft="0"
+ *    trackingRight="0"
+ *    typographicCase="DEFAULT"
+ *  />
+ *

  *
+ *  @see spark.components.HSlider
+ *  @see spark.components.VSlider
+ *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
@@ -185,7 +238,7 @@
     /**
 	 *  Number of decimal places to use for the data tip text.
 	 *  A value of 0 means to round all values to an integer.
-	 *  This value is ignored if dataTipFormatFunction is defined.
+	 *  This value is ignored if dataTipFormatFunction is defined.
 	 *
 	 *  @default 2
 	 *
@@ -201,7 +254,7 @@
     //---------------------------------

     /**
-     *  If set to true, show a data tip during user interaction
+     *  If set to true, shows a data tip during user interaction
      *  containing the current value of the slider. In addition, the skinPart
      *  dataTipFactory must be defined in the skin in order to
      *  display a data tip.
@@ -224,14 +277,14 @@
     private var _pendingValue:Number = 0;

     /**
-     *  The value the slider would have, if the mouse button was released.
+     *  The value the slider will have when the mouse button is released.
      *
-     *
If the liveDragging style is false, then the slider's value is only set
-     *  when the mouse button is released, it's not updated while the slider thumb is
+     *
If the liveDragging style is false, then the slider's value is only set
+     *  when the mouse button is released. The value is not updated while the slider thumb is
      *  being dragged.

      *
-     *
This property is kept up to date when the slider thumb moves, even if
-     *  liveDragging is false.

+     *
This property is updated when the slider thumb moves, even if
+     *  liveDragging is false.

      *
      *  @default 0
      *  @return The value implied by the thumb position.
@@ -336,8 +389,8 @@
      *  Used to position the data tip when it is visible. Subclasses must implement
      *  this function.
      *
-     *  @param dataTipInstance The dataTip instance to update and position
-     *  @param initialPosition The initial position of the dataTip in the skin
+     *  @param dataTipInstance The dataTip instance to update and position
+     *  @param initialPosition The initial position of the dataTip in the skin
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


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

--- frameworks/projects/advancedgrids/src/mx/olap/IOLAPMember.as
+++ frameworks/projects/advancedgrids/src/mx/olap/IOLAPMember.as
@@ -0,0 +1,143 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+import mx.collections.IList;
+
+/**
+ *  The IOLAPMember interface represents a member of a level of an OLAP schema.
+ *.
+ *  @see mx.olap.OLAPMember
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public interface IOLAPMember extends IOLAPElement
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  children
+	//----------------------------------
+
+    /**
+     *  The children of this member, as a list of IOLAPMember instances.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get children():IList;
+
+    //----------------------------------
+	//  hierarchy
+	//----------------------------------
+
+    /**
+     * The hierarchy to which this member belongs.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get hierarchy():IOLAPHierarchy
+
+    //----------------------------------
+	//  isAll
+	//----------------------------------
+
+    /**
+     *  Returns true if this is the all member of a hierarchy.
+     *
+     *  @return true if this is the all member of a hierarchy.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get isAll():Boolean;
+
+    //----------------------------------
+	//  isMeasure
+	//----------------------------------
+
+    /**
+     * Returns true if this member represents a measure of a dimension.
+     *
+     *  @return true if this member represents a measure of a dimension.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get isMeasure():Boolean;
+
+    //----------------------------------
+	//  level
+	//----------------------------------
+
+    /**
+     * The level to which this member belongs.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get level():IOLAPLevel
+
+    //----------------------------------
+	//  parent
+	//----------------------------------
+
+    /**
+     * The parent of this member.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get parent():IOLAPMember;
+
+    //--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  Returns a child of this member with the given name.
+     *
+     *  @param name The name of the member.
+     *
+     *  @return A list of IOLAPMember instances representing the member,
+     *  or null if a member is not found.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function findChildMember(name:String):IOLAPMember;
+}
+}