Transferred from the Adobe Open Source Subversion Repository

Revision: 7256
Author:   aharui@adobe.com
Date:     2009-05-23T20:25:20.378550Z

Log Message:
-----------
Fix various Mustella failures due to frame1 cleanup

QE Notes: None
Doc Notes: None
Bugs: SDK-21372, SDK-21373, SDK-21374
Reviewer: Joan tested a cyclone
tests: checkintests mustella/components mustella/MarshallPlan

Modified Paths:
--------------
<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/managers/systemClasses/ActiveWindowManager.as</path>
<path kind="file" action="M">/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/managers/SystemManagerProxy.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/framework/src/mx/managers/marshalClasses/ToolTipManagerMarshalMixin.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/framework/src/mx/core/EmbeddedFont.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.as</path>

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

--- frameworks/projects/framework/src/mx/managers/marshalClasses/ToolTipManagerMarshalMixin.as
+++ frameworks/projects/framework/src/mx/managers/marshalClasses/ToolTipManagerMarshalMixin.as
@@ -16,6 +16,7 @@

 import mx.core.IFlexModuleFactory;
 import mx.core.IToolTip;
+import mx.events.DynamicEvent;
 import mx.events.InterManagerRequest;
 import mx.events.ToolTipEvent;
 import mx.managers.IMarshalSystemManager;
@@ -150,20 +151,20 @@
         event.preventDefault();
 	}

-	public function removeChildHandler(event:Event):void
+	public function removeChildHandler(event:DynamicEvent):void
 	{
         // Remove it.
-        var sm:ISystemManager = toolTipManager.currentToolTip.systemManager as ISystemManager;
+        var sm:ISystemManager = event.sm;
 		mp = IMarshalSystemManager(sm.topLevelSystemManager.getImplementation("mx.managers::IMarshalSystemManager"));
-		mp.removeChildFromSandboxRoot("toolTipChildren", toolTipManager.currentToolTip as DisplayObject);
+		mp.removeChildFromSandboxRoot("toolTipChildren", event.toolTip as DisplayObject);
         event.preventDefault();
 	}

-	public function addChildHandler(event:Event):void
-	{
-        var sm:ISystemManager = toolTipManager.currentToolTip.systemManager as ISystemManager;
+	public function addChildHandler(event:DynamicEvent):void
+	{
+        var sm:ISystemManager = event.sm;
 		mp = IMarshalSystemManager(sm.topLevelSystemManager.getImplementation("mx.managers::IMarshalSystemManager"));
-		mp.addChildToSandboxRoot("toolTipChildren", toolTipManager.currentToolTip as DisplayObject);
+		mp.addChildToSandboxRoot("toolTipChildren", event.toolTip as DisplayObject);
         event.preventDefault();
 	}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/List.as
+++ frameworks/projects/mx/src/mx/controls/List.as
@@ -1329,7 +1329,7 @@
                 if (!listItems[rowNum])
                     listItems[rowNum] = [];

-                // TODO more code around renderer recycling should be shared with TileBase /
+                // FIXME (aharui): more code around renderer recycling should be shared with TileBase /
                 // moved to ListBase if possible
                 if (valid)
                 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5301
Author:   clucier@adobe.com
Date:     2009-03-13T18:40:17.284526Z

Log Message:
-----------
Adding debug helper code which highlights all recently validated visual elements.
Just uncomment all code marked with LAYOUT_DEBUG.

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/layoutClasses/LayoutDebugHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.as</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/core/UIComponent.as</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -66,6 +66,7 @@
 import mx.managers.ILayoutManagerClient;
 import mx.managers.ISystemManager;
 import mx.managers.IToolTipManagerClient;
+import mx.managers.LayoutManager;
 import mx.managers.SystemManager;
 import mx.managers.SystemManagerGlobals;
 import mx.managers.SystemManagerProxy;
@@ -7801,6 +7802,9 @@

             // TODO EGeorgie: should we reset the flag immediately after we check it?
             invalidateDisplayListFlag = false;
+
+            // LAYOUT_DEBUG
+            // LayoutManager.debugHelper.addElement(ILayoutElement(this));
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7866
Author:   jszeto@adobe.com
Date:     2009-06-15T23:11:45.128254Z

Log Message:
-----------
GraphicElement PARB Changes

- Deprecated mx.graphics.RoundedRectangle
- Added mx.geom.RoundedRectangle
- Removed GraphicElement.getStroke
- Moved code from GraphicElement.getStrokeExtents into StrokedElement.
- Updated the dependency checker

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/RoundedRectangle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.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/containers/ViewStack.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RoundedRectangle.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/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/DissolveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Dissolve.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/core/Container.as</path>

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

--- frameworks/projects/framework/src/mx/effects/Dissolve.as
+++ frameworks/projects/framework/src/mx/effects/Dissolve.as
@@ -14,7 +14,7 @@

 import mx.core.mx_internal;
 import mx.effects.effectClasses.DissolveInstance;
-import mx.graphics.RoundedRectangle;
+import mx.geom.RoundedRectangle;
 import mx.styles.StyleManager;

 use namespace mx_internal;


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

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

 package mx.controls
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3756
Author:   gruehle@adobe.com
Date:     2008-10-20T21:38:18.681299Z

Log Message:
-----------
Adding placeholder icons for the Gumbo components that appear in the FB components panel. Where possible, these are simply copies of the Halo icons. There were some that didn't have a direct Halo counterpart, so the closest match was chosen.

QE Notes: None
Doc Notes: None
Bugs: SDK-17668
Reviewer: -

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/HGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.png</path>

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

--- frameworks/projects/spark/src/spark/components/VGroup.as
+++ frameworks/projects/spark/src/spark/components/VGroup.as
@@ -14,6 +14,8 @@
 import flash.events.Event;
 import mx.components.Group;
 import mx.layout.VerticalLayout;
+
+[IconFile("VGroup.png")]

 /**
  *  A Group with a VerticalLayout.


Transferred from the Adobe Open Source Subversion Repository

Revision: 5573
Author:   jimurphy@adobe.com
Date:     2009-03-26T15:11:59.159776Z

Log Message:
-----------
-more updated package and class names that were missed in the first pass
-remove the mx folder

qa: probably
doc: this updated more asdoc comments so you may want to make sure that this pass made the correct updates
checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/SetActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/IEaser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/DataGroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/pathSegments/PathSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxToggleButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/AnimationEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate3D.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/effects/supportClasses/WipeInstance.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/effects/AnimateTransformMove3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SetAction.as</path>

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

--- frameworks/projects/spark/src/spark/effects/SetAction.as
+++ frameworks/projects/spark/src/spark/effects/SetAction.as
@@ -45,7 +45,7 @@
  *  />
  *  </pre>
  *
- *  @see mx.effects.effectClasses.SetActionInstance
+ *  @see spark.effects.supportClasses.SetActionInstance
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


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

--- frameworks/projects/spark/src/spark/utils/FTETextUtil.as
+++ frameworks/projects/spark/src/spark/utils/FTETextUtil.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.utils
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 19572
Author:   sameer@adobe.com
Date:     2011-01-03T09:12:04.569388Z

Log Message:
-----------
headerStyleName does not work on AdvancedDataGrid/AdvancedDataGridColumn
QE notes: test headerStyleName
Doc notes: NA
Bugs: FLEXDMV-2489
Reviewer: Sreeni
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridColumn.as

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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridColumn.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridColumn.as
@@ -1540,8 +1540,7 @@
             {
                 if (headerStyleName is String)
                 {
-                    headerStyleName =
-                        owner.styleManager.getMergedStyleDeclaration(String(headerStyleName));
+                    chain = addStylesToProtoChain(String(headerStyleName), chain, target);
                 }

                 if (headerStyleName is CSSStyleDeclaration)
@@ -1553,8 +1552,7 @@
             {
                 if (headerStyleName is String)
                 {
-                    headerStyleName =
-                        owner.styleManager.getMergedStyleDeclaration(String(headerStyleName));
+                    chain = addStylesToProtoChain(String(headerStyleName), chain, target);
                 }

                 if (headerStyleName is CSSStyleDeclaration)
@@ -1862,6 +1860,26 @@
                 owner.systemManager);
         return fontContext != oldEmbeddedFontContext;
     }
+
+	/**
+	 *  @private
+	 */
+	private function addStylesToProtoChain(styles:String, chain:Object, target:DisplayObject):Object
+	{
+		var styleNames:Array = styles.split(/\s+/);
+		for (var c:int=0; c < styleNames.length; c++)
+		{
+			if (styleNames[c].length)
+			{
+				var declaration:CSSStyleDeclaration =
+					owner.styleManager.getMergedStyleDeclaration("." + styleNames[c]);
+
+				if (declaration)
+					chain = declaration.addStyleToProtoChain(chain, target);
+			}
+		}
+		return chain;
+	}

     /**
      *  @private


Fix bug when a callback was already listened

--- src/aerys/minko/scene/controller/debug/WireframeDebugController.as
+++ src/aerys/minko/scene/controller/debug/WireframeDebugController.as
@@ -86,7 +86,9 @@
 			lines.visible 	= _visible;
 			_targetToWireframe[target] = lines;

-			target.localToWorldTransformChanged.add(updateTransform);
+			if (!target.localToWorldTransformChanged.hasCallback(updateTransform))
+				target.localToWorldTransformChanged.add(updateTransform);
+
 			updateTransform(target, target.getLocalToWorldTransform());
 			target.scene.addChild(lines);
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 7836
Author:   chaase@adobe.com
Date:     2009-06-15T14:37:21.379918Z

Log Message:
-----------
PARB changes for effects. This includes various property renames, a couple of class renames, moving 3 classes to a sub-package, and various doc cleanups. This also includes changing a handful of Array properties to typed Vectors.

QE: This breaks Mustella due to the renames
Doc: Docs will need to be updated to reflect the changes as well
Bugs: None
Reviewer: Jason
Tests: checkintests, Thermo's transitionbug test

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EasingFraction.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/KeyFrame.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/RGBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/RepeatBehavior.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as</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="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/IInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/CallActionInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as" copyfrom-rev="7748" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/HSBColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.pbk</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/WipeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as
@@ -20,25 +20,31 @@

 import mx.containers.Panel;
 import mx.core.Application;
+import mx.core.IUIComponent;
 import mx.core.UIComponent;
-
-import spark.effects.AnimateShaderTransition;
-import spark.effects.SimpleMotionPath;
+import mx.resources.IResourceManager;
+import mx.resources.ResourceManager;
+
+import spark.effects.AnimateTransitionShader;
 import spark.effects.animation.Animation;
+import spark.effects.animation.MotionPath;
+import spark.effects.animation.SimpleMotionPath;
+import spark.primitives.supportClasses.GraphicElement;
+import spark.utils.BitmapUtil;

 /**
- *  The AnimateShaderTransitionInstance class implements the instance class for the
- *  AnimateShaderTransition effect. Flex creates an instance of this class when
- *  it plays a AnimateShaderTransition effect; you do not create one yourself.
+ *  The AnimateTransitionShaderInstance class implements the instance class for the
+ *  AnimateTransitionShader effect. Flex creates an instance of this class when
+ *  it plays a AnimateTransitionShader effect; you do not create one yourself.
  *
- *  @see spark.effects.AnimateShaderTransition
+ *  @see spark.effects.AnimateTransitionShader
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public class AnimateShaderTransitionInstance extends AnimateInstance
+public class AnimateTransitionShaderInstance extends AnimateInstance
 {
     include "../../core/Version.as";

@@ -52,15 +58,51 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function AnimateShaderTransitionInstance(target:Object)
+    public function AnimateTransitionShaderInstance(target:Object)
     {
         super(target);
         // Automatically keep disappearing targets around during this effect
         autoRemoveTarget = true;
     }

-    /**
-     *  @copy spark.effects.AnimateShaderTransition#bitmapFrom
+    //--------------------------------------------------------------------------
+    //
+    //  Class variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Storage for the resourceManager getter.
+     *  This gets initialized on first access,
+     *  not at static initialization time, in order to ensure
+     *  that the Singleton registry has already been initialized.
+     */
+    private static var _resourceManager:IResourceManager;
+
+    /**
+     *  @private
+     *  A reference to the object which manages
+     *  all of the application's localized resources.
+     *  This is a singleton instance which implements
+     *  the IResourceManager interface.
+     */
+    private static function get resourceManager():IResourceManager
+    {
+        if (!_resourceManager)
+            _resourceManager = ResourceManager.getInstance();
+
+        return _resourceManager;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @copy spark.effects.AnimateTransitionShader#bitmapFrom
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -70,7 +112,7 @@
     public var bitmapFrom:BitmapData;

     /**
-     *  @copy spark.effects.AnimateShaderTransition#bitmapTo
+     *  @copy spark.effects.AnimateTransitionShader#bitmapTo
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -80,17 +122,17 @@
     public var bitmapTo:BitmapData;

     /**
-     *  @copy spark.effects.AnimateShaderTransition#shaderCode
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public var shaderCode:ByteArray;
-
-    /**
-     *  @copy spark.effects.AnimateShaderTransition#shaderProperties
+     *  @copy spark.effects.AnimateTransitionShader#shaderByteCode
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var shaderByteCode:ByteArray;
+
+    /**
+     *  @copy spark.effects.AnimateTransitionShader#shaderProperties
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -100,7 +142,7 @@
     public var shaderProperties:Object;

     /**
-     * The Shader that is created using the shaderCode
+     * The Shader that is created using the shaderByteCode
      * property as the underlying byte code. Each instance needs its
      * own separate Shader, but can share the byte code. When each instance
      * is played, create the Shader that the instance uses.
@@ -182,9 +224,9 @@
         // Last-ditch effort - if we don't have bitmaps yet, then just grab a
         // snapshot of the current target
         if (!bitmapFrom)
-            bitmapFrom = AnimateShaderTransition.getSnapshot(target);
+            bitmapFrom = getSnapshot(target);
         if (!bitmapTo)
-            bitmapTo = AnimateShaderTransition.getSnapshot(target);
+            bitmapTo = getSnapshot(target);

         // Fix up the visibility if it's becoming visible
         if (propertyChanges &&
@@ -193,15 +235,15 @@
         {
             target.visible = true;
         }
-        shader = new Shader(shaderCode);
+        shader = new Shader(shaderByteCode);
         if (shader.data)
         {
             shader.data.from.input = bitmapFrom;
             shader.data.to.input = bitmapTo;

-            motionPaths = [
-                new SimpleMotionPath("progress", 0, 1, duration)
-            ];
+            motionPaths = new <MotionPath>[
+                new SimpleMotionPath("progress", 0, 1, duration)];
+
             // auto-set width/height if exposed in shader
             if ("width" in shader.data)
                 shader.data.width.value = [bitmapFrom.width];
@@ -223,6 +265,14 @@
         super.play();
     }

+    private function getSnapshot(target:Object):BitmapData
+    {
+        if (target is GraphicElement)
+            return GraphicElement(target).getBitmapData(true, 0, false);
+        else if (!(target is IUIComponent))
+            throw new Error(resourceManager.getString("sparkEffects", "cannotOperateOn"));
+        return BitmapUtil.getSnapshot(IUIComponent(target));
+    }
     /**
      * Unlike Animate's setValue we assign the new value to the filter
      * associated with our effect instance rather than the target of


the old pattern was causing the 'this' pointer to be wrong in JS in the call to getValue.  Not sure why

--- frameworks/projects/Mobile/asjs/src/org/apache/flex/mobile/View.as
+++ frameworks/projects/Mobile/asjs/src/org/apache/flex/mobile/View.as
@@ -61,12 +61,24 @@
 		}

 		private var _controller:IBeadController;
+
+        /**
+         *  Get the controller for the view.
+         *
+         *  @flexjsignorecoercion Class
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
 		public function get controller():IBeadController
 		{
 			if (_controller == null) {
 				_controller = getBeadByType(IBeadController) as IBeadController;
 				if (_controller == null) {
-					_controller = new (ValuesManager.valuesImpl.getValue(this, "iBeadController")) as IBeadController;
+                    var c:Class = ValuesManager.valuesImpl.getValue(this, "iBeadController") as Class;
+					_controller = new c() as IBeadController;
 					addBead(_controller);
 				}
 			}


Transferred from the Adobe Open Source Subversion Repository

Revision: 16670
Author:   deeptika@adobe.com
Date:     2010-06-25T08:08:02.259649Z

Log Message:
-----------
Automation support for spark Form and Image.

QE notes: Yes. Need SDK-26784 to be fixed
Doc notes:
Bugs:
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkFormAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/manifest_automation_spark.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/AutomationSparkClasses.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkFormItemAutomationImpl.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkImageAutomationImpl.as</path>

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

--- frameworks/projects/automation_spark/src/AutomationSparkClasses.as
+++ frameworks/projects/automation_spark/src/AutomationSparkClasses.as
@@ -29,7 +29,10 @@
 		import spark.automation.delegates.components.SparkComboBoxAutomationImpl;SparkComboBoxAutomationImpl;
 		import spark.automation.delegates.components.SparkDataGroupAutomationImpl;SparkDataGroupAutomationImpl;
 		import spark.automation.delegates.components.SparkDropDownListAutomationImpl;SparkDropDownListAutomationImpl;
+		import spark.automation.delegates.components.SparkFormAutomationImpl;SparkFormAutomationImpl;
+		import spark.automation.delegates.components.SparkFormItemAutomationImpl;SparkFormItemAutomationImpl;
 		import spark.automation.delegates.components.SparkGroupAutomationImpl;SparkGroupAutomationImpl;
+		import spark.automation.delegates.components.SparkImageAutomationImpl;SparkImageAutomationImpl;
 		import spark.automation.delegates.components.SparkLabelAutomationImpl;SparkLabelAutomationImpl;
 		import spark.automation.delegates.components.SparkListAutomationImpl;SparkListAutomationImpl;
 		import spark.automation.delegates.components.SparkNavigatorContentAutomationImpl;SparkNavigatorContentAutomationImpl;


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

--- frameworks/projects/framework/src/mx/core/ResourceModuleRSLItem.as
+++ frameworks/projects/framework/src/mx/core/ResourceModuleRSLItem.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6127
Author:   aharui@adobe.com
Date:     2009-04-10T15:24:44.711126Z

Log Message:
-----------
EmbeddedFonts in Modules for TLF.

Requires build 411 of TLF (to be checked in next)

QE Notes: None
Doc Notes: Yes.  New API on DownloadProgressBar
Bugs:
Reviewer: gordon
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -38,11 +38,14 @@
 import flash.system.Capabilities;
 import flash.text.Font;
 import flash.text.TextFormat;
+import flash.text.engine.TextBlock;
+import flash.text.engine.TextLine;
 import flash.ui.Keyboard;
 import flash.utils.ByteArray;
 import flash.utils.Dictionary;
 import flash.utils.Timer;
 import flash.utils.getQualifiedClassName;
+import flashx.textLayout.elements.ITextLineCreator;

 import mx.core.EmbeddedFontRegistry;
 import mx.core.EventPriority;
@@ -191,7 +194,7 @@
  */
 public class SystemManager extends MovieClip
                            implements IChildList, IFlexDisplayObject,
-                           IFlexModuleFactory, ISystemManager, ISWFBridgeProvider
+                           IFlexModuleFactory, ISystemManager, ISWFBridgeProvider, ITextLineCreator
 {
     include "../core/Version.as";

@@ -1914,6 +1917,28 @@
             }
         }
         return false;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods: ITextLineCreator
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+	 *  Implementation of ITextLineCreator.createTextLine
+   	 */
+    public function createTextLine(textBlock:TextBlock, previousLine:TextLine=null, width:Number=1000000, lineOffset:Number=0.0, fitSomething:Boolean=false):TextLine
+    {
+	    return textBlock.createTextLine(previousLine, width, lineOffset, fitSomething);
+    }
+
+  	/**
+	 *  Implementation of ITextLineCreator.recreateTextLine
+   	 */
+    public function recreateTextLine(textBlock:TextBlock, textLine:TextLine, previousLine:TextLine=null, width:Number=1000000, lineOffset:Number=0.0, fitSomething:Boolean=false):TextLine
+    {
+	    return textBlock["recreateTextLine"] ? textBlock["recreateTextLine"](textLine, previousLine, width, lineOffset, fitSomething) : null;
     }

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


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

--- frameworks/projects/spark/src/spark/layouts/HorizontalAlign.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalAlign.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.layouts
 {


fix exception on entryReadsy

fix exception on entryReadsy

--- kdp3Lib/src/com/kaltura/kdpfl/view/media/KMediaPlayer.as
+++ kdp3Lib/src/com/kaltura/kdpfl/view/media/KMediaPlayer.as
@@ -217,9 +217,10 @@
 				_thumbnail.alpha = 1;

 			//if the thumbnail is not the last child, it won't be shown
-			if (numChildren && getChildAt(numChildren-1)!=_thumbnail)
-			{
-				removeChild(_thumbnail);
+			if (numChildren && getChildAt(numChildren-1)!=_thumbnail && _thumbnail)
+			{
+				if (_thumbnail.parent)
+					removeChild(_thumbnail);
 				addChild(_thumbnail);
 			}
 		}


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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/SWFLoaderAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/SWFLoaderAutomationImpl.as
@@ -0,0 +1,350 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.automation.delegates.controls
+{
+	import flash.display.DisplayObject;
+	import flash.events.Event;
+	import flash.events.IOErrorEvent;
+	import flash.events.KeyboardEvent;
+	import flash.events.SecurityErrorEvent;
+	import flash.net.URLRequest;
+
+	import mx.automation.Automation;
+	import mx.automation.IAutomationObject;
+	import mx.automation.IAutomationObjectHelper;
+	import mx.automation.delegates.core.UIComponentAutomationImpl;
+	import mx.controls.Image;
+	import mx.controls.SWFLoader;
+	import mx.core.ISWFBridgeProvider;
+	import mx.core.mx_internal;
+	import mx.events.FlexEvent;
+	import mx.managers.ISystemManager;
+	import mx.utils.SecurityUtil;
+
+	use namespace mx_internal;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines methods and properties required to perform instrumentation for the
+	 *  SWFLoader control.
+	 *
+	 *  @see mx.controls.SWFLoader
+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public class SWFLoaderAutomationImpl extends UIComponentAutomationImpl
+	{
+		include "../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(SWFLoader, SWFLoaderAutomationImpl);
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Constructor
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Constructor.
+		 * @param obj SWFLoader object to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function SWFLoaderAutomationImpl(obj:SWFLoader)
+		{
+			super(obj);
+			// we use this class for both Image and SWFLoder. we dont need the
+			// recordClick and it causes some issue with Marshalling. hence let us add
+			// it only for image. On long term let us better have another delegate for the
+			// image. till then
+			if (obj is Image)
+				recordClick = true;
+
+			obj.addEventListener(Event.OPEN, openEventHandler, false, 0, true);
+		}
+
+		/**
+		 *  @private
+		 */
+		override protected function keyDownHandler(event:KeyboardEvent):void
+		{
+			// we dont want to record keydown operations on SWFLoader
+			return;
+		}
+
+		/**
+		 *  @private
+		 *  storage for the owner component
+		 */
+		protected function get loader():SWFLoader
+		{
+			return uiComponent as SWFLoader;
+		}
+
+		private var loadingComplete:Boolean = true;
+
+		//----------------------------------
+		//  automationName
+		//----------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function get automationName():String
+		{
+			//        if (toolTip)
+			//            return toolTip;
+
+			if (loader.source is String)
+				return String(loader.source);
+			if (loader.source is URLRequest)
+				return URLRequest(loader.source).url;
+
+			return super.automationName;
+		}
+
+		//----------------------------------
+		//  automationValue
+		//----------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function get automationValue():Array
+		{
+			//        if (toolTip)
+			//            return [ toolTip ];
+
+			if (loader.source is String)
+				return [ String(loader.source) ];
+
+			if (loader.source is URLRequest)
+				return [ URLRequest(loader.source).url ];
+
+			return null;
+		}
+
+		//----------------------------------
+		//  automationChild
+		//----------------------------------
+
+		/**
+		 *  @private
+		 */
+		private function get automationChild():IAutomationObject
+		{
+			try
+			{
+				if( loader.content && loader.content is ISystemManager )
+				{
+					return ((ISystemManager(loader.content)).document)  as IAutomationObject;
+				}
+				return null;
+			}
+			catch (e:Error)
+			{
+				//most likely a security error
+				trace("get content failed: " + e.message);
+			}
+			return null;
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function createAutomationIDPart(
+			child:IAutomationObject):Object
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			if (!help)
+				return null;
+
+			var that:IAutomationObject = uiAutomationObject;
+
+			return help.helpCreateIDPart(uiAutomationObject, child,
+				function(item:IAutomationObject):String
+				{
+					var ao:IAutomationObject = loader.owner as IAutomationObject;
+					return ao.createAutomationIDPart(that).automationName;
+				});
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			if (!help)
+				return null;
+
+			var that:IAutomationObject = uiAutomationObject;
+
+			return help.helpCreateIDPartWithRequiredProperties(uiAutomationObject, child,properties,
+				function(item:IAutomationObject):String
+				{
+					var ao:IAutomationObject = loader.owner as IAutomationObject;
+					return ao.createAutomationIDPart(that).automationName;
+				});
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function resolveAutomationIDPart(part:Object):Array
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			return help ? help.helpResolveIDPart(uiAutomationObject, part) : null;
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function getAutomationChildAt(index:int):IAutomationObject
+		{
+			// SWFLoader can have only child
+			return automationChild;
+		}
+
+
+
+		/**
+		 * @private
+		 */
+		override public function getAutomationChildren():Array
+		{
+			// SWFLoader can have only child
+			return [automationChild];
+
+		}
+
+		//----------------------------------
+		//  numAutomationChildren
+		//----------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function get numAutomationChildren():int
+		{
+			return automationChild != null ? 1 : 0;
+		}
+
+		/**
+		 *  @private
+		 */
+		private function openEventHandler(event:Event):void
+		{
+			loadingComplete = false;
+
+			loader.addEventListener(Event.COMPLETE, completeEventHandler, false, 0, true);
+			loader.addEventListener(IOErrorEvent.IO_ERROR, errorEventHandler, false, 0, true);
+			loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, errorEventHandler, false, 0, true);
+
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			help.addSynchronization(function():Boolean
+			{
+				return loadingComplete;
+			});
+
+		}
+
+		/**
+		 *  @private
+		 */
+		private function removeListeners():void
+		{
+			loader.removeEventListener(Event.COMPLETE, completeEventHandler);
+			loader.removeEventListener(IOErrorEvent.IO_ERROR, errorEventHandler);
+			loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, errorEventHandler);
+		}
+
+		/**
+		 *  @private
+		 */
+		private function errorEventHandler(event:Event):void
+		{
+			loadingComplete = true ;
+			removeListeners();
+		}
+
+		/**
+		 *  @private
+		 */
+		private function completeEventHandler(event:Event):void
+		{
+			//if the parent and child are not in mutually trusted domain
+			//loader.content cannot be accessed. So we simply load the
+			//swf in that case
+			if (!SecurityUtil.hasMutualTrustBetweenParentAndChild(loader as ISWFBridgeProvider))
+			{
+				// we are done loading the swf
+				loadingComplete = true ;
+				removeListeners();
+				return;
+			}
+			// if the loaded content is an app wait for application complete
+			// event to get fired.
+			if (loader && loader.content && loader.content is ISystemManager)
+			{
+				var sm:ISystemManager = loader.content as ISystemManager;
+				sm.addEventListener(FlexEvent.APPLICATION_COMPLETE, appCompleteHandler);
+			}
+			else
+			{
+				// we are done loading the swf
+				loadingComplete = true ;
+			}
+			removeListeners();
+		}
+
+		/**
+		 *  @private
+		 */
+		private function appCompleteHandler(event:Event):void
+		{
+			//application is initialized
+			loadingComplete = true ;
+
+			var sm:ISystemManager = loader.content as ISystemManager;
+			sm.removeEventListener(FlexEvent.APPLICATION_COMPLETE, appCompleteHandler);
+		}
+
+	}
+}


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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableStageText.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableStageText.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2011 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.
 //
 ////////////////////////////////////////////////////////////////////////////////


now drawing an alpha = 0 rectangle in Viewport.graphics to make it possible to catch mouse events

--- src/aerys/minko/render/Viewport.as
+++ src/aerys/minko/render/Viewport.as
@@ -299,6 +299,10 @@
 				0,
 				_backgroundColor
 			);
+
+			graphics.clear();
+			graphics.beginFill(0, 0);
+			graphics.drawRect(0, 0, _width, _height);
 		}

 		private function updateStage3D() : void


Transferred from the Adobe Open Source Subversion Repository

Revision: 3005
Author:   chaase@adobe.com
Date:     2008-08-26T20:00:02.963840Z

Log Message:
-----------
Fix for SDK16436. We now set and document default values in the Blur and Glow effect factories, instead of hiding those defaults in the instance classes.

Reviewed by Gordon
test: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/BlurInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Blur.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/GlowInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>

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

--- frameworks/projects/mx/src/mx/effects/effectClasses/GlowInstance.as
+++ frameworks/projects/mx/src/mx/effects/effectClasses/GlowInstance.as
@@ -14,7 +14,6 @@

 import flash.events.Event;
 import flash.filters.GlowFilter;
-import mx.core.Application;
 import mx.core.mx_internal;
 import mx.styles.StyleManager;

@@ -193,24 +192,6 @@
 		// Dispatch an effectStart event from the target.
 		super.play();

-		// If nobody assigned a value, give some defaults
-		if (isNaN(alphaFrom))
-			alphaFrom = 1.0;
-		if (isNaN(alphaTo))
-			alphaTo = 0;
-		if (isNaN(blurXFrom))
-			blurXFrom = 5;
-		if (isNaN(blurXTo))
-			blurXTo = 0;
-		if (isNaN(blurYFrom))
-			blurYFrom = 5;
-		if (isNaN(blurYTo))
-			blurYTo = 0;
-		if (color == StyleManager.NOT_A_COLOR)
-			color = Application.application.getStyle("themeColor");
-		if (isNaN(strength))
-			strength = 2;
-
 		tween = createTween(
 			this, [ color, alphaFrom, blurXFrom, blurYFrom ],
 			[ color, alphaTo, blurXTo, blurYTo ], duration);


OFC-340 In multiple entity form (rendering as table), the dropdown list for selecting the entity doesn't show the label when there is no key attribute

--- collect-flex/collect-flex-client/src/generated/flex/org/openforis/collect/model/proxy/EntityProxy.as
+++ collect-flex/collect-flex-client/src/generated/flex/org/openforis/collect/model/proxy/EntityProxy.as
@@ -169,29 +169,26 @@
 		}

 		public function updateKeyText():void {
-			var result:String = null;
+			var result:String = "";
 			if(_definition != null) {
 				var keyDefs:IList = _definition.keyAttributeDefinitions;
-				var keyParts:Array = new Array();
-				for each (var def:AttributeDefinitionProxy in keyDefs) {
-					var key:AttributeProxy = getSingleAttribute(def.name);
-					if(key != null) {
-						var keyPart:String = getKeyLabelPart(def, key);
-						if(StringUtil.isNotBlank(keyPart)) {
-							keyParts.push(keyPart);
+				if(keyDefs.length > 0) {
+					var keyParts:Array = new Array();
+					for each (var def:AttributeDefinitionProxy in keyDefs) {
+						var key:AttributeProxy = getSingleAttribute(def.name);
+						if(key != null) {
+							var keyPart:String = getKeyLabelPart(def, key);
+							if(StringUtil.isNotBlank(keyPart)) {
+								keyParts.push(keyPart);
+							}
 						}
 					}
-				}
-				if(keyParts.length > 0) {
 					result = StringUtil.concat(KEY_LABEL_SEPARATOR, keyParts);
-				}
-			}
-			if(result == null && parent != null) {
-				var siblings:IList = parent.getChildren(name);
-				var itemIndex:int = siblings.getItemIndex(this);
-				result = String(itemIndex + 1);
-			} else {
-				result = "";
+				} else if(parent != null) {
+					var siblings:IList = parent.getChildren(name);
+					var itemIndex:int = siblings.getItemIndex(this);
+					result = String(itemIndex + 1);
+				}
 			}
 			keyText = result;
 		}


testing for line intersections... this works in at least a reasonably trivial case - it will
receive more extensive testing shortly

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

--- src/as/com/threerings/util/Line.as
+++ src/as/com/threerings/util/Line.as
@@ -22,12 +22,17 @@
 package com.threerings.util {

 import flash.geom.Point;
+import flash.geom.Matrix;

 /**
  * Merely a typed container for two Points.
  */
 public class Line
 {
+    public static const INTERSECTION_NORTH :int = 1;
+    public static const INTERSECTION_SOUTH :int = 2;
+    public static const DOES_NOT_INTERSECT :int = 3;
+
     public var start :Point;
     public var stop :Point;

@@ -36,5 +41,44 @@
         this.start = start;
         this.stop = stop;
     }
+
+    /**
+     * Tests if the given line intersects this line.  If thats all you need to know, testing for
+     * intersects() != DOES_NOT_INTERSECT is enough.  This method rotates both lines so that the
+     * start point is on the left.  If the lines do intersect, it then returns INTERSECTION_NORTH
+     * if the end point of line is north of this line, INTERSECTION_SOUTH otherwise.
+     *
+     * Intersections are inclusive.  If one or both points lands on this line, interects will not
+     * return DOES_NOT_INTERSECT.
+     */
+    public function intersects (line :Line) :int
+    {
+        // rotate so that this line is horizontal, with the start on the left, at (0, 0)
+        var trans :Matrix = new Matrix();
+        trans.translate(-start.x, -start.y);
+        trans.rotate(-Math.atan2(stop.y - start.y, stop.x - start.x));
+        var thisLineStop :Point = trans.transformPoint(stop);
+        var thatLineStart :Point = trans.transformPoint(line.start);
+        var thatLineStop :Point = trans.transformPoint(line.stop);
+        if (thatLineStart.y >= 0 && thatLineStop.y <= 0) {
+            var interp :Point = Point.interpolate(thatLineStart, thatLineStop, thatLineStop.y /
+                (thatLineStop.y + (-thatLineStart.y)));
+            if (interp.x >= 0 && interp.x <= thisLineStop.x) {
+                return INTERSECTION_NORTH;
+            } else {
+                return DOES_NOT_INTERSECT;
+            }
+        } else if (thatLineStart.y <= 0 && thatLineStop.y >= 0) {
+            interp = Point.interpolate(thatLineStop, thatLineStart, thatLineStart.y /
+                (thatLineStart.y + (-thatLineStop.y)));
+            if (interp.x >= 0 && interp.x <= thisLineStop.x) {
+                return INTERSECTION_SOUTH;
+            } else {
+                return DOES_NOT_INTERSECT;
+            }
+        } else {
+            return DOES_NOT_INTERSECT;
+        }
+    }
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17425
Author:   rfrishbe@adobe.com
Date:     2010-08-20T17:29:56.448841Z

Log Message:
-----------
Pretty basic refactoring for PARB (though it is a lot of files).  Renamed GestureCaptureEvent/GestureCaptureReason (these were previously TouchScrollEvent) to TouchInteractionEvent/TouchInteractionReason.  inputMode has been renamed to interactionMode and has a new enumeration class, mx.core.InteractionMode.

There's on non-PARB change that was made was in List and mobiletheme/defaults.css. I found a bug in that the item renderer wasn't highlighting on mousedown anymore. There were two issues at play. Firstly the touchDelay was set to 100 ms in the Scroller only, so I added it to List and added a FIXME comment to myself figuring out if the code in List should use scroller.getStyle("touchDelay") or itemRenderer.getStyle("touchDelay") instead of getStyle("touchDelay"). Also, I found out that the code doesn't deal with touchDelay=0 very well. Since we're planning on working on this code anyways (and possibly moving it in to ItemRenderer itself with a new downstate), I just put in a hack with a FIXME to handle this case for now.

QE notes: None
Doc notes: None
Bugs: -
Reviewer: Jason SJ, Chiedo
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/GestureCaptureEvent.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/InteractionMode.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/GestureCaptureReason.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.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/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/GestureCaptureEvent.as" copyfrom-rev="17393" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/TouchInteractionEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/GestureCaptureReason.as" copyfrom-rev="17393" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/TouchInteractionReason.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
+++ frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
@@ -14,6 +14,7 @@
 import mx.core.IFlexDisplayObject;
 import mx.core.IFlexModuleFactory;
 import mx.core.IVisualElement;
+import mx.core.InteractionMode;
 import mx.core.UIComponent;
 import mx.core.UITextField;
 import mx.core.mx_internal;
@@ -576,7 +577,7 @@

         super.styleChanged(styleName);

-        if (allStyles || styleName == "inputMode")
+        if (allStyles || styleName == "interactionMode")
         {
             addHandlers();
         }
@@ -773,7 +774,7 @@
      */
     private function addHandlers():void
     {
-        if (getStyle("inputMode") == "mouse")
+        if (getStyle("interactionMode") == InteractionMode.MOUSE)
         {
             if (!rolloverEventsAdded)
             {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8679
Author:   jimurphy@adobe.com
Date:     2009-07-20T13:23:31.007823Z

Log Message:
-----------
These are Asdoc edit from 3.x rev 8623.  I somehow missed committing these when they were supposed to be committed during my previous merge.

bug: no
qa: no
doc: no
checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.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/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Consumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/CallResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicConsumer.as</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/messaging/MessageResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ConfigMap.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureHTTPChannel.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/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/XMLLoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/IResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Producer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingAMFChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingAMFChannel.as
@@ -32,11 +32,11 @@
     //--------------------------------------------------------------------------

     /**
-     *  Creates an new SecureStreamingAMFChannel instance.
+     *  Constructor.
      *
-	 *  @param id The id of this Channel.
-	 *
-	 *  @param uri The uri for this Channel.
+     *  @param id The id of this Channel.
+     *
+     *  @param uri The uri for this Channel.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9


Turn off the debug printouts here since it was pretty spammy.

git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@991 ed5b42cb-e716-0410-a449-f6a68f950b19

--- src/as/com/threerings/miso/client/PrioritizedSceneLayoutRenderer.as
+++ src/as/com/threerings/miso/client/PrioritizedSceneLayoutRenderer.as
@@ -111,7 +111,7 @@
             }
         }

-        trace("dependency scan time", getTimer() - startTime, "ms");
+        //trace("dependency scan time", getTimer() - startTime, "ms");

         // Set the childrens' depth, using dependency ordering
         for each (var obj:IsoDisplayObject in children) {
@@ -124,7 +124,7 @@
         _visited = null;
         _dependencies = null;

-        trace("scene layout render time", getTimer() - startTime, "ms (manual sort)");
+        //trace("scene layout render time", getTimer() - startTime, "ms (manual sort)");
     }

     /**


Add additional atlases as textures don't fit

--- src/main/as/flump/export/Packer.as
+++ src/main/as/flump/export/Packer.as
@@ -12,34 +12,34 @@

 public class Packer
 {
-    public static const BIN_SIZES :Vector.<int> = new <int>[8, 16, 32, 64, 128, 256, 512, 1024];
-
     public const atlases :Vector.<Atlas> = new Vector.<Atlas>();

     public function Packer (lib :XflLibrary) {
-        for each (var tex :XflTexture in lib.textures) {
-            _unpacked.push(new PackedTexture(tex, lib));
+        _lib = lib;
+        for each (var tex :XflTexture in _lib.textures) {
+            _unpacked.push(new PackedTexture(tex, _lib));
         }
         _unpacked.sort(Comparators.createReverse(Comparators.createFields(["a", "w", "h"])));
-        var minBin :int = findOptimalMinBin();
-        atlases.push(new Atlas(lib.location + "/atlas0", minBin, minBin));
-        while (_unpacked.length > 0) pack(_unpacked.shift());
+        while (_unpacked.length > 0) pack();
     }

-    protected function pack (tex :PackedTexture) :void {
+    protected function pack () :void {
+        const tex :PackedTexture = _unpacked[0];
+        if (tex.w > LARGEST_BIN || tex.h > LARGEST_BIN) throw new Error("Too large to fit in bin");
         for each (var atlas :Atlas in atlases) {
             for each (var bin :Rectangle in atlas.bins) {
                 if (tex.w <= bin.width && tex.h <= bin.height) {
-                    atlas.place(tex, bin, false);
+                    atlas.place(_unpacked.shift(), bin, false);
                     return;
                 } else if (tex.h <= bin.width && tex.w <= bin.height) {
-                    atlas.place(tex, bin, true);
+                    atlas.place(_unpacked.shift(), bin, true);
                     return;
                 }
             }
         }
-        // TODO - allocate another atlas
-        throw new Error("Doesn't fit " + tex);
+        var minBin :int = findOptimalMinBin();
+        atlases.push(new Atlas(_lib.location + "/atlas" + atlases.length, minBin, minBin));
+        pack();
     }

     protected function findOptimalMinBin () :int {
@@ -52,9 +52,14 @@
         for each (var size :int in BIN_SIZES) {
             if (size >= maxExtent && size * size >= area) return size;
         }
-        return BIN_SIZES[BIN_SIZES.length -1];
+        return LARGEST_BIN;
     }

     protected var _unpacked :Vector.<PackedTexture> = new Vector.<PackedTexture>();
+
+    protected var _lib :XflLibrary;
+
+    private static const BIN_SIZES :Vector.<int> = new <int>[8, 16, 32, 64, 128, 256, 512, 1024];
+    private static const LARGEST_BIN :int = BIN_SIZES[BIN_SIZES.length - 1];
 }
 }


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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/DateChooserAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/DateChooserAutomationImpl.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.automation.delegates.controls
 {


OFC-237 Use custom validation messages from IDML when specified

--- collect-flex/collect-flex-client/src/generated/flex/org/openforis/collect/model/proxy/AttributeProxy.as
+++ collect-flex/collect-flex-client/src/generated/flex/org/openforis/collect/model/proxy/AttributeProxy.as
@@ -45,8 +45,8 @@
 							default:
 								message = r.ruleName;
 						}
-						parts.push(message);
 					}
+					parts.push(message);
 				}
 				if(parts.length > 0) {
 					return StringUtil.concat(";\n", parts);


Transferred from the Adobe Open Source Subversion Repository

Revision: 3499
Author:   rfrishbe@adobe.com
Date:     2008-10-06T23:57:04.003486Z

Log Message:
-----------
Code cleanup:

1.  Remove IDisplayObjectElement and IAssignableDisplayObjectElement.  No one was actually using these interfaces...a few classes were implementing them though.

2.  Big ASDoc comment scrub for Group, DataGroup, and GroupBase.  Fixed some ASDoc in LayoutBase, IViewport, and ResizeMode.

3.  Spit and finish on Group.  No more variables or parameters typed as "*".  Got the content APIs in-line with Flash's DisplayObjectContainer, which means exceptions are now thrown where appropriate.

4.  Fixed a bug in DataGround where graphic items with item renderers had trouble in itemRemoved() (SDK-17175)

QE: Yes - Please revamp the excluded test cases to look for the new exceptions.
Doc: Yes
Bugs: SDK-17175
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/ResizeMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/GroupBase.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/IDisplayObjectElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ItemsComponent.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/IAssignableDisplayObjectElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/intf/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as
@@ -32,7 +32,7 @@
  *  The StrokedElement class is the base class for all graphic elements that
  *  have a stroke.
  */
-public class StrokedElement extends GraphicElement implements IDisplayObjectElement
+public class StrokedElement extends GraphicElement
 {
 	include "../core/Version.as";
 	//--------------------------------------------------------------------------


Transferred from the Adobe Open Source Subversion Repository

Revision: 18279
Author:   chiedozi@adobe.com
Date:     2010-10-21T21:54:20.944908Z

Log Message:
-----------
PARB changes
updatePropertiesForView was renamed updateControlsForView
exitApplicationOnBackKey is now mx_internal in ViewNavigator and MobileApplication classes

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as
@@ -122,6 +122,7 @@

     private var currentViewMenu:ViewMenu;
     private var lastFocus:InteractiveObject;
+
     //----------------------------------
     //  activeView
     //----------------------------------
@@ -313,13 +314,16 @@
     }

     /**
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    public function get exitApplicationOnBackKey():Boolean
+     *  @private
+     *  This property is used to determine whether the application should
+     *  exit when the back key is pressed.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    mx_internal function get exitApplicationOnBackKey():Boolean
     {
         return true;
     }