Modify Papervision3D integration code now Flint uses native 3d geom classes

--- src/org/flintparticles/threeD/papervision3d/utils/Convert.as
+++ src/org/flintparticles/threeD/papervision3d/utils/Convert.as
@@ -1,113 +0,0 @@
-/*
- * FLINT PARTICLE SYSTEM
- * .....................
- *
- * Author: Richard Lord
- * Copyright (c) Richard Lord 2008-2010
- * http://flintparticles.org
- *
- *
- * Licence Agreement
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-package org.flintparticles.threeD.papervision3d.utils
-{
-	import org.flintparticles.threeD.geom.Matrix3D;
-	import org.flintparticles.threeD.geom.Point3D;
-	import org.flintparticles.threeD.geom.Quaternion;
-	import org.flintparticles.threeD.geom.Vector3D;
-	import org.papervision3d.core.math.Matrix3D;
-	import org.papervision3d.core.math.Number3D;
-	import org.papervision3d.core.math.Quaternion;
-
-	/**
-	 * This class contains static methods to convert between Papervision3D geometry
-	 * classes and Flint geometry classes.
-	 */
-	public class Convert
-	{
-		/**
-		 * Convert a Flint Vector3D object to an Papervision3D Number3D object.
-		 */
-		public static function Vector3DToPV3D( v:Vector3D ):Number3D
-		{
-			return new Number3D( v.x, v.y, v.z );
-		}
-
-		/**
-		 * Convert an Papervision3D Number3D object to a Flint Vector3D object.
-		 */
-		public static function Vector3DFromPV3D( v:Number3D ):Vector3D
-		{
-			return new Vector3D( v.x, v.y, v.z );
-		}
-
-		/**
-		 * Convert a Flint Vector3D object to an Papervision3D Number3D object.
-		 */
-		public static function Point3DToPV3D( v:Point3D ):Number3D
-		{
-			return new Number3D( v.x, v.y, v.z );
-		}
-
-		/**
-		 * Convert an Papervision3D Number3D object to a Flint Vector3D object.
-		 */
-		public static function Point3DFromPV3D( v:Number3D ):Point3D
-		{
-			return new Point3D( v.x, v.y, v.z );
-		}
-
-		/**
-		 * Convert a Flint Matrix3D object to an Papervision3D Matrix3D object.
-		 */
-		public static function Matrix3DToPV3D( m:org.flintparticles.threeD.geom.Matrix3D ):org.papervision3d.core.math.Matrix3D
-		{
-			return new org.papervision3d.core.math.Matrix3D( m.rawData );
-		}
-
-		/**
-		 * Convert an Papervision3D Matrix3D object to a Flint Matrix3D object.
-		 */
-		public static function Matrix3DFromPV3D( m:org.papervision3d.core.math.Matrix3D ):org.flintparticles.threeD.geom.Matrix3D
-		{
-			return new org.flintparticles.threeD.geom.Matrix3D(
-				[ m.n11, m.n12, m.n13, m.n14, m.n21, m.n22, m.n23, m.n24, m.n31, m.n32, m.n33, m.n34, m.n41, m.n42, m.n43, m.n44 ]
-			);
-		}
-
-		/**
-		 * Convert a Flint Quaternion object to an Papervision3D Quaternion object.
-		 */
-		public static function QuaternionToPV3D( q:org.flintparticles.threeD.geom.Quaternion ):org.papervision3d.core.math.Quaternion
-		{
-			return new org.papervision3d.core.math.Quaternion( q.x, q.y, q.z, q.w );
-		}
-
-		/**
-		 * Convert an Papervision3D Quaternion object to a Flint Quaternion object.
-		 */
-		public static function QuaternionFromPV3D( q:org.papervision3d.core.math.Quaternion ):org.flintparticles.threeD.geom.Quaternion
-		{
-			return new org.flintparticles.threeD.geom.Quaternion( q.w, q.x, q.y, q.z );
-		}
-	}
-}


Add retina display support for level capping to stage size

--- src/org/mangui/hls/controller/LevelController.as
+++ src/org/mangui/hls/controller/LevelController.as
@@ -190,7 +190,7 @@
                 var maxLevelsCount : int = _maxUniqueLevels.length;

                 if (_hls.stage && maxLevelsCount) {
-                    var maxLevel : Level = this._maxUniqueLevels[0], maxLevelIdx : int = maxLevel.index, sWidth : Number = this._hls.stage.stageWidth, sHeight : Number = this._hls.stage.stageHeight, lWidth : int, lHeight : int, i : int;
+                    var maxLevel : Level = this._maxUniqueLevels[0], maxLevelIdx : int = maxLevel.index, sWidth : Number = this._hls.stage.stageWidth * this._hls.stage.contentsScaleFactor, sHeight : Number = this._hls.stage.stageHeight * this._hls.stage.contentsScaleFactor, lWidth : int, lHeight : int, i : int;

                     switch (HLSSettings.maxLevelCappingMode) {
                         case HLSMaxLevelCappingMode.UPSCALE:


Missed one 2009 in copyright header

Missed one 2009 in copyright header

git-svn-id: c197267f952b24206666de142881703007ca05d5@13116 b35dd754-fafc-0310-a699-88a17e54d16e

--- src/org/igniterealtime/xiff/auth/XFacebookPlatform.as
+++ src/org/igniterealtime/xiff/auth/XFacebookPlatform.as
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2009 Igniterealtime Community Contributors
+ * Copyright (C) 2003-2012 Igniterealtime Community Contributors
  *
  *     Daniel Henninger
  *     Derrick Grigg <dgrigg@rogers.com>


Corrections and additions to asdocs

Corrections and additions to asdocs

--- com/zehfernando/input/binding/KeyActionBinder.as
+++ com/zehfernando/input/binding/KeyActionBinder.as
@@ -653,7 +653,7 @@
 		 * Add an action bound to a keyboard key. When a key with the given keyCode is pressed, the
 		 * desired action is activated. Optionally, keys can be restricted to a specific keyLocation.
 		 *
-		 * @param action		An arbritrary String id identifying the action that should be dispatched once this
+		 * @param action		An arbitrary String id identifying the action that should be dispatched once this
 		 *						key combination is detected.
 		 * @param keyCode		The code of a key, as expressed in AS3's Keyboard constants.
 		 * @param keyLocation	The code of a key's location, as expressed in AS3's KeyLocation constants. If a
@@ -664,16 +664,16 @@
 		 *
 		 *

 		 * // Left arrow key to move left
-		 * addKeyboardActionBinding("move-left", Keyboard.LEFT);
+		 * myBinder.addKeyboardActionBinding("move-left", Keyboard.LEFT);
 		 *
 		 * // SPACE key to jump
-		 * addKeyboardActionBinding("jump", Keyboard.SPACE);
+		 * myBinder.addKeyboardActionBinding("jump", Keyboard.SPACE);
 		 *
 		 * // Any SHIFT key to shoot
-		 * addKeyboardActionBinding("shoot", Keyboard.SHIFT);
+		 * myBinder.addKeyboardActionBinding("shoot", Keyboard.SHIFT);
 		 *
 		 * // Left SHIFT key to boost
-		 * addKeyboardActionBinding("boost", Keyboard.SHIFT, KeyLocation.LEFT);
+		 * myBinder.addKeyboardActionBinding("boost", Keyboard.SHIFT, KeyLocation.LEFT);
 		 *

 		 *
 		 * @see flash.ui.Keyboard
@@ -691,7 +691,7 @@
 		 * controlId is pressed, the desired action is activated. Optionally, keys can be restricted
 		 * to a specific game controller location.
 		 *
-		 * @param action		An arbritrary String id identifying the action that should be dispatched once this
+		 * @param action		An arbitrary String id identifying the action that should be dispatched once this
 		 *						input combination is detected.
 		 * @param controlId		The id code of a GameInput contol, as an String. Use one of the constants from
 		 *						GamepadControls.
@@ -704,19 +704,23 @@
 		 *
 		 *

 		 * // Direction pad left to move left
-		 * addGamepadActionBinding("move-left", GamepadControls.DPAD_LEFT);
+		 * myBinder.addGamepadActionBinding("move-left", GamepadControls.DPAD_LEFT);
 		 *
 		 * // Action button "down" (O in the OUYA, Cross in the PS3, A in the XBox 360) to jump
-		 * addGamepadActionBinding("jump", GamepadControls.BUTTON_ACTION_DOWN);
-		 *
-		 * // L1 to shoot, on any controller
-		 * addGamepadActionBinding("shoot", GamepadControls.L1);
-		 *
-		 * // L1 to shoot, on the first controller only
-		 * addGamepadActionBinding("shoot-player-1", GamepadControls.L1, 0);
+		 * myBinder.addGamepadActionBinding("jump", GamepadControls.ACTION_DOWN);
+		 *
+		 * // L1/LB to shoot, on any controller
+		 * myBinder.addGamepadActionBinding("shoot", GamepadControls.LB);
+		 *
+		 * // L1/LB to shoot, on the first controller only
+		 * myBinder.addGamepadActionBinding("shoot-player-1", GamepadControls.LB, 0);
+		 *
+		 * // L2/LT to shoot, regardless of whether it is sensitive or not
+		 * myBinder.addGamepadActionBinding("shoot", GamepadControls.LT);
 		 *

 		 *
 		 * @see GamepadControls
+		 * @see #isActionActivated()
 		 */
 		public function addGamepadActionBinding(__action:String, __controlId:String, __gamepadIndex:int = -1):void {
 			// Create a binding to be verified later
@@ -724,36 +728,91 @@
 			prepareAction(__action);
 		}

+		/**
+		 * Add a sensitive action bound to a game controller button, trigger, or axis. When a control of id
+		 * controlId is pressed, the desired action receives a value. Optionally, keys can be
+		 * restricted to a specific game controller location.
+		 *
+		 * @param action		An arbitrary String id identifying the action that should be dispatched once this
+		 *						input combination is detected.
+		 * @param controlId		The id code of a GameInput contol, as an String. Use one of the constants from
+		 *						GamepadControls.
+		 * @param gamepadIndex	The int of the gamepad that you want to restrict this action to. Use 0 for the
+		 *						first gamepad (player 1), 1 for the second one, and so on. If a value of -1 or
+		 *						NaN is passed, the gamepad index is never taken into consideration
+		 *						when detecting whether the passed action should be fired.
+		 *
+		 *
Examples:

+		 *
+		 *

+		 * // Direction pad left to move left or right
+		 * myBinder.addGamepadSensitiveActionBinding("move-sides", GamepadControls.STICK_LEFT_X);
+		 *
+		 * // L2/LT to accelerate, depending on how much it is pressed
+		 * myBinder.addGamepadSensitiveActionBinding("accelerate", GamepadControls.LT);
+		 *

+		 *
+		 * @see GamepadControls
+		 * @see #getActionValue()
+		 */
 		public function addGamepadSensitiveActionBinding(__action:String, __controlId:String, __gamepadIndex:int = -1):void {
 			// Create a binding to be verified later
 			bindings.push(new BindingInfo(__action, new GamepadSensitiveBinding(__controlId, __gamepadIndex >= 0 ? __gamepadIndex : GamepadBinding.GAMEPAD_INDEX_ANY)));
 			prepareAction(__action);
 		}

+		/**
+		 * Reads the current value of an action.
+		 *
+		 * @param action		The id of the action you want to read the value of.
+		 * @param controlId		The id code of a GameInput contol, as an String. Use one of the constants from
+		 *						GamepadControls.
+		 * @param gamepadIndex	The int of the gamepad that you want to restrict this action to. Use 0 for the
+		 *						first gamepad (player 1), 1 for the second one, and so on. If a value of -1 or
+		 *						NaN is passed, the gamepad index is never taken into consideration
+		 *						when detecting whether the passed action should be fired.
+		 * @return				A numeric value based on the bindings that might have activated this action.
+		 *						The maximum and minimum values returned depend on the kind of control passed
+		 *						via addGamepadSensitiveActionBinding().
+		 *
+		 *
Examples:

+		 *
+		 *

+		 * // Direction pad left to move left or right
+		 * var speedX:Number = myBinder.getActionValue("move-sides"); // Generally between -1 and 1
+		 *
+		 * // L2/LT to accelerate, depending on how much it is pressed
+		 * var acceleration:Number = myBinder.getActionValue("accelerate"); // Generally between 0 and 1
+		 *

+		 *
+		 * @see GamepadControls
+		 * @see #addGamepadSensitiveActionBinding()
+		 */
 		public function getActionValue(__action:String):Number {
 			return actionsActivations.hasOwnProperty(__action) ? (actionsActivations[__action] as ActivationInfo).getValue() : 0;
 		}

 		/**
-		 * Checks whether an action is currently activated (in practice, a button is pressed).
-		 *
-		 * @param action				An arbritrary String id identifying the action that should be checked.
-		 * @param timeToleranceSeconds	Time tolerance, in seconds, before the action is assumed to be expired. If < 0, no time is checked.
+		 * Checks whether an action is currently activated.
+		 *
+		 * @param action				An arbitrary String id identifying the action that should be checked.
+		 * @param timeToleranceSeconds	Time tolerance, in seconds, before the action is assumed to be expired. If < 0, no time is checked.
+		 * @return						True if the action is currently activated (i.e., its button is pressed), false if otherwise.
 		 *
 		 *
Examples:

 		 *
 		 *

 		 * // Moves player right when right is pressed
 		 * // Setup:
-		 * addGamepadActionBinding("move-right", GamepadControls.DPAD_RIGHT);
+		 * myBinder.addGamepadActionBinding("move-right", GamepadControls.DPAD_RIGHT);
 		 * // In the game loop:
-		 * if (isActionActivated("move-right")) {
+		 * if (myBinder.isActionActivated("move-right")) {
 		 *     player.moveRight();
 		 * }
 		 *
 		 * // Check if a jump was activated (includes just before falling, for a more user-friendly control):
-		 * if (isTouchingSurface && isActionActivated("jump"), 0.1) {
-		 *     player.moveRight();
+		 * if (isTouchingSurface && myBinder.isActionActivated("jump"), 0.1) {
+		 *     player.performJump();
 		 * }
 		 *

 		 *
@@ -777,6 +836,27 @@
 			return false;
 		}

+		/**
+		 * Consumes an action, causing all current activations and values attached to it to be reset. This is
+		 * the same as simulating the player releasing the button that activates an action. It is useful to
+		 * force players to re-activate some actions, such as a jump action (otherwise keeping the jump button
+		 * pressed would allow the player to jump nonstop).
+		 *
+		 * @param action		The id of the action you want to consume.
+		 *
+		 *
Examples:

+		 *
+		 *

+		 * // On jump, consume the jump
+		 * if (isTouchingSurface && myBinder.isActionActivated("jump")) {
+		 *     myBinder.consumeAction("jump");
+		 *     player.performJump();
+		 * }
+		 *

+		 *
+		 * @see GamepadControls
+		 * @see #isActionActivated()
+		 */
 		public function consumeAction(__action:String):void {
 			// Deactivates all current actions of an action (forcing a button to be pressed again)
 			if (actionsActivations.hasOwnProperty(__action)) (actionsActivations[__action] as ActivationInfo).activations.length = 0;


Fixed display bugs with SimpleAxisPlotter grid.

Change-Id: Ib068a789f6f11101f6e720af0f739d8030dc5acf

--- WeaveUI/src/weave/visualization/plotters/SimpleAxisPlotter.as
+++ WeaveUI/src/weave/visualization/plotters/SimpleAxisPlotter.as
@@ -19,7 +19,9 @@
 package weave.visualization.plotters
 {
 	import flash.display.BitmapData;
+	import flash.display.CapsStyle;
 	import flash.display.Graphics;
+	import flash.display.JointStyle;
 	import flash.geom.Point;
 	import flash.text.TextFormatAlign;

@@ -268,7 +270,7 @@

 				// draw tick mark line and grid lines
 				graphics.clear();
-				graphics.lineStyle(axisGridLineThickness.value, axisGridLineColor.value, axisGridLineAlpha.value);
+				graphics.lineStyle(axisGridLineThickness.value, axisGridLineColor.value, axisGridLineAlpha.value, false, "normal", CapsStyle.NONE);

 				if ( key == MIN_LABEL_KEY || key == MAX_LABEL_KEY )
 				{
@@ -384,7 +386,8 @@
 			// draw the axis line
 			var graphics:Graphics = tempShape.graphics;
 			graphics.clear();
-			graphics.beginFill(axesColor.value, axesAlpha.value) ;
+			graphics.lineStyle(1, axesColor.value, axesAlpha.value);
+			graphics.beginFill(axesColor.value, axesAlpha.value);
 			var offset:Number = 1 ;
 			if(axisAngle == 0 )
 				graphics.drawRect(_axisLineScreenBounds.xMin - axesThickness.value, _axisLineScreenBounds.yMax+offset, length+axesThickness.value, axesThickness.value );


added code in comment

added code in comment

--- WeaveData/src/weave/services/URLRequestUtils.as
+++ WeaveData/src/weave/services/URLRequestUtils.as
@@ -89,6 +89,9 @@
 		public function getURL(relevantContext:Object, request:URLRequest, asyncResultHandler:Function = null, asyncFaultHandler:Function = null, token:Object = null, dataFormat:String = "binary"):URLLoader
 		{
 			addBaseURL(request);
+
+			// attempt to load crossdomain.xml from same folder as file
+			//Security.loadPolicyFile(URLUtil.getFullURL(request.url, 'crossdomain.xml'));

 			var urlLoader:CustomURLLoader;
 			try


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

--- frameworks/projects/framework/src/mx/resources/IResourceManager.as
+++ frameworks/projects/framework/src/mx/resources/IResourceManager.as
@@ -0,0 +1,621 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.resources
+{
+
+import flash.events.IEventDispatcher;
+import flash.system.ApplicationDomain;
+import flash.system.SecurityDomain;
+
+/**
+ *  The APIs of the IResourceManager interface
+ *  provide localization support for Flex applications.
+ *
+ *
There are three main concepts involved in localization:
+ *  locales, resources, and resource bundles.

+ *
+ *
A locale specifies a language and a country
+ *  for which your application has been localized.
+ *  For example, the locale "en_US"
+ *  specifies English as spoken in the United States.
+ *  (See the mx.resources.Locale class for more information.)

+ *
+ *
A resource is a named value that is locale-dependent.
+ *  For example, your application might have a resource
+ *  whose name is "OPEN"
+ *  and whose value for an English locale is "Open"
+ *  but whose value for a French locale is "Ouvrir".

+ *
+ *
A resource bundle is a named group of resources
+ *  whose values have been localized for a particular locale.
+ *  A resource bundle is identified by the combination of its
+ *  bundleName and its locale,
+ *  and has a content object that contains
+ *  the name-value pairs for the bundle's resources.
+ *  See the documentation for mx.resources.IResourceBundle
+ *  for information about how you typically create resource
+ *  bundles from properties files.

+ *
+ *
A single ResourceManager object implementing the IResourceManager
+ *  interface manages multiple resource bundles, possibly for multiple
+ *  locales, and provides access to the resources that they contain.
+ *  For example, you can retrieve a specific resource as a String by calling
+ *  resourceManager.getString(bundleName, resourceName).

+ *
+ *
All classes that extend UIComponent, Formatter, or Validator
+ *  have a resourceManager property
+ *  that provides a reference to the object implementing this interface.
+ *  Other classes can call ResourceManager.getInstance()
+ *  to obtain this object.

+ *
+ *
Resource retrieval methods such as getString()
+ *  search for resources in the locales specified
+ *  by the localeChain property.
+ *  By changing this property, you can make your application
+ *  suddenly use, for example, Japanese rather than English resources.

+ *
+ *
When your application starts, the ResourceManager is automatically
+ *  populated with whatever resource bundles were compiled
+ *  into the application.
+ *  If you create a code module, by default the resources that its classes
+ *  need are compiled into the module.
+ *  When the module is loaded into an application, any bundles that the
+ *  application does not already have are added to the ResourceManager.

+ *
+ *
You can compile "resource modules" which have only resources in them,
+ *  and load them with the loadResourceModule() method
+ *  of IResourceManager.
+ *  With resource modules, you can support multiple locales by loading
+ *  the resources you need at run time rather than compiling them into
+ *  your application.

+ *
+ *
Although the ResourceManager is normally populated with resource bundles
+ *  that were compiled into your application or loaded from modules,
+ *  you can also programmatically create resource bundles and add them
+ *  to the ResourceManager yourself with the addResourceBundle()
+ *  method.

+ *
+ *  @see mx.resources.ResourceManager
+ *  @see mx.resources.IResourceBundle
+ *  @see mx.resources.ResourceBundle
+ */
+public interface IResourceManager extends IEventDispatcher
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  localeChain
+    //----------------------------------
+
+    /**
+     *  An Array of locale Strings, such as [ "en_US" ],
+     *  which specifies one or more locales to be searched for resources.
+     *
+     *
When you call the ResourceManager methods getObject(),
+     *  getString(), getStringArray(),
+     *  getNumber(), getInt(),
+     *  getUint(), getBoolean(), or
+     *  getClass() to get the value of a resource,
+     *  you specify a bundle name and a resource name,
+     *  but not a locale.
+     *  The ResourceManager starts with the first locale in the
+     *  localeChain and looks for a ResourceBundle
+     *  with the specified bundle name for that locale.
+     *  If such a ResourceBundle exists, and the specified resource
+     *  exists in it, then the value of that resource is returned.
+     *  Otherwise, the ResourceManager proceeds on to the other
+     *  locales in the localeChain.

+     *
+     *
This scheme makes it possible to have locales that do not
+     *  necessarily contain a complete set of localized resources.
+     *  For example, if you are localizing your application for
+     *  Indian English rather than U.S. English, you need only
+     *  supply resources for the en_IN locale in which the
+     *  Indian spelling or usage differs from that in the U.S.,
+     *  and then set the localeChain property
+     *  to [ "en_IN", "en_US" ].

+     *
+     *
Many framework classes assume that they can always
+     *  obtain, from some locale, the resources that they expect,
+     *  and they will throw errors if they cannot do so.
+     *  Therefore, you must ensure that the localeChain
+     *  always contains a complete set of resources.
+     *  Unless you have done a complete localization of all the
+     *  framework's resources as well as your own application's
+     *  resources, you can keep the "en_US" locale
+     *  at the end of your localeChain to ensure this.

+     *
+     *
Setting this property causes the ResourceManager to dispatch
+     *  a "change" Event.

+     */
+    function get localeChain():Array /* of String */;
+
+    /**
+     *  @private
+     */
+    function set localeChain(value:Array /* of String */):void;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Begins loading a resource module containing resource bundles.
+     *
+     *
Each call to this method returns a new event-dispatching object
+     *  that you can use to learn how the loading is progressing
+     *  and whether it completes successfully or results in an error.
+     *  This object dispatches ResourceEvent.PROGRESS,
+     *  ResourceEvent.COMPLETE, and
+     *  ResourceEvent.ERROR events.

+     *
+     *
When the module has been loaded, the resource bundles
+     *  are added to the ResourceManager, but the localeChain
+     *  is left unchanged.
+     *  If the update parameter is true,
+     *  the update() method will be called.

+     *
+     *  @param url The URL from which to load the resource module.
+     *
+     *  @param update Whether to call
+     *  the update() method when the module finishes loading.
+     *
+     *  @param applicationDomain The ApplicationDomain passed to the
+     *  load() method of the IModuleInfo class
+     *  that loads the resource module.
+     *  This parameter is optional and defaults to null.
+     *
+     *  @param securityDomain The SecurityDomain passed to the
+     *  load() method of the IModuleInfo class
+     *  that loads the resource module.
+     *  This parameter is optional and defaults to null.
+     *
+     *  @return An object that is associated with this particular load operation
+     *  that dispatches ResourceEvent.PROGRESS,
+     *  ResourceEvent.COMPLETE, and
+     *  ResourceEvent.ERROR events.
+     *
+     *  @see mx.events.ResourceEvent
+     *  @see mx.resources.IResourceManager#update()
+     */
+    function loadResourceModule(url:String, update:Boolean = true,
+                                applicationDomain:ApplicationDomain = null,
+                                securityDomain:SecurityDomain = null):
+                                IEventDispatcher;
+
+    /**
+     *  This method has not yet been implemented.
+     */
+    function unloadResourceModule(url:String, update:Boolean = true):void;
+
+    /**
+     *  Adds the specified ResourceBundle to the ResourceManager
+     *  so that its resources can be accessed by ResourceManager
+     *  methods such as getString().
+     *
+     *  @param resourceBundle The resource bundle to be added.
+     */
+    function addResourceBundle(resourceBundle:IResourceBundle):void;
+
+    /**
+     *  Removes the specified ResourceBundle from the ResourceManager
+     *  so that its resources can no longer be accessed by ResourceManager
+     *  methods such as getString().
+     *
+     *  @param locale A locale string such as "en_US".
+     *
+     *  @param bundleName A bundle name such as "MyResources".
+     *
+     *  @see mx.resources.IResourceBundle
+     */
+    function removeResourceBundle(locale:String, bundleName:String):void;
+
+    /**
+     *  Removes all ResourceBundles for the specified locale
+     *  from the ResourceManager so that their resources
+     *  can no longer be accessed by ResourceManager methods
+     *  such as getString().
+     *
+     *  @param locale A locale string such as "en_US".
+     *
+     *  @see mx.resources.IResourceBundle
+     */
+    function removeResourceBundlesForLocale(locale:String):void;
+
+    /**
+     *  Dispatches a change event from the
+     *  ResourceManager.
+     *
+     *
This causes binding expressions to re-evaluate
+     *  if they involve the ResourceManager methods
+     *  getObject(), getString(),
+     *  getStringArray(), getNumber(),
+     *  getInt(), getUint(),
+     *  getBoolean(), or getClass().

+     *
+     *
This also causes the resourcesChanged() method
+     *  of a UIComponent, Formatter, or Validator to execute.
+     *  Many components implement this method to update
+     *  their state based on the latest resources.

+     */
+    function update():void;
+
+    /**
+     *  Returns an Array of Strings specifying all locales for which
+     *  ResourceBundle objects exist in the ResourceManager.
+     *
+     *
The order of locales in this array is not specified.

+     *
+     *  @return An Array of locale Strings.
+     */
+    function getLocales():Array /* of String */;
+
+    /**
+     *  Returns an Array of Strings specifying the bundle names
+     *  for all ResourceBundle objects that exist in the ResourceManager
+     *  and that belong to the specified locale.
+     *
+     *
The order of bundle names in this Array is not specified.

+     *
+     *  @param locale A locale string such as "en_US".
+     *
+     *  @return An Array of bundle names.
+     *
+     *  @see mx.resources.IResourceBundle
+     */
+    function getBundleNamesForLocale(locale:String):Array /* of String */;
+
+    /**
+     *  Returns a ResourceBundle with the specified locale
+     *  and bundleName that has been previously added
+     *  to the ResourceManager with addResourceBundle().
+     *  If no such ResourceBundle exists, this method returns null.
+     *
+     *  @param locale A locale string such as "en_US".
+     *
+     *  @param bundleName A bundle name such as "MyResources".
+     *
+     *  @return The ResourceBundle with the specified locale
+     *  and bundleName if one exists; otherwise null.
+     *
+     *  @see mx.resources.IResourceBundle
+     */
+    function getResourceBundle(locale:String,
+                               bundleName:String):IResourceBundle;
+
+    /**
+     *  Searches the locales in the localeChain
+     *  for the specified resource and returns
+     *  the first resource bundle in which it is found.
+     *  If the resource isn't found, this method returns null.
+     *
+     *  @param bundleName A bundle name such as "MyResources".
+     *
+     *  @param resourceName The name of a resource in the resource bundle.
+     *
+     *  @return The first ResourceBundle in the localeChain
+     *  that contains the specified resource, or null.
+     */
+    function findResourceBundleWithResource(
+                        bundleName:String,
+                        resourceName:String):IResourceBundle;
+
+    [Bindable("change")]
+
+    /**
+     *  Gets the value of a specified resource as an Object.
+     *
+     *
The value is returned exactly as it is stored
+     *  in the content Object of the ResourceBundle,
+     *  with no conversion.
+     *  If the resource was compiled from a properties files,
+     *  the resource value in the content Object
+     *  is always a String unless you used the Embed()
+     *  or ClassReference() directive, in which case
+     *  it is a Class.
+     *  Use the getString(), getStringArray(),
+     *  getNumber(), getInt()
+     *  getUint(), getBoolean(), and
+     *  getClass() methods to convert the value
+     *  to more specific types.

+     *
+     *
If the specified resource is not found,
+     *  this method returns undefined.

+     *
+     *  @param bundleName The name of a resource bundle.
+     *
+     *  @param resourceName The name of a resource in the resource bundle.
+     *
+     *  @param locale A specific locale to be used for the lookup,
+     *  or null to search all locales
+     *  in the localeChain.
+     *  This parameter is optional and defaults to null;
+     *  you should seldom need to specify it.
+     *
+     *  @return The resource value, exactly as it is stored
+     *  in the content Object,
+     *  or undefined if the resource is not found.
+     */
+    function getObject(bundleName:String, resourceName:String,
+                       locale:String = null):*;
+
+    [Bindable("change")]
+
+    /**
+     *  Gets the value of a specified resource as a String,
+     *  after substituting specified values for placeholders.
+     *
+     *
This method calls getObject()
+     *  and then casts the result to a String.

+     *
+     *
If a parameters Array is passed to this method,
+     *  the parameters in it are converted to Strings
+     *  and then substituted, in order, for the placeholders
+     *  "{0}", "{1}", and so on, in the String
+     *  before it is returned.

+     *
+     *
If the specified resource is not found,
+     *  this method returns null.

+     *
+     *  @param bundleName The name of a resource bundle.
+     *
+     *  @param resourceName The name of a resource in the resource bundle.
+     *
+     *  @param parameters An Array of parameters that are
+     *  substituted for the placeholders.
+     *  Each parameter is converted to a String with the toString() method
+     *  before being substituted.
+     *
+     *  @param locale A specific locale to be used for the lookup,
+     *  or null to search all locales
+     *  in the localeChain.
+     *  This parameter is optional and defaults to null;
+     *  you should seldom need to specify it.
+     *
+     *  @return The resource value, as a String,
+     *  or null if it is not found.
+     */
+    function getString(bundleName:String, resourceName:String,
+                       parameters:Array = null,
+                       locale:String = null):String;
+
+    [Bindable("change")]
+
+    /**
+     *  Gets the value of a specified resource as an Array of Strings.
+     *
+     *
This method assumes that the resource value is a String
+     *  containing a comma-separated list of items.
+     *  It calls the getString() method, splits the String
+     *  into items at the commas, and trims white space
+     *  before and after each item.
+     *  It is useful if you have written a line such as:

+     *
+     *

+     *  COUNTRIES=India, China, Japan
+     *

+     *
+     *
in a properties file and you want to obtain the value
+     *  [ "India", "China", "Japan" ]
+     *  rather than the value "India, China, Japan".

+     *
+     *
If the specified resource is not found,
+     *  this method returns null.

+     *
+     *  @param bundleName The name of a resource bundle.
+     *
+     *  @param resourceName The name of a resource in the resource bundle.
+     *
+     *  @param locale A specific locale to be used for the lookup,
+     *  or null to search all locales
+     *  in the localeChain.
+     *  This parameter is optional and defaults to null;
+     *  you should seldom need to specify it.
+     *
+     *  @return The resource value, as an Array of Strings,
+     *  or null if it is not found.
+     */
+    function getStringArray(bundleName:String,
+                            resourceName:String,
+                            locale:String = null):Array /* of String */;
+
+    [Bindable("change")]
+
+    /**
+     *  Gets the value of a specified resource as a Number.
+     *
+     *
This method calls getObject()
+     *  and casts the result to a Number.
+     *  It is useful if you have written a line such as:

+     *
+     *

+     *  LONGITUDE=170.3
+     *

+     *
+     *
in a properties file and want to obtain the value
+     *  170.3 rather than "170.3".

+     *
+     *
If the specified resource is not found,
+     *  this method returns NaN.

+     *
+     *  @param bundleName The name of a resource bundle.
+     *
+     *  @param resourceName The name of a resource in the resource bundle.
+     *
+     *  @param locale A specific locale to be used for the lookup,
+     *  or null to search all locales
+     *  in the localeChain.
+     *  This parameter is optional and defaults to null;
+     *  you should seldom need to specify it.
+     *
+     *  @return The resource value, as a Number,
+     *  or NaN if it is not found.
+     */
+    function getNumber(bundleName:String, resourceName:String,
+                       locale:String = null):Number;
+
+    [Bindable("change")]
+
+    /**
+     *  Gets the value of a specified resource as an int.
+     *
+     *
This method calls getObject()
+     *  and casts the result to an int.
+     *  It is useful if you have written a line such as:

+     *
+     *

+     *  MINIMUM=5
+     *

+     *
+     *
in a properties file and want to obtain the value
+     *  5 rather than "5".

+     *
+     *
If the specified resource is not found,
+     *  this method returns 0.

+     *
+     *  @param bundleName The name of a resource bundle.
+     *
+     *  @param resourceName The name of a resource in the resource bundle.
+     *
+     *  @param locale A specific locale to be used for the lookup,
+     *  or null to search all locales
+     *  in the localeChain.
+     *  This parameter is optional and defaults to null;
+     *  you should seldom need to specify it.
+     *
+     *  @return The resource value, as an int,
+     *  or 0 if it is not found.
+     */
+    function getInt(bundleName:String, resourceName:String,
+                    locale:String = null):int;
+
+    [Bindable("change")]
+
+    /**
+     *  Gets the value of a specified resource as a uint.
+     *
+     *
This method calls the getObject() method
+     *  and casts the result to a uint.
+     *  It is useful if you have written a line such as:

+     *
+     *

+     *  MINIMUM=5
+     *

+     *
+     *
in a properties file and want to obtain the value
+     *  5 rather than "5".

+     *
+     *
If the specified resource is not found,
+     *  this method returns 0.

+     *
+     *  @param bundleName The name of a resource bundle.
+     *
+     *  @param resourceName The name of a resource in the resource bundle.
+     *
+     *  @param locale A specific locale to be used for the lookup,
+     *  or null to search all locales
+     *  in the localeChain.
+     *  This parameter is optional and defaults to null;
+     *  you should seldom need to specify it.
+     *
+     *  @return The resource value, as a uint,
+     *  or 0 if it is not found.
+     */
+    function getUint(bundleName:String, resourceName:String,
+                     locale:String = null):uint;
+
+    [Bindable("change")]
+
+    /**
+     *  Gets the value of a specified resource as a Boolean.
+     *
+     *
This method first calls getString()
+     *  and converts the result to lowercase.
+     *  It then returns true
+     *  if the result was "true".
+     *  and false otherwise.

+     *
+     *
If the specified resource is not found,
+     *  this method returns false.

+     *
+     *  @param bundleName The name of a resource bundle.
+     *
+     *  @param resourceName The name of a resource in the resource bundle.
+     *
+     *  @param locale A specific locale to be used for the lookup,
+     *  or null to search all locales
+     *  in the localeChain.
+     *  This parameter is optional and defaults to null;
+     *  you should seldom need to specify it.
+     *
+     *  @return The resource value, as a Boolean,
+     *  or false if it is not found.
+     */
+    function getBoolean(bundleName:String, resourceName:String,
+                        locale:String = null):Boolean;
+
+    [Bindable("change")]
+
+    /**
+     *  Gets the value of a specified resource as a Class.
+     *
+     *
This method calls getObject()
+     *  and coerces it to type Class using the as operator.
+     *  The result will be null if the resource value
+     *  was not a class reference.
+     *  It is useful if you have written a lines such as

+     *
+     *

+     *  IMAGE=Embed("image.jpg")
+     *  BUTTON_SKIN=ClassReference("skins.ButtonSkin_en_US")
+     *

+     *
+     *
in a properties file and want to obtain
+     *  the Class that the Embed()
+     *  or ClassReference() directive produced.

+     *
+     *
If the specified resource is not found,
+     *  this method returns null.

+     *
+     *  @param bundleName The name of a resource bundle.
+     *
+     *  @param resourceName The name of a resource in the resource bundle.
+     *
+     *  @param locale A specific locale to be used for the lookup,
+     *  or null to search all locales
+     *  in the localeChain.
+     *  This parameter is optional and defaults to null;
+     *  you should seldom need to specify it.
+     *
+     *  @return The resource value, as a Class,
+     *  or null if it is not found.
+     */
+    function getClass(bundleName:String, resourceName:String,
+                      locale:String = null):Class;
+
+    /**
+     *  Used by modules loaders only.
+     */
+    function installCompiledResourceBundles(
+                                applicationDomain:ApplicationDomain,
+                                locales:Array /* of String */,
+                                bundleNames:Array /* of String */):void;
+
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package spark.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7221
Author:   dsubrama@adobe.com
Date:     2009-05-22T16:27:26.493658Z

Log Message:
-----------
-Use Drawing API-2 to render caps for every Line graphic element's strokes. As part of this, GradientStroke now implements IStroke and IStroke has a new method, generateGraphicsStroke() which returns a GraphicsStroke object representing this stroke. More refactoring to share graphics stroke logic between LinearGradientStroke and RadialGradientStroke.
-Removed some un-used imports.
-Added some comments to ItemRenderer and had modified List to use static constants for event listeners.

Fixes: SDK-17661, SDK-21353, SDK-21251

Checkintests: Pass
FXG Tests: Passed (cyclone ran by Joan)
Doc: Added ASDoc for ItemRenderer and IStroke, a glance-over would be swell.
Reviewer: Jason for SDK-17661 me for the others.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/IStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.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/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Line.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.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/flex4/src/spark/skins/default/ErrorSkin.as</path>

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

--- frameworks/projects/spark/src/spark/components/List.as
+++ frameworks/projects/spark/src/spark/components/List.as
@@ -759,7 +759,7 @@

         if (renderer)
         {
-            renderer.addEventListener("click", item_clickHandler);
+            renderer.addEventListener(MouseEvent.CLICK, item_clickHandler);
             updateRenderer(IVisualElement(renderer));
         }
     }
@@ -775,7 +775,7 @@

         if (renderer)
         {
-            renderer.removeEventListener("click", item_clickHandler);
+            renderer.removeEventListener(MouseEvent.CLICK, item_clickHandler);
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17665
Author:   smgilson@adobe.com
Date:     2010-09-10T19:58:10.049119Z

Log Message:
-----------
Update ASdoc comment

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

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/Rect.as

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

--- frameworks/projects/spark/src/spark/primitives/Rect.as
+++ frameworks/projects/spark/src/spark/primitives/Rect.as
@@ -26,7 +26,7 @@

 /**
  *  The Rect class is a filled graphic element that draws a rectangle.
- *  The corners of the rectangle can be rounded. The drawElementent() method
+ *  The corners of the rectangle can be rounded. The drawElement() method
  *  calls the Graphics.drawRect() and Graphics.drawRoundRect()
  *  methods.
  *


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

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

 package mx.formatters
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18514
Author:   dthakkar@adobe.com
Date:     2010-11-10T00:38:39.528767Z

Log Message:
-----------
QE notes: Some testcases in spark formatters are failing because of behavior change. These testcases are excluded prior to submission. Globalization QE team has been informed about this.
Doc notes: Spark Formatters ASDocs are updated and also added samples for the spark formatters.
Bugs: SDK-28145, SDK-28345 ,SDK-28320 ,SDK-28287,SDK-28314
Reviewer: Gordon , Craig, Masa, Xie
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/MatchingCollatorExample.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/NumberValidatorTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/CurrencyValidatorTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/NumberValidatorTests.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/CurrencyValidatorTests.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/NumberFormatterExample1.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/CurrencyFormatterExample1.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/bundles/en_US/validators.properties</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/SortingCollator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/SortingCollatorExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/StringToolsExample.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/validators/IValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/NumberValidatorBase.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationValidatorBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/NumberFormatterExample2.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/CurrencyFormatterExample2.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/NumberValidator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/validators/Validator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/GlobalizationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/formatters/IFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/DateTimeFormatterExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/LastOperationStatus.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberFormatterBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/MatchingCollator.as</path>

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

--- frameworks/projects/framework/src/mx/validators/IValidator.as
+++ frameworks/projects/framework/src/mx/validators/IValidator.as
@@ -0,0 +1,112 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.validators
+{
+
+import mx.events.ValidationResultEvent;
+
+/**
+ *  This interface specifies the methods and properties that a Validator
+ *  object must implement.
+ *
This interface allows to validate multiple data
+ *  types like numbers, currency, phone numbers, zip codes etc that
+ *  are defined in both mx and spark namespaces. The classes
+ *  mx:Validator and spark:GlobaliationValidatorBase
+ *  implement this interface. The validateAll() method in these classes use
+ *  this interface type to call the validate() method on
+ *  multiple validator objects.

+ *
+ *
+ *  @see mx.validators.Validator
+ *  @see spark.validators.GlobalizationValidatorBase
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4.5
+ */
+public interface IValidator
+{
+    //----------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //----------------------------------------------------------------------
+
+    //----------------------------------
+    //  enabled
+    //----------------------------------
+
+    /**
+     *  Property to enable/disable validation process.
+     *
Setting this value to false will stop the validator
+     *  from performing validation.
+     *  When a validator is disabled, it dispatches no events,
+     *  and the validate() method returns null.

+     *
+     *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    function get enabled():Boolean;
+    function set enabled(value:Boolean):void;
+
+    //----------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //----------------------------------------------------------------------
+
+    //----------------------------------
+    //  validate
+    //----------------------------------
+
+    /**
+     *  Performs validation and optionally notifies
+     *  the listeners of the result.
+     *
+     *  @param value Optional value to validate.
+     *  If null, then the validator uses the source and
+     *  property properties to determine the value.
+     *  If you specify this argument, you should also set the
+     *  listener property to specify the target component
+     *  for any validation error messages.
+     *
+     *  @param suppressEvents If false, then after validation,
+     *  the validator will notify the listener of the result.
+     *
+     *  @return A ValidationResultEvent object
+     *  containing the results of the validation.
+     *  For a successful validation, the
+     *  ValidationResultEvent.results Array property is empty.
+     *  For a validation failure, the
+     *  ValidationResultEvent.results Array property contains
+     *  one ValidationResult object for each field checked by the validator,
+     *  both for fields that failed the validation and for fields that passed.
+     *  Examine the ValidationResult.isError
+     *  property to determine if the field passed or failed the validation.
+     *
+     *  @see mx.events.ValidationResultEvent
+     *  @see mx.validators.ValidationResult
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    function validate(value:Object = null,
+                      suppressEvents:Boolean = false):ValidationResultEvent
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 4726
Author:   gosmith@adobe.com
Date:     2009-01-29T02:47:59.868818Z

Log Message:
-----------
Accessibility changes to the MSAA name of several components, as requested by Freedom Scientific. These changes make Flex controls behave more like standard Windows controls.

In Accordion and TabBar, the name is now just what is displayed, without " Tab" or " Tab, Active" appended.

In ComboBox, List, and Tree, the name of each item is now just what it displays, without, for example, "2 of 7" appended.

Removed an artificial limit of 100000 items in List and Menu.

A Slider with an MXML id no longer returns that id as its name; no other component does this and id's are certainly no intended to be spoken.

Removed the getName() method of ComboBase, which isn't used.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Jason

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AlertAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl.as</path>

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

--- frameworks/projects/mx/src/mx/accessibility/MenuBarAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/MenuBarAccImpl.as
@@ -317,7 +317,9 @@
 	{
 		if (childID == 0)
 			return "";
+
 		var menuBar:MenuBar = MenuBar(master);
+
 		var index:int = childID - 1;

 		if (menuBar.menuBarItems && menuBar.menuBarItems.length > index)
@@ -325,6 +327,7 @@
 			if (menuBar.menuBarItems[index] && menuBar.menuBarItems[index].data)
 				return menuBar.itemToLabel(menuBar.menuBarItems[index].data);
 		}
+
 		return "";
 	}


removed support for specifying interfaces as strings.

--- WeaveJS/src/Weave.as
+++ WeaveJS/src/Weave.as
@@ -426,20 +426,13 @@

 		/**
 		 * Registers an ILinkableObject class for use with Weave.className() and Weave.getDefinition().
+		 * @param qualifiedName
+		 * @param definition
+		 * @param additionalInterfaces An Array of interfaces (Class objects) that the definition implements in addition to ILinkableObject.
 		 */
 		public static function registerClass(qualifiedName:String, definition:Class, additionalInterfaces:Array = null):void
 		{
-			var interfaces:Array = [ILinkableObject];
-			for each (var item:* in additionalInterfaces)
-			{
-				var classDef:Class = JS.asClass(item);
-				if (item is String)
-					classDef = getDefinition(item);
-				if (!classDef)
-					throw new Error("Interface not found: " + item);
-				interfaces.push(classDef);
-			}
-			WeaveAPI.ClassRegistry.registerClass(qualifiedName, definition, interfaces);
+			WeaveAPI.ClassRegistry.registerClass(qualifiedName, definition, [ILinkableObject].concat(additionalInterfaces || []));
 		}

 		/**


Unnecessary Remapping Fix Bug Fixes: - Fixed an issue that would cause unnecessary segment index remapping,   resulting in repeating/skipped segments on some streams

--- HLSPlugin/src/com/kaltura/hls/HLSIndexHandler.as
+++ HLSPlugin/src/com/kaltura/hls/HLSIndexHandler.as
@@ -527,7 +527,7 @@
 				return -1;
 			}

-			if(currentManifest == newManifest)
+			if(currentManifest.fullUrl == newManifest.fullUrl)
 			{
 				return currentSequence;
 			}


Transferred from the Adobe Open Source Subversion Repository

Revision: 6840
Author:   jimurphy@adobe.com
Date:     2009-05-12T13:22:49.674709Z

Log Message:
-----------
Merged 3.x revisions 6344,6766 -> trunk

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as
+++ frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as
@@ -105,8 +105,8 @@
     {
         super();

-        operation = new AbstractOperation();
-
+        operation = new HTTPOperation(this);
+
         operation.makeObjectsBindable = true;

         operation._rootURL = rootURL;
@@ -931,5 +931,51 @@
     }

 }
-
 }
+
+import mx.core.mx_internal;
+
+import mx.rpc.events.AbstractEvent;
+import mx.rpc.http.AbstractOperation;
+import mx.rpc.http.HTTPService;
+
+/**
+ *  @private
+ *
+ *  An HTTPService specific override that allow service level event listeners
+ *  to handle RPC events.
+ */
+class HTTPOperation extends AbstractOperation
+{
+    public function HTTPOperation(httpService:HTTPService, name:String=null)
+    {
+        super(null, name);
+        this.httpService = httpService;
+    }
+
+    /**
+     *  @private
+     */
+    override mx_internal function dispatchRpcEvent(event:AbstractEvent):void
+    {
+        event.mx_internal::callTokenResponders();
+        if (!event.isDefaultPrevented())
+        {
+            if (hasEventListener(event.type))
+            {
+                dispatchEvent(event);
+            }
+            else
+            {
+                if (httpService != null)
+                    httpService.mx_internal::dispatchRpcEvent(event);
+            }
+        }
+    }
+
+    /**
+     *  @private
+     */
+    private var httpService:HTTPService;
+}
+


Transferred from the Adobe Open Source Subversion Repository

Revision: 20037
Author:   smgilson@adobe.com
Date:     2011-02-01T18:27:50.967927Z

Log Message:
-----------
Add missing ASDoc comments

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

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -1124,7 +1124,10 @@
     //----------------------------------

     /**
-     *  @copy spark.components.gridClasses.GridSelection#preserveSelection
+     *  If true, the selection is preserved when the data provider
+     *  refreshes its collection.
+     *  Because this refresh requires each item in the selection to be saved,
+     *  this action is not desirable if the selection is large.
      *
      *  @default true
      *
@@ -2058,7 +2061,14 @@
     [Bindable("valueCommit")]

     /**
-     *  @copy spark.components.gridClasses.GridSelection#selectionLength
+     *  If selectionMode is GridSelectionMode.SINGLE_ROW
+     *  or GridSelectionMode.MULTIPLE_ROWS,
+     *  returns the number of selected rows.
+     *  If selectionMode is GridSelectionMode.SINGLE_CELLS
+     *  or GridSelectionMode.MULTIPLE_CELLS,
+     *  returns the number of selected cells.
+     *
+     *  @default 0
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -2283,7 +2293,34 @@
     //--------------------------------------------------------------------------

     /**
-     *  @copy spark.components.gridClasses.GridSelection#selectAll()
+     *  If selectionMode is
+     *  GridSelectionMode.MULTIPLE_ROWS, selects all rows and
+     *  removes the caret or if selectionMode is
+     *  GridSelectionMode.MULTIPLE_CELLS selects all cells
+     *  and removes the caret.  For all other selection modes, this method
+     *  has no effect.
+     *
+     *
If items are added to the dataProvider or
+     *  columns are added after this method is called, the
+     *  new rows or cells in the new column will be selected.

+     *
+     *
This implicit "selectAll" mode ends when any of the following occur:
+     *

+     *
selection is cleared using clearSelection

+     *
selection reset using one of setSelectedCell,
+     *    setSelectedCells, setSelectedIndex,
+     *    selectIndices

+     *
dataProvider is refreshed and preserveSelection is false

+     *
dataProvider is reset

+     *
columns is refreshed,
+     *    preserveSelection is false and
+     *    selectionMode is
+     *    GridSelectionMode.MULTIPLE_CELLS

+     *
columns is reset and selectionMode is
+     *    GridSelectionMode.MULTIPLE_CELLS

+     *

+     *
+     *  @return true if the selection changed.
      *
      *  @see spark.components.Grid#clearSelection
      *  @see spark.components.Grid#selectIndices
@@ -2972,9 +3009,9 @@

     /**
      *  Return the data provider indices and padding indices of the
-	 *  currently visible rows.
-	 *  Indices which are greater than or equal to the
-	 *  dataProvider length represent padding rows.
+     *  currently visible rows.
+     *  Indices which are greater than or equal to the
+     *  dataProvider length represent padding rows.
      *  Note that the item renderers for the first and last rows
      *  may only be partially visible.
      *  The returned vector's contents are in the order they're displayed.
@@ -3202,6 +3239,10 @@
      *  @param x The x coordinate of the pixel at the origin of the region, relative to the grid.
      *
      *  @param x The x coordinate of the pixel at the origin of the region, relative to the grid.
+     *
+     *  @param w The width of the region, in pixels.
+     *
+     *  @param h The height of the region, in pixels.
      *
      *  @return A vector of objects like Vector.<Object>([{rowIndex:0, columnIndex:0}, ...]).
      *
@@ -3610,22 +3651,22 @@
     public function invalidateCell(rowIndex:int, columnIndex:int):void
     {
         if (!dataProvider)
-			return;
-
-		const dataProviderLength:int = dataProvider.length;
-		if (rowIndex >= dataProvider.length)
-			return;
-
-		if (!isCellVisible(rowIndex, columnIndex))
-			return;
+            return;
+
+        const dataProviderLength:int = dataProvider.length;
+        if (rowIndex >= dataProvider.length)
+            return;
+
+        if (!isCellVisible(rowIndex, columnIndex))
+            return;

         if (invalidateDisplayListFlag || invalidateSizeFlag)
             return;
-
-		if ((rowIndex >= 0) && (columnIndex >= 0))
-		{
+
+        if ((rowIndex >= 0) && (columnIndex >= 0))
+        {
             gridLayout.invalidateCell(rowIndex, columnIndex);
-		}
+        }
         else if (rowIndex >= 0)  // invalidate a row
         {
             const visibleColumnIndices:Vector.<int> = getVisibleColumnIndices();
@@ -3638,22 +3679,22 @@
                     break;
             }
         }
-		else if (columnIndex >= 0)  // invalidate a column
-		{
-			const visibleRowIndices:Vector.<int> = getVisibleRowIndices();
-			for each (var visibleRowIndex:int in visibleRowIndices)
-			{
-				// If there are any padding rows, skip them.
-				if (visibleRowIndex >= dataProviderLength)
-					break;
+        else if (columnIndex >= 0)  // invalidate a column
+        {
+            const visibleRowIndices:Vector.<int> = getVisibleRowIndices();
+            for each (var visibleRowIndex:int in visibleRowIndices)
+            {
+                // If there are any padding rows, skip them.
+                if (visibleRowIndex >= dataProviderLength)
+                    break;

                 gridLayout.invalidateCell(visibleRowIndex, columnIndex);

                 // If invalidating the cell caused the entire grid to be invalid, punt
                 if (invalidateDisplayListFlag || invalidateSizeFlag)
                     break;
-			}
-		}
+            }
+        }
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 3047
Author:   gruehle@adobe.com
Date:     2008-08-29T22:18:20.601349Z

Log Message:
-----------
Checking in for Jason.

This is the big display object sharing optimization for Group. Adjacent graphic elements that do not require their own display object now draw into a common shared display object.

There should be no functionality changes. The only exception is masks on graphic elements are broken. If you find any other functional differences, please file a bug.

The changes have been cycloned by the SDK QE and Thermo.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/IDisplayObjectElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Line.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/FilledElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/Rect.as
+++ frameworks/projects/spark/src/spark/primitives/Rect.as
@@ -118,9 +118,9 @@
 	override protected function drawElement(g:Graphics):void
 	{
 		if (radiusX != 0 || radiusY != 0)
-			g.drawRoundRect(0, 0, width, height, radiusX * 2, radiusY * 2);
+			g.drawRoundRect(drawX, drawY, width, height, radiusX * 2, radiusY * 2);
 		else
-			g.drawRect(0, 0, width, height);
+			g.drawRect(drawX, drawY, width, height);
 	}

 }


disabled rendering passes are now discarded as soon as possible in RenderingController.render()

--- src/aerys/minko/scene/controller/scene/RenderingController.as
+++ src/aerys/minko/scene/controller/scene/RenderingController.as
@@ -248,12 +248,13 @@

 			for (i = 0; i < numPasses; ++i)
 			{
-				var pass 		: ShaderInstance	= _passes[i];
-				var calls 		: Array				= _passInstanceToDrawCalls[pass];
-				var numCalls	: uint				= calls.length;
-
-				if (!pass.settings.enabled || !pass.generator.enabled)
+				var pass	: ShaderInstance	= _passes[i];
+
+				if (!(pass.settings.enabled && pass.shader.enabled))
 					continue;
+
+				var calls 		: Array	= _passInstanceToDrawCalls[pass];
+				var numCalls	: uint	= calls.length;

 				pass.begin.execute(pass, context, backBuffer);
 				pass.prepareContext(context, backBuffer, previous);
@@ -706,7 +707,7 @@
 					// our shader is no longer valid, we need to find a new one.
 					unbind(passInstance, drawCall, meshBindings);

-					var replacementInstance : ShaderInstance = passInstance.generator.fork(
+					var replacementInstance : ShaderInstance = passInstance.shader.fork(
 						meshBindings,
 						sceneBindings
 					);


fix imports after merge

fix imports after merge

--- frameworks/projects/Core/as/src/org/apache/flex/core/Application.as
+++ frameworks/projects/Core/as/src/org/apache/flex/core/Application.as
@@ -18,6 +18,10 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.core
 {
+    import org.apache.flex.events.Event;
+    import org.apache.flex.events.IEventDispatcher;
+    import org.apache.flex.events.MouseEvent;
+    import org.apache.flex.events.utils.MouseEventConverter;
     import org.apache.flex.utils.MXMLDataInterpreter;

     COMPILE::AS3 {
@@ -29,11 +33,6 @@
         import flash.events.Event;
         import flash.system.ApplicationDomain;
         import flash.utils.getQualifiedClassName;
-
-        import org.apache.flex.events.Event;
-        import org.apache.flex.events.IEventDispatcher;
-        import org.apache.flex.events.MouseEvent;
-        import org.apache.flex.events.utils.MouseEventConverter;
     }

     //--------------------------------------
@@ -557,86 +556,4 @@
         };

     }
-
-    COMPILE::JS {
-        import org.apache.flex.events.IEventDispatcher;
-    }
-
-    COMPILE::JS
-    public class Application extends HTMLElementWrapper implements IParent{
-        private var _controller:IBead;
-        private var _initialView:Object;
-
-        public function start():void {
-            element = document.getElementsByTagName('body')[0];
-            this.element["flexjs_wrapper"] = this;
-            this.element["className"] = 'Application';
-
-            MXMLDataInterpreter.generateMXMLInstances(this, null, this.MXMLDescriptor);
-
-            this.dispatchEvent('initialize');
-
-            if (this.model) this.addBead(this.model);
-            if (this.controller) this.addBead(controller as IBead);
-
-            this.initialView.applicationModel = this.model;
-            this.addElement(this.initialView);
-
-            this.dispatchEvent('viewChanged');
-        }
-
-        public function generateMXMLAttributes(data:Array):void
-        {
-            MXMLDataInterpreter.generateMXMLProperties(this, data);
-        }
-
-        public function get controller():IBead {
-            return _controller;
-        }
-
-        public function set controller(value:IBead):void {
-            if (value != _controller)
-                _controller = value;
-        }
-
-        public function get initialView():Object {
-            return _initialView;
-        }
-
-        public function set initialView(value:Object):void {
-            if (value != _initialView)
-                _initialView = value;
-        }
-
-        public function set valuesImpl(value:IValuesImpl):void {
-            ValuesManager.valuesImpl = value;
-            if (value.init) {
-                value.init(this);
-            }
-        }
-
-        public function addElement(c:Object, dispatchEvent:Boolean = true):void {
-            (element as HTMLBodyElement).appendChild(c.element);
-            c.addedToParent();
-        }
-
-        public function addElementAt(c:Object, index:int, dispatchEvent:Boolean = true):void
-        {
-        }
-
-        public function getElementIndex(c:Object):int {
-            return 0;
-        }
-
-        public function removeElement(c:Object, dispatchEvent:Boolean = true):void {
-        }
-
-        public function get numElements():int {
-            return 0;
-        }
-
-        public function getElementAt(index:int):Object {
-            return null;
-        }
-    }
 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

 package mx.controls
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20649
Author:   smgilson@adobe.com
Date:     2011-03-07T20:19:16.700368Z

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

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/ContentRequest.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/effects/animation/Animation.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/interpolation/RGBInterpolator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/ContentCache.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/NavigationUnit.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/IGraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Fade.as
+++ frameworks/projects/spark/src/spark/effects/Fade.as
@@ -159,6 +159,9 @@
             "percentWidth", "percentHeight"];
     }

+    /**
+     *  @private
+     */
     override protected function getValueFromTarget(target:Object, property:String):*
     {
         // We track 'index' for use in the addDisappearingTarget() function in


avoid caching CachedDataSource

avoid caching CachedDataSource

--- WeaveJS/src/weavejs/data/AttributeColumnCache.as
+++ WeaveJS/src/weavejs/data/AttributeColumnCache.as
@@ -147,7 +147,7 @@
 			dataSources = root.getObjects(IDataSource);
 			for each (dataSource in dataSources)
 			{
-				if (dataSource.hasOwnProperty('NO_CACHE_HACK'))
+				if (dataSource.hasOwnProperty('NO_CACHE_HACK') || dataSource is CachedDataSource)
 					continue;
 				var type:String = Weave.className(dataSource);
 				var state:Object = Weave.getState(dataSource);


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

--- frameworks/projects/framework/src/mx/states/SetStyle.as
+++ frameworks/projects/framework/src/mx/states/SetStyle.as
@@ -1,13 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
 //
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//      http://www.apache.org/licenses/LICENSE-2.0
 //
-//  AdobePatentID="B770"
+//  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: 10145
Author:   aharui@adobe.com
Date:     2009-09-11T05:50:55.022130Z

Log Message:
-----------
revert 10144.  Gotta rethink some corner cases.  At least I know where the mustella tests are now.

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

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

--- frameworks/projects/spark/src/spark/components/Label.as
+++ frameworks/projects/spark/src/spark/components/Label.as
@@ -1059,7 +1059,7 @@
 			else if (rightAligned)
 				textLine.x = rightOffset - textLine.textWidth;

-			if (verticalAlign == "top" || !createdAllLines || totalTextHeight > innerHeight)
+			if (verticalAlign == "top")
 			{
 				textLine.y += topOffset;
 			}


Clean up roundabout script.

Clean up roundabout script.


Added support for "any" key code (for things like "press any key")

--- com/zehfernando/input/binding/KeyActionBinder.as
+++ com/zehfernando/input/binding/KeyActionBinder.as
@@ -22,6 +22,8 @@
 		// * think of a way to avoid axis injecting button pressed
 		// * Add gamepad index to return signals
 		// * Use caching samples?
+		// * Allow "any" gamepad key?
+		// * Allow sensitive control activation with threshold?
 		// * Some missing asdocs
 		// * Error on initialization, devices missing - try workaround with static initializer: http://forums.adobe.com/message/5618821#5618821

@@ -353,11 +355,11 @@
 		 *
 		 * @see flash.ui.Keyboard
 		 */
-		public function addKeyboardActionBinding(__action:String, __keyCode:uint, __keyLocation:int = -1):void {
+		public function addKeyboardActionBinding(__action:String, __keyCode:int = -1, __keyLocation:int = -1):void {
 			// TODO: use KeyActionBinder.KEY_LOCATION_ANY as default param? The compiler doesn't like constants.

 			// Create a binding to be verified later
-			bindings.push(new BindingInfo(__action, new KeyboardBinding(__keyCode, __keyLocation >= 0 ? __keyLocation : KeyboardBinding.KEY_LOCATION_ANY)));
+			bindings.push(new BindingInfo(__action, new KeyboardBinding(__keyCode >= 0 ? __keyCode : KeyboardBinding.KEY_CODE_ANY, __keyLocation >= 0 ? __keyLocation : KeyboardBinding.KEY_LOCATION_ANY)));
 			prepareAction(__action);
 		}

@@ -521,6 +523,7 @@
 class KeyboardBinding implements IBinding {

 	// Constants
+	public static var KEY_CODE_ANY:uint = 81653812;
 	public static var KEY_LOCATION_ANY:uint = 8165381;

 	// Properties
@@ -541,7 +544,7 @@
 	// PUBLIC INTERFACE -----------------------------------------------------------------------------------------------

 	public function matchesKeyboardKey(__keyCode:uint, __keyLocation:uint):Boolean {
-		return keyCode == __keyCode && (keyLocation == __keyLocation || keyLocation == KEY_LOCATION_ANY);
+		return (keyCode == __keyCode || keyCode == KEY_CODE_ANY) && (keyLocation == __keyLocation || keyLocation == KEY_LOCATION_ANY);
 	}

 	// TODO: add modifiers?


Minor documentation update to clarify the usage of EZGameControl.startTicker

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

--- src/as/com/threerings/ezgame/EZGameControl.as
+++ src/as/com/threerings/ezgame/EZGameControl.as
@@ -457,9 +457,9 @@
     }

     /**
-     * Start the ticker with the specified name. It will deliver messages to the game object at the
-     * specified delay, the value of each message being a single integer, starting with 0 and
-     * increasing by one with each messsage.
+     * Start the ticker with the specified name. The ticker will deliver messages to all connected
+     * clients at the specified delay. The value of each message is a single integer,
+     * starting with 0 and increasing by 1 with each messsage.
      */
     public function startTicker (tickerName :String, msOfDelay :int) :void
     {


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

--- frameworks/projects/mx/src/mx/containers/HBox.as
+++ frameworks/projects/mx/src/mx/containers/HBox.as
@@ -0,0 +1,119 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.containers
+{
+
+import mx.core.mx_internal;
+
+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+[Exclude(name="direction", kind="property")]
+
+[Exclude(name="focusIn", kind="event")]
+[Exclude(name="focusOut", kind="event")]
+
+[Exclude(name="focusBlendMode", kind="style")]
+[Exclude(name="focusSkin", kind="style")]
+[Exclude(name="focusThickness", kind="style")]
+
+[Exclude(name="focusInEffect", kind="effect")]
+[Exclude(name="focusOutEffect", kind="effect")]
+
+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+[IconFile("HBox.png")]
+
+/**
+ *  The HBox container lays out its children in a single horizontal row.
+ *  You use the <mx:HBox> tag instead of the
+ *  <mx:Box> tag as a shortcut to avoid having to
+ *  set the direction property to
+ *  "horizontal".
+ *
+ *
An HBox container has the following default sizing characteristics:

+ *

+ *

+ *           Characteristic
+ *           Description
+ *

+ *

+ *           Default size
+ *           The width is large enough to hold all its children at the default or explicit width of the children,
+ *               plus any horizontal gap between the children, plus the left and right padding of the container.
+ *               The height is the default or explicit height of the tallest child,
+ *               plus the top and bottom padding for the container.
+ *
+ *

+ *

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

+ *

+ *
+ *  @mxml
+ *
+ *
The <mx:HBox> tag inherits all of the tag
+ *  attributes of its superclass, except direction, and adds
+ *  no new tag attributes.

+ *
+ *  @includeExample examples/HBoxExample.mxml
+ *
+ *  @see mx.containers.Box
+ *  @see mx.containers.VBox
+ */
+public class HBox extends Box
+{
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 */
+	public function HBox()
+	{
+		super();
+
+		mx_internal::layoutObject.direction = BoxDirection.HORIZONTAL;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  direction
+	//----------------------------------
+
+	[Inspectable(environment="none")]
+
+	/**
+	 *  @private
+	 *  Don't allow user to change the direction
+	 */
+	override public function set direction(value:String):void
+	{
+	}
+
+}
+
+}


Updated test case.

Updated test case.


Better instructionValue string forms

Better instructionValue string forms

--- src/Values/InstructionValue.as
+++ src/Values/InstructionValue.as
@@ -17,6 +17,15 @@
 		}

 		override public function toString():String {
+			switch (operation) {
+				case OpcodeValue.OP_SET:
+					return operation.getName()+" R" + destArg + "=" + sourceArg;
+				case OpcodeValue.OP_ADD:
+					return operation.getName()+" R" + destArg + "=R" + sourceArg + "+R" + targetArg;
+				case OpcodeValue.OP_SAV:
+					return operation.getName()+" M[R" + targetArg + "]=R" + sourceArg;
+			}
+
 			var out:String = operation.getName() + "(" + sourceArg.toNumber();
 			if (targetArg.toNumber() != C.INT_NULL)
 				out += "," + targetArg.toNumber();


Transferred from the Adobe Open Source Subversion Repository

Revision: 8500
Author:   gruehle@adobe.com
Date:     2009-07-10T00:37:33.281189Z

Log Message:
-----------
Don't proxy the borderSkin style from ComboBase down into the text input. If you need to set the borderSkin for a Combo text input, use textInputStyleName.

Bugs: SDK-22173
QE Notes: cyclone tested by Joan
Doc Notes: none
Reviewer: Jason

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as

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

--- frameworks/projects/mx/src/mx/controls/ComboBase.as
+++ frameworks/projects/mx/src/mx/controls/ComboBase.as
@@ -986,7 +986,6 @@
         "borderAlpha" : "borderAlpha",
         "borderColor" : "borderColor",
         "borderSides" : "borderSides",
-        "borderSkin" : "borderSkin",
         "borderStyle" : "borderStyle",
         "borderThickness" : "borderThickness",
         "dropShadowColor" : "dropShadowColor",


Transferred from the Adobe Open Source Subversion Repository

Revision: 11168
Author:   egeorgie@adobe.com
Date:     2009-10-26T21:21:02.498698Z

Log Message:
-----------
Drag and Drop - Finalize the DropIndicator skin and disable minor axis drag-scrolling for Horizontal/Vertical layouts; tweaked the drag inidcator alpha to 0.5

QE notes: None
Doc notes: Comment about layout sizing of drop indicator added to the ListSkin.mxml
Bugs: None
Reviewer: Deepa
Tests run: checkintests, mustella (List, ListDragDrop)
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/spark/src/spark/skins/spark/ListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -12,6 +12,7 @@
 package spark.layouts
 {
 import flash.events.Event;
+import flash.geom.Point;
 import flash.geom.Rectangle;

 import mx.containers.utilityClasses.Flex;
@@ -1875,6 +1876,20 @@
         y = Math.max(-1, Math.min(target.contentHeight - height + 1, y));
         return new Rectangle(x, y, width, height);
     }
+
+	/**
+	 *  @private
+	 */
+	override protected function calculateDragScrollDelta(dropLocation:DropLocation,
+														 timeInterval:int,
+														 timeElapsed:int):Point
+	{
+		var delta:Point = super.calculateDragScrollDelta(dropLocation, timeInterval, timeElapsed);
+		// Don't scroll in the horizontal direction
+		if (delta)
+			delta.x = 0;
+		return delta;
+	}
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19758
Author:   aharui@adobe.com
Date:     2011-01-14T00:58:13.969259Z

Log Message:
-----------
reverting svn 19330 as it relied on svn 18635

Modified Paths:
--------------
<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/layouts/TileLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
@@ -844,21 +844,6 @@
         dispatchEvent(new Event("indexInViewChanged"));
     }

-    //----------------------------------
-    //  typicalLayoutElementBaselinePosition
-    //----------------------------------
-
-    /**
-     *  @private
-     */
-    override mx_internal function get typicalLayoutElementBaselinePosition():Number
-    {
-        if (!typicalLayoutElement)
-            return paddingTop;
-
-        return typicalLayoutElement.baselinePosition + paddingTop;
-    }
-
     //--------------------------------------------------------------------------
     //
     //  Methods