Transferred from the Adobe Open Source Subversion Repository

Revision: 5009
Author:   rfrishbe@adobe.com
Date:     2009-02-19T06:06:50.044936Z

Log Message:
-----------
Adding events in AIR for automation so they'll know when a new window is created or when a FlexNativeMenu is created.  The window event is dispatched on the top level application when a new window is opened or closed.  The menu events are dispatched on the window when it's assigned or on the component if it's a context menu.  These events are just used for automation purposes.

QE Notes: -
Doc Notes: -
Bugs: SDK-18744, SDK-18985
Reviewer: Darrell
tests: checkintests, air menu/window tests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>

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

--- frameworks/projects/airframework/src/mx/core/WindowedApplication.as
+++ frameworks/projects/airframework/src/mx/core/WindowedApplication.as
@@ -1909,6 +1909,8 @@
 		    	else if (NativeWindow.supportsMenu)
 		    		nativeWindow.menu = menu.nativeMenu;
 		    }
+
+		    dispatchEvent(new Event("menuChanged"));
         }

         if (titleBarFactoryChanged)


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

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

 package mx.charts.chartClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3351
Author:   jimurphy@adobe.com
Date:     2008-09-25T15:17:51.460890Z

Log Message:
-----------
Merged 3.0.x revisions 3318,3320,3322,3324,3329,3336,3349 -> trunk
-includes AIK 20080923ap

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/ZipCodeValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/asc/src/java/macromedia/abc/BytecodeBuffer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/IModuleInfo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/win/AIR Integration Kit.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/ZipCodeValidatorDomainType.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PostLink.java</path>

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

--- frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as
@@ -857,8 +857,8 @@
     mx_internal function initializeTip():void
     {
         // Set the text of the tooltip.
-        if (currentToolTip is ToolTip)
-            ToolTip(currentToolTip).text = currentText;
+        if (currentToolTip is IToolTip)
+            IToolTip(currentToolTip).text = currentText;

         if (isError && currentToolTip is IStyleClient)
             IStyleClient(currentToolTip).setStyle("styleName", "errorTip");


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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8483
Author:   smgilson@adobe.com
Date:     2009-07-09T17:52:48.367800Z

Log Message:
-----------
Second checkin to update the namespace in ASDoc MXML syntax descriptions for Spark components

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GlowFilter.as</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/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/SetAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientFilter.as</path>

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

--- frameworks/projects/spark/src/spark/effects/animation/MotionPath.as
+++ frameworks/projects/spark/src/spark/effects/animation/MotionPath.as
@@ -38,7 +38,7 @@
  *  and adds the following tag attributes:

  *
  *

- *  <mx:MotionPath
+ *  <s:MotionPath
  *    id="ID"
  *    interpolator="NumberInterpolator"
  *    keyframes="val"


Remove trace call

Remove trace call

--- HLSPlugin/src/org/denivip/osmf/net/httpstreaming/hls/HTTPStreamingMP2TSFileHandler.as
+++ HLSPlugin/src/org/denivip/osmf/net/httpstreaming/hls/HTTPStreamingMP2TSFileHandler.as
@@ -176,7 +176,6 @@

 				if (_key.type == "AES-128" && blockSize % 16 == 0 && _key.key) {
 					if (!_decryptAES) {
-						trace("Creating a new AES object");
 						_decryptAES = new AES(_key.key);
 						_decryptAES.pad = "none";
 						_decryptAES.iv = _iv;


Fixed border-sprite positioning, kill click events when stopping explorer.

--- flash/org/windmill/WMExplorer.as
+++ flash/org/windmill/WMExplorer.as
@@ -23,6 +23,7 @@
   import flash.display.Sprite;
   import flash.events.MouseEvent;
   import flash.geom.Point;
+  import flash.geom.Rectangle;
   import flash.external.ExternalInterface;

   public class WMExplorer {
@@ -31,60 +32,65 @@
     private static var borderSprite:Sprite = new Sprite();
     private static var running:Boolean = false;

-    public function WMExplorer():void {}
+    public static function init():void {
+    }

     public static function start():void {
       // Stop the recorder if it's going
       WMRecorder.stop();
-      WMExplorer.running = true;
+      running = true;

       var stage:Stage = Windmill.getStage();
-      var spr:Sprite = WMExplorer.borderSprite;
+      var spr:Sprite = borderSprite;
       // Add the border-sprite to the stage
       spr.name = 'borderSprite';
       stage.addChild(spr);
       // Highlight every element, create locator chain on mouseover
-      stage.addEventListener(MouseEvent.MOUSE_OVER, WMExplorer.highlight);
-      stage.addEventListener(MouseEvent.MOUSE_OVER, WMExplorer.select);
-      // Stop on click
-      stage.addEventListener(MouseEvent.MOUSE_DOWN, WMExplorer.stop);
+      stage.addEventListener(MouseEvent.MOUSE_OVER, select);
+      // Stop on click
+      stage.addEventListener(MouseEvent.MOUSE_DOWN, annihilateEvent, true);
+      stage.addEventListener(MouseEvent.MOUSE_UP, annihilateEvent, true);
+      // This passes off to annihilateEvent to kill clicks too
+      stage.addEventListener(MouseEvent.CLICK, stop, true);
     }

     public static function stop(e:MouseEvent = null):void {
-      if (!WMExplorer.running) { return; }
+      if (!running) { return; }
       var stage:Stage = Windmill.getStage();
-      stage.removeChild(WMExplorer.borderSprite);
-      stage.removeEventListener(MouseEvent.MOUSE_OVER, WMExplorer.highlight);
-      stage.removeEventListener(MouseEvent.MOUSE_OVER, WMExplorer.select);
-      stage.removeEventListener(MouseEvent.MOUSE_DOWN, WMExplorer.stop);
-      WMExplorer.running = false;
+      stage.removeChild(borderSprite);
+      stage.removeEventListener(MouseEvent.MOUSE_OVER, select);
+      stage.removeEventListener(MouseEvent.MOUSE_DOWN, stop);
+      running = false;
+      // Pass off to annihilateEvent to prevent the app from responding
+      annihilateEvent(e);
     }

-    public static function highlight(e:MouseEvent):void {
+    // Highlights the clicked-on itema and generates a chained-locator
+    // expression for it
+    public static function select(e:MouseEvent):void {
       var targ:* = e.target;
-      var spr:Sprite = WMExplorer.borderSprite;
-      var p:Point = new Point(0, 0);
+      // Bordered sprite for highlighting
+      var spr:Sprite = borderSprite;
       // Get the global coords of the moused-over elem
-      p = targ.localToGlobal(p);
+      // Overlay the border sprite in the same position
+      var bounds:Rectangle = targ.getBounds(targ.parent);
+      var p:Point = new Point(bounds.x, bounds.y);
+      p = targ.parent.localToGlobal(p);
       spr.x = p.x;
       spr.y = p.y;
       // Clear any previous border, and draw a new border
       // the same size as the moused-over elem
       spr.graphics.clear()
-      spr.graphics.lineStyle(0, 0xff0000, 0.5);
+      spr.graphics.lineStyle(2, 0x3875d7, 1);
       spr.graphics.drawRect(0, 0, targ.width, targ.height);
-    }
-
-    // Generates a chained-locator expression for the clicked-on item
-    public static function select(e:*):void {
-      var item:* = e.target;
-      var expr:String = WMLocator.generateLocator(item);
+      // Generate the expression
+      var expr:String = WMLocator.generateLocator(targ);
       if (expr.length) {
         // Strip off trailing slash
         expr = expr.replace(/\/$/, '');
         var res:* = ExternalInterface.call('wm_explorerSelect', expr);
         if (!res) {
-          WMLogger.log(expr + ' (Windmill Flash bridge not found.)');
+          WMLogger.log('Locator chain: ' expr);
         }
       }
       else {
@@ -92,5 +98,10 @@
       }
     }

+    public static function annihilateEvent(e:MouseEvent):void {
+      e.preventDefault();
+      e.stopImmediatePropagation();
+    }
+
   }
 }


fix #25

fix #25

--- source/fairygui/GRichTextField.as
+++ source/fairygui/GRichTextField.as
@@ -134,6 +134,9 @@

 		override protected function handleSizeChanged(): void {
 			this.div.size(this.width, this.height);
+
+			this.div.style.width = this.width;
+			this.div.style.height = this.height;
 		}
 	}
 }


Updated KeyActionBinderTester with mosty recent version of the library

--- tests/KeyActionBinderTester/src/libs/com/zehfernando/input/binding/KeyActionBinder.as
+++ tests/KeyActionBinderTester/src/libs/com/zehfernando/input/binding/KeyActionBinder.as
@@ -22,7 +22,7 @@
 		// More info: https://github.com/zeh/key-action-binder

 		// Constants
-		public static const VERSION:String = "1.5.4";
+		public static const VERSION:String = "1.7.5";

 		[Embed(source = "controllers.json", mimeType='application/octet-stream')]
 		private static const JSON_CONTROLLERS:Class;
@@ -34,7 +34,7 @@

 		// Properties
 		private var _isRunning:Boolean;
-		private var alwaysPreventDefault:Boolean;						// If true, prevent action by other keys all the time (e.g. menu key)
+		private var _alwaysPreventDefault:Boolean;						// If true, prevent action by other keys all the time (e.g. menu key)

 		// Instances
 		private var bindings:Vector.<BindingInfo>;						// Actual existing bindings, their action, and whether they're activated or not
@@ -42,7 +42,8 @@

 		private var _onActionActivated:SimpleSignal;					// Receives: action:String
 		private var _onActionDeactivated:SimpleSignal;					// Receives: action:String
-		private var _onSensitiveActionChanged:SimpleSignal;				// Receives: action:String, value:Number (0-1)
+		private var _onActionValueChanged:SimpleSignal;					// Receives: action:String, value:Number (0-1)
+		private var _onDevicesChanged:SimpleSignal;

 		private var gameInputDevices:Vector.<GameInputDevice>;
 		private var gameInputDeviceDefinitions:Vector.<AutoGamepadInfo>;
@@ -101,6 +102,7 @@

 						gamepadInfo = new AutoGamepadInfo();
 						gamepadInfo.id          = jjs;
+						gamepadInfo.platformId  = iis;
 						gamepadInfo.nameFilter  = arrayToStringVector(gamepadObj["filters"]["name"]);

 						platformInfo.gamepads.push(gamepadInfo);
@@ -181,13 +183,14 @@
 		// CONSTRUCTOR ----------------------------------------------------------------------------------------------------

 		public function KeyActionBinder() {
-			alwaysPreventDefault = true;
+			_alwaysPreventDefault = true;
 			bindings = new Vector.<BindingInfo>();
 			actionsActivations = {};

 			_onActionActivated = new SimpleSignal();
 			_onActionDeactivated = new SimpleSignal();
-			_onSensitiveActionChanged = new SimpleSignal();
+			_onActionValueChanged = new SimpleSignal();
+			_onDevicesChanged = new SimpleSignal();

 			start();
 		}
@@ -242,10 +245,8 @@
 				gameInputDeviceDefinitions.push(findGamepadInfo(gameInputDevices[i]));
 			}

-//			log("Game input devices changed; new list:");
-//			for (i = 0; i < gameInputDevices.length; i++) {
-//				log("  " + i + " => device.name is [" + gameInputDevices[i].name + "], identified as [" + gameInputDeviceDefinitions[i].id + "]");
-//			}
+			// Dispatch the signal
+			_onDevicesChanged.dispatch();
 		}

 		private function findGamepadInfo(__gameInputDevice:GameInputDevice):AutoGamepadInfo {
@@ -255,7 +256,7 @@
 			var i:int, j:int;
 			for (i = 0; i < knownGamepadPlatforms.length; i++) {
 				for (j = 0; j < knownGamepadPlatforms[i].gamepads.length; j++) {
-					if (knownGamepadPlatforms[i].gamepads[j].nameFilter.length == 0 || searchFromStringVector(knownGamepadPlatforms[i].gamepads[j].nameFilter, gameInputDevices[i].name)) {
+					if (knownGamepadPlatforms[i].gamepads[j].nameFilter.length == 0 || searchFromStringVector(knownGamepadPlatforms[i].gamepads[j].nameFilter, __gameInputDevice.name)) {
 						return knownGamepadPlatforms[i].gamepads[j];
 					}
 				}
@@ -321,38 +322,36 @@
 			for (var i:int = 0; i < filteredControls.length; i++) {
 				activationInfo = actionsActivations[filteredControls[i].action] as ActivationInfo;

-				if (filteredControls[i].binding is GamepadSensitiveBinding) {
-					// A sensitive binding, send changed value signals instead
-
-					// Dispatches signal
-					activationInfo.addSensitiveValue(filteredControls[i].action, __mappedValue, __gamepadIndex);
-					_onSensitiveActionChanged.dispatch(filteredControls[i].action, activationInfo.getValue());
-				} else {
-					// A standard action binding, send activated/deactivated signals
-
-					if (filteredControls[i].isActivated != isActivated) {
-						// Value changed
-						filteredControls[i].isActivated = isActivated;
-						if (isActivated) {
-							// Marks as pressed
-							filteredControls[i].lastActivatedTime = getTimer();
-
-							// Add this activation to the list of current activations
-							activationInfo.addActivation(filteredControls[i], __gamepadIndex);
-
-							// Dispatches signal
-							if (activationInfo.getNumActivations() == 1) _onActionActivated.dispatch(filteredControls[i].action);
-						} else {
-							// Marks as released
-
-							// Removes this activation from the list of current activations
-							activationInfo.removeActivation(filteredControls[i]);
-
-							// Dispatches signal
-							if (activationInfo.getNumActivations() == 0) _onActionDeactivated.dispatch(filteredControls[i].action);
+				// Treating as a sensitive binding: send changed value signals
+
+				// Dispatches signal
+				activationInfo.addSensitiveValue(filteredControls[i].action, __mappedValue, __gamepadIndex);
+				_onActionValueChanged.dispatch(filteredControls[i].action, activationInfo.getValue());
+
+				// Treating as a standard action binding: send activated/deactivated signals
+
+				if (filteredControls[i].isActivated != isActivated) {
+					// Value changed
+					filteredControls[i].isActivated = isActivated;
+					if (isActivated) {
+						// Marks as pressed
+						filteredControls[i].lastActivatedTime = getTimer();
+
+						// Add this activation to the list of current activations
+						activationInfo.addActivation(filteredControls[i], __gamepadIndex);
+
+						// Dispatches signal
+						if (activationInfo.getNumActivations() == 1) _onActionActivated.dispatch(filteredControls[i].action);
+					} else {
+						// Marks as released
+
+						// Removes this activation from the list of current activations
+						activationInfo.removeActivation(filteredControls[i]);
+
+						// Dispatches signal
+						if (activationInfo.getNumActivations() == 0) _onActionDeactivated.dispatch(filteredControls[i].action);
 						}
 					}
-				}
 			}
 		}

@@ -389,7 +388,7 @@
 				}
 			}

-			if (alwaysPreventDefault) __e.preventDefault();
+			if (_alwaysPreventDefault) __e.preventDefault();

 			// Check all current game input devices for a key injection definition that matches
 			for (i = 0; i < gameInputDeviceDefinitions.length; i++) {
@@ -418,7 +417,7 @@
 				if ((actionsActivations[filteredKeys[i].action] as ActivationInfo).getNumActivations() == 0) _onActionDeactivated.dispatch(filteredKeys[i].action);
 			}

-			if (alwaysPreventDefault) __e.preventDefault();
+			if (_alwaysPreventDefault) __e.preventDefault();

 			// Check all current game input devices for a key injection definition that matches
 			for (i = 0; i < gameInputDeviceDefinitions.length; i++) {
@@ -453,7 +452,7 @@
 			// Find the re-mapped control id
 			var deviceIndex:int = gameInputDevices.indexOf(control.device);

-			if (deviceIndex > -1) {
+			if (deviceIndex > -1 && gameInputDeviceDefinitions[deviceIndex] != null) {
 				// Find single controls, where one control has one binding
 				if (gameInputDeviceDefinitions[deviceIndex].controls.hasOwnProperty(control.id)) {
 					var deviceControlInfo:AutoGamepadControlInfo = gameInputDeviceDefinitions[deviceIndex].controls[control.id];
@@ -578,8 +577,8 @@

 		/**
 		 * Add an action bound to a game controller button, trigger, or axis. When a control of id
-		 * controlId is pressed, the desired action is activated. Optionally, keys can be restricted
-		 * to a specific game controller location.
+		 * controlId is pressed, the desired action can be activated, and its value changes.
+		 * 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.
@@ -589,7 +588,6 @@
 		 *						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:

 		 *
 		 *

@@ -607,47 +605,22 @@
 		 *
 		 * // L2/LT to shoot, regardless of whether it is sensitive or not
 		 * myBinder.addGamepadActionBinding("shoot", GamepadControls.LT);
+		 *
+		 * // L2/LT to accelerate, depending on how much it is pressed (if supported)
+		 * myBinder.addGamepadActionBinding("accelerate", GamepadControls.LT);
+		.*
+		 * // Direction pad left to move left or right
+		 * myBinder.addGamepadActionBinding("move-sides", GamepadControls.STICK_LEFT_X);
+		 *
 		 *

 		 *
 		 * @see GamepadControls
 		 * @see #isActionActivated()
+		 * @see #getActionValue()
 		 */
 		public function addGamepadActionBinding(__action:String, __controlId:String, __gamepadIndex:int = -1):void {
 			// Create a binding to be verified later
 			bindings.push(new BindingInfo(__action, new GamepadBinding(__controlId, __gamepadIndex >= 0 ? __gamepadIndex : GamepadBinding.GAMEPAD_INDEX_ANY)));
-			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);
 		}

@@ -663,7 +636,7 @@
 		 *						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().
+		 *						via addGamepadActionBinding().
 		 *
 		 *
Examples:

 		 *
@@ -676,7 +649,7 @@
 		 *

 		 *
 		 * @see GamepadControls
-		 * @see #addGamepadSensitiveActionBinding()
+		 * @see #addGamepadActionBinding()
 		 * @see #isActionActivated()
 		 */
 		public function getActionValue(__action:String, __gamepadIndex:int = -1):Number {
@@ -754,12 +727,45 @@
 			return _onActionDeactivated;
 		}

-		public function get onSensitiveActionChanged():SimpleSignal {
-			return _onSensitiveActionChanged;
+		public function get onActionValueChanged():SimpleSignal {
+			return _onActionValueChanged;
+		}
+
+		public function get onDevicesChanged():SimpleSignal {
+			return _onDevicesChanged;
 		}

 		public function get isRunning():Boolean {
 			return _isRunning;
+		}
+
+		public function get alwaysPreventDefault():Boolean {
+			return _alwaysPreventDefault;
+		}
+
+		public function set alwaysPreventDefault(__value:Boolean):void {
+			// TODO: this is a dumb getter/setter just for ASDocs reasons
+			_alwaysPreventDefault = __value;
+		}
+
+		public function getNumDevices():uint {
+			return gameInputDevices.length;
+		}
+
+		public function getDeviceAt(__index:uint):GameInputDevice {
+			return gameInputDevices.length > __index && gameInputDevices[__index] != null ? gameInputDevices[__index] : null;
+		}
+
+		public function getDeviceTypeAt(__index:uint):String {
+			return gameInputDeviceDefinitions.length > __index && gameInputDeviceDefinitions[__index] != null ? gameInputDeviceDefinitions[__index].getType() : null;
+		}
+
+		public function getPlatformTypes():Vector.<String> {
+			var platforms:Vector.<String> = new Vector.<String>();
+			for (var i:int = 0; i < knownGamepadPlatforms.length; i++) {
+				platforms.push(knownGamepadPlatforms[i].id);
+			}
+			return platforms;
 		}
 	}
 }
@@ -941,19 +947,6 @@
 }

 /**
- * Information on a gamepad event filter with sensitivity values
- */
-class GamepadSensitiveBinding extends GamepadBinding {
-
-	// ================================================================================================================
-	// CONSTRUCTOR ----------------------------------------------------------------------------------------------------
-
-	public function GamepadSensitiveBinding(__controlId:String, __gamepadIndex:uint) {
-		super(__controlId, __gamepadIndex);
-	}
-}
-
-/**
  * Information on platforms that are automatically mapped
  */
 class AutoPlatformInfo {
@@ -986,6 +979,7 @@

 	// Properties
 	public var id:String;
+	public var platformId:String;

 	public var nameFilter:Vector.<String>;									// Filter for device.name

@@ -1001,6 +995,10 @@
 		controls = {};
 		controlsSplit = {};
 		keys = new Vector.<AutoGamepadControlKeyInfo>();
+	}
+
+	public function getType():String {
+		return platformId + "/" + id;
 	}
 }


I removed print(), use trace() instead.

I removed print(), use trace() instead.

git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@5065 542714f4-19e9-0310-aa3c-eee0fc999fb1

--- tests/src/as/com/threerings/bureau/client/TestClientMain.as
+++ tests/src/as/com/threerings/bureau/client/TestClientMain.as
@@ -10,7 +10,7 @@
 import avmplus.System;

 for (var i :int = 0; i < System.argv.length; ++i) {
-    print("Argv[" + i + "] = " + System.argv[i]);
+    trace("Argv[" + i + "] = " + System.argv[i]);
 }

 /*


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

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

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

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

 package spark.accessibility
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

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

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

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

 package spark.effects.supportClasses
 {


Set better initial buffer period. Fix log spam.

--- HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
+++ HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
@@ -103,6 +103,12 @@
 	 */
 	public class HLSHTTPNetStream extends NetStream
 	{
+		CONFIG::LOGGING
+		{
+			private static var logger:Logger = Log.getLogger("org.osmf.net.httpstreaming.HLSHTTPNetStream");
+			private var previouslyLoggedState:String = null;
+		}
+
 		public static var writeToMasterBuffer:Boolean = true;
 		public static var _masterBuffer:ByteArray = new ByteArray();

@@ -125,6 +131,8 @@
 		 */
 		public function HLSHTTPNetStream( connection:NetConnection, factory:HTTPStreamingFactory, resource:URLResource = null)
 		{
+			//logger = Log.getLogger("org.osmf.net.httpstreaming.HLSHTTPNetStream");
+
 			super(connection);
 			_resource = resource;
 			_factory = factory;
@@ -148,7 +156,7 @@
 				addEventListener(DRMStatusEvent.DRM_STATUS, onDRMStatus);
 			}

-			this.bufferTime = OSMFSettings.hdsMinimumBufferTime;
+			this.bufferTime = HLSManifestParser.MAX_SEG_BUFFER * 7.5;
 			this.bufferTimeMax = 0;

 			setState(HTTPStreamingState.INIT);
@@ -972,7 +980,8 @@
 						issueLivenessEventsIfNeeded();
 						if (bytes != null)
 						{
-							trace("processed " + bytes.length);
+							if(bytes.length > 0)
+								trace("processed " + bytes.length);
 							processed += processAndAppend(bytes);
 						}

@@ -2305,11 +2314,5 @@
 		public static var reloadDelayTime:int = 2500;// The amount of time (in miliseconds) we want to wait between reload attempts in case of a URL error

 		private static const HIGH_PRIORITY:int = int.MAX_VALUE;
-
-		CONFIG::LOGGING
-		{
-			private static const logger:Logger = Log.getLogger("org.osmf.net.httpstreaming.HTTPNetStream");
-			private var previouslyLoggedState:String = null;
-		}
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 9177
Author:   jimurphy@adobe.com
Date:     2009-08-07T21:15:07.894169Z

Log Message:
-----------
Merged 3.4 revisions 8630,8660,8683,8735,8750,8753,8755,8757,8759,8764,8776,8798,8821,8824,8837,8862,8911,8946,8949,8962,8965,9026,9109,9131,9138-9139,9147 -> trunk

integrates:
player: 10.0.32.18
AIR kit: 1.5.2.8870 (20090721ap)

checkintests: pass

(btw: I'm not happy about doing this on a Friday PM!)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Install Flash Player 10 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/player/10/playerglobal.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLDecoder.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/flashplayer.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/win/AIR Integration Kit.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/libflashplayer.so.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/FlashPlayer.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/mac/Flash Player.app.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 Plugin.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanceUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/mxml/IMXMLSupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/ISOAPDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/player/10/lnx/install_flash_player_10_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLSchemaInstance.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/mxml/IMXMLSupport.as
+++ frameworks/projects/rpc/src/mx/rpc/mxml/IMXMLSupport.as
@@ -15,11 +15,6 @@
 /**
  *  Implementing this interface means that an RPC service
  *  can be used in an MXML document by using MXML tags.
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
  */
 public interface IMXMLSupport
 {
@@ -30,42 +25,32 @@
     //--------------------------------------------------------------------------

     //----------------------------------
-    //  concurrency
+	//  concurrency
     //----------------------------------

     [Inspectable(enumeration="multiple,single,last", defaultValue="multiple", category="General")]

-    /**
+	/**
      *  The concurrency setting of the RPC operation or HTTPService.
-     *  One of "multiple" "last" or "single."
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+	 *  One of "multiple" "last" or "single."
      */
     function get concurrency():String;

-    /**
+	/**
      *  @private
      */
     function set concurrency(value:String):void;

     //----------------------------------
-    //  showBusyCursor
+	//  showBusyCursor
     //----------------------------------

     /**
      *  Indicates whether the RPC operation or HTTPService
-     *  should show the busy cursor while it is executing.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+	 *  should show the busy cursor while it is executing.
      */

-    function get showBusyCursor():Boolean;
+	function get showBusyCursor():Boolean;

     /**
      *  @private


Transferred from the Adobe Open Source Subversion Repository

Revision: 4192
Author:   rfrishbe@adobe.com
Date:     2008-11-26T19:39:48.250759Z

Log Message:
-----------
This change will allow us to handle having the same items multiple times in the list, for example “Ryan Frishberg” can now be in the list twice.

In order to do it, rather than using the item to find the itemRenderer or to tell the list that an item’s been selected, we need to use the index instead.  Methods like getItemRenderer and getRendererItem were changed to accept an index rather than an item.  Other methods were added, like isItemIndexSelected() because I felt isItemSelected() is still a useful method to have, even though it’s ambiguous when multiple items come in to play.

For now, I just tried to change the parameters where needed.  Some of the names of the methods were updated to reflect the change, but others weren’t because PARB is going to review a lot of this on Thursday, so it’s easier to make a name change only once (and after PARB approves it).

I also added properties to ItemExistanceChangeEvent.as.  In a later checkin, I’ll create a separate RendererExistanceChangeEvent.as for DataGroups and use ItemExistanceChangeEvents only for IVisualElementContainers (Halo containers  will also dispatch these events).  However, this needs to be PARB reviewed, so I figured it’s best to hold off on this change until later.

Also included in this checkin are some small ASDoc updates to no longer use any of the “addItem(), numItems”, and instead use addElement() or numElements where appropriate.

QE Notes: Steve's excluded any failing tests.  As noted in the checkin, there will probably be some renaming related to these methods.  Also, add some tests for duplicate items now.
Doc Notes: None
Bugs: SDK-17912
Reviewer: Glenn
tests: checkintests, mustella DataGroup, FxDataContainer, FxList

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/ItemExistenceChangedEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -749,7 +749,7 @@
         }

         dispatchEvent(new ItemExistenceChangedEvent(
-                      ItemExistenceChangedEvent.ITEM_ADD, false, false, item));
+                      ItemExistenceChangedEvent.ITEM_ADD, false, false, item, index));

         invalidateSize();
         invalidateDisplayList();
@@ -767,7 +767,7 @@
         var childDO:DisplayObject = item as DisplayObject;

         dispatchEvent(new ItemExistenceChangedEvent(
-                      ItemExistenceChangedEvent.ITEM_REMOVE, false, false, item));
+                      ItemExistenceChangedEvent.ITEM_REMOVE, false, false, item, index));
         if (item && (item is GraphicElement))
         {
             item.parent = null;


298 MouseDebugger tweak

298 MouseDebugger tweak

--- raw/src/org/yellcorp/lib/debug/MouseDebugger.as
+++ raw/src/org/yellcorp/lib/debug/MouseDebugger.as
@@ -15,7 +15,6 @@
 import flash.text.TextFieldAutoSize;
 import flash.text.TextFieldType;
 import flash.text.TextFormat;
-import flash.utils.getQualifiedClassName;

 public class MouseDebugger
@@ -176,8 +175,10 @@
         g.lineStyle(2, color);
         g.drawRect(rect.x, rect.y, rect.width, rect.height);
         g.lineStyle(1, color);
-        g.moveTo(rect.left, rect.top + 16);
-        g.lineTo(rect.left + 16, rect.top);
+        g.moveTo(rect.left, rect.top + 24);
+        g.lineTo(rect.left + 24, rect.top);
+        g.moveTo(rect.left, rect.top);
+        g.lineTo(rect.left + 12, rect.top + 12);
     }

     private static function createTextField():TextField


move log level from debug to debug2

move log level from debug to debug2

--- src/org/mangui/HLS/muxing/TS.as
+++ src/org/mangui/HLS/muxing/TS.as
@@ -135,7 +135,7 @@
             if (_curAudioData && _curAudioData.length > 14) {
                 var pes : PES = new PES(TS._curAudioData, true);
                 if (pes.len && (pes.data.length - pes.payload - pes.payload_len) >= 0) {
-                    Log.debug("complete Audio PES found at end of segment, parse it");
+                    Log.debug2("complete Audio PES found at end of segment, parse it");
                     // complete PES, parse and push into the queue
                     if (_audioIsAAC) {
                         _parseADTSPES(pes);
@@ -149,7 +149,7 @@
             if (_curVideoData && _curVideoData.length > 14) {
                 pes = new PES(TS._curVideoData, false);
                 if (pes.len && (pes.data.length - pes.payload - pes.payload_len) >= 0) {
-                    Log.debug("complete AVC PES found at end of segment, parse it");
+                    Log.debug2("complete AVC PES found at end of segment, parse it");
                     // complete PES, parse and push into the queue
                     _parseAVCPES(pes);
                     _curVideoData = null;


fix ID3 timestamp 33bit handling

fix ID3 timestamp 33bit handling

--- src/org/mangui/hls/demux/ID3.as
+++ src/org/mangui/hls/demux/ID3.as
@@ -77,9 +77,12 @@
                         // skip null character (string end) + 3 first bytes
                         data.position += 4;
                         // timestamp is 33 bit expressed as a big-endian eight-octet number, with the upper 31 bits set to zero.
-                        var pts_33_bit : Number = data.readUnsignedByte() & 0x1;
+                        var pts_33_bit : int = data.readUnsignedByte() & 0x1;
                         hasTimestamp = true;
-                        timestamp = (data.readUnsignedInt() / 90) << pts_33_bit;
+                        timestamp = (data.readUnsignedInt() / 90);
+                        if (pts_33_bit) {
+                            timestamp   += 47721858.84; // 2^32 / 90
+                        }
                         CONFIG::LOGGING {
                         Log.debug("ID3 timestamp found:" + timestamp);
                         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 20742
Author:   smgilson@adobe.com
Date:     2011-03-09T21:46:11.224420Z

Log Message:
-----------
Merge 20732 - asdoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MovieClipSWFLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/SwitchSymbolFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/State.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffect.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/effects/effectClasses/UnconstrainItemActionInstance.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffectInstance.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mx/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as</path>

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

--- frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
+++ frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
@@ -2272,6 +2272,11 @@
      *  In either case the children of the object does not emit a
      *  show or hide event unless the object
      *  has specifically written an implementation to do so.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     override public function get visible():Boolean
     {
@@ -3096,6 +3101,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get layoutDirection():String
     {
@@ -3120,6 +3130,11 @@

     /**
      * @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function invalidateLayoutDirection():void
     {
@@ -3514,6 +3529,11 @@
     /**
      *  Helper method to invalidate parent size and display list if
      *  this object affects its layout (includeInLayout is true).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     protected function invalidateParentSizeAndDisplayList():void
     {
@@ -4631,6 +4651,7 @@
     }

     /**
+     *  @private
      *  This enter frame handler watches the flash object's size to see if
      *  it has changed.  If it's chagned, we will notify our flex parent of
      *  the change.  This size change may also cause the flash component
@@ -4669,6 +4690,7 @@
     }

     /**
+     *  @private
      *  This enter frame handler watches our currentLabel for changes so that it
      *  can be reflected in the currentState.
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 22188
Author:   jasonsj@adobe.com
Date:     2011-08-24T21:00:34.483761Z

Log Message:
-----------
Update getVisibleBoundsRect() to include soft keyboard height. Update PopUpManager.centerPopUp() to use visible bounds. Gate both with a compatibility version check.

QE notes: Please test with and without -compatibility-version=4.5. Tests should call centerPopUp for each soft keyboard activate event that is dispatched in order to get updated keyboard bounds due to word predictions.
Doc notes: Use compiler arg -compatibility-version=4.5 to revert to previous behavior: (1) PopUpManager.centerPopUp() uses the full screen size for centering and (2) SystemManager.getVisibleBoundsRect() returns full screen size in global coordinates and does not exclude soft keyboard bounds.
Bugs:
SDK-31254 PopUpManager.centerPopUp() should subtract soft keyboard height from visible height
Reviewer: gruehle, egeorgie
Tests run: checkintests, mustella, mustella-air, mustella-mobile cyclones
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>

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

--- frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
@@ -517,14 +517,14 @@
             else
                 isTopLevelRoot = systemManager.isTopLevelRoot();

-            if (isTopLevelRoot)
+            if (isTopLevelRoot && (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_6))
             {
                 // The sandbox root is the top level root.
                 // The application width is just the screen width.
                 var screen:Rectangle = systemManager.screen;
                 appWidth = screen.width;
                 appHeight = screen.height;
-            }
+            }
             else
             {
                 rect = systemManager.getVisibleApplicationRect();


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

--- frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as
+++ frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.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: 5099
Author:   gauravj@adobe.com
Date:     2009-02-27T03:43:02.639229Z

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

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

Modified Paths:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/messaging/MessageResponder.as
+++ frameworks/projects/rpc/src/mx/messaging/MessageResponder.as
@@ -32,6 +32,12 @@
  *  successful result or an error, the MessageResponder should invoke
  *  acknowledge() on its agent. If the response was a fault, the
  *  MessageResponder should also invoke fault() on its agent.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion BlazeDS 4
+ *  @productversion LCDS 3
  */
 public class MessageResponder extends Responder
 {
@@ -50,6 +56,12 @@
      *  @param  message The Message being sent.
      *
      *  @param channel The Channel used to send.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public function MessageResponder(agent:MessageAgent, message:IMessage,
                                                         channel:Channel = null)
@@ -106,6 +118,12 @@

     /**
      *  Provides access to the MessageAgent that sent the message.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public function get agent():MessageAgent
     {
@@ -123,6 +141,12 @@

     /**
      *  Provides access to the Channel used to send the message.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public function get channel():Channel
     {
@@ -140,6 +164,12 @@

     /**
      *  Provides access to the sent Message.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public function get message():IMessage
     {
@@ -185,6 +215,12 @@
      *  perform any necessary custom processing.
      *
      *  @param message The result Message returned by the destination.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     final public function result(message:IMessage):void
     {
@@ -208,6 +244,12 @@
      *  perform any necessary custom processing.
      *
      *  @param message The fault Message returned by the destination.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     final public function status(message:IMessage):void
     {
@@ -235,6 +277,12 @@
      *
      *  @return Returns an ErrorMessage that can be passed to the associated
      *  MessageAgent's callbacks upon a request timeout.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     protected function createRequestTimeoutErrorMessage():ErrorMessage
     {
@@ -254,12 +302,24 @@
      *  MessageAgent.
      *
      *  @param message The result Message returned by the destination.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     protected function resultHandler(message:IMessage):void {}

     /**
      *  Subclasses must override this method to handle a request timeout and
      *  invoke the proper callbacks on the associated MessageAgent.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     protected function requestTimedOut():void {}

@@ -269,6 +329,12 @@
      *  MessageAgent.
      *
      *  @param message The fault Message returned by the destination.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     protected function statusHandler(message:IMessage):void {}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/effects/AnimateFilter.as
+++ frameworks/projects/spark/src/spark/effects/AnimateFilter.as
@@ -18,7 +18,7 @@
 import mx.effects.Effect;
 import mx.effects.IEffectInstance;
 import mx.events.EffectEvent;
-import mx.filters.IFlexBitmapFilter;
+import mx.filters.IBitmapFilter;
 import mx.styles.IStyleClient;

 use namespace mx_internal;
@@ -80,7 +80,7 @@
     /**
      *  Constructor.
      */
-    public function FxAnimateFilter(target:Object = null, filter:IFlexBitmapFilter = null)
+    public function FxAnimateFilter(target:Object = null, filter:IBitmapFilter = null)
     {
         super(target);
         instanceClass = FxAnimateFilterInstance;
@@ -100,7 +100,7 @@
     /**
      *  IBitmapFilter instance to apply and animate.
      */
-    public var bitmapFilter:IFlexBitmapFilter;
+    public var bitmapFilter:IBitmapFilter;

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


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

--- frameworks/projects/spark/src/spark/skins/spark/ErrorSkin.as
+++ frameworks/projects/spark/src/spark/skins/spark/ErrorSkin.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 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: 10184
Author:   aharui@adobe.com
Date:     2009-09-11T23:25:23.666338Z

Log Message:
-----------
Fix ghosting caused by glowing focus skins.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as</path>

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

--- frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as
+++ frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as
@@ -184,17 +184,17 @@
 		{
 			var ex:Object = exclusions[i];
 			/* we're going to go under the covers here to try and modify visibility with the least
-			amount of disruption to the component.  For UIComponents, we go to Sprite's visibile property;
+			amount of disruption to the component.  For UIComponents, we go to Sprite's alpha property;
 			*/
 			if(ex is UIComponent)
 			{
-				exclusionVisibilityValues[i] = (ex as UIComponent).$visible;
-				(ex as UIComponent).$visible = false;
+				exclusionVisibilityValues[i] = (ex as UIComponent).$alpha;
+				(ex as UIComponent).$alpha = 0;
 			}
 			else if (ex is DisplayObject)
 			{
-				exclusionVisibilityValues[i] = (ex as UIComponent).visible;
-				(ex as UIComponent).visible = false;
+				exclusionVisibilityValues[i] = (ex as UIComponent).alpha;
+				(ex as UIComponent).alpha = 0;
 			}
 			else if (ex is IGraphicElement)
 			{
@@ -203,13 +203,13 @@
 				var ge:IGraphicElement = ex as IGraphicElement;
 				if(ge.displayObjectSharingMode == DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT)
 				{
-					exclusionVisibilityValues[i] = ge.displayObject.visible;
-					ge.displayObject.visible = false;
+					exclusionVisibilityValues[i] = ge.displayObject.alpha;
+					ge.displayObject.alpha = 0;
 				}
 				else
 				{
-					exclusionVisibilityValues[i] = ge.visible;
-					ge.visible = false;
+					exclusionVisibilityValues[i] = ge.alpha;
+					ge.alpha = 0;
 					needRedraw = true;
 				}
 			}
@@ -236,25 +236,25 @@
 			ex = exclusions[i];
 			if(ex is UIComponent)
 			{
-				(ex as UIComponent).$visible = exclusionVisibilityValues[i];
+				(ex as UIComponent).$alpha = exclusionVisibilityValues[i];
 			}
 			else if (ex is DisplayObject)
 			{
-				(ex as UIComponent).visible = exclusionVisibilityValues[i];
+				(ex as UIComponent).alpha = exclusionVisibilityValues[i];
 			}
 			else if (ex is IGraphicElement)
 			{
 				ge  = ex as IGraphicElement;
 				if(ge.displayObjectSharingMode == DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT)
 				{
-					ge.displayObject.visible = exclusionVisibilityValues[i];
+					ge.displayObject.alpha = exclusionVisibilityValues[i];
 				}
 				else
 				{
 					/* note that this is using a public API of GraphicElements that will, in fact,
 					trigger another update pass on the graphic element
 					*/
-					ge.visible = exclusionVisibilityValues[i];
+					ge.alpha = exclusionVisibilityValues[i];
 				}
 			}


Transferred from the Adobe Open Source Subversion Repository

Revision: 6404
Author:   rfrishbe@adobe.com
Date:     2009-04-30T00:34:09.399480Z

Log Message:
-----------
Finishing up VideoPlayer/VideoElement. Added support for streaming videos and fixed a few of the bugs.  Added the skins from XD.  These still need a little tweaking, and I'll go over them with XD. For the skins, I had to add some new sub-components, like the VideoPlayerVolumeBar and VideoPlayScrubBar.

Also added 3 new events for TrackBase (thumbDrag, thumbPress, thumbRelease).  These were in Halo's Slider, and I needed them for the VideoPlayerScrubBar.

Also fixed some other bugs, like needing to call removeDynamicPartInstance() on the Slider when the dataTip is removed.  Also fixed a bug around alternatingItemsColor for ItemRenderer.

QE Notes: -
Doc Notes: -
Bugs: SDK-19486, SDK-20105, SDK-20789
Reviewer: Glenn, Jason
tests: checkintests, some mustella tests were failing, but seemed like random 1 pixel differences in DropDownList.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerVolumeBarMuteButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerPlayPauseButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerScrubBarSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenVolumeBarTrackSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenVolumeBarMuteButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerVolumeBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/StreamItem.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenVolumeBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerVolumeBarMuteButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenScrubBarThumbSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenScrubBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerVolumeBarThumbSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerVolumeBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/VideoElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/StreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerScrubBarThumbSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerMuteButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenScrubBarTrackSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerScrubBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenVolumeBarThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenFullScreenButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerVolumeBarTrackSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenPlayPauseButtonSkin.mxml</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/templates/swfobject/index.template.html</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerScrubBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/spark/components/mediaClasses/DynamicStreamingVideoItem.as
+++ frameworks/projects/spark/src/spark/components/mediaClasses/DynamicStreamingVideoItem.as
@@ -0,0 +1,108 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+
+package spark.components.supportClasses
+{
+
+/**
+ *  The StreamItem class represents a stream on the server plus a
+ *  bitRate for that stream.
+ *
+ *  @see spark.controls.VideoPlayer
+ *  @see spark.primitives.VideoElement
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public class StreamItem extends Object
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    public function StreamItem()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    [Inspectable(category="General", defaultValue="0")]
+
+    //----------------------------------
+    //  bitRate
+    //----------------------------------
+
+    private var _bitRate:Number = 0;
+
+    /**
+     *  The bitRate for this particular stream.
+     *
+     *  @default 0
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get bitRate():Number
+    {
+        return _bitRate;
+    }
+
+    /**
+     *  @private
+     */
+    public function set bitRate(value:Number):void
+    {
+        _bitRate = value;
+    }
+
+    //----------------------------------
+    //  streamName
+    //----------------------------------
+
+    private var _streamName:String;
+
+    [Inspectable(category="General")]
+
+    /**
+     *  The stream name on the server
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get streamName():String
+    {
+        return _streamName;
+    }
+
+    /**
+     *  @private
+     */
+    public function set streamName(value:String):void
+    {
+        _streamName = value;
+    }
+
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 11673
Author:   rfrishbe@adobe.com
Date:     2009-11-11T22:50:45.147627Z

Log Message:
-----------
Fixing a regression with 11660.  itemIndex and label should now work in binding expressions even when the data property isn't set.  Sometimes the itemIndex or label properties may change on their own, for instance, when an item gets added, or when the labelField changes.  We need binding to work in both of these cases without having to incur the extra cost of setting the data again.

QE notes: -
Doc notes: -
Bugs: SDK-24086
Reviewer: Glenn
Tests run: checkintest
Is noteworthy for integration: No

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
@@ -193,7 +193,7 @@
      */
     private var _itemIndex:int;

-    [Bindable("dataChange")]
+    [Bindable("itemIndexChanged")]

     /**
      *  @inheritDoc
@@ -220,6 +220,8 @@
             redrawRequested = true;
             super.$invalidateDisplayList();
         }
+
+        dispatchEvent(new Event("itemIndexChanged"));
     }

     //----------------------------------
@@ -352,7 +354,7 @@
      */
     private var _label:String = "";

-    [Bindable("dataChange")]
+    [Bindable("labelChanged")]

     /**
      *  @inheritDoc
@@ -378,6 +380,8 @@
         // if it exists
         if (labelDisplay)
             labelDisplay.text = _label;
+
+        dispatchEvent(new Event("labelChanged"));
     }

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


Fix for Bug #1244 suspicious calls to Matrix4x4.toString(), propertyName and BindingName were the same parameter and bindingName (String) was used instead of oldValue (Matrix4x4).

--- src/aerys/minko/scene/controller/mesh/MeshVisibilityController.as
+++ src/aerys/minko/scene/controller/mesh/MeshVisibilityController.as
@@ -178,8 +178,8 @@
         }

 		private function worldToScreenChangedHandler(bindings	    : DataBindings,
-                                                     propertyName	: String,
 													 bindingName	: String,
+													 oldValue		: Matrix4x4,
                                                      value			: Matrix4x4) : void
 		{
 			testCulling();


Transferred from the Adobe Open Source Subversion Repository

Revision: 3821
Author:   smgilson@adobe.com
Date:     2008-10-22T18:14:02.834405Z

Log Message:
-----------
Fix ASDoc comments where there were two ASDoc comments in a row

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectContainerInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISpriteInterface.as</path>

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

--- frameworks/projects/framework/src/mx/core/IDisplayObjectInterface.as
+++ frameworks/projects/framework/src/mx/core/IDisplayObjectInterface.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-/**
+/*
  *  The methods here would normally just be in IDisplayObject,
  *  but for backward compatibility, they have to be included
  *  directly into IFlexDisplayObject, so they are kept in


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

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

 package mx.skins.halo
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6306
Author:   egeorgie@adobe.com
Date:     2009-04-28T01:17:42.359155Z

Log Message:
-----------
Layout PARB changes - rename "layout" package to "layouts"

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer:
tests: checkintests

Modified Paths:
--------------
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/BasicLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/BasicLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutElementHelper.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/RowAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/RowAlign.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/Block.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/Block.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalAlign.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LinearLayoutVector.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBarHorizontalLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/HorizontalLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HGroup.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText2.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutBase.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/HorizontalAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalAlign.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/components/VGroup.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalLayout.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/ColumnAlign.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/ColumnAlign.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileOrientation.as" copyfrom-rev="6301" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileOrientation.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableContainer.as
@@ -28,8 +28,8 @@
 import mx.events.FlexEvent;
 import spark.events.ElementExistenceEvent;
 import mx.events.PropertyChangeEvent;
-import spark.layout.BasicLayout;
-import spark.layout.supportClasses.LayoutBase;
+import spark.layouts.BasicLayout;
+import spark.layouts.supportClasses.LayoutBase;
 import mx.managers.IFocusManagerContainer;
 import mx.utils.BitFlagUtil;


added AbstractSceneNode.getControllersByType() method

--- src/aerys/minko/scene/node/AbstractSceneNode.as
+++ src/aerys/minko/scene/node/AbstractSceneNode.as
@@ -237,12 +237,30 @@
 			return _controllers[index];
 		}

+		public function getControllersByType(type			: Class,
+											 controllers	: Vector.<AbstractController> = null) : Vector.<AbstractController>
+		{
+			controllers ||= new Vector.<AbstractController>();
+
+			var nbControllers : uint = numControllers;
+
+			for (var i : int = 0; i < nbControllers; ++i)
+			{
+				var ctrl 	: AbstractController	= getController(i);
+
+				if (ctrl is type)
+					controllers.push(ctrl);
+			}
+
+			return controllers;
+		}
+
 		public static function getDefaultSceneName(scene : ISceneNode) : String
 		{
 			var className : String = getQualifiedClassName(scene);

-			return className.substr(className.lastIndexOf(":") + 1)
-				   + "_" + (++_id);
+			return className.substr(className.lastIndexOf(':') + 1)
+				   + '_' + (++_id);
 		}

 		public function clone(cloneControllers : Boolean = false) : ISceneNode


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

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

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

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

 package mx.managers.marshalClasses
 {


Fixed a bug in the FlashTransport

Fixed a bug in the FlashTransport

--- src/flash/net.easyxdm.flash/Main.as
+++ src/flash/net.easyxdm.flash/Main.as
@@ -86,7 +86,7 @@

 		log("enabling communication with " + _root.domain);
 		// allow javascript in the page to interact with the SWF
-		security[_root.proto == "http" ? "allowInsecureDomain" : "allowDomain"](_root.domain);
+		security[_root.proto == "http:" ? "allowInsecureDomain" : "allowDomain"](_root.domain);
 		// add the postMessage method
 		ExternalInterface.addCallback("postMessage", { }, function(channel:String, message:String) {
 			sendMap[channel](message);


fix generic databinding

fix generic databinding

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/binding/PropertyWatcher.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/binding/PropertyWatcher.as
@@ -142,13 +142,18 @@
             if (source && source is IEventDispatcher)
                 removeEventListeners();

-            source = parent;
+            if (source is PropertyWatcher)
+                source = PropertyWatcher(parent).value;
+            else
+                source = parent;

             if (source && source is IEventDispatcher)
                 addEventListeners();

             // Now get our property.
             wrapUpdate(updateProperty);
+
+            notifyListeners();
         }

         private function addEventListeners():void


Transferred from the Adobe Open Source Subversion Repository

Revision: 19806
Author:   rfrishbe@adobe.com
Date:     2011-01-19T19:32:34.088153Z

Log Message:
-----------
Fixing up ItemRenderer.getCurrentRendererState() to return currentState by default rather than null.  This is to enable better support for user-states, so that if the item renderer goes into a specific user state, we don't override it, but we now honor it.

Also cleaning up some FIXMEs that are no longer needed in IconItemRenderer and LabelItemRenderer.

QE notes: -
Doc notes:
Bugs: SDK-29061
Reviewer: Chiedo
Tests run: checkintests, mustella List, DataGroup, ListDragDrop
Is noteworthy for integration: No

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
+++ frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
@@ -847,10 +847,6 @@
         }
 		else if (showsCaret)
 		{
-			// FIXME (rfrishbe): should probably be its own distinct color and style
-			// Also, this is touch-specific...should it be called LabelItemRenderer
-			// if it has touch-specific logic in here?  Should we gate it based
-			// on interactionMode?
 			backgroundColor = getStyle("selectionColor");
 		}
 		else