Transferred from the Adobe Open Source Subversion Repository

Revision: 3645
Author:   egreenfi@adobe.com
Date:     2008-10-15T03:19:36.801703Z

Log Message:
-----------
removed ability to set transform offsets as a matrix

TransformOffsets are applied as r/s/t deltas, not as a matrix, so it doesn't make sense to allow developers to set matrix values directly.

Also renamed matrix/matrix3D on UIC and GraphicElement to layoutMatrix/layoutMatrix3D, as these are more appropriate names, and removing them from transformOffsets gives us more freedom in their naming.

Reviewer: Glenn
checkintests: pass
QA: none

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/ITransformable.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/geom/CompoundTransform.as
+++ frameworks/projects/framework/src/mx/geom/CompoundTransform.as
@@ -14,18 +14,15 @@
 	import flash.geom.Matrix3D;
 	import __AS3__.vec.Vector;
 	import flash.geom.Vector3D;
-	import flash.events.EventDispatcher;
 	import flash.events.Event;
-	import mx.core.mx_internal;
 	import mx.geom.ITransformable;
 	import mx.core.AdvancedLayoutFeatures;
 	import flash.geom.Point;
-	use namespace mx_internal;

 	/**
 	 *  A CompoundTransform represents a 2D or 3D matrix transform. It can be used in the offsets property on a UIComponent or GraphicElement.
 	 */
-	public class CompoundTransform extends EventDispatcher implements ITransformable
+	public class CompoundTransform
 	{
     //--------------------------------------------------------------------------
     //
@@ -59,17 +56,6 @@
 	private var _transformX:Number = 0;
 	private var _transformY:Number = 0;
 	private var _transformZ:Number = 0;
-
-	mx_internal var dispatchChangeEvents:Boolean = true;
-
-    /**
-     * @private
-     * a flag for use by the owning object indicating whether the owning object has a pending update
-     * to its matrix.  If this is false, the CompoundTransform will notify the owning object of any changes
-     * to its transform properties. Otherwise, it assumes the owner has already taken appropriate action.
-     * it is the owner's responsibility to set this flag.
-     */
-	mx_internal var updatePending:Boolean = false;

     /**
@@ -105,16 +91,16 @@
      * constants to indicate which form of a transform -- the properties, matrix, or matrix3D -- is
      *  'the source of truth.'
      */
-	mx_internal static const SOURCE_NONE:uint				= 0;
-	mx_internal static const SOURCE_PROPERTIES:uint			= 1;
-	mx_internal static const SOURCE_MATRIX:uint 			= 2;
-	mx_internal static const SOURCE_MATRIX3D:uint 			= 3;
+	public static const SOURCE_NONE:uint				= 0;
+	public static const SOURCE_PROPERTIES:uint			= 1;
+	public static const SOURCE_MATRIX:uint 			= 2;
+	public static const SOURCE_MATRIX3D:uint 			= 3;

     /**
      * @private
      * indicates the 'source of truth' for the transform.
      */
-	mx_internal var sourceOfTruth:uint = SOURCE_NONE;
+	public var sourceOfTruth:uint = SOURCE_NONE;

     /**
      * @private
@@ -144,10 +130,6 @@

 	private static const RADIANS_PER_DEGREES:Number = Math.PI / 180;

-    /**
-     * @private
-     */
-	mx_internal var owner:AdvancedLayoutFeatures;
 	//----------------------------------------------------------------------------

 	/**
@@ -386,7 +368,7 @@
 	 * @private
 	 * returns true if the transform has 3D values.
 	 */
-	mx_internal function get is3D():Boolean
+	public function get is3D():Boolean
 	{
 		if((_flags & M3D_FLAGS_VALID) == 0)
 			update3DFlags();
@@ -398,7 +380,7 @@
 	 * @private
 	 * the transformX of the transform
 	 */
-	mx_internal function set transformX(value:Number):void
+	public function set transformX(value:Number):void
 	{
 		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
 		if(value == _transformX)
@@ -410,7 +392,7 @@
     /**
      * @private
      */
-	mx_internal function get transformX():Number
+	public function get transformX():Number
 	{
 		return _transformX;
 	}
@@ -420,7 +402,7 @@
 	 * @private
 	 * the transformY of the transform
 	 */
-	mx_internal function set transformY(value:Number):void
+	public function set transformY(value:Number):void
 	{
 		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
 		if(value == _transformY)
@@ -432,7 +414,7 @@
     /**
      * @private
      */
-	mx_internal function get transformY():Number
+	public function get transformY():Number
 	{
 		return _transformY;
 	}
@@ -441,7 +423,7 @@
 	 * @private
 	 * the transformZ of the transform
 	 */
-	mx_internal function set transformZ(value:Number):void
+	public function set transformZ(value:Number):void
 	{
 		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
 		if(value == _transformZ)
@@ -453,7 +435,7 @@
     /**
      * @private
      */
-	mx_internal function get transformZ():Number
+	public function get transformZ():Number
 	{
 		return _transformZ;
 	}
@@ -469,7 +451,7 @@
      * @param dispatchChangeEvent - if true, the CompoundTransform will dispatch a change indicating that its underlying transforms
      * have been modified.
   	 */
-	private function invalidate(reason:uint,affects3D:Boolean,dispatchChangeEvent:Boolean = true):void
+	private function invalidate(reason:uint,affects3D:Boolean):void
 	{
 		//race("invalidating: " + reason);
 		switch(reason)
@@ -496,14 +478,6 @@
 		if(affects3D)
 			_flags &= ~M3D_FLAGS_VALID;

-		if(updatePending)
-		{
-			//race("\t** Aready invalid, aborting");
-			return;
-		}
-
-		if(dispatchChangeEvents && dispatchChangeEvent)
-			dispatchEvent(new Event(Event.CHANGE));
 	}

 	private static const EPSILON:Number = .0001;
@@ -547,7 +521,7 @@
 	}

-	mx_internal function translateBy(x:Number,y:Number,z:Number = 0):void
+	public function translateBy(x:Number,y:Number,z:Number = 0):void
 	{
 		if(_flags & MATRIX_VALID)
 		{
@@ -763,32 +737,5 @@
 		invalidate(INVALIDATE_FROM_MATRIX3D,true);
 	}

-	public function transformAround(rx:Number,ry:Number,rz:Number,sx:Number,sy:Number,sz:Number,tx:Number,ty:Number,tz:Number):void
-	{
-		if(owner != null)
-		{
-			var is3D:Boolean = ((!isNaN(rx) && rx != 0) || (!isNaN(ry) && ry != 0) || (!isNaN(sz) && sz != 1));
-			var token:* = owner.prepareForTransformCenterAdjustment(false,is3D,tx,ty,tz);
-
-			if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
-
-			if(!isNaN(rx))
-				_rotationX = rx;
-			if(!isNaN(ry))
-				_rotationY = ry;
-			if(!isNaN(rz))
-				_rotationZ = rz;
-			if(!isNaN(sx))
-				_scaleX = sx;
-			if(!isNaN(sx))
-				_scaleY = sy;
-			if(!isNaN(sz))
-				_scaleZ = sz;
-
-			invalidate(INVALIDATE_FROM_PROPERTY,is3D);
-			owner.completeTransformCenterAdjustment(token,is3D);
-		}
-		// TODO: support transformAround when we don't have an owner.
-	}
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 4756
Author:   pfarland@adobe.com
Date:     2009-01-30T15:58:55.850639Z

Log Message:
-----------
Bug fix for universal Advanced CSS selectors.

1. In CSS, the universal selector * matches any element. It is often implied in selectors, such as the .foo class selector would formally be written *.foo { }. So, what we were previously calling "global selectors" will now be referred to as universal selectors. Flex retains its own special top level "global" selector to function as the root of the inheriting style prototype chain, but other universal selectors will not be associated with this special subject.

2. When looking for universal selectors, we now match against all possible selectors that have * as the subject rather than trying to pick out specific styleName (class), id or pseudo conditions. This is needed as there may arbitrary advanced conditions in the selector chain, for example, descendant selectors that have a universal subject. Note this was the actual cause of the bug - but the other fixes were needed to separate "global" from "*".

3. In the compiler, we'll still use the generated _globalStyles.as (i.e. from the "global" StyleDef collection of style declarations) as the place holder for universal selectors (as _*Styles.as would be an invalid ActionScript class name), though these universal selectors will report their subject as "*".

4. When representing a selector in full as a String, we'll continue to omit "*" as the subject and substitute the empty string, so "*.foo" will be printed as ".foo".

QA: Yes
Doc: No
Checkintests: Pass
Reviewer: Paul
Bugs:
SDK-18196 -  [Advanced CSS] Descendant selectors with class selectors like VBox .greenBox are not working correctly.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>

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

--- frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
+++ frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
@@ -152,14 +152,15 @@
         var advancedObject:IAdvancedStyleClient = object as IAdvancedStyleClient;
         var styleDeclaration:CSSStyleDeclaration = null;

-        var globalClassSelectors:Array = [];
+        var universalSelectors:Array = [];
+        var hasStyleName:Boolean = false;
         var styleName:Object = object.styleName;
         if (styleName)
         {
             if (styleName is CSSStyleDeclaration)
             {
                 // Get the styles referenced by the styleName property.
-                globalClassSelectors.push(CSSStyleDeclaration(styleName));
+                universalSelectors.push(CSSStyleDeclaration(styleName));
             }
             else if (styleName is IFlexDisplayObject || styleName is IStyleClient)
             {
@@ -170,18 +171,7 @@
             }
             else if (styleName is String)
             {
-                // Get the styles referenced by the styleName property
-                var styleNames:Array = styleName.split(/\s+/);
-                n = styleNames.length;
-                for (i = 0; i < n; i++)
-                {
-                    if (styleNames[i].length)
-                    {
-                        styleDeclaration = StyleManager.getStyleDeclaration("." + styleNames[i]);
-                        if (styleDeclaration)
-                            globalClassSelectors.push(styleDeclaration);
-                    }
-                }
+                hasStyleName = true;
             }
         }

@@ -236,35 +226,15 @@
         // because of the considerably more complex selector matches...
         if (StyleManager.hasAdvancedSelectors() && advancedObject != null)
         {
-            styleDeclarations = [];
-
-            // Check for global class selector that matches our styleName(s)
-            if (globalClassSelectors.length > 0)
-            {
-                styleDeclarations = styleDeclarations.concat(globalClassSelectors);
-            }
-
-            // Check for a global pseudo selector that matches our current state.
-            if (advancedObject.pseudoSelectorState)
-            {
-                styleDeclaration = StyleManager.getStyleDeclaration(":" + advancedObject.pseudoSelectorState);
-                if (styleDeclaration)
-                    styleDeclarations.push(styleDeclaration);
-            }
-
-            // Check for a global id selector that matches our current id
-            if (advancedObject.id)
-            {
-                styleDeclaration = StyleManager.getStyleDeclaration("#" + advancedObject.id);
-                if (styleDeclaration)
-                    styleDeclarations.push(styleDeclaration);
-            }
-
-            // If we had global selectors, concatenate them with our type
+            // Find matching universal selectors
+            var decls:Object = StyleManager.getStyleDeclarations("*");
+            universalSelectors = getMatchingStyleDeclarations(decls, advancedObject).concat(universalSelectors);
+
+            // If we had universal selectors, concatenate them with our type
             // selectors and resort by specificity...
-            if (styleDeclarations.length > 0)
-            {
-                styleDeclarations = advancedObject.getClassStyleDeclarations().concat(styleDeclarations);
+            if (universalSelectors.length > 0)
+            {
+                styleDeclarations = advancedObject.getClassStyleDeclarations().concat(universalSelectors);
                 styleDeclarations = sortOnSpecificity(styleDeclarations);
             }
             else
@@ -273,7 +243,7 @@
                 styleDeclarations = advancedObject.getClassStyleDeclarations();
             }

-            n = styleDeclarations.length;
+            n = styleDeclarations != null ? styleDeclarations.length : 0;
             for (i = 0; i < n; i++)
             {
                 styleDeclaration = styleDeclarations[i];
@@ -291,10 +261,26 @@
         // Otherwise we use the legacy Flex 3 logic for simple selectors.
         else
         {
+            // Get the styles referenced by the styleName property
+            if (hasStyleName)
+            {
+                var styleNames:Array = styleName.split(/\s+/);
+                n = styleNames.length;
+                for (i = 0; i < n; i++)
+                {
+                    if (styleNames[i].length)
+                    {
+                        styleDeclaration = StyleManager.getStyleDeclaration("." + styleNames[i]);
+                        if (styleDeclaration)
+                            universalSelectors.push(styleDeclaration);
+                    }
+                }
+            }
+
             // Working backwards up the list, the next element in the
             // search path is the type selector
             styleDeclarations = object.getClassStyleDeclarations();
-            n = styleDeclarations.length;
+            n = styleDeclarations != null ? styleDeclarations.length : 0;
             for (i = 0; i < n; i++)
             {
                 styleDeclaration = styleDeclarations[i];
@@ -310,10 +296,10 @@
             }

             // Next are the class selectors
-            n = globalClassSelectors.length;
+            n = universalSelectors.length;
             for (i = 0; i < n; i++)
             {
-                styleDeclaration = globalClassSelectors[i];
+                styleDeclaration = universalSelectors[i];
                 if (styleDeclaration)
                 {
                     inheritChain =


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

--- frameworks/projects/mx/src/mx/accessibility/CheckBoxAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/CheckBoxAccImpl.as
@@ -0,0 +1,162 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-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.accessibility
+{
+
+import mx.controls.Button;
+import mx.controls.CheckBox;
+import mx.core.UIComponent;
+import mx.core.mx_internal;
+
+use namespace mx_internal;
+
+/**
+ *  The CheckBoxAccImpl class is the accessibility class for CheckBox.
+ *
+ *  @helpid 3003
+ *  @tiptext This is the CheckBoxAccImpl Accessibility Class.
+ *  @review
+ */
+public class CheckBoxAccImpl extends ButtonAccImpl
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class initialization
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Static variable triggering the hookAccessibility() method.
+	 *  This is used for initializing CheckBoxAccImpl class to hook its
+	 *  createAccessibilityImplementation() method to CheckBox class
+	 *  before it gets called from UIComponent.
+	 */
+	private static var accessibilityHooked:Boolean = hookAccessibility();
+
+	/**
+	 *  @private
+	 *  Static method for swapping the createAccessibilityImplementation()
+	 *  method of CheckBox with the CheckBoxAccImpl class.
+	 */
+	private static function hookAccessibility():Boolean
+	{
+		CheckBox.createAccessibilityImplementation =
+			createAccessibilityImplementation;
+
+		return true;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_CHECKED:uint = 0x00000010;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Method for creating the Accessibility class.
+	 *  This method is called from UIComponent.
+	 *  @review
+	 */
+	mx_internal static function createAccessibilityImplementation(
+								component:UIComponent):void
+	{
+		component.accessibilityImplementation =
+			new CheckBoxAccImpl(component);
+	}
+
+	/**
+	 *  Method call for enabling accessibility for a component.
+	 *  This method is required for the compiler to activate
+	 *  the accessibility classes for a component.
+	 */
+	public static function enableAccessibility():void
+	{
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param master The UIComponent instance that this AccImpl instance
+	 *  is making accessible.
+	 */
+	public function CheckBoxAccImpl(master:UIComponent)
+	{
+		super(master);
+
+		role = 0x2C;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: AccessibilityImplementation
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  IAccessible method for returning the state of the CheckBox.
+	 *  States are predefined for all the components in MSAA.
+	 *  Values are assigned to each state.
+	 *  Depending upon whether the CheckBox is checked or unchecked,
+	 *  a value is returned.
+	 *
+	 *  @param childID uint
+	 *
+	 *  @return State Whether the CheckBox is checked or unchecked.
+	 */
+	override public function get_accState(childID:uint):uint
+	{
+		var accState:uint = getState(childID);
+
+		if (Button(master).selected)
+			accState |= STATE_SYSTEM_CHECKED;
+
+		return accState;
+	}
+
+	/**
+	 *  @private
+	 *  IAccessible method for returning the default action of
+	 *  the CheckBox, which is Check or UnCheck depending on the state.
+	 *
+	 *  @param childID uint
+	 *
+	 *  @return DefaultAction Check or UnCheck.
+	 */
+	override public function get_accDefaultAction(childID:uint):String
+	{
+		return Button(master).selected ? "UnCheck" : "Check";
+	}
+}
+
+}


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

--- frameworks/projects/mx/src/mx/core/ContainerRawChildrenList.as
+++ frameworks/projects/mx/src/mx/core/ContainerRawChildrenList.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-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.
+//  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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Fixed bug where opening requirements map twice in same session caused a crash

--- flexEditor/src/org/arisgames/editor/view/RequirementsEditorView.as
+++ flexEditor/src/org/arisgames/editor/view/RequirementsEditorView.as
@@ -29,6 +29,7 @@
     // Associated Data
     private var requirementObjectId:Number; //The object id to impose requirements
 	private var requirementObjectType:String; //One of the REQUIREMENTTYPES defined in constants
+	private var edMapOpened:Boolean;

     // Data For GUI
     [Bindable] public var requirements:ArrayCollection;
@@ -47,6 +48,7 @@
     public function RequirementsEditorView()
     {
         super();
+		edMapOpened = false;
         requirements = new ArrayCollection();
         reqTypes = new ArrayCollection();
         this.addEventListener(FlexEvent.CREATION_COMPLETE, handleInit);
@@ -398,7 +400,11 @@
 			//requirementsEditorMap.setPlacemarkLocation(pm.latitude, pm.longitude);
         }

-        this.parent.addChild(requirementsEditorMap);
+		if(!edMapOpened){
+        	this.parent.addChild(requirementsEditorMap);
+			edMapOpened = true;
+		}
+
         // Need to validate the display so that entire component is rendered
         requirementsEditorMap.validateNow();


Transferred from the Adobe Open Source Subversion Repository

Revision: 5067
Author:   smgilson@adobe.com
Date:     2009-02-25T16:21:22.849704Z

Log Message:
-----------
In preparation for adding ASDoc version tags for Flex, remove old tags from AIR files

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>

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

--- frameworks/projects/airframework/src/mx/controls/FileSystemTree.as
+++ frameworks/projects/airframework/src/mx/controls/FileSystemTree.as
@@ -153,7 +153,6 @@
  *
  *  @see flash.filesystem.File
  *
- *  @playerversion AIR 1.1
  */
 public class FileSystemTree extends Tree
 {
@@ -373,7 +372,7 @@

     [Bindable("change")]
     [Bindable("directoryChanged")]
-
+
     /**
      *  @copy mx.controls.FileSystemList#selectedPath
      *
@@ -401,7 +400,7 @@

     [Bindable("change")]
     [Bindable("directoryChanged")]
-
+
     /**
      *  @copy mx.controls.FileSystemList#selectedPaths
      *
@@ -513,7 +512,7 @@
         super.measure();

        var text:String = resourceManager.getString(
-        	"aircontrols", "fileSystemTree_measuredText");
+            "aircontrols", "fileSystemTree_measuredText");
         measuredWidth = measureText(text).width;
     }

@@ -553,7 +552,7 @@
      */
     override protected function itemToUID(data:Object):String
     {
-    	return helper.itemToUID(data);
+        return helper.itemToUID(data);
     }

     //--------------------------------------------------------------------------
@@ -591,7 +590,7 @@
      */
     public function refresh():void
     {
-		helper.refresh();
+        helper.refresh();
     }

     /**
@@ -616,33 +615,33 @@
      *  an existing file system directory, or if that
      *  directory isn't within the directory that this control
      *  is displaying, then this method does nothing.

-	 *
-	 *  @param file A String specifying the nativePath
+     *
+     *  @param file A String specifying the nativePath
      *  of a File item.
      */
     public function openSubdirectory(nativePath:String):void
     {
-    	var item:File = new File(nativePath);
-    	if (!item.exists || !item.isDirectory)
-    		return;
-
-		// Don't animate the opens, since we're doing
-		// multiple ones synchronously.
-		var savedOpenDuration:Number = getStyle("openDuration");
-		setStyle("openDuration", 0);
-
-    	var parentPaths:Array = getParentPaths(item);
-    	var n:int = parentPaths.length;
-    	for (var i:int = 0; i < n; i++)
-    	{
-    		item = findItem(parentPaths[i]);
-    		if (item)
-    			openItem(item, false);
-    	}
-
-		setStyle("openDuration", savedOpenDuration);
-
-    	invalidateList();
+        var item:File = new File(nativePath);
+        if (!item.exists || !item.isDirectory)
+            return;
+
+        // Don't animate the opens, since we're doing
+        // multiple ones synchronously.
+        var savedOpenDuration:Number = getStyle("openDuration");
+        setStyle("openDuration", 0);
+
+        var parentPaths:Array = getParentPaths(item);
+        var n:int = parentPaths.length;
+        for (var i:int = 0; i < n; i++)
+        {
+            item = findItem(parentPaths[i]);
+            if (item)
+                openItem(item, false);
+        }
+
+        setStyle("openDuration", savedOpenDuration);
+
+        invalidateList();
     }

     /**
@@ -651,31 +650,31 @@
     mx_internal function openItem(item:File, async:Boolean = true):void
     {
         if (isItemOpen(item))
-        	return;
+            return;

         var children:ArrayCollection =
-        	ArrayCollection(dataDescriptor.getChildren(item));
+            ArrayCollection(dataDescriptor.getChildren(item));

         if (!children || modificationDateHasChanged(item))
         {
             if (async)
-      		{
-	      		item.addEventListener(FileListEvent.DIRECTORY_LISTING,
-	                                  directoryListingHandler);
-	            item.getDirectoryListingAsync();
-      		}
-      		else
-      		{
-	        	insertChildItems(item, item.getDirectoryListing());
-			}
+            {
+                item.addEventListener(FileListEvent.DIRECTORY_LISTING,
+                                      directoryListingHandler);
+                item.getDirectoryListingAsync();
+            }
+            else
+            {
+                insertChildItems(item, item.getDirectoryListing());
+            }
         }
         else
         {
             expandItem(item, true, true);
-        	helper.itemsChanged();
+            helper.itemsChanged();
         }

-     	invalidateList();
+        invalidateList();
      }

     /**
@@ -684,15 +683,15 @@
      *
If the nativePath doesn't specify
      *  a directory being displayed within this control,
      *  then this method does nothing.

-	 *
+     *
      *  @param file A String specifying the nativePath
      *  of a File item.
      */
     public function closeSubdirectory(nativePath:String):void
     {
-    	var item:File = findItem(nativePath);
-    	if (item && item.isDirectory)
-    		closeItem(item);
+        var item:File = findItem(nativePath);
+        if (item && item.isDirectory)
+            closeItem(item);
     }

     /**
@@ -703,8 +702,8 @@
         expandItem(item, false, true);

         fixSelectionAfterClose(item);
-
-		helper.itemsChanged();
+
+        helper.itemsChanged();
     }

     /**
@@ -715,21 +714,21 @@
      */
     mx_internal function fixSelectionAfterClose(item:File):void
     {
-    	var closingPath:String = item.nativePath;
-
-    	var newSelectedItems:Array = []
-
-    	var n:int = selectedItems.length;
-    	for (var i:int = 0; i < n; i++)
-    	{
-    		var selectedPath:String = selectedItems[i].nativePath;
-    		if (selectedPath.indexOf(closingPath) == 0)
-    			newSelectedItems.push(item);
-    		else
-    			newSelectedItems.push(selectedItems[i]);
-    	}
-
-    	selectedItems = newSelectedItems;
+        var closingPath:String = item.nativePath;
+
+        var newSelectedItems:Array = []
+
+        var n:int = selectedItems.length;
+        for (var i:int = 0; i < n; i++)
+        {
+            var selectedPath:String = selectedItems[i].nativePath;
+            if (selectedPath.indexOf(closingPath) == 0)
+                newSelectedItems.push(item);
+            else
+                newSelectedItems.push(selectedItems[i]);
+        }
+
+        selectedItems = newSelectedItems;
     }

     /**
@@ -741,9 +740,9 @@

         for (var f:File = file; f != null; f = f.parent)
         {
-        	if (f.nativePath == directory.nativePath)
-        		break;
-
+            if (f.nativePath == directory.nativePath)
+                break;
+
             a.unshift(f.nativePath);
         }

@@ -764,17 +763,17 @@
      */
     mx_internal function insertChildItems(subdirectory:File, childItems:Array):void
     {
-    	var childCollection:ArrayCollection = new ArrayCollection(childItems);
-
+        var childCollection:ArrayCollection = new ArrayCollection(childItems);
+
         childCollection.filterFunction =
-        	helper.directoryEnumeration.fileFilterFunction;
+            helper.directoryEnumeration.fileFilterFunction;
         childCollection.sort = new Sort();
         childCollection.sort.compareFunction =
-        	helper.directoryEnumeration.fileCompareFunction;
+            helper.directoryEnumeration.fileCompareFunction;
         childCollection.refresh();

         FileSystemTreeDataDescriptor(dataDescriptor).setChildren(
-        	subdirectory, childCollection);
+            subdirectory, childCollection);

         expandItem(subdirectory, true, true);

@@ -782,9 +781,9 @@
     }

     /**
-	 *  @private
-	 *
-	 *  Opens the selected node if it is a directory.
+     *  @private
+     *
+     *  Opens the selected node if it is a directory.
      *  This method does nothing if no node is selected,
      *  or if a file node is selected.
      */
@@ -796,8 +795,8 @@
     }

     /**
-	 *  @private
-	 *
+     *  @private
+     *
      *  Closes the selected node if it is a directory.
      *  This method does nothing if no node is selected,
      *  or if a file node is selected.
@@ -809,11 +808,11 @@
             closeItem(item);
     }

-	/**
-	 *  @private
-	 *  Dispatches a cancelable "directoryOpening" event
-	 *  and returns true if it wasn't canceled.
-	 */
+    /**
+     *  @private
+     *  Dispatches a cancelable "directoryOpening" event
+     *  and returns true if it wasn't canceled.
+     */
     private function dispatchDirectoryOpeningEvent(directory:File):Boolean
     {
         var event:FileEvent =
@@ -824,11 +823,11 @@
         return !event.isDefaultPrevented();
     }

-	/**
-	 *  @private
-	 *  Dispatches a cancelable "directoryClosing" event
-	 *  and returns true if it wasn't canceled.
-	 */
+    /**
+     *  @private
+     *  Dispatches a cancelable "directoryClosing" event
+     *  and returns true if it wasn't canceled.
+     */
     private function dispatchDirectoryClosingEvent(directory:File):Boolean
     {
         var event:FileEvent =
@@ -850,13 +849,13 @@
      */
     override protected function keyDownHandler(event:KeyboardEvent):void
     {
-		if (event.keyCode == Keyboard.ENTER)
-		{
-			var selectedFile:File = File(selectedItem);
-			if (selectedFile && !selectedFile.isDirectory)
-				helper.dispatchFileChooseEvent(selectedFile);
-			return;
-		}
+        if (event.keyCode == Keyboard.ENTER)
+        {
+            var selectedFile:File = File(selectedItem);
+            if (selectedFile && !selectedFile.isDirectory)
+                helper.dispatchFileChooseEvent(selectedFile);
+            return;
+        }

         super.keyDownHandler(event);
     }
@@ -894,7 +893,7 @@
      */
     private function directoryListingHandler(event:FileListEvent):void
     {
-    	insertChildItems(File(event.target), event.files);
+        insertChildItems(File(event.target), event.files);
     }

     /**
@@ -919,7 +918,7 @@
                 // Dispatch a cancelable "directoryClosing" event.
                 // If the event wasn't canceled,
                 // then close that node.
-				if (dispatchDirectoryClosingEvent(item))
+                if (dispatchDirectoryClosingEvent(item))
                     closeSelectedSubdirectory();
             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12370
Author:   smgilson@adobe.com
Date:     2009-12-02T16:48:37.124467Z

Log Message:
-----------
Fix for doc bug FLEXDOCS-1150

Added a few new examples and default sizes to Spark components

QE notes: -
Doc notes: -
Bugs: -
Reviewer: -
Tests run: - FLEXDOCS-1150
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/SkinnableContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/VScrollBarExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/BorderContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/HScrollBarExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TileGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/MyBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/BorderContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/SkinnableDataContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/DateFormatter.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/ApplicationContainerExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/NavigatorContent.as
+++ frameworks/projects/spark/src/spark/components/NavigatorContent.as
@@ -33,6 +33,14 @@
  *

  *
  *
The NavigatorContent container does not support the queued creation policy.

+ *
+ *
The NavigatorContent container has the following default characteristics:

+ *

+ *
Characteristic	Description

+ *
Default size	Large enough to display its children

+ *
Minimum size	0 pixels

+ *
Maximum size	10000 pixels wide and 10000 pixels high

+ *

  *
  *  @mxml
  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 8031
Author:   egeorgie@adobe.com
Date:     2009-06-20T01:10:03.288554Z

Log Message:
-----------
Scrub the TODOs in the framework, convert to FIXMEs in the new convention and assigning an owner.

Doc Notes: N/A
Bugs: N/A
Reviewer: Deepa
tests: build, checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.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/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.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/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ModifiedCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ErrorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.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/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutElementHelper.as</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/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/StreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/PropertyChanges.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/pathSegments/LineSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.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/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.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/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.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/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -959,7 +959,7 @@
     	if (debug)
      		trace("editingMode = ", value);

-        // ToDo: TextContainerManager should do this check.
+        // FIXME (cframpto): TextContainerManager should do this check.
         if (_textContainerManager.editingMode == value)
             return;

@@ -1679,7 +1679,7 @@
                 // change the displayed text.
                 _text = text;

-                // ToDo: if content, should the paragraph terminators be
+                // FIXME (cframpto): if content, should the paragraph terminators be
                 // left in the string so the displayAsPassword string has the
                 // same form as the original string?  This is only an issue
                 // for TextArea.
@@ -1768,7 +1768,7 @@
         if (!actuallyAutoSizing)
             return;

-        // TODO Possible optimization - if we reflow the text
+        // FIXME (egeorgie): Possible optimization - if we reflow the text
         // immediately, we'll be able to detect whether the constrained
         // width causes the measured height to change.
         // Also certain layouts like vertical/horizontal will
@@ -1825,7 +1825,7 @@
             return true;
         }

-        // ToDo: consider moving to commitProperties()
+        // FIXME (cframpto): consider moving to commitProperties()
         if (isNaN(widthInChars) && isNaN(heightInLines))
         {
             // Can only autoSize if this component isn't the viewport
@@ -1992,7 +1992,7 @@
         // Scroll by a "character" which is 1 em (matches widthInChars()).
         var em:Number = getStyle("fontSize");

-        // ToDo: what if blockDirection!=TB and direction!=LTR?
+        // FIXME (cframpto): what if blockDirection!=TB and direction!=LTR?
         switch (navigationUnit)
         {
             case NavigationUnit.LEFT:
@@ -2041,7 +2041,7 @@
         var maxDelta:Number = contentHeight - scrollR.bottom;
         var minDelta:Number = -scrollR.top;

-        // ToDo: what if blockDirection!=TB and direction!=LTR?
+        // FIXME (cframpto): what if blockDirection!=TB and direction!=LTR?
         switch (navigationUnit)
         {
             case NavigationUnit.UP:
@@ -3101,7 +3101,7 @@
         // In this case we always maintain _text with the underlying text and
         // display the appropriate number of passwordChars.  If there are any
         // interactive editing operations _text is updated during the operation.
-        // ToDo: what about the case where the textContainerManager textFlow
+        // FIXME (cframpto): what about the case where the textContainerManager textFlow
         // is modified programatically and the text is different?  This could
         // only be done with an mx_internal interface.
         if (displayAsPassword)


Transferred from the Adobe Open Source Subversion Repository

Revision: 18215
Author:   cframpto@adobe.com
Date:     2010-10-19T14:50:14.127382Z

Log Message:
-----------
Label should not use anything in TextUtil because it brings in too much of TLF.  Refactor TextUtil a bit so it minimizes its dependencies on TLF.

QE notes:
Doc notes:
Bugs: SDK-28241
Reviewer: Alex
Tests run: cyclone
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/mx/core/UIFTETextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/utils/TextUtil.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -549,6 +549,31 @@
         //  Class methods
         //
         //--------------------------------------------------------------------------
+        /**
+         *  @private
+         */
+        public static function getNumberOrPercentOf(value:Object,
+                                                    n:Number):Number
+        {
+            // If 'value' is a Number like 10.5, return it.
+            if (value is Number)
+                return Number(value);
+
+            // If 'value' is a percentage String like "10.5%",
+            // return that percentage of 'n'.
+            if (value is String)
+            {
+                var len:int = String(value).length;
+                if (len >= 1 && value.charAt(len - 1) == "%")
+                {
+                    var percent:Number = Number(value.substring(0, len - 1));
+                    return percent / 100 * n;
+                }
+            }
+
+            // Otherwise, return NaN.
+            return NaN;
+        }

         /**
          *  @private
@@ -560,7 +585,7 @@
                 strToInsert +
                 str.substring(end, str.length);
         }
-
+
         //--------------------------------------------------------------------------
         //
         //  Constructor
@@ -3877,7 +3902,7 @@
             {
                 var value:Object = getStyle("lineHeight");
                 var lineHeight:Number =
-                    TextUtil.getNumberOrPercentOf(value, getStyle("fontSize"));
+                    RichEditableText.getNumberOrPercentOf(value, getStyle("fontSize"));

                 // Default is 120%
                 if (isNaN(lineHeight))
@@ -3987,7 +4012,8 @@

             // If copied/cut from displayAsPassword field the pastedText
             // is '*' characters but this is correct.
-            var pastedText:String = TextUtil.extractText(op.textScrap.textFlow);
+            var pastedText:String = staticPlainTextExporter.export(
+                op.textScrap.textFlow, ConversionType.STRING_TYPE) as String;

             // If there are no constraints and no newlines there is nothing
             // more to do.


Transferred from the Adobe Open Source Subversion Repository

Revision: 21109
Author:   gruehle@adobe.com
Date:     2011-04-20T23:56:18.132472Z

Log Message:
-----------
Change Animation timer interval from 10ms to 60fps (~16.667ms). The runtime throttles timers to 60fps anyway, and specifying 10ms was causing occasional animation glitches due to rounding to the nearest 60th of a second.

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

Modified Paths:
--------------
/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 7758
Author:   clucier@adobe.com
Date:     2009-06-11T21:36:28.533211Z

Log Message:
-----------
Misssed a few mx_internal qualifiers.
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>

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

--- frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
+++ frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
@@ -52,6 +52,8 @@
 import mx.managers.ISystemManager;
 import mx.managers.IToolTipManagerClient;
 import mx.utils.MatrixUtil;
+
+use namespace mx_internal;

 //--------------------------------------
 //  Lifecycle events
@@ -2540,7 +2542,7 @@
         _toolTip = value;

         if (toolTipManager)
-            toolTipManager.mx_internal::registerToolTip(this, oldValue, value);
+            toolTipManager.registerToolTip(this, oldValue, value);
     }

     //--------------------------------------------------------------------------
@@ -3348,8 +3350,8 @@
         // Afterwards, we'll reset it to the "user-set" scale.
         var oldScaleX:Number = _layoutFeatures.layoutScaleX;
         var oldScaleY:Number = _layoutFeatures.layoutScaleY;
-        _layoutFeatures.layoutScaleX = _layoutFeatures.layoutScaleX * mx_internal::scaleXDueToSizing;
-        _layoutFeatures.layoutScaleY = _layoutFeatures.layoutScaleY * mx_internal::scaleYDueToSizing;
+        _layoutFeatures.layoutScaleX = _layoutFeatures.layoutScaleX * scaleXDueToSizing;
+        _layoutFeatures.layoutScaleY = _layoutFeatures.layoutScaleY * scaleYDueToSizing;

         if(_layoutFeatures.is3D)
         {
@@ -4093,10 +4095,10 @@

         // Use scaleX/scaleY to change our size since the new size is based
         // on our measured size, which can be different than our actual size.
-        mx_internal::scaleXDueToSizing = (newWidth / measuredWidth);
-        mx_internal::scaleYDueToSizing = (newHeight / measuredHeight);
-        mx_internal::$scaleX = scaleX*mx_internal::scaleXDueToSizing;
-        mx_internal::$scaleY = scaleY*mx_internal::scaleYDueToSizing;
+        scaleXDueToSizing = (newWidth / measuredWidth);
+        scaleYDueToSizing = (newHeight / measuredHeight);
+        $scaleX = scaleX*scaleXDueToSizing;
+        $scaleY = scaleY*scaleYDueToSizing;

         // need to apply this scale if using layout offsets
         invalidateTransform();
@@ -4332,8 +4334,8 @@
         var currentBounds:Rectangle = bounds;

         // take secret scale into account as it's our real width/height
-        currentBounds.width *= mx_internal::scaleXDueToSizing;
-        currentBounds.height *= mx_internal::scaleYDueToSizing;
+        currentBounds.width *= scaleXDueToSizing;
+        currentBounds.height *= scaleYDueToSizing;

         if (sizeChanged(currentBounds.width, oldWidth) || sizeChanged(currentBounds.height, oldHeight))
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 14095
Author:   cframpto@adobe.com
Date:     2010-02-10T17:33:30.511669Z

Log Message:
-----------
Merge 14076 from 4.x branch to trunk.

Revision: 14076
Author:   cframpto@adobe.com
Date:     2010-02-09 15:23:15 -0800 (Tue, 09 Feb 2010)
Log Message:
***********
Add UIComponent.mapKeycodeForLayoutDirection().  This should be called by any keyDownHandlers() which handles Keyboard.LEFT and Keyboard.RIGHT, and optionally for Keyboard.UP and Keyboard.DOWN, if they behave like Keyboard.LEFT and Keyboard.RIGHT.  If the layoutDirection="rtl", it maps LEFT to RIGHT, RIGHT to LEFT, UP to RIGHT and DOWN to LEFT.  This allows the keyDownHandler() to perform the correct action without adding lots of special case code to the key handling code.

QE notes: For layoutDirection="rtl" need to test LEFT, RIGHT, UP and DOWN keys.
Doc notes: None
Bugs: SDK-25330
Reviewed By: Hans
Tests run: checkintests
Is noteworthy for integration: No

Ticket Links:
***********
    http://bugs.adobe.com/jira/browse/SDK-25330

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.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/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.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/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>

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

--- frameworks/projects/mx/src/mx/containers/Accordion.as
+++ frameworks/projects/mx/src/mx/containers/Accordion.as
@@ -2061,7 +2061,11 @@

         var prevValue:int = selectedIndex;

-        switch (event.keyCode)
+        // If rtl layout, need to swap LEFT for RIGHT.  RIGHT should go UP
+        // and LEFT should go DOWN.
+        var keyCode:int = mapKeycodeForLayoutDirection(event);
+
+        switch (keyCode)
         {
             case Keyboard.PAGE_DOWN:
             {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7452
Author:   hmuller@adobe.com
Date:     2009-05-29T22:51:14.089004Z

Log Message:
-----------
Revised ASDoc for IViewport.contentWidth,Height.

QE Notes:
Doc Notes:
Bugs: sdk-21265
Reviewer:

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IViewport.as

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

--- frameworks/projects/spark/src/spark/core/IViewport.as
+++ frameworks/projects/spark/src/spark/core/IViewport.as
@@ -37,9 +37,15 @@
 {

     /**
-     *  The width of the viewport along the x axis.
-     *  The value of this property is defined relative to the component's
-     *  coordinate system.
+     *  The width of the viewport's contents.
+     *
+     *  If clipAndEnabledScrolling is true, the viewport's
+     *  contentWidth defines the limit for horizontal scrolling
+     *  and the viewport's actual width defines how much of the content is visible.
+     *
+     *  To scroll through the content horizontally, vary the
+     *  horizontalScrollPosition between 0 and
+     *  contentWidth - width.
      *
      *
Implementations of this property must be Bindable and
      *  must generate events of type propertyChange.

@@ -52,9 +58,15 @@
     function get contentWidth():Number;

     /**
-     *  The height of the viewport along the y axis.
-     *  The value of this property is defined relative to the container's
-     *  coordinate system.
+     *  The height of the viewport's content.
+     *
+     *  If clipAndEnabledScrolling is true, the viewport's
+     *  contentHeight defines the limit for vertical scrolling
+     *  and the viewport's actual height defines how much of the content is visible.
+     *
+     *  To scroll through the content vertically, vary the
+     *  verticalScrollPosition between 0 and
+     *  contentHeight - height.
      *
      *
Implementations of this property must be Bindable and
      *  must generate events of type propertyChange.


Transferred from the Adobe Open Source Subversion Repository

Revision: 7918
Author:   chaase@adobe.com
Date:     2009-06-17T16:55:30.271215Z

Log Message:
-----------
Round 2 of effects PARB changes. Some renames and removals of properties/functions, including:
AnimateTransform: removed 18 MotionPath properties, added applyChangesPostLayout property (replaces affectLayout property in subclasses), removed addMotionPath/addPostLayoutMotionPath protected functions
Animation: removed seek(), reverse()
SimpleMotionPath: removed 'duration' arg in constructor

QE Notes: Mustella will break on some of these changes (no surprise, just needs minor updates)
Doc Notes: API updates
Bugs: none
Reviewer: Jason
Tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Rotate.as
+++ frameworks/projects/spark/src/spark/effects/Rotate.as
@@ -11,11 +11,20 @@

 package spark.effects
 {
+import mx.core.mx_internal;
 import mx.effects.IEffectInstance;

 import spark.effects.animation.MotionPath;
 import spark.effects.supportClasses.AnimateTransformInstance;
+
+use namespace mx_internal;

+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+[Exclude(name="motionPaths", kind="property")]
+
 /**
  *  The Rotate effect rotates a target object
  *  in the x, y plane around the transform center.
@@ -146,24 +155,6 @@
      */
     public var angleBy:Number;

-    //----------------------------------
-    //  affectLayout
-    //----------------------------------
-    [Inspectable(category="General")]
-    /**
-     *  Specifies whether the parent container of the effect target
-     *  updates its layout based on changes to the effect target
-     *  while the effect plays.
-     *
-     *  @default true
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public var affectLayout:Boolean = true;
-
     //--------------------------------------------------------------------------
     //
     //  Overridden methods
@@ -186,7 +177,7 @@
      */
     override protected function initInstance(instance:IEffectInstance):void
     {
-        if(affectLayout)
+        if (!applyChangesPostLayout)
         {
             addMotionPath("rotationZ", angleFrom, angleTo, angleBy);
         }


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

--- frameworks/projects/advancedgrids/src/mx/olap/IOLAPLevel.as
+++ frameworks/projects/advancedgrids/src/mx/olap/IOLAPLevel.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: 8320
Author:   dloverin@adobe.com
Date:     2009-06-26T18:34:59.947300Z

Log Message:
-----------
Fix the problem where the WindowedApplication was not shutting down after closing Windows.

The problem ended up being the Window class was creating a new NativeWindow (and WindowedSystemManager) in commitProperties() before closing down. The problem is easily fixed by setting flagForOpen to false so the code will not come down this path after _nativeWindow is set to null in the close() method.

QE Notes: none.
Doc Notes: none.
Bugs: SDK-21529
Reviewer: Glenn
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>

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

--- frameworks/projects/airspark/src/spark/components/Window.as
+++ frameworks/projects/airspark/src/spark/components/Window.as
@@ -1764,6 +1764,8 @@
         // Create and open window.
         if (flagForOpen && !_nativeWindow)
         {
+            flagForOpen = false;
+
             var init:NativeWindowInitOptions = new NativeWindowInitOptions();
             init.maximizable = _maximizable;
             init.minimizable = _minimizable;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3892
Author:   egeorgie@adobe.com
Date:     2008-10-24T23:33:52.238868Z

Log Message:
-----------
Add constraint properties and unify IVisualItem, UIComponent, GraphicElement, change percentSize to percentWidth, percentHeight in ILayoutItem. Remove IGraphicElementHost and GraphicElementHostImpl. Change GraphicElement constraint properties to take in Object instead of Number to enable advanced constraints later on.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Ryan
tests: checkintests, Mustella (canvas, gumbo layout)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElementHostImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElementHost.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemFDO.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/core/ILayoutElement.as
+++ frameworks/projects/framework/src/mx/core/ILayoutElement.as
@@ -46,6 +46,51 @@
 public interface ILayoutItem
 {
     /**
+     * @copy mx.core.IVisualItem#left
+     */
+    function get left():Object;
+
+    /**
+     * @copy mx.core.IVisualItem#right
+     */
+    function get right():Object;
+
+    /**
+     * @copy mx.core.IVisualItem#top
+     */
+    function get top():Object;
+
+    /**
+     * @copy mx.core.IVisualItem#bottom
+     */
+    function get bottom():Object;
+
+    /**
+     * @copy mx.core.IVisualItem#horizontalCenter
+     */
+    function get horizontalCenter():Object;
+
+    /**
+     * @copy mx.core.IVisualItem#verticalCenter
+     */
+    function get verticalCenter():Object;
+
+    /**
+     * @copy mx.core.IVisualItem#baseline
+     */
+    function get baseline():Object;
+
+    /**
+     * @copy mx.core.IVisualItem#percentWidth
+     */
+    function get percentWidth():Number;
+
+    /**
+     * @copy mx.core.IVisualItem#percentHeight
+     */
+    function get percentHeight():Number;
+
+    /**
      *  A reference to the object in the layout tree
      *  represented by this interface.
      */
@@ -74,12 +119,6 @@
      *  preferredSize <= maxSize must be true.
      */
     function get maxSize():Point;
-
-    /**
-     *  The desired item TBounds size
-     *  as a percentage of parent UBounds. Could be NaN.
-     */
-    function get percentSize():Point;

     /**
      *  The item TBounds size.


Transferred from the Adobe Open Source Subversion Repository

Revision: 16560
Author:   smgilson@adobe.com
Date:     2010-06-14T21:14:37.093170Z

Log Message:
-----------
Fix ASDoc version tags for several Flex 4 classes makred as Flex 3

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NavigatorContent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/LoaderInvalidationEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/ListDropIndicator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.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/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/DataGroup.as
+++ frameworks/projects/spark/src/spark/components/DataGroup.as
@@ -190,9 +190,9 @@
      *  @inheritDoc
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     override public function get baselinePosition():Number
     {
@@ -1308,18 +1308,18 @@
         drawBackground();

         if (layout && layout.useVirtualLayout)
-		{
-			virtualLayoutUnderway = true;
+        {
+            virtualLayoutUnderway = true;
             startVirtualLayout();
-		}
+        }

         super.updateDisplayList(unscaledWidth, unscaledHeight);

         if (virtualLayoutUnderway)
-		{
+        {
             finishVirtualLayout();
-			virtualLayoutUnderway = false;
-		}
+            virtualLayoutUnderway = false;
+        }
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


changed names in requirement editor to be consistent with Character/Item/Plaque terms

--- editor/src/main/flex/org/arisgames/editor/util/AppConstants.as
+++ editor/src/main/flex/org/arisgames/editor/util/AppConstants.as
@@ -58,19 +58,19 @@
     public static const REQUIREMENT_PLAYER_HAS_ITEM_DATABASE:String = "PLAYER_HAS_ITEM";
     public static const REQUIREMENT_PLAYER_HAS_ITEM_HUMAN:String = "Player Has Item";
     public static const REQUIREMENT_PLAYER_DOES_NOT_HAVE_ITEM_DATABASE:String = "PLAYER_DOES_NOT_HAVE_ITEM";
-    public static const REQUIREMENT_PLAYER_DOES_NOT_HAVE_ITEM_HUMAN:String = "Player Does Not Have Item";
+    public static const REQUIREMENT_PLAYER_DOES_NOT_HAVE_ITEM_HUMAN:String = "Player Doesn't Have Item";
     public static const REQUIREMENT_PLAYER_VIEWED_ITEM_DATABASE:String = "PLAYER_VIEWED_ITEM";
     public static const REQUIREMENT_PLAYER_VIEWED_ITEM_HUMAN:String = "Player Viewed Item";
     public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_ITEM_DATABASE:String = "PLAYER_HAS_NOT_VIEWED_ITEM";
-    public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_ITEM_HUMAN:String = "Player Has Not Viewed Item";
+    public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_ITEM_HUMAN:String = "Player Never Viewed Item";
     public static const REQUIREMENT_PLAYER_VIEWED_NODE_DATABASE:String = "PLAYER_VIEWED_NODE";
-    public static const REQUIREMENT_PLAYER_VIEWED_NODE_HUMAN:String = "Player Viewed Node";
+    public static const REQUIREMENT_PLAYER_VIEWED_NODE_HUMAN:String = "Player Viewed Plaque";
     public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_NODE_DATABASE:String = "PLAYER_HAS_NOT_VIEWED_NODE";
-    public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_NODE_HUMAN:String = "Player Has Not Viewed Node";
+    public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_NODE_HUMAN:String = "Player Never Viewed Plaque";
     public static const REQUIREMENT_PLAYER_VIEWED_NPC_DATABASE:String = "PLAYER_VIEWED_NPC";
-    public static const REQUIREMENT_PLAYER_VIEWED_NPC_HUMAN:String = "Player Viewed NPC";
+    public static const REQUIREMENT_PLAYER_VIEWED_NPC_HUMAN:String = "Player Greeted By Character";
     public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_NPC_DATABASE:String = "PLAYER_HAS_NOT_VIEWED_NPC";
-    public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_NPC_HUMAN:String = "Player Has Not Viewed NPC";
+    public static const REQUIREMENT_PLAYER_HAS_NOT_VIEWED_NPC_HUMAN:String = "Player Never Greeted By Character";
     public static const REQUIREMENT_PLAYER_HAS_UPLOADED_MEDIA_ITEM_DATABASE:String = "PLAYER_HAS_UPLOADED_MEDIA_ITEM";
     public static const REQUIREMENT_PLAYER_HAS_UPLOADED_MEDIA_ITEM_HUMAN:String = "Player Has Uploaded Media Item";


small ui bug fixed

small ui bug fixed

--- flexEditor/src/org/arisgames/editor/view/NoteTagsEditorView.as
+++ flexEditor/src/org/arisgames/editor/view/NoteTagsEditorView.as
@@ -80,11 +80,13 @@
 			trace("Edit Ending");
 			if(startedEditing)
 				AppServices.getInstance().addNoteTag(GameModel.getInstance().game.gameId, gtNoteTags.getItemAt(evt.rowIndex) as NoteTag, new Responder(handleAddNoteTagSave, handleFault));
-
-			if(gtdg == (evt.currentTarget as DataGrid))
-				(gtNoteTags.getItemAt(evt.rowIndex) as NoteTag).tag = persistTag;
-			else
-				(ptNoteTags.getItemAt(evt.rowIndex) as NoteTag).tag = persistTag;
+			else
+			{
+				if(gtdg == (evt.currentTarget as DataGrid))
+					(gtNoteTags.getItemAt(evt.rowIndex) as NoteTag).tag = persistTag;
+				else
+					(ptNoteTags.getItemAt(evt.rowIndex) as NoteTag).tag = persistTag;
+			}
 			startedEditing = false;
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 11028
Author:   egeorgie@adobe.com
Date:     2009-10-20T18:05:44.603962Z

Log Message:
-----------
Drag and Drop - add dragging support from Halo containers to Spark containers

- ListBase has been beefed up with the new Spark drag and drop format

QE notes: Drag drop from Halo to Spark ready for testing.
Doc notes: None
Bugs: None
Reviewer: Deepa
Tests run: checkintests, mustella (ListDragDrop, List)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
@@ -1279,6 +1279,7 @@
     mx_internal var bSelectOnRelease:Boolean;

     private var mouseDownItem:IListItemRenderer;
+	private var mouseDownIndex:int; // For drag and drop

     mx_internal var bSelectionChanged:Boolean = false;
     mx_internal var bSelectedIndexChanged:Boolean = false;
@@ -8330,10 +8331,46 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    protected function addDragData(ds:Object):void // actually a DragSource
-    {
-        ds.addHandler(copySelectedItems, "items");
-    }
+    protected function addDragData(dragSource:Object):void // actually a DragSource
+    {
+		// The Hallo drag drop data format
+		dragSource.addHandler(copySelectedItems, "items");
+
+		// The Spark drag drop data format
+		dragSource.addHandler(copySelectedItemsForDragDrop, "orderedItems");
+
+		// Calculate the index of the focus item within the vector
+		// of ordered items returned for the "orderedItems" format.
+		var caretIndex:int = 0;
+		var draggedIndices:Array = selectedIndices;
+		var count:int = draggedIndices.length;
+		for (var i:int = 0; i < count; i++)
+		{
+			if (mouseDownIndex > draggedIndices[i])
+				caretIndex++;
+		}
+		dragSource.addData(caretIndex, "orderedItemsCaretIndex");
+    }
+
+	/**
+	 *  @private
+	 */
+	private function copySelectedItemsForDragDrop():Vector.<Object>
+	{
+		// Copy the vector so that we don't modify the original
+		// since selectedIndices returns a reference.
+		var draggedIndices:Array = selectedIndices.slice(0, selectedIndices.length);
+		var result:Vector.<Object> = new Vector.<Object>(draggedIndices.length);
+
+		// Sort in the order of the data source
+		draggedIndices.sort();
+
+		// Copy the items
+		var count:int = draggedIndices.length;
+		for (var i:int = 0; i < count; i++)
+			result[i] = dataProvider.getItemAt(draggedIndices[i]);
+		return result;
+	}

     /**
      *  Returns the index where the dropped items should be added
@@ -10062,6 +10099,9 @@
         {
             dragScrollingInterval = setInterval(dragScroll, 15);
         }
+
+		if (dragEnabled)
+			mouseDownIndex = itemRendererToIndex(item);

         // If dragEnabled is true, clicks on selected contents should cause
         // a selection change on mouse up instead of mouse down. Otherwise,
@@ -10091,6 +10131,7 @@
     private function mouseLeaveHandler(event:Event):void
     {
         mouseDownPoint = null;
+		mouseDownIndex = -1;

         mouseIsUp();

@@ -10130,6 +10171,7 @@
     protected function mouseUpHandler(event:MouseEvent):void
     {
         mouseDownPoint = null;
+		mouseDownIndex = -1;
         //trace("mouseUp");
         var item:IListItemRenderer = mouseEventToItemRenderer(event);
         var pt:Point = itemRendererToIndices(item);


Transferred from the Adobe Open Source Subversion Repository

Revision: 16937
Author:   smgilson@adobe.com
Date:     2010-07-15T16:35:17.543693Z

Log Message:
-----------
Add ASDoc comment about using component in an item renderer

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.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/components/Button.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Spinner.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/RichEditableText.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/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichText.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="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>

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

--- frameworks/projects/spark/src/spark/components/ToggleButton.as
+++ frameworks/projects/spark/src/spark/components/ToggleButton.as
@@ -27,6 +27,12 @@
  *
  *
You can get or set this state programmatically
  *  by using the selected property.

+ *
+ *
To use this component in a list-based component, such as a List or DataGrid,
+ *  create an item renderer.
+ *  For information about creating an item renderer, see
+ *
+ *  Custom Spark item renderers.

  *
  *
The ToggleButton control has the following default characteristics:

  *


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/layouts/HorizontalAlign.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalAlign.as
@@ -17,21 +17,41 @@
  *  property.
  *
  * @see VerticalLayout#horizontalAlign
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public final class HorizontalAlign
 {
     /**
      *  Align children to the left of the container.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static const LEFT:String = "left";

     /**
      *  Align children in the center of the container.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static const CENTER:String = "center";

     /**
      *  Align children to the right of the container.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static const RIGHT:String = "right";

@@ -39,6 +59,11 @@
      *  Justify the children with respect to the container.  This
      *  uniformly sizes all children to be the same width as the
      *  container.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static const JUSTIFY:String = "justify";

@@ -48,6 +73,11 @@
      *  The content width of the container is the size of the largest child.
      *  If all children are smaller than the width of the container, then
      *  all the children will be sized to the width of the container.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static const CONTENT_JUSTIFY:String = "contentJustify";


clean up

clean up

--- source/com/kemsky/Stream.as
+++ source/com/kemsky/Stream.as
@@ -76,7 +76,6 @@
          *     var s:Stream = new Stream();
          *     var s:Stream = new Stream([1, 2, 3]);
          * </pre>
-         * @internal mutable
          */
         public function Stream(source:Array = null)
         {
@@ -96,6 +95,7 @@
          * Creates iterator over items
          * @return iterator
          * @see Iterator
+         * @internal immutable
          */
         public function values():Iterator
         {


Adjusting marker lifetime

Adjusting marker lifetime

--- src/heartattacks/doodads/Marker.as
+++ src/heartattacks/doodads/Marker.as
@@ -24,7 +24,7 @@
 		public override function update():void
 		{
 			this.timer += 1 / 60;
-			if (this.timer > 5)
+			if (this.timer > 3)
 			{
 				FP.world.remove(this);
 			}