Transferred from the Adobe Open Source Subversion Repository

Revision: 4492
Author:   gosmith@adobe.com
Date:     2009-01-12T22:47:10.154251Z

Log Message:
-----------
Simplified how an accessibility class gets hooked into its corresponding component class.

We now do the hooking in the static method enableAccessibility(), which is called by code that is autogenerated by the compiler. Previously this method did nothing and the hooking happened at static initialization time. This allows us to remove the static var accessibilityHooked and the static method hookAccessibility() in each accessibility class.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateFieldAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/LinkButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateChooserAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/UIComponentAccProps.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AlertAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderAccImpl.as</path>

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

--- frameworks/projects/mx/src/mx/accessibility/TabBarAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/TabBarAccImpl.as
@@ -23,11 +23,8 @@
 use namespace mx_internal;

 /**
- *  The TabBarAccImpl class is the accessibility class for TabBar and TabNavigator.
- *
- *  @helpid
- *  @tiptext This is the TabNavigator Accessibility Class.
- *  @review
+ *  TabBarAccImpl is a subclass of AccessibilityImplementation
+ *  which implements accessibility for the TabBar class.
  */
 public class TabBarAccImpl extends AccImpl
 {
@@ -35,104 +32,82 @@

 	//--------------------------------------------------------------------------
 	//
-	//  Class initialization
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Static variable triggering the hookAccessibility() method.
-	 *  This is used for initializing TabBarAccImpl class to hook its
-	 *  createAccessibilityImplementation() method to TabBar class
-	 *  before it gets called from UIComponent.
-	 */
-	private static var accessibilityHooked:Boolean = hookAccessibility();
-
-	/**
-	 *  @private
-	 *  Static method for swapping the createAccessibilityImplementation()
-	 *  method of TabBar with TabBarAccImpl class.
-	 */
-	private static function hookAccessibility():Boolean
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private static const ROLE_SYSTEM_PAGETAB:uint = 0x25;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_FOCUSABLE:uint = 0x00100000;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_FOCUSED:uint = 0x00000004;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_SELECTABLE:uint = 0x00200000;
+
+	/**
+	 *  @private
+	 */
+	private static const STATE_SYSTEM_SELECTED:uint = 0x00000002;
+
+	/**
+	 *  @private
+	 */
+	private static const EVENT_OBJECT_FOCUS:uint = 0x8005;
+
+	/**
+	 *  @private
+	 */
+	private static const EVENT_OBJECT_SELECTION:uint = 0x8006;
+
+	/**
+	 *  @private
+	 */
+	private static const MAX_NUM:uint = 100000;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Enables accessibility in the TabBar class.
+	 *
+	 *
This method is called by application startup code
+	 *  that is autogenerated by the MXML compiler.
+	 *  Afterwards, when instances of TabBar are initialized,
+	 *  their accessibilityImplementation property
+	 *  will be set to an instance of this class.

+	 */
+	public static function enableAccessibility():void
 	{
 		TabBar.createAccessibilityImplementation =
 			createAccessibilityImplementation;
-
-		return true;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class constants
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private static const ROLE_SYSTEM_PAGETAB:uint = 0x25;
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_FOCUSABLE:uint = 0x00100000;
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_FOCUSED:uint = 0x00000004;
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_SELECTABLE:uint = 0x00200000;
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_SELECTED:uint = 0x00000002;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_FOCUS:uint = 0x8005;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_SELECTION:uint = 0x8006;
-
-	/**
-	 *  @private
-	 */
-	private static const MAX_NUM:uint = 100000;
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Method for creating the Accessibility class.
-	 *  This method is called from UIComponent.
-	 *  @review
+	}
+
+	/**
+	 *  @private
+	 *  Creates a TabBar's AccessibilityImplementation object.
+	 *  This method is called from UIComponent's
+	 *  initializeAccessibility() method.
 	 */
 	mx_internal static function createAccessibilityImplementation(
 								component:UIComponent):void
 	{
 		component.accessibilityImplementation =
 			new TabBarAccImpl(component);
-	}
-
-	/**
-	 *  Method call for enabling accessibility for a component.
-	 *  This method is required for the compiler to activate
-	 *  the accessibility classes for a component.
-	 */
-	public static function enableAccessibility():void
-	{
 	}

 	//--------------------------------------------------------------------------
@@ -195,7 +170,6 @@
 	 *  IAccessible method for returning the state of the Tabs.
 	 *  States are predefined for all the components in MSAA. Values are assigned to each state.
 	 *  Depending upon the Tab being Focusable, Focused and Moveable, a value is returned.
-	 *  @review
 	 *
 	 *  @param childID:uint
 	 *
@@ -278,7 +252,6 @@
 	/**
 	 *  @private
 	 *  IAccessible method for returning the bounding box of the Tabs.
-	 *  @review
 	 *
 	 *  @param childID:uint
 	 *


Transferred from the Adobe Open Source Subversion Repository

Revision: 8386
Author:   srahim@adobe.com
Date:     2009-07-06T19:50:00.014831Z

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

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>

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

--- frameworks/projects/spark/src/spark/components/VScrollBar.as
+++ frameworks/projects/spark/src/spark/components/VScrollBar.as
@@ -36,6 +36,27 @@
  *
Although you can use the VScrollBar control as a stand-alone control,
  *  you usually combine it as part of another group of components to
  *  provide scrolling functionality.

+ *
+ *
The VScrollBar control has the following default characteristics:

+ *

+ *

+ *           Characteristic
+ *           Description
+ *

+ *

+ *           Default size
+ *           15 pixels wide by 85 pixels high
+ *

+ *

+ *           Minimum size
+ *           15 pixels wide and 15 pixels high
+ *

+ *

+ *           Maximum size
+ *           10000 pixels wide and 10000 pixels high
+ *

+ *

+ *
  *  @mxml
  *
The <VScrollBar> tag inherits all of the tag
  *  attributes of its superclass and adds the following tag attributes:


Corrected UI resource path

Corrected UI resource path

--- DroneAnarchy/Resources/Scripts/DroneAnarchy.as
+++ DroneAnarchy/Resources/Scripts/DroneAnarchy.as
@@ -167,7 +167,7 @@
 {
 	UIElement@ displayRoot = ui.root.CreateChild("UIElement");

-	displayRoot.LoadXML(cache.GetFile("UI/ScreenDisplay.xml"));
+	displayRoot.LoadXML(cache.GetFile("Resources/UI/ScreenDisplay.xml"));

 	//Load the various UI Elements
 	healthFillSprite_ = displayRoot.GetChild("HealthFill", true);
@@ -186,8 +186,8 @@

 void LoadAttributeAnimations()
 {
-	textAnimation_ = cache.GetResource("ValueAnimation", "AttributeAnimations/GameStartCounterAnimation.xml");
-	damageAnimation_ = cache.GetResource("ValueAnimation", "AttributeAnimations/DamageWarningAnimation.xml");
+	textAnimation_ = cache.GetResource("ValueAnimation", "Resources/AttributeAnimations/GameStartCounterAnimation.xml");
+	damageAnimation_ = cache.GetResource("ValueAnimation", "Resources/AttributeAnimations/DamageWarningAnimation.xml");
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/charts/src/mx/charts/renderers/WedgeItemRenderer.as
+++ frameworks/projects/charts/src/mx/charts/renderers/WedgeItemRenderer.as
@@ -0,0 +1,237 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.renderers
+{
+
+import flash.display.Graphics;
+import flash.geom.Point;
+import flash.geom.Rectangle;
+import mx.charts.chartClasses.GraphicsUtilities;
+import mx.charts.series.items.PieSeriesItem;
+import mx.core.IDataRenderer;
+import mx.graphics.IFill;
+import mx.graphics.IStroke;
+import mx.graphics.SolidColor;
+import mx.skins.ProgrammaticSkin;
+import mx.utils.ColorUtil;
+import mx.charts.ChartItem;
+
+/**
+ *  The default itemRenderer for a PieSeries object.
+ *  This class renders a wedge using the stroke and radialStroke styles
+ *  of the owning series to draw the inner and outer edges and side edges
+ *  of the wedge, respectively.
+ *	The wedge is filled using the value of the fill property
+ *  of the associated chart item.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class WedgeItemRenderer extends ProgrammaticSkin implements IDataRenderer
+{
+    include "../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private static const SHADOW_INSET:Number = 8;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function WedgeItemRenderer()
+	{
+		super();
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+	//  data
+    //----------------------------------
+
+	/**
+	 *  @private
+	 *  Storage for the data property.
+	 */
+	private var _data:PieSeriesItem;
+
+	[Inspectable(environment="none")]
+
+	/**
+	 *  The chart item that this renderer represents.
+	 *  WedgeItemRenderers assume that this value
+	 *  is an instance of PieSeriesItem.
+	 *  This value is assigned by the owning series.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function get data():Object
+	{
+		return _data;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function set data(value:Object):void
+	{
+		_data = PieSeriesItem(value);
+
+		invalidateDisplayList();
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function updateDisplayList(unscaledWidth:Number,
+												  unscaledHeight:Number):void
+	{
+		super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+		var g:Graphics = graphics;
+		g.clear();
+
+		if (!_data)
+			return;
+
+		var stroke:IStroke = getStyle("stroke");
+		var radialStroke:IStroke = getStyle("radialStroke");
+
+		var outerRadius:Number = _data.outerRadius;
+		var innerRadius:Number = _data.innerRadius;
+		var origin:Point = _data.origin;
+		var angle:Number = _data.angle;
+		var startAngle:Number = _data.startAngle;
+
+		if (stroke && !isNaN(stroke.weight))
+			outerRadius -= Math.max(stroke.weight/2,SHADOW_INSET);
+		else
+			outerRadius -= SHADOW_INSET;
+
+		outerRadius = Math.max(outerRadius, innerRadius);
+
+		var rc:Rectangle = new Rectangle(origin.x - outerRadius,
+										 origin.y - outerRadius,
+										 2 * outerRadius, 2 * outerRadius);
+
+		var fill:IFill = _data.fill;
+		var state:String = _data.currentState;
+
+		var color:uint;
+
+		switch (state)
+		{
+			case ChartItem.FOCUSED:
+			case ChartItem.ROLLOVER:
+				if (styleManager.isValidStyleValue(getStyle('itemRollOverColor')))
+					color = getStyle('itemRollOverColor');
+				else
+					color = ColorUtil.adjustBrightness2(GraphicsUtilities.colorFromFill(fill),-20);
+				fill = new SolidColor(color);
+				break;
+			case ChartItem.DISABLED:
+				if (styleManager.isValidStyleValue(getStyle('itemDisabledColor')))
+					color = getStyle('itemDisabledColor');
+				else
+					color = ColorUtil.adjustBrightness2(GraphicsUtilities.colorFromFill(fill),20);
+				fill = new SolidColor(GraphicsUtilities.colorFromFill(color));
+				break;
+			case ChartItem.FOCUSEDSELECTED:
+			case ChartItem.SELECTED:
+				if (styleManager.isValidStyleValue(getStyle('itemSelectionColor')))
+					color = getStyle('itemSelectionColor');
+				else
+					color = ColorUtil.adjustBrightness2(GraphicsUtilities.colorFromFill(fill),-30);
+				fill = new SolidColor(color);
+				break;
+		}
+
+		var startPt:Point = new Point(
+			origin.x + Math.cos(startAngle) * outerRadius,
+			origin.y - Math.sin(startAngle) * outerRadius);
+
+		var endPt:Point = new Point(
+			origin.x + Math.cos(startAngle + angle) * outerRadius,
+			origin.y - Math.sin(startAngle + angle) * outerRadius);
+
+		g.moveTo(endPt.x, endPt.y);
+
+		fill.begin(g,rc,null);
+
+		GraphicsUtilities.setLineStyle(g, radialStroke);
+
+		if (innerRadius == 0)
+		{
+			g.lineTo(origin.x, origin.y);
+			g.lineTo(startPt.x, startPt.y);
+		}
+		else
+		{
+			var innerStart:Point = new Point(
+				origin.x + Math.cos(startAngle + angle) * innerRadius,
+				origin.y - Math.sin(startAngle + angle) * innerRadius);
+
+			g.lineTo(innerStart.x, innerStart.y);
+
+			GraphicsUtilities.setLineStyle(g, stroke);
+			GraphicsUtilities.drawArc(g, origin.x, origin.y,
+									  startAngle + angle, -angle,
+									  innerRadius, innerRadius, true);
+
+			GraphicsUtilities.setLineStyle(g, radialStroke);
+			g.lineTo(startPt.x, startPt.y);
+		}
+
+		GraphicsUtilities.setLineStyle(g, stroke);
+
+		GraphicsUtilities.drawArc(g, origin.x, origin.y,
+								  startAngle, angle,
+								  outerRadius, outerRadius, true);
+
+		fill.end(g);
+	}
+}
+
+}


Flatten model & material names correctly when importing a Tundra scene.

--- Bin/Data/Scripts/Editor/EditorImport.as
+++ Bin/Data/Scripts/Editor/EditorImport.as
@@ -197,7 +197,7 @@
         {
             for (uint i = 0; i < materialNames.length; ++i)
                 ConvertMaterial(materialNames[i], filePath, convertedMaterials);
-
+
             ConvertModel(meshName, filePath, convertedMeshes);
             ConvertModel(collisionMeshName, filePath, convertedMeshes);

@@ -216,7 +216,7 @@
             if (!meshName.empty)
             {
                 StaticModel@ model = newNode.CreateComponent("StaticModel");
-                model.model = cache.GetResource("Model", "Models/" + meshName.Replaced(".mesh", ".mdl"));
+                model.model = cache.GetResource("Model", "Models/" + GetFileNameAndExtension(meshName).Replaced(".mesh", ".mdl"));
                 model.drawDistance = drawDistance;
                 model.castShadows = castShadows;
                 // Set default grey material to match Tundra defaults
@@ -224,7 +224,7 @@
                 // Then try to assign the actual materials
                 for (uint i = 0; i < materialNames.length; ++i)
                 {
-                    Material@ mat = cache.GetResource("Material", "Materials/" + materialNames[i].Replaced(".material", ".xml"));
+                    Material@ mat = cache.GetResource("Material", "Materials/" + GetFileNameAndExtension(materialNames[i]).Replaced(".material", ".xml"));
                     if (mat !is null)
                         model.materials[i] = mat;
                 }
@@ -258,11 +258,11 @@
                     break;

                 case 4:
-                    shape.SetTriangleMesh(cache.GetResource("Model", "Models/" + collisionMeshName.Replaced(".mesh", ".mdl")), 0, bodySize);
-                    break;
-
+                    shape.SetTriangleMesh(cache.GetResource("Model", "Models/" + GetFileNameAndExtension(collisionMeshName).Replaced(".mesh", ".mdl")), 0, bodySize);
+                    break;
+
                 case 6:
-                    shape.SetConvexHull(cache.GetResource("Model", "Models/" + collisionMeshName.Replaced(".mesh", ".mdl")), 0.1, 0, bodySize);
+                    shape.SetConvexHull(cache.GetResource("Model", "Models/" + GetFileNameAndExtension(collisionMeshName).Replaced(".mesh", ".mdl")), 0.1, 0, bodySize);
                     break;
                 }

@@ -353,17 +353,20 @@
             return;
     }

+    String convertedModelName = filePath + modelName + ".xml";
+
     // Convert .mesh to .mesh.xml
-    String cmdLine = "ogrexmlconverter.exe \"" + filePath + modelName + "\" \"" + filePath + modelName + ".xml\"";
-    fileSystem.SystemCommand(cmdLine.Replaced('/', '\\'));
+    String cmdLine = "ogrexmlconverter.exe \"" + filePath + modelName + "\" \"" + convertedModelName + "\"";
+    if (!fileSystem.FileExists(convertedModelName))
+        fileSystem.SystemCommand(cmdLine.Replaced('/', '\\'));

     // Convert .mesh.xml to .mdl
     Array<String> args;
     args.Push("\"" + filePath + modelName + ".xml\"");
-    args.Push("\"" + sceneResourcePath + "Models/" + modelName.Replaced(".mesh", ".mdl") + "\"");
+    args.Push("\"" + sceneResourcePath + "Models/" + GetFileNameAndExtension(modelName).Replaced(".mesh", ".mdl") + "\"");
     args.Push("-a");
     fileSystem.SystemRun(fileSystem.programDir + "OgreImporter.exe", args);
-
+
     convertedModels.Push(modelName);
 }


minor fix

minor fix

--- src/com/kemsky/impl/Stream.as
+++ src/com/kemsky/impl/Stream.as
@@ -288,7 +288,7 @@
          * @param offset index to start from
          * @return new Stream that contains count of items starting from offset.
          */
-        public function take(count:int = -1, offset:uint = 0):Stream
+        public function take(count:int, offset:uint = 0):Stream
         {
             return slice(offset, offset + count);
         }


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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/framework/src/mx/core/ITextFieldFactory.as
+++ frameworks/projects/framework/src/mx/core/ITextFieldFactory.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.core
+{
+
+import flash.text.TextField;
+
+[ExcludeClass]
+
+/**
+ *  @private
+ *  Interface to create text fields.
+ *  Text fields are re-used so there are no more than one per module factory.
+ */
+public interface ITextFieldFactory
+{
+	/**
+	 *  Creates a TextField object in the context
+	 *  of a specified module factory.
+	 *
+	 *  @param moduleFactory May not be null.
+	 *
+	 *  @return A TextField created in the context of the module factory.
+	 */
+	function createTextField(moduleFactory:IFlexModuleFactory):TextField;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 22189
Author:   aharui@adobe.com
Date:     2011-08-24T21:05:22.105707Z

Log Message:
-----------
Handle mouse events from siblings of SystemManager

QE notes: none
Doc notes: none
Bugs: SDK-30688
Reviewer: Evtim
Tests run: Mustella Cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/managers/SystemManager.as

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

--- frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -2900,7 +2900,7 @@
      */
     private function mouseEventHandler(e:MouseEvent):void
     {
-        if (!e.cancelable)
+        if (!e.cancelable && e.eventPhase != EventPhase.BUBBLING_PHASE)
         {
             e.stopImmediatePropagation();
             var cancelableEvent:MouseEvent = null;


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

--- frameworks/projects/mx/src/mx/effects/UnconstrainItemAction.as
+++ frameworks/projects/mx/src/mx/effects/UnconstrainItemAction.as
@@ -0,0 +1,95 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.effects
+{
+
+import mx.core.mx_internal;
+import mx.effects.effectClasses.PropertyChanges;
+import mx.controls.listClasses.ListBase;
+import mx.effects.effectClasses.UnconstrainItemActionInstance;
+
+use namespace mx_internal;
+
+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+[Exclude(name="duration", kind="property")]
+
+/**
+ *  The UnconstrainItemAction class defines an action effect that
+ *  is used in a data-effect definition
+ *  to temporarily stop item renderers from being positioned by the
+ *  layout algorithm of the parent control. This effect can be used
+ *  to allow item renderers in a TileList control to move freely
+ *  rather than being constrained to lay in the normal grid defined by the control.
+ *  The default data effect class for the TileList control, DefaultTileListEffect,
+ *  uses this effect.
+ *
+ *
You typically add this effect when your custom data effect moves item renderers.

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

+ *
+ *

+ *  <mx:UnconstrainItemAction
+ *  />
+ *

+ *
+ *  @see mx.effects.effectClasses.UnconstrainItemActionInstance
+ *  @see mx.effects.DefaultTileListEffect
+ */
+public class UnconstrainItemAction extends Effect
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param target The Object to animate with this effect.
+     */
+    public function UnconstrainItemAction(target:Object = null)
+    {
+        super(target);
+
+        instanceClass = UnconstrainItemActionInstance;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function initInstance(instance:IEffectInstance):void
+    {
+        super.initInstance(instance);
+
+        var actionInstance:UnconstrainItemActionInstance  =
+            UnconstrainItemActionInstance(instance);
+
+    }
+}
+
+}


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

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

 package mx.controls
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 19398
Author:   smgilson@adobe.com
Date:     2010-12-15T20:20:48.744767Z

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

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/ContainerDestructionPolicy.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/IPersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as
+++ frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as
@@ -15,16 +15,18 @@

 /**
  *  The PersistenceManager class is a basic persistence manager that
- *  is backed by a shared object.  When initialized, it will load a
+ *  is backed by a shared object.  When initialized, it loads a
  *  shared object that matches its id.  If one is not found, one will
  *  be created.
  *
  *
When storing values in the manager, it is important that all
  *  values can be properly be written to a shared object.  Complex
- *  objects that store classes or non-standard flash primitives will
- *  need to implement flash.net.IExternalizable to work properly.
- *  Saving incompatible objects will not cause an RTE, but will create
+ *  objects that store classes or non-standard flash primitives
+ *  must implement flash.net.IExternalizable interface to work properly.
+ *  Saving incompatible objects will not cause an RTE, but create
  *  undefined behavior when read from disk.

+ *
+ *  @see flash.net.IExternalizable
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Change 20081128-bargull-wO4 by bargull@dell--p4--2-53 on 2008-11-28 15:44:11
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: swf9 "onmouseover"-event

New Features:

Bugs Fixed: LPP-7335

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
- only store "__mouseoverInFront" for "onmouseover"-events
- also send deferred "onmouseover"-event if the mouse is released outside ("onmouseupoutside"-event)

Tests:
testcases at LPP-7300 and LPP-7335

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

--- WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
+++ WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
@@ -647,8 +647,17 @@
       // called by LzMouseKernel when mouse goes up on another sprite
       public function __globalmouseup( e:MouseEvent ) :void {
           if (this.__mousedown) {
+              var mouseOverSprite:LzSprite = null;
+              if (this.__mouseoverInFront != null) {
+                  mouseOverSprite = this.__mouseoverInFront;
+                  this.__mouseoverInFront = null;
+              }
               this.__mouseEvent(e);
               this.__mouseEvent(new MouseEvent('mouseupoutside'));
+              if (mouseOverSprite != null) {
+                  // send after onmouseup(outside) (LPP-7335)
+                  LzMouseKernel.__sendEvent(mouseOverSprite.owner, 'onmouseover');
+              }
           }
           LzMouseKernel.__lastMouseDown = null;
       }
@@ -668,11 +677,6 @@
                     LzMouseKernel.__lastMouseDown = null;
                     e.stopPropagation();
                     this.__mousedown = false;
-
-                    if (this.__mouseoverInFront != null) {
-                        LzMouseKernel.__sendEvent(this.__mouseoverInFront.owner, 'onmouseover');
-                        this.__mouseoverInFront = null;
-                    }
                 } else {
                     skipevent = true;
                 }
@@ -695,7 +699,7 @@
                         // check to see if this sprite is in front of the sprite the mouse went down on.  See LPP-7300
                         var relObj:InteractiveObject = e.relatedObject;
                         // relatedObject is the sprite's clickbutton, use parent to access the LzSprite
-                        if (relObj && relObj.parent === LzMouseKernel.__lastMouseDown) {
+                        if (eventname == 'onmouseover' && relObj && relObj.parent === LzMouseKernel.__lastMouseDown) {
                             // store reference to self for sending onmouseover event later - see LPP-7335
                             LzMouseKernel.__lastMouseDown.__mouseoverInFront = this;
                         } else {


changed some functions from private to public.

--- WeaveJS/src/weavejs/util/JSByteArray.as
+++ WeaveJS/src/weavejs/util/JSByteArray.as
@@ -136,11 +136,7 @@
 			return ch4 | (ch3 << 8) | (ch2 << 16) | (ch1 << 24);
 		}

-		public function readUnsignedInt():int
-		{
-			return readUInt32();
-		}
-		private function readUInt32():int
+		public function readUnsignedInt/*readUInt32*/():int
 		{
 			if (endian == ENDIAN_LITTLE)
 				return readUInt32LE();
@@ -150,7 +146,7 @@
 					((data[++pos] & 0xFF) << 8) |
 					(data[++pos] & 0xFF);
 		}
-		private function readInt/*readInt32*/():int
+		public function readInt/*readInt32*/():int
 		{
 			if (endian == ENDIAN_LITTLE)
 				return readInt32LE();
@@ -162,7 +158,7 @@
 			return (x >= 2147483648) ? x - 4294967296 : x;
 		}

-		private function readUnsignedShort/*readUInt16*/():int
+		public function readUnsignedShort/*readUInt16*/():int
 		{
 			if (endian == ENDIAN_LITTLE)
 				return readUInt16LE();
@@ -170,7 +166,7 @@
 			return  ((data[pos] & 0xFF) << 8) |
 							(data[++pos] & 0xFF);
 		}
-		private function readShort/*readInt16*/():int
+		public function readShort/*readInt16*/():int
 		{
 			if (endian == ENDIAN_LITTLE)
 				return readInt16LE();
@@ -197,7 +193,7 @@
 			return sign * (1 + TWOeN23 * sig) * Math.pow(2, exp);
 		}

-		private function readDouble/*readFloat64*/():Number
+		public function readDouble/*readFloat64*/():Number
 		{
 			if (endian == ENDIAN_LITTLE)
 				return readFloat64LE();
@@ -386,12 +382,12 @@
 			return str;
 		}

-		private function readUTF():String
+		public function readUTF():String
 		{
 			return this.readString(this.readUnsignedShort());
 		}

-		private function readLongUTF():String
+		public function readLongUTF():String
 		{
 			return this.readString(this.readUInt30());
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3279
Author:   chaase@adobe.com
Date:     2008-09-20T00:11:18.055533Z

Log Message:
-----------
Fixed SDK-16883, which was causing artifacts with transparent pixels in BitmapGraphic. Also fixed various initializations of Graphics.lineStyle() in the graphics elements classes (lineStyle(0,0,0) is incorrect; should be lineStyle(), which sets the weight to the default NaN).

Reviewed by Glenn
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/FilledElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/BitmapGraphic.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as
@@ -109,7 +109,7 @@
 		if (stroke)
 			stroke.draw(g, bounds);
 		else
-			g.lineStyle(0, 0, 0);
+			g.lineStyle();

 		if (fill)
 			fill.begin(g, bounds);


Transferred from the Adobe Open Source Subversion Repository

Revision: 19212
Author:   smgilson@adobe.com
Date:     2010-12-09T15:26:24.477499Z

Log Message:
-----------
ASDoc pass on grid item renderers, and a localization fix for a gridClasses/GridColumn.as member.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultGridHeaderRenderer.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as</path>

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

--- frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as
+++ frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as
@@ -56,25 +56,31 @@
 [Exclude(name="layoutDirection", kind="style")]

 /**
- *   A simple and efficient IGridItemRenderer that displays a single text label.  For
- *   applications displaying Grids with large numbers of visible cells, this renderer
- *   provides optimum performance on Windows.   It is based on TextField, not FTE,
- *   so it lacks support for some Spark text features.
+ *  The UITextFieldGridItemRenderer class defines simple and efficient
+ *  item renderer that displays a single text label.
+ *  For applications displaying grid controls with large numbers of visible cells,
+ *  this renderer provides optimum performance on Microsoft Windows.
+ *  It is based on TextField, not FTE, so it lacks support for some Spark text features.
  *
- *
UITextFieldGridItemRenderer will inherit its
- *   layoutDirection from its parent.
- *   It should not be set directly on UITextFieldGridItemRenderer.

+ *
UITextFieldGridItemRenderer inherits its the value of the
+ *  layoutDirection property from its parent.
+ *  It should not be set directly on UITextFieldGridItemRenderer.

  *
- *
Label text wrapping can be controlled with the lineBreak style.  For example
- *   a DataGrid configured like this:
- *   lineBreak="explicit" variableRowHeight="false" yields fixed height
- *   DataGrid cells whose labels do not wrap.

+ *
You can control the label text wrapping by using the lineBreak style.
+ *  For example, setting  lineBreak="explicit" and variableRowHeight="false"
+ *  creates fixed height cells whose labels do not wrap.

  *
- *
This class is not intended to be subclassed or copied, it is
- *   effectively final.  Custom item renderers can be created in MXML with the
- *   GridItemRenderer component.

+ *
The UITextFieldGridItemRenderer class is not intended to be subclassed or copied.
+ *  Create custom item renderers based on the  GridItemRenderer class.

  *
- *   @see spark.components.gridClasses.GridItemRenderer
+ *  @see spark.components.DataGrid
+ *  @see spark.components.gridClasses.GridItemRenderer
+ *  @see DefaultGridItemRenderer
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
  */
 public class UITextFieldGridItemRenderer extends UITextField implements IGridItemRenderer, IStyleClient
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 22569
Author:   smgilson@adobe.com
Date:     2011-09-14T20:53:12.208755Z

Log Message:
-----------
Update version information in ASDoc comment based on customer comment

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

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as

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

--- frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as
+++ frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as
@@ -213,9 +213,9 @@
      *  @return The implementation for the interface.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function getImplementation(interfaceName:String):Object;

@@ -256,9 +256,9 @@
      *  @param impl The implementation.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     function registerImplementation(interfaceName:String,
                                     impl:Object):void;


Transferred from the Adobe Open Source Subversion Repository

Revision: 7163
Author:   aharui@adobe.com
Date:     2009-05-21T02:19:55.813792Z

Log Message:
-----------
Initial checkin of frame 1 cleanup.  In an RSL linkage, more classes will now come from the RSL because they are no longer needed in frame 1, and the size of the application SWF will be smaller.

QE Notes: None
Doc Notes: Maybe.  All new classes should be undocumented, but it might be worth checking that and any changes to interfaces
Bugs:
Reviewer: darrell
tests: checkintests mustella/MarshallPlan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/RSLEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/MarshalPopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IEmbeddedFontRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</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/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFontRegistry.as</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/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFont.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ResourceModuleRSLItem.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/ISWFBridgeProvider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IMarshalSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EventListenerRequest.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/ToolTipManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/mustella/MustellaResultsParser.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/SWFBridgeGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/DragManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IActiveWindowManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/PopUpManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManagerChildManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/CursorManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as</path>

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

--- frameworks/projects/framework/src/mx/managers/ISystemManager.as
+++ frameworks/projects/framework/src/mx/managers/ISystemManager.as
@@ -23,7 +23,6 @@
 import flash.text.TextFormat;
 import mx.core.IChildList;
 import mx.core.IFlexModuleFactory;
-import mx.core.ISWFBridgeGroup;
 import mx.managers.IFocusManagerContainer;

 /**
@@ -77,103 +76,117 @@
  */
 public interface ISystemManager extends IEventDispatcher, IChildList, IFlexModuleFactory
 {
-    //--------------------------------------------------------------------------
-    //
-    //  Properties
-    //
-    //--------------------------------------------------------------------------
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------

     //----------------------------------
     //  cursorChildren
     //----------------------------------

-    /**
-     *  An list of the custom cursors
-     *  being parented by this ISystemManager.
+	/**
+	 *  An list of the custom cursors
+	 *  being parented by this ISystemManager.
+	 *
+	 *
An ISystemManager has various types of children,
+	 *  such as the Application, popups, top-most windows,
+	 *  tooltips, and custom cursors.
+	 *  You can access the custom cursors through
+	 *  the cursorChildren property.

+	 *
+	 *
The IChildList object has methods like getChildAt()
+	 *  and properties like numChildren.
+	 *  For example, cursorChildren.numChildren gives
+	 *  the number of custom cursors (which will be either 0 or 1)
+	 *  and, if a custom cursor exists, you can access it as
+	 *  cursorChildren.getChildAt(0).

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function get cursorChildren():IChildList;
+
+    //----------------------------------
+    //  document
+    //----------------------------------
+
+	/**
+	 *  A reference to the document object.
+	 *  A document object is an Object at the top of the hierarchy of a
+	 *  Flex application, MXML component, or AS component.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function get document():Object;
+
+	/**
+	 *  @private
+	 */
+	function set document(value:Object):void;
+
+    //----------------------------------
+    //  embeddedFontList
+    //----------------------------------
+
+	/**
+     *  @private
+	 */
+	function get embeddedFontList():Object;
+
+    //----------------------------------
+    //  focusPane
+    //----------------------------------
+
+	/**
+	 *  A single Sprite shared among components used as an overlay for drawing focus.
+	 *  You share it if you parent a focused component, not if you are IFocusManagerComponent.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function get focusPane():Sprite;
+
+	/**
+	 *  @private
+	 */
+	function set focusPane(value:Sprite):void;
+
+    //----------------------------------
+    //  loaderInfo
+    //----------------------------------
+
+	/**
+	 *  The LoaderInfo object that represents information about the application.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function get isProxy():Boolean;
+
+    //----------------------------------
+    //  loaderInfo
+    //----------------------------------
+
+	/**
+	 *  The LoaderInfo object that represents information about the application.
      *
-     *
An ISystemManager has various types of children,
-     *  such as the Application, popups, top-most windows,
-     *  tooltips, and custom cursors.
-     *  You can access the custom cursors through
-     *  the cursorChildren property.

-     *
-     *
The IChildList object has methods like getChildAt()
-     *  and properties like numChildren.
-     *  For example, cursorChildren.numChildren gives
-     *  the number of custom cursors (which will be either 0 or 1)
-     *  and, if a custom cursor exists, you can access it as
-     *  cursorChildren.getChildAt(0).

-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function get cursorChildren():IChildList;
-
-    //----------------------------------
-    //  document
-    //----------------------------------
-
-    /**
-     *  A reference to the document object.
-     *  A document object is an Object at the top of the hierarchy of a
-     *  Flex application, MXML component, or AS component.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function get document():Object;
-
-    /**
-     *  @private
-     */
-    function set document(value:Object):void;
-
-    //----------------------------------
-    //  embeddedFontList
-    //----------------------------------
-
-    /**
-     *  @private
-     */
-    function get embeddedFontList():Object;
-
-    //----------------------------------
-    //  focusPane
-    //----------------------------------
-
-    /**
-     *  A single Sprite shared among components used as an overlay for drawing focus.
-     *  You share it if you parent a focused component, not if you are IFocusManagerComponent.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function get focusPane():Sprite;
-
-    /**
-     *  @private
-     */
-    function set focusPane(value:Sprite):void;
-
-    //----------------------------------
-    //  loaderInfo
-    //----------------------------------
-
-    /**
-     *  The LoaderInfo object that represents information about the application.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function get loaderInfo():LoaderInfo;
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function get loaderInfo():LoaderInfo;

     //----------------------------------
     //  numModalWindows
@@ -203,242 +216,175 @@
     //  popUpChildren
     //----------------------------------

-    /**
-     *  An list of the topMost (popup)
-     *  windows being parented by this ISystemManager.
-     *
-     *
An ISystemManager has various types of children,
-     *  such as the Application, popups,
-     *  tooltips, and custom cursors.
-     *  You can access the top-most windows through
-     *  the popUpChildren property.

-     *
-     *
The IChildList object has methods like getChildAt()
-     *  and properties like numChildren.
-     *  For example, popUpChildren.numChildren gives
-     *  the number of topmost windows and you can access them as
-     *  popUpChildren.getChildAt(i).

-     *
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function get popUpChildren():IChildList;
+	/**
+	 *  An list of the topMost (popup)
+	 *  windows being parented by this ISystemManager.
+	 *
+	 *
An ISystemManager has various types of children,
+	 *  such as the Application, popups,
+	 *  tooltips, and custom cursors.
+	 *  You can access the top-most windows through
+	 *  the popUpChildren property.

+	 *
+	 *
The IChildList object has methods like getChildAt()
+	 *  and properties like numChildren.
+	 *  For example, popUpChildren.numChildren gives
+	 *  the number of topmost windows and you can access them as
+	 *  popUpChildren.getChildAt(i).

+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function get popUpChildren():IChildList;

     //----------------------------------
     //  rawChildren
     //----------------------------------

-    /**
-     *  A list of all children
-     *  being parented by this ISystemManager.
-     *
-     *
An ISystemManager has various types of children,
-     *  such as the Application, popups,
-     *  tooltips, and custom cursors.

-     *
-     *
The IChildList object has methods like getChildAt()
-     *  and properties like numChildren.

-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function get rawChildren():IChildList;
-
-    //----------------------------------
-    //  swfBridgeGroup
-    //----------------------------------
-
-    /**
-     *  Contains all the bridges to other applications
-     *  that this application is connected to.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function get swfBridgeGroup():ISWFBridgeGroup;
-
+	/**
+	 *  A list of all children
+	 *  being parented by this ISystemManager.
+	 *
+	 *
An ISystemManager has various types of children,
+	 *  such as the Application, popups,
+	 *  tooltips, and custom cursors.

+	 *
+	 *
The IChildList object has methods like getChildAt()
+	 *  and properties like numChildren.

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function get rawChildren():IChildList;
+
     //----------------------------------
     //  screen
     //----------------------------------

-    /**
-     *  The size and position of the application window.
-     *
-     *  The Rectangle object contains x, y,
-     *  width, and height properties.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function get screen():Rectangle
+	/**
+	 *  The size and position of the application window.
+	 *
+	 *  The Rectangle object contains x, y,
+	 *  width, and height properties.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function get screen():Rectangle

     //----------------------------------
     //  stage
     //----------------------------------

-    /**
-     *  The flash.display.Stage that represents the application window
-     *  mapped to this SystemManager
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function get stage():Stage
+	/**
+	 *  The flash.display.Stage that represents the application window
+	 *  mapped to this SystemManager
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function get stage():Stage

     //----------------------------------
     //  toolTipChildren
     //----------------------------------

-    /**
-     *  A list of the tooltips
-     *  being parented by this ISystemManager.
-     *
-     *
An ISystemManager has various types of children,
-     *  such as the Application, popups, topmost windows,
-     *  tooltips, and custom cursors.

-     *
-     *
The IChildList object has methods like getChildAt()
-     *  and properties like numChildren.
-     *  For example, toolTipChildren.numChildren gives
-     *  the number of tooltips (which will be either 0 or 1)
-     *  and, if a tooltip exists, you can access it as
-     *  toolTipChildren.getChildAt(0).

-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function get toolTipChildren():IChildList;
-
+	/**
+	 *  A list of the tooltips
+	 *  being parented by this ISystemManager.
+	 *
+	 *
An ISystemManager has various types of children,
+	 *  such as the Application, popups, topmost windows,
+	 *  tooltips, and custom cursors.

+	 *
+	 *
The IChildList object has methods like getChildAt()
+	 *  and properties like numChildren.
+	 *  For example, toolTipChildren.numChildren gives
+	 *  the number of tooltips (which will be either 0 or 1)
+	 *  and, if a tooltip exists, you can access it as
+	 *  toolTipChildren.getChildAt(0).

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function get toolTipChildren():IChildList;
+
     //----------------------------------
     //  topLevelSystemManager
     //----------------------------------

-    /**
-     *  The ISystemManager responsible for the application window.
-     *  This will be the same ISystemManager unless this application
-     *  has been loaded into another application.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function get topLevelSystemManager():ISystemManager;
-
-    //--------------------------------------------------------------------------
-    //
-    //  Methods
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *  Registers a top-level window containing a FocusManager.
-     *  Called by the FocusManager, generally not called by application code.
-     *
-     *  @param f The top-level window in the application.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function addFocusManager(f:IFocusManagerContainer):void;
-
-    /**
-     *  Unregisters a top-level window containing a FocusManager.
-     *  Called by the FocusManager, generally not called by application code.
-     *
-     *  @param f The top-level window in the application.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function removeFocusManager(f:IFocusManagerContainer):void;
-
-    /**
-     *  Activates the FocusManager in an IFocusManagerContainer.
-     *
-     *  @param f IFocusManagerContainer the top-level window
-     *  whose FocusManager should be activated.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function activate(f:IFocusManagerContainer):void;
-
-    /**
-     *  Deactivates the FocusManager in an IFocusManagerContainer, and activate
-     *  the FocusManager of the next highest window that is an IFocusManagerContainer.
-     *
-     *  @param f IFocusManagerContainer the top-level window
-     *  whose FocusManager should be deactivated.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function deactivate(f:IFocusManagerContainer):void;
-
-    /**
-     *  Converts the given String to a Class or package-level Function.
-     *  Calls the appropriate ApplicationDomain.getDefinition()
-     *  method based on
-     *  whether you are loaded into another application or not.
-     *
-     *  @param name Name of class, for example "mx.video.VideoManager".
-     *
-     *  @return The Class represented by the name, or null.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function getDefinitionByName(name:String):Object;
-
-    /**
-     *  Returns true if this ISystemManager is responsible
-     *  for an application window, and false if this
-     *  application has been loaded into another application.
-     *
-     *  @return true if this ISystemManager is responsible
-     *  for an application window.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function isTopLevel():Boolean;
+	/**
+	 *  The ISystemManager responsible for the application window.
+	 *  This will be the same ISystemManager unless this application
+	 *  has been loaded into another application.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function get topLevelSystemManager():ISystemManager;
+
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Converts the given String to a Class or package-level Function.
+	 *  Calls the appropriate ApplicationDomain.getDefinition()
+	 *  method based on
+	 *  whether you are loaded into another application or not.
+	 *
+	 *  @param name Name of class, for example "mx.video.VideoManager".
+	 *
+	 *  @return The Class represented by the name, or null.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function getDefinitionByName(name:String):Object;
+
+	/**
+	 *  Returns true if this ISystemManager is responsible
+	 *  for an application window, and false if this
+	 *  application has been loaded into another application.
+	 *
+	 *  @return true if this ISystemManager is responsible
+	 *  for an application window.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	function isTopLevel():Boolean;

     /**
      *  Returns true if the required font face is embedded
-     *  in this application, or has been registered globally by using the
-     *  Font.registerFont() method.
-     *
-     *  @param tf The TextFormat class representing character formatting information.
-     *
-     *  @return true if the required font face is embedded
-     *  in this application, or has been registered globally by using the
-     *  Font.registerFont() method.
+	 *  in this application, or has been registered globally by using the
+	 *  Font.registerFont() method.
+	 *
+	 *  @param tf The TextFormat class representing character formatting information.
+	 *
+	 *  @return true if the required font face is embedded
+	 *  in this application, or has been registered globally by using the
+	 *  Font.registerFont() method.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -466,7 +412,7 @@
      *  Attempts to get the system manager that is the in the main application.
      *
      *  @return The main application's systemManager if allowed by
-     *  security restrictions or null if it is in a different SecurityDomain.
+	 *  security restrictions or null if it is in a different SecurityDomain.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -488,118 +434,30 @@
      */
     function getSandboxRoot():DisplayObject;

-    /**
-     *  Adds a child bridge to the system manager.
-     *  Each child bridge represents components in another sandbox
-     *  or compiled with a different version of Flex.
-     *
-     *  @param bridge The bridge for the child.
-     *
-     *  @param owner The SWFLoader for the child.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function addChildBridge(bridge:IEventDispatcher, owner:DisplayObject):void;
-
-    /**
-     *  Adds a child bridge to the system manager.
-     *  Each child bridge represents components in another sandbox
-     *  or compiled with a different version of Flex.
-     *
-     *  @param bridge The bridge for the child
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function removeChildBridge(bridge:IEventDispatcher):void;
-
-    /**
-     *  Dispatch a message to all parent and child applications in this SystemManager's SWF bridge group, regardless of
-     *  whether they are in the same SecurityDomain or not. You can optionally exclude an application with this method's parameters.
-     *
-         *  @param event The event to dispatch.
-         *
-         *  @param skip Specifies an IEventDispatcher that you do not want to dispatch a message to. This is typically used to skip the
-         *  IEventDispatcher that originated the event.
-     *
-         *  @param trackClones Whether to keep a reference to the events as they are dispatched.
-         *
-         *  @param toOtherSystemManagers Whether to dispatch the event to other top-level SystemManagers in AIR.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function dispatchEventFromSWFBridges(event:Event, skip:IEventDispatcher = null, trackClones:Boolean = false, toOtherSystemManagers:Boolean = false):void
-
-    /**
-     *  Determines if the caller using this system manager
-     *  should should communicate directly with other managers
-     *  or if it should communicate with a bridge.
-     *
-     *  @return true if the caller using this system manager
-     *  should  communicate using sandbox bridges.
-     *  If false the system manager may directly call
-     *  other managers directly via references.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function useSWFBridge():Boolean;
-
-    /**
-     *  Adds child to sandbox root in the layer requested.
-     *
-     *  @param layer Name of IChildList in SystemManager
-     *
-     *  @param child DisplayObject to add
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function addChildToSandboxRoot(layer:String, child:DisplayObject):void;
-
-    /**
-     *  Removes child from sandbox root in the layer requested.
-     *
-     *  @param layer Name of IChildList in SystemManager
-     *
-     *  @param child DisplayObject to add
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function removeChildFromSandboxRoot(layer:String, child:DisplayObject):void;
-
-    /**
-     *  Tests if a display object is in a child application
-     *  that is loaded in compatibility mode or in an untrusted sandbox.
-     *
-     *  @param displayObject The DisplayObject to test.
-     *
-     *  @return true if displayObject
-     *  is in a child application that is loaded in compatibility mode
-     *  or in an untrusted sandbox, and false otherwise.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function isDisplayObjectInABridgedApplication(
-                        displayObject:DisplayObject):Boolean;
+    /**
+     *  Register an implementation for an interface.
+	 *  Similar to Singleton.registerClass, but per-
+	 *  ISystemManager, and takes an instance not a class
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function registerImplementation(interfaceName:String,
+										 impl:Object):void;
+
+    /**
+     *  Get the implementation for an interface.
+	 *  Similar to Singleton.getInstance, but per-
+	 *  ISystemManager
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+	function getImplementation(interfaceName:String):Object;

     /**
      *  Get the bounds of the loaded application that are visible to the user
@@ -637,8 +495,7 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    function deployMouseShields(deploy:Boolean):void;
-
+    function deployMouseShields(deploy:Boolean):void;
 }

 }