Transferred from the Adobe Open Source Subversion Repository

Revision: 6122
Author:   chaase@adobe.com
Date:     2009-04-10T14:30:17.762458Z

Log Message:
-----------
Various refactorings/renamings/changes from effects PARB review.

QE Notes: mx/effects and spark/effects currently broken (and disabled) due to these API changes. Matt is fixing.
Doc Notes: None
Bugs:
Reviewer: Hans
tests: checkintests, mustella tests/ListDataEffects

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOut.as" copyfrom-rev="5944" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOut.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EasingFraction.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/framework/src/mx/events/EffectEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.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/framework/src/mx/effects/effectClasses/TweenEffectInstance.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/Animate.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/RepeatBehavior.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/NumberArrayInterpolator.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/framework/src/mx/effects/IEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/Animate3DInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimationProperty.as" copyfrom-rev="5944" action="A">/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/supportClasses/AnimateShaderTransitionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateFilterInstance.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/supportClasses/Rotate3DInstance.as</path>
<path kind="file" action="D">/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/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RotateInstance.as</path>
<path kind="file" action="A">/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/supportClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimationProperty.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/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as
@@ -10,7 +10,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package spark.effects.supportClasses
 {
-import spark.effects.AnimationProperty;
+import spark.effects.SimpleMotionPath;

 public class MoveInstance extends AnimateInstance
 {
@@ -132,9 +132,9 @@
      */
     override public function play():void
     {
-        animationProperties =
-            [new AnimationProperty("x", xFrom, xTo, duration, xBy),
-             new AnimationProperty("y", yFrom, yTo, duration, yBy)];
+        motionPaths =
+            [new SimpleMotionPath("x", xFrom, xTo, duration, xBy),
+             new SimpleMotionPath("y", yFrom, yTo, duration, yBy)];

         // Also animate any position-related constraints that change between
         // transition states


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

--- frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as
+++ frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.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.events


Transferred from the Adobe Open Source Subversion Repository

Revision: 3237
Author:   hmuller@adobe.com
Date:     2008-09-16T22:57:19.486417Z

Log Message:
-----------
- Added HGroup and VGroup wrappers for Group+Horizontal,VerticalLayout.

- Removed the provisional support for specifying layout with a
classname string.  The type of the layout property in Group
and in ItemsComponent is now ILayout.

More about the rationale for this change here:
https://zerowing.corp.adobe.com/display/flex/Shorthand+MXML+syntax+for+object+values

Now, one must either use HGroup,VGroup or an explicit layout tag.
This change will affect most MXML files.  Upgrading is pretty easy.
For example, change

  <Group layout="flex.layout.VerticalLayout"/>

to this:

  <Group>
      <layout> <VerticalLayout/> </layout>
  </Group>

or this:

  <VGroup/>

The Panel and Application classes, whose default layout is BasicLayout,
have to be upgraded with an additional layout element, as in the
first example.

Substantially revised ScrollerSkin's measure and updateDisplayList
methods. The latter now calls invalidateSize (on itself!) if the
visibility of either scrollbar changes.  This causes the measure
method to compute new values for measuredWidth,Height based on the new
visibility state for the scrollbars.  When the scroll policy is "auto"
the Scroller's measured size includes space for the visible
scrollbars.

Note also: the logic for calling updateDisplayList and then restarting
the process if the component has become invalid is in
mx.managers.LayoutManager::validateDisplayList.

- Removed the protected Group invalidateSizeAndLayout() method.
It wasn't being used.

QE: This change will break many existing tests
Doc: No
Checkintests: Pass
Reviewer: Evtim
Bugs:
  SDK-16782 -  ScrollBars overlap content in Scroller

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/states/statefulNodes.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/AddItemsTest.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/layout/layout.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/RemoveItemsTest.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ItemsComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ItemsComponentSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/DefaultItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/states/statefulAttributes.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/flex4/flex4test.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SelectorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ScrollerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/flex4test.mxml</path>

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

--- frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as
+++ frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as
@@ -27,8 +27,11 @@
 			</fill>
 		</Rect>
 		<Group id="contentHolder" content="{data}"
-               left="0" right="0" top="0" bottom="0"
-               layout="flex.layout.HorizontalLayout" />
+               left="0" right="0" top="0" bottom="0">
+			<layout>
+				<HorizontalLayout/>
+			</layout>
+		</Group>
 	</content>

 </ItemRenderer>


Transferred from the Adobe Open Source Subversion Repository

Revision: 10897
Author:   dsubrama@adobe.com
Date:     2009-10-06T19:43:41.123452Z

Log Message:
-----------
Now that binding to getStyle() works, ItemRenderer does not need to expose selectionColor and rollOverColor as properties. The contentBackgroundColor property getter/setter needs to stay in since thats where the alternatingItemColor work happens there.

QE notes: Ella's updated the necessary tests - there's something weird with text align in some renderers but its not reproducible on my machine so she'll investigate further with a non-cyclone build.
Doc notes: Yes, please note the elimination of those two properties in ItemRenderer
Bugs: None
Reviewer: Evtim
Tests run: Ella ran List, DDL, BB, SkinnableDataContainer tests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultComplexItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.mxml</path>

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

--- frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as
+++ frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as
@@ -32,27 +32,27 @@
     <s:Rect left="0" right="0" top="0" bottom="0">
         <s:stroke.normalAndShowsCaret>
             <s:SolidColorStroke
-                color="{selectionColor}"
+                color="{getStyle('selectionColor')}"
                 weight="1"/>
         </s:stroke.normalAndShowsCaret>
         <s:stroke.hoveredAndShowsCaret>
             <s:SolidColorStroke
-                color="{selectionColor}"
+                color="{getStyle('selectionColor')}"
                 weight="1"/>
         </s:stroke.hoveredAndShowsCaret>
         <s:stroke.selectedAndShowsCaret>
             <s:SolidColorStroke
-                color="{selectionColor}"
+                color="{getStyle('selectionColor')}"
                 weight="1"/>
         </s:stroke.selectedAndShowsCaret>
         <s:fill>
             <s:SolidColor
             	color.normal="{contentBackgroundColor}"
                 color.normalAndShowsCaret="{contentBackgroundColor}"
-                color.hovered="{rollOverColor}"
-                color.hoveredAndShowsCaret="{rollOverColor}"
-            	color.selected="{selectionColor}"
-                color.selectedAndShowsCaret="{selectionColor}"
+                color.hovered="{getStyle('rollOverColor')}"
+                color.hoveredAndShowsCaret="{getStyle('rollOverColor')}"
+            	color.selected="{getStyle('selectionColor')}"
+                color.selectedAndShowsCaret="{getStyle('selectionColor')}"
             	/>
         </s:fill>
     </s:Rect>


Fixed stack gen crashes; added DEBUG_PRINTOUT

--- src/Testing/Tests/Test.as
+++ src/Testing/Tests/Test.as
@@ -72,13 +72,23 @@
 				} else {
 					var abstraction:InstructionAbstraction = genAbstraction(value, values, sidestack, instructionTypes);

+					var oldValues:Vector.<AbstractArg> = values.slice();
+					var oldStack:Vector.<AbstractArg> = sidestack.slice();
+					for each (var arg:AbstractArg in abstraction.getAbstractArgs())
+						if (!arg.immediate && !AbstractArg.argInVec(arg, values)) {
+							values.push(arg);
+							if (arg.inStack)
+								sidestack.push(arg);
+						}
+
 					if (AbstractArg.instructionsToSet(values) > NUM_REGISTERS) {
-						values.pop();
-						values.pop(); //assuming max 2 args, error condition can only occur if both are added, not prev. present; so safe to pop
+						values = oldValues;
+						sidestack = oldStack;
 						values.push(value);
 						log("Early termination due to register overflow");
 						break;
 					}
+

 					if (abstraction.writesToMemory)
 						saveTargets.push(new AbstractArg(abstraction.memoryValue, abstraction.memoryAddress));
@@ -91,7 +101,9 @@
 			while (sidestack.length) {
 				value = sidestack.pop();
 				instructions.push(makeInstruction(new PushAbstraction(value.value), registers));
-				values.push(new AbstractArg(value.value));
+				var pushedArg:AbstractArg = new AbstractArg(value.value);
+				if (!AbstractArg.argInVec(pushedArg, values))
+					values.push(pushedArg);
 			}

 			//cleanup other values to be initialized
@@ -269,13 +281,6 @@
 					throw new Error("!");
 			} else if (abstraction.value != value.value)
 				throw new Error("!!!");
-
-			for each (var arg:AbstractArg in abstraction.getAbstractArgs())
-				if (!arg.immediate && !AbstractArg.argInVec(arg, values)) {
-					values.push(arg);
-					if (arg.inStack)
-						sidestack.push(arg);
-				}

 			return abstraction;
 		}
@@ -488,10 +493,15 @@
 		}

-
+		protected var DEBUG_PRINTOUT:String;
 		protected function log(...args):void {
 			if (DEBUG.PRINT_TESTS)
 				C.log(args);
+			else {
+				if (!DEBUG_PRINTOUT)
+					DEBUG_PRINTOUT = '';
+				DEBUG_PRINTOUT += args.join(", ") + "\n";
+			}
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8023
Author:   aharui@adobe.com
Date:     2009-06-19T23:37:02.437061Z

Log Message:
-----------
Frame1 cleanup part 2 (final part AFAIK).  MarshallPLan (now MarshallingSupport) is now opt-in.  All SWFs using Marshalling must use -includes=mx.managers.systemClasses.MarshallingSupport on the command line.

QE Notes: None
Doc Notes: None
Bugs: N/A
Reviewer: Joan cyclone
tests: checkintests mustella/MarshallPlan

Modified Paths:
--------------
<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/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" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.as" copyfrom-rev="7988" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as</path>
<path kind="file" action="D">/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/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -56,7 +56,6 @@
 import mx.core.mx_internal;
 import mx.events.Request;
 import mx.events.DynamicEvent;
-import mx.events.EventListenerRequest;
 import mx.events.FlexEvent;
 import mx.events.ResizeEvent;
 import mx.preloaders.Preloader;
@@ -1360,9 +1359,17 @@
 											  priority:int = 0,
 											  useWeakReference:Boolean = false):void
 	{
-		if (!dispatchEvent(new EventListenerRequest(EventListenerRequest.ADD_EVENT_LISTENER_REQUEST, false, true,
-						type, listener, useCapture, priority, useWeakReference)))
-			return;
+        if (hasEventListener("addEventListener"))
+        {
+            var request:DynamicEvent = new DynamicEvent("addEventListener", false, true);
+            request.eventType = type;
+            request.listener = listener;
+            request.useCapture = useCapture;
+            request.priority = priority;
+            request.useWeakReference = useWeakReference;
+		    if (!dispatchEvent(request))
+			    return;
+        }

 		// These two events will dispatched to applications in sandboxes.
 		if (type == FlexEvent.RENDER || type == FlexEvent.ENTER_FRAME)
@@ -1423,9 +1430,15 @@
 	override public function removeEventListener(type:String, listener:Function,
 												 useCapture:Boolean = false):void
 	{
-		if (!dispatchEvent(new EventListenerRequest(EventListenerRequest.REMOVE_EVENT_LISTENER_REQUEST, false, true,
-						type, listener, useCapture)))
-			return;
+        if (hasEventListener("removeEventListener"))
+        {
+            var request:DynamicEvent = new DynamicEvent("removeEventListener", false, true);
+            request.eventType = type;
+            request.listener = listener;
+            request.useCapture = useCapture;
+		    if (!dispatchEvent(request))
+			    return;
+        }

 		// These two events will dispatched to applications in sandboxes.
 		if (type == FlexEvent.RENDER || type == FlexEvent.ENTER_FRAME)
@@ -2777,11 +2790,14 @@
         }
         catch (error:SecurityError)
         {
-            dispatchEvent(new Event("getScreen"));
-            if (_screen)
+            if (hasEventListener("getScreen"))
             {
-                w = _screen.width;
-                h = _screen.height;
+                dispatchEvent(new Event("getScreen"));
+                if (_screen)
+                {
+                    w = _screen.width;
+                    h = _screen.height;
+                }
             }
         }

@@ -3134,10 +3150,13 @@
      */
     public function getVisibleApplicationRect(bounds:Rectangle = null):Rectangle
     {
-		var request:Request = new Request("getVisibleApplicationRect", false, true);
-		if (!dispatchEvent(request))
-			return Rectangle(request.value);
-
+        if (hasEventListener("getVisibleApplicationRect"))
+        {
+		    var request:Request = new Request("getVisibleApplicationRect", false, true);
+		    if (!dispatchEvent(request))
+			    return Rectangle(request.value);
+        }
+
         if (!bounds)
         {
             bounds = getBounds(DisplayObject(this));
@@ -3164,9 +3183,12 @@
      */
     public function deployMouseShields(deploy:Boolean):void
     {
-		var dynamicEvent:DynamicEvent = new DynamicEvent("deployMouseShields");
-		dynamicEvent.deploy = deploy;
-		dispatchEvent(dynamicEvent);
+        if (hasEventListener("deployMouseShields"))
+        {
+		    var dynamicEvent:DynamicEvent = new DynamicEvent("deployMouseShields");
+		    dynamicEvent.deploy = deploy;
+		    dispatchEvent(dynamicEvent);
+        }
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12007
Author:   clucier@adobe.com
Date:     2009-11-19T20:45:27.738952Z

Log Message:
-----------
When the Internet Explorer browser window is obscured Stage.width and Stage.height never return the proper sizes until/unless the IE window is unobscured long enough for the player to feel it needs to render initially.  This was preventing our preloader from completing, since we were waiting for a non-0 Stage size.  Took a slightly different approach to solving the bug for which the original logic was added to work around.

QE notes: None
Doc notes: None
Bugs: SDK-24191
Reviewer: Alex, Evtim
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -2790,6 +2790,17 @@
                 _width = stage.stageWidth;
                 _height = stage.stageHeight;

+                // Detect and account for special case where our stage in some
+                // contexts has not actually been initialized fully, as is the
+                // case with IE if the window is fully obscured upon loading.
+                if (_width == 0 && _height == 0 &&
+                    loaderInfo.width != _width &&
+                    loaderInfo.height != _height)
+                {
+                    _width = loaderInfo.width;
+                    _height = loaderInfo.height;
+                }
+
                 IFlexDisplayObject(app).setActualSize(_width, _height);
             }
             else


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 12015
Author:   aharui@adobe.com
Date:     2009-11-19T22:34:02.934215Z

Log Message:
-----------
Fix truncation in Label.  Fix baselines in Spark in general.

QE Notes: SS updated tests based on Cyclone
Doc Notes: None
Bugs: SDK-23992, SDK-23462, SDK-23931, SDK-23913, SDK-23842, SDK-23082
Reviewer: Carol, Gordon
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/gumbo/components/Label, cyclone

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/TextUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8574
Author:   aharui@adobe.com
Date:     2009-07-15T05:33:44.225721Z

Log Message:
-----------
Bugs related to TLF and focus.  Also TLF Marshall Plan adjustments, and some IME fixes

QE Notes: None
Doc Notes: None
Bugs: SDK-21278, SDK-21686, SDK-21375, SDK-18516, SDK-15093, SDK-21335
Reviewer: darrell, carol
tests: checkintests mustella/gumbo mustella/components

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManagerComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IIMESupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditableTextContainerManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.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/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.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/framework/src/mx/controls/Label.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/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.as</path>

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

--- frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as
+++ frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as
@@ -13,6 +13,7 @@
 {

 import flash.display.FocusDirection;
+import flash.events.Event;
 import flash.html.HTMLLoader;
 import mx.managers.IFocusManagerComplexComponent
 import mx.utils.NameUtil;
@@ -134,8 +135,63 @@
     }

     //----------------------------------
-    //  mouseFocusEnabled
-    //----------------------------------
+    //  hasFocusableChildren
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the hasFocusableChildren property.
+     */
+    private var _hasFocusableChildren:Boolean = false;
+
+    [Bindable("hasFocusableChildrenChange")]
+    [Inspectable(defaultValue="true")]
+
+	/**
+	 *  A flag that indicates whether child objects can receive focus
+	 *
+	 *
This is similar to the tabChildren property
+     *  used by the Flash Player.
+	 *
+	 *
This is usually false because most components
+     *  either receive focus themselves or delegate focus to a single
+     *  internal sub-component and appear as if the component has
+     *  received focus.  For example, a TextInput contains a focusable
+     *  child RichEditableText control, but while the RichEditableText
+     *  sub-component actually receives focus, it appears as if the
+     *  TextInput has focus.  TextInput sets hasFocusableChildren
+     *  to false because TextInput is considered the
+     *  component that has focus.  Its internal structure is an
+     *  abstraction.

+     *
+	 *
Usually only navigator components like TabNavigator and
+     *  Accordion have this flag set to true because they
+     *  receive focus on Tab but focus goes to components in the child
+     *  containers on further Tabs

+	 *
+     *  @default false
+     *
+	 *  @langversion 4.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
+	 */
+    public function get hasFocusableChildren():Boolean
+    {
+        return _hasFocusableChildren;
+    }
+
+    /**
+     *  @private
+     */
+    public function set hasFocusableChildren(value:Boolean):void
+    {
+        if (value != _hasFocusableChildren)
+        {
+            _hasFocusableChildren = value;
+            dispatchEvent(new Event("hasFocusableChildrenChange"));
+        }
+    }

     //----------------------------------
     //  mouseFocusEnabled


Transferred from the Adobe Open Source Subversion Repository

Revision: 3504
Author:   egreenfi@adobe.com
Date:     2008-10-07T06:44:07.966309Z

Log Message:
-----------
New flag to allow a component to maintain a centered perspective transform, plus other minor transform cleanup.

setting the layout matrix or matrix3D now resets transform X/Y/Z to 0.

setting the component's x/y/z or calling move or setActualSize no longer blows away non-standard transforms (i.e., shear).

UIComponents can now maintain a centered perspective transform.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/Animate3DInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/Rotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animate3D.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/framework/src/mx/geom/CompoundTransform.as
+++ frameworks/projects/framework/src/mx/geom/CompoundTransform.as
@@ -55,9 +55,9 @@
 	private var _y:Number = 0;
 	private var _z:Number = 0;

-	mx_internal var transformX:Number = 0;
-	mx_internal var transformY:Number = 0;
-	mx_internal var transformZ:Number = 0;
+	private var _transformX:Number = 0;
+	private var _transformY:Number = 0;
+	private var _transformZ:Number = 0;

 	mx_internal var dispatchChangeEvents:Boolean = true;

@@ -152,8 +152,8 @@
 		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
 		if(value == _x)
 			return;
-		_x = value;
-		invalidate(INVALIDATE_FROM_PROPERTY,false);
+		translateBy(value-_x,0,0);
+		invalidate(0,false);
 	}
     /**
      * @private
@@ -172,8 +172,8 @@
 		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
 		if(value == _y)
 			return;
-		_y = value;
-		invalidate(INVALIDATE_FROM_PROPERTY,false);
+		translateBy(0,value-_y,0);
+		invalidate(0,false);
 	}

     /**
@@ -193,8 +193,8 @@
 		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
 		if(value == _z)
 			return;
-		_z = value;
-		invalidate(INVALIDATE_FROM_PROPERTY,true);
+		translateBy(0,0,value-_z);
+		invalidate(0,true);
 	}

     /**
@@ -351,6 +351,74 @@
 		return ((_flags & IS_3D) != 0);
 	}

+	//------------------------------------------------------------------------------
+	/**
+	 * @private
+	 * the transformX of the transform
+	 */
+	mx_internal function set transformX(value:Number):void
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		if(value == _transformX)
+			return;
+		_transformX = value;
+		invalidate(INVALIDATE_FROM_PROPERTY,true);
+	}
+
+    /**
+     * @private
+     */
+	mx_internal function get transformX():Number
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		return _transformX;
+	}
+
+	//------------------------------------------------------------------------------
+	/**
+	 * @private
+	 * the transformY of the transform
+	 */
+	mx_internal function set transformY(value:Number):void
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		if(value == _transformY)
+			return;
+		_transformY = value;
+		invalidate(INVALIDATE_FROM_PROPERTY,true);
+	}
+
+    /**
+     * @private
+     */
+	mx_internal function get transformY():Number
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		return _transformY;
+	}
+	//------------------------------------------------------------------------------
+	/**
+	 * @private
+	 * the transformZ of the transform
+	 */
+	mx_internal function set transformZ(value:Number):void
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		if(value == _transformZ)
+			return;
+		_transformZ = value;
+		invalidate(INVALIDATE_FROM_PROPERTY,true);
+	}
+
+    /**
+     * @private
+     */
+	mx_internal function get transformZ():Number
+	{
+		if ((_flags & PROPERTIES_VALID) == false) validatePropertiesFromMatrix();
+		return _transformZ;
+	}
+
 	//------------------------------------------------------------------------------

 	/**
@@ -416,8 +484,8 @@
 				case SOURCE_PROPERTIES:
 					matrixIs3D = ( // note that rotationZ is the same as rotation, and not a 3D affecting
 					  	_scaleZ != 1 ||  // property.
-					  	_rotationX != 0 ||
-					  	_rotationY != 0 ||
+					  	(Math.abs(_rotationX)%360) != 0 ||
+					  	(Math.abs(_rotationY)%360) != 0 ||
 					  	_z != 0
 					  	);
 					break;
@@ -436,6 +504,30 @@

 			_flags |= M3D_FLAGS_VALID;
 		}
+	}
+
+
+	private function translateBy(x:Number,y:Number,z:Number = 0):void
+	{
+		if(_flags & MATRIX_VALID)
+		{
+			_matrix.tx += x;
+			_matrix.ty += y;
+		}
+		if(_flags & PROPERTIES_VALID)
+		{
+			_x += x;
+			_y += y;
+			_z += z;
+		}
+		if(_flags & MATRIX3D_VALID)
+		{
+			var data:Vector.<Number> = _matrix3D.rawData;
+			data[12] += x;
+			data[13] += y;
+			data[14] += z;
+			_matrix3D.rawData = data;
+		}
 	}

@@ -458,7 +550,7 @@
 		else
 			m.identity();

-		AdvancedLayoutFeatures.build2DMatrix(m,transformX,transformY,
+		AdvancedLayoutFeatures.build2DMatrix(m,_transformX,_transformY,
 					  _scaleX,_scaleY,
 					  _rotationZ,
 					  _x,_y);
@@ -546,6 +638,7 @@
 	    	_scaleX = result[2].x;
 	    	_scaleY = result[2].y;
 	    	_scaleZ = result[2].z;
+	    	_transformX = _transformY = _transformZ = 0;
 	    }
 	    else if(sourceOfTruth == SOURCE_MATRIX)
 	    {
@@ -559,6 +652,7 @@
 	    	_scaleX = decomposition[3];
 	    	_scaleY = decomposition[4];
 	    	_scaleZ = 1;
+	    	_transformX = _transformY = _transformZ = 0;
 	    }
 	    _flags |= PROPERTIES_VALID;

@@ -584,7 +678,7 @@
 		else
 			m.identity();

-			AdvancedLayoutFeatures.build3DMatrix(m,transformX,transformY,transformZ,
+			AdvancedLayoutFeatures.build3DMatrix(m,_transformX,_transformY,_transformZ,
 					  _scaleX,_scaleY,_scaleZ,
 					  _rotationX,_rotationY,_rotationZ,
 					  _x,_y,_z);


Transferred from the Adobe Open Source Subversion Repository

Revision: 16783
Author:   aharui@adobe.com
Date:     2010-07-02T00:20:57.421013Z

Log Message:
-----------
check for null matrix and use identity matrix in that case

QE notes: none
Doc notes: none
Bugs: SDK-26014
Reviewer: Corey
Tests run: checkintests mustella/gumbo/layout3d
Is noteworthy for integration: no

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/geom/CompoundTransform.as

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

--- frameworks/projects/framework/src/mx/geom/CompoundTransform.as
+++ frameworks/projects/framework/src/mx/geom/CompoundTransform.as
@@ -749,8 +749,9 @@
 		}
 		else
 		{
-			_matrix3D.identity();
-			_matrix3D.append(v);
+			_matrix3D.identity();
+			if (v)
+				_matrix3D.append(v);
 		}
 		invalidate(INVALIDATE_FROM_MATRIX3D,true);
 	}


Transferred from the Adobe Open Source Subversion Repository

Revision: 19738
Author:   clucier@adobe.com
Date:     2011-01-12T22:29:12.864871Z

Log Message:
-----------
Fix 2.5D issues in mobile view transitions when dpi scaling is active.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Evtim
Tests run: Checkin, Cyclone Server
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/geom/CompoundTransform.as

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

--- frameworks/projects/framework/src/mx/geom/CompoundTransform.as
+++ frameworks/projects/framework/src/mx/geom/CompoundTransform.as
@@ -158,7 +158,7 @@
 		if (value == _x)
 			return;
 		translateBy(value-_x,0,0);
-		invalidate(INVALIDATE_FROM_NONE,false);
+		invalidate(INVALIDATE_FROM_PROPERTY,false);
 	}
     /**
      * @private
@@ -183,7 +183,7 @@
 		if (value == _y)
 			return;
 		translateBy(0,value-_y,0);
-		invalidate(INVALIDATE_FROM_NONE,false);
+		invalidate(INVALIDATE_FROM_PROPERTY,false);
 	}

     /**
@@ -209,7 +209,7 @@
 		if (value == _z)
 			return;
 		translateBy(0,0,value-_z);
-		invalidate(INVALIDATE_FROM_NONE,true);
+		invalidate(INVALIDATE_FROM_PROPERTY,true);
 	}

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 2462
Author:   jimurphy@adobe.com
Date:     2008-07-14T19:13:06.620116Z

Log Message:
-----------
gumbo push to trunk

Modified Paths:
--------------
214 paths were modified

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

--- frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -302,7 +302,7 @@
 			root.loaderInfo.addEventListener(Event.INIT, initHandler);

 	}
-
+

     /**
@@ -541,8 +541,8 @@
 				return _stage;
 			}
 		}
-
-		return null;
+
+		return null;
 	}

     //----------------------------------
@@ -1349,9 +1349,9 @@

 		super.addEventListener(type, listener, useCapture, priority, useWeakReference);
 	}
-
-	/**
-	 * @private
+
+	/**
+	 *  @private
 	 *
 	 * Test if this system manager has any sandbox bridges.
 	 *
@@ -1456,9 +1456,9 @@

 		return rawChildren_addChildAt(child, applicationIndex + index);
 	}
-
-	/**
-	 * @private
+
+	/**
+	 *  @private
 	 *
 	 * Used by SystemManagerProxy to add a mouse catcher as a child.
 	 */
@@ -2204,10 +2204,10 @@
 				else
 				{
 					var z:IFocusManagerContainer = IFocusManagerContainer(form);
-					// trace("OLW " + f + " deactivating old form " + z);
-					z.focusManager.deactivate();
-				}
+				// trace("OLW " + f + " deactivating old form " + z);
+				z.focusManager.deactivate();
 			}
+		}
 		}

 		form = f;
@@ -2224,7 +2224,7 @@
 		}

 		updateLastActiveForm();
-
+
 		// trace("END SM: activate " + f);
 	}

@@ -2254,8 +2254,8 @@
 				if (isRemotePopUp(form))
 					deactivateRemotePopUp(form);
 				else
-					form.focusManager.deactivate();
-
+				form.focusManager.deactivate();
+
 				form = findLastActiveForm(f);

 				// make sure we have a valid top level window.
@@ -2380,9 +2380,9 @@
 	private function findRemotePopUp(window:Object, bridge:IEventDispatcher):RemotePopUp
 	{
         // remove the placeholder from forms array
-		var n:int = forms.length;
-		for (var i:int = 0; i < n; i++)
-		{
+				var n:int = forms.length;
+				for (var i:int = 0; i < n; i++)
+				{
 			if (isRemotePopUp(forms[i]))
 			{
 				var popUp:RemotePopUp = RemotePopUp(forms[i]);
@@ -2401,7 +2401,7 @@
 	 * form Locally created remote form.
 	 */
 	private function removeRemotePopUp(form:RemotePopUp):void
-	{
+					{
 	    // remove popup from forms array
 		var n:int = forms.length;
 		for (var i:int = 0; i < n; i++)
@@ -2409,15 +2409,15 @@
 			if (isRemotePopUp(forms[i]))
 			{
 				if (forms[i].window == form.window)
-				{
+						{
 					if (forms[i] == form)
 						deactivateForm(form);
 					forms.splice(i, 1);
 					break;
 				}
 			}
-		}
-	}
+						}
+					}

 	/**
 	 * @private
@@ -2428,7 +2428,7 @@
 	 * @param form	a RemotePopUp object.
 	 * */
 	private function activateRemotePopUp(form:Object):void
-	{
+					{
 		var request:SandboxBridgeRequest = new SandboxBridgeRequest(SandboxBridgeRequest.ACTIVATE,
 																	false, false,
 																	form.bridge,
@@ -2436,7 +2436,7 @@
 		var bridge:Object = form.bridge;
 		if (bridge)
 			bridge.dispatchEvent(request);
-	}
+					}

 	private function deactivateRemotePopUp(form:Object):void
@@ -2448,7 +2448,7 @@
 		var bridge:Object = form.bridge;
 		if (bridge)
 			bridge.dispatchEvent(request);
-	}
+				}

 	/**
 	 * Test if two forms are equal.
@@ -2469,10 +2469,10 @@
 		{
 			return areRemotePopUpsEqual(form1, form2);
 		}
-
+
 		return false;
-	}
-
+	}
+
 	/**
 	 *  @inheritDoc
 	 */
@@ -2998,7 +2998,7 @@
 		// access to our parent.  Add a check for this case.
 		if (!parent && canAccessParent())
 			return;
-
+
 		if (!topLevel)
 		{
 			var obj:DisplayObjectContainer = parent.parent;
@@ -3030,10 +3030,10 @@
 		// the right focus manager before the components inside start
 		// processing the event
 		if (isTopLevelRoot() || getSandboxRoot() == this)
-			addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler, true);
-
+		addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler, true);
+
 		if (isTopLevelRoot() && stage)
-			stage.addEventListener(Event.RESIZE, Stage_resizeHandler, false, 0, true);
+		 	stage.addEventListener(Event.RESIZE, Stage_resizeHandler, false, 0, true);
 		else if (topLevel && stage)
 		{
 			// listen to resizes on the sandbox root
@@ -3058,19 +3058,19 @@
 				LoaderConfig._url = loaderInfo.url;
 				LoaderConfig._parameters = loaderInfo.parameters;
 			}
-
+
 			if (isStageRoot && stage)
 			{
 				// stageWidth/stageHeight may have changed between initialize() and now,
 				// so refresh our _width and _height here.
 				_width = stage.stageWidth;
 				_height = stage.stageHeight;
-
+
 				IFlexDisplayObject(app).setActualSize(_width, _height);
 			}
 			else
 				IFlexDisplayObject(app).setActualSize(loaderInfo.width, loaderInfo.height);
-
+
 			// Wait for the app to finish its initialization sequence
 			// before doing an addChild().
 			// Otherwise, the measurement/layout code will cause the
@@ -3150,7 +3150,7 @@
         }

 		var x:Number = (m - w) / 2;
-        var y:Number = (n - h) / 2;
+		var y:Number = (n - h) / 2;

 		// TODODJL: if not stage root defaulting to top,left.
 		var align:String = isStageRoot ? stage.align : StageAlign.TOP_LEFT;
@@ -3246,7 +3246,9 @@
 			{
 				var n:int = forms.length;
 				var p:DisplayObject = DisplayObject(event.target);
-				var isApplication:Boolean = document.rawChildren.contains(p);
+				var isApplication:Boolean = document is IRawChildrenContainer ?
+											IRawChildrenContainer(document).rawChildren.contains(p) :
+											document.children.contains(p);
 				while (p)
 				{
 					for (var i:int = 0; i < n; i++)
@@ -3263,7 +3265,7 @@
 							    (!isTopLevelRoot() && p == form))
 							{
 								if (isTopLevelRoot())
-									activate(IFocusManagerContainer(p));
+								activate(IFocusManagerContainer(p));

 								if (p == document)
 									fireActivatedApplicationEvent();
@@ -3340,7 +3342,7 @@

 		return index;
 	}
-
+
 	/**
 	 *  @private
 	 *  Track mouse moves in order to determine idle
@@ -4876,8 +4878,8 @@
 		this.id = id;
 		this.bridge = bridge;
 		this.data = data;
-	}
-
+}
+
 	public var id:String;				// id of string at this node in the display list
 	public var bridge:IEventDispatcher; // bridge to next child application
 	public var data:Object;				// either a popup or a bridge to the next application


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

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

--- frameworks/projects/mx/src/mx/core/ContainerRawChildrenList.as
+++ frameworks/projects/mx/src/mx/core/ContainerRawChildrenList.as
@@ -0,0 +1,217 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.core
+{
+
+import flash.display.DisplayObject;
+import flash.geom.Point;
+
+[ExcludeClass]
+
+/**
+ *  @private
+ *  Helper class for the rawChildren property of the Container class.
+ *  For descriptions of the properties and methods,
+ *  see the IChildList interface.
+ *
+ *  @see mx.core.Container
+ */
+public class ContainerRawChildrenList implements IChildList
+{
+	include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Notes
+	//
+	//--------------------------------------------------------------------------
+
+	/*
+
+		Although at the level of a Flash DisplayObjectContainer, all
+		children are equal, in a Flex Container some children are "more
+		equal than others". (George Orwell, "Animal Farm")
+
+		In particular, Flex distinguishes between content children and
+		non-content (or "chrome") children. Content children are the kind
+		that can be specified in MXML. If you put several controls
+		into a VBox, those are its content children. Non-content children
+		are the other ones that you get automatically, such as a
+		background/border, scrollbars, the titlebar of a Panel,
+		AccordionHeaders, etc.
+
+		Most application developers are uninterested in non-content children,
+		so Container overrides APIs such as numChildren and getChildAt()
+		to deal only with content children. For example, Container, keeps
+		its own _numChildren counter.
+
+		However, developers of custom containers need to be able to deal
+		with both content and non-content children, so they require similar
+		APIs that operate on all children.
+
+		For the public API, it would be ugly to have double APIs on Container
+		such as getChildAt() and all_getChildAt(). Instead, Container has
+		a public rawChildren property which lets you access APIs which
+		operate on all the children, in the same way that the
+		DisplayObjectContainer APIs do. For example, getChildAt(0) returns
+		the first content child, while rawChildren.getChildAt(0) returns
+		the first child (either content or non-content).
+
+		This ContainerRawChildrenList class implements the rawChildren
+		property. Note that it simply calls a second set of parallel
+		mx_internal APIs in Container. (They're named, for example,
+		_getChildAt() instead of all_getChildAt()).
+
+		Many of the all-children APIs in Container such as _getChildAt()
+		simply call super.getChildAt() in order to get the implementation
+		in DisplayObjectContainer. It would be nice if we could eliminate
+		_getChildAt() in Container and simply implement the all-children
+		version in this class by calling the DisplayObjectContainer method.
+		But once Container overrides getChildAt(), there is no way
+		to call the supermethod through an instance.
+
+	*/
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Constructor.
+	 */
+	public function ContainerRawChildrenList(owner:Container)
+	{
+		super();
+
+		this.owner = owner;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var owner:Container;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  numChildren
+	//----------------------------------
+
+	/**
+	 *  @private
+	 */
+	public function get numChildren():int
+	{
+		return owner.mx_internal::$numChildren;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	public function addChild(child:DisplayObject):DisplayObject
+	{
+		return owner.mx_internal::rawChildren_addChild(child);
+	}
+
+	/**
+	 *  @private
+	 */
+	public function addChildAt(child:DisplayObject, index:int):DisplayObject
+	{
+		return owner.mx_internal::rawChildren_addChildAt(child, index);
+	}
+
+	/**
+	 *  @private
+	 */
+	public function removeChild(child:DisplayObject):DisplayObject
+	{
+		return owner.mx_internal::rawChildren_removeChild(child);
+	}
+
+	/**
+	 *  @private
+	 */
+	public function removeChildAt(index:int):DisplayObject
+	{
+		return owner.mx_internal::rawChildren_removeChildAt(index);
+	}
+
+	/**
+	 *  @private
+	 */
+  	public function getChildAt(index:int):DisplayObject
+  	{
+		return owner.mx_internal::rawChildren_getChildAt(index);
+  	}
+
+	/**
+	 *  @private
+	 */
+  	public function getChildByName(name:String):DisplayObject
+  	{
+		return owner.mx_internal::rawChildren_getChildByName(name);
+  	}
+
+	/**
+	 *  @private
+	 */
+  	public function getChildIndex(child:DisplayObject):int
+  	{
+		return owner.mx_internal::rawChildren_getChildIndex(child);
+	}
+
+	/**
+	 *  @private
+	 */
+	public function setChildIndex(child:DisplayObject, newIndex:int):void
+	{
+		owner.mx_internal::rawChildren_setChildIndex(child, newIndex);
+	}
+
+	/**
+	 *  @private
+	 */
+	public function getObjectsUnderPoint(point:Point):Array
+	{
+		return owner.mx_internal::rawChildren_getObjectsUnderPoint(point);
+	}
+
+	/**
+	 *  @private
+	 */
+	public function contains(child:DisplayObject):Boolean
+	{
+		return owner.mx_internal::rawChildren_contains(child);
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 12061
Author:   jszeto@adobe.com
Date:     2009-11-20T20:17:21.636565Z

Log Message:
-----------
Moving DropDownListBase from spark.components to spark.components.supportClasses

http://bugs.adobe.com/jira/browse/SDK-24316

QE notes: None
Doc notes: None
Bugs: SDK-24316
Reviewer: Corey
Tests run: DropDownList, ComboBox
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownListBase.as" copyfrom-rev="12024" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/DropDownListBaseAccImpl.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownListBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/DropDownList.as
+++ frameworks/projects/spark/src/spark/components/DropDownList.as
@@ -16,6 +16,7 @@
 import mx.core.UIComponentGlobals;
 import mx.core.mx_internal;

+import spark.components.supportClasses.DropDownListBase;
 import spark.components.supportClasses.TextBase;
 import spark.utils.LabelUtil;


Transferred from the Adobe Open Source Subversion Repository

Revision: 17331
Author:   jasonsj@adobe.com
Date:     2010-08-16T17:37:24.374535Z

Log Message:
-----------
Added DiscouragedForProfile metadata for use with FB mobile projects.

QE notes: DiscouragedForProfile features should now be visible in FB
Doc notes: ASDoc content omitted for DiscouragedForProfile where the boilerplate comment is desired
Bugs:
Reviewer: gruehle
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TitleWindow.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/BorderContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormHeading.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TabBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Form.as</path>

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

--- frameworks/projects/spark/src/spark/components/ToggleButton.as
+++ frameworks/projects/spark/src/spark/components/ToggleButton.as
@@ -17,6 +17,14 @@
 [Exclude(name="textAlign", kind="style")]

 [IconFile("ToggleButton.png")]
+
+/**
+ * Because this component does not define a skin for the mobile theme, Adobe
+ * recommends that you not use it in a mobile application. Alternatively, you
+ * can define your own mobile skin for the component. For more information,
+ * see Spark Skinning.
+ */
+[DiscouragedForProfile("mobileDevice")]

 /**
  *  The ToggleButton component defines a toggle button.


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/managers/marshalClasses/DragManagerMarshalMixin.as
+++ frameworks/projects/framework/src/mx/managers/marshalClasses/DragManagerMarshalMixin.as
@@ -0,0 +1,355 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.managers.marshalClasses
+{
+
+import flash.display.DisplayObject;
+import flash.events.Event;
+import flash.events.IEventDispatcher;
+
+import mx.events.DragEvent;
+import mx.events.InterDragManagerEvent;
+import mx.events.InterManagerRequest;
+import mx.events.Request;
+import mx.managers.DragManagerImpl;
+import mx.managers.IMarshalSystemManager;
+import mx.managers.ISystemManager;
+import mx.managers.SystemManager;
+import mx.managers.SystemManagerGlobals;
+import mx.core.DragSource;
+import mx.core.IFlexModuleFactory;
+import mx.core.mx_internal;
+
+[ExcludeClass]
+
+[Mixin]
+
+/**
+ *  @private
+ *  A SystemManager has various types of children,
+ *  such as the Application, popups,
+ *  tooltips, and custom cursors.
+ *  You can access the just the custom cursors through
+ *  the cursors property,
+ *  the tooltips via toolTips, and
+ *  the popups via popUpChildren.  Each one returns
+ *  a SystemChildrenList which implements IChildList.  The SystemManager's
+ *  IChildList methods return the set of children that aren't popups, tooltips
+ *  or cursors.  To get the list of all children regardless of type, you
+ *  use the rawChildrenList property which returns this SystemRawChildrenList.
+ */
+public class DragManagerMarshalMixin
+{
+    include "../../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class Method
+	//
+	//--------------------------------------------------------------------------
+
+	public static function init(fbs:IFlexModuleFactory):void
+	{
+		if (!DragManagerImpl.mixins)
+			DragManagerImpl.mixins = [];
+        if (DragManagerImpl.mixins.indexOf(DragManagerMarshalMixin) == -1)
+    		DragManagerImpl.mixins.push(DragManagerMarshalMixin);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 */
+	public function DragManagerMarshalMixin(owner:DragManagerImpl = null)
+	{
+		super();
+
+        if (!owner)
+            return;
+
+		this.dragManager = owner;
+		dragManager.addEventListener("initialize", initializeHandler);
+		dragManager.addEventListener("doDrag", doDragHandler);
+		dragManager.addEventListener("popUpChildren", popUpChildrenHandler);
+		dragManager.addEventListener("acceptDragDrop", acceptDragDropHandler);
+		dragManager.addEventListener("showFeedback", showFeedbackHandler);
+		dragManager.addEventListener("getFeedback", getFeedbackHandler);
+		dragManager.addEventListener("endDrag", endDragHandler);
+
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var sm:ISystemManager;
+
+	/**
+	 *  @private
+	 *  The highest place we can listen for events in our DOM
+	 */
+	private var sandboxRoot:IEventDispatcher;
+
+	/**
+	 *  @private
+	 */
+	private var dragManager:DragManagerImpl;
+
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	public function initializeHandler(event:Event):void
+	{
+		var ed:IEventDispatcher;
+
+		sm = SystemManagerGlobals.topLevelSystemManagers[0];
+		if (!sm.isTopLevelRoot())
+		{
+			sandboxRoot = sm.getSandboxRoot();
+			sandboxRoot.addEventListener(InterDragManagerEvent.DISPATCH_DRAG_EVENT, marshalDispatchEventHandler, false, 0, true);
+		}
+		else
+		{
+			ed = sm;
+			sandboxRoot = sm;
+			sandboxRoot.addEventListener(InterDragManagerEvent.DISPATCH_DRAG_EVENT, marshalDispatchEventHandler, false, 0, true);
+		}
+
+		// trace("creating DragManagerImpl", sm);
+		sandboxRoot.addEventListener(InterManagerRequest.DRAG_MANAGER_REQUEST, marshalDragManagerHandler, false, 0, true);
+		var me:InterManagerRequest = new InterManagerRequest(InterManagerRequest.DRAG_MANAGER_REQUEST);
+		me.name = "update";
+		// trace("--->update request for DragManagerImpl", sm);
+		sandboxRoot.dispatchEvent(me);
+		// trace("<---update request for DragManagerImpl", sm);
+	}
+
+	public function doDragHandler(event:Event):void
+	{
+
+		var me:InterManagerRequest = new InterManagerRequest(InterManagerRequest.DRAG_MANAGER_REQUEST);
+		me.name = "isDragging";
+		me.value = true;
+		// trace("-->dispatch isDragging for DragManagerImpl", sm, true);
+		sandboxRoot.dispatchEvent(me);
+		// trace("<--dispatch isDragging for DragManagerImpl", sm, true);
+
+		me = new InterManagerRequest(InterManagerRequest.DRAG_MANAGER_REQUEST);
+		me.name = "mouseShield";
+		me.value = true;
+		// trace("-->dispatch add mouseShield.for DragManagerImpl", sm);
+		sandboxRoot.dispatchEvent(me);
+
+	}
+
+	public function acceptDragDropHandler(event:Request):void
+	{
+
+		if (dragManager.isDragging)
+		{
+			var me:InterManagerRequest = new InterManagerRequest(InterManagerRequest.DRAG_MANAGER_REQUEST);
+			me.name = "acceptDragDrop";
+			me.value = event.value;
+			// trace("-->dispatch acceptDragDrop for DragManagerImpl", sm, target);
+			sandboxRoot.dispatchEvent(me);
+			// trace("<--dispatch acceptDragDrop for DragManagerImpl", sm, target);
+		}
+		// trace("<--acceptDragDrop for DragManagerImpl", sm, target);
+
+	}
+
+	public function showFeedbackHandler(event:Request):void
+	{
+		if (dragManager.isDragging)
+		{
+			var me:InterManagerRequest = new InterManagerRequest(InterManagerRequest.DRAG_MANAGER_REQUEST);
+			me.name = "showFeedback";
+			me.value = event.value;
+			// trace("-->dispatch showFeedback for DragManagerImpl", sm, feedback);
+			sandboxRoot.dispatchEvent(me);
+			// trace("<--dispatch showFeedback for DragManagerImpl", sm, feedback);
+		}
+		// trace("<--showFeedback for DragManagerImpl", sm, feedback);
+	}
+
+
+	public function getFeedbackHandler(event:Request):void
+	{
+		// trace("-->getFeedback for DragManagerImpl", sm);
+		if (!dragManager.dragProxy && dragManager.isDragging)
+		{
+			var me:InterManagerRequest = new InterManagerRequest(InterManagerRequest.DRAG_MANAGER_REQUEST);
+			me.name = "getFeedback";
+			// trace("-->dispatch getFeedback for DragManagerImpl", sm);
+			sandboxRoot.dispatchEvent(me);
+			// trace("<--dispatch getFeedback for DragManagerImpl", sm);
+			event.preventDefault();
+			event.value = me.value;
+		}
+	}
+
+	public function popUpChildrenHandler(event:Event):void
+	{
+		var mp:IMarshalSystemManager =
+			IMarshalSystemManager(sm.getImplementation("mx.managers::IMarshalSystemManager"));
+
+		mp.addChildToSandboxRoot("popUpChildren", dragManager.dragProxy);
+        event.preventDefault();
+	}
+
+	public function endDragHandler(event:Event):void
+	{
+		var me:InterManagerRequest;
+
+		// trace("-->endDrag for DragManagerImpl", sm);
+		if (dragManager.dragProxy)
+		{
+			var mp:IMarshalSystemManager =
+				IMarshalSystemManager(sm.getImplementation("mx.managers::IMarshalSystemManager"));
+
+			mp.removeChildFromSandboxRoot("popUpChildren", dragManager.dragProxy);
+
+			dragManager.dragProxy.removeChildAt(0);	// The drag image is the only child
+			dragManager.dragProxy = null;
+		}
+		else if (dragManager.isDragging)
+		{
+			me = new InterManagerRequest(InterManagerRequest.DRAG_MANAGER_REQUEST);
+			me.name = "endDrag";
+			// trace("-->dispatch endDrag for DragManagerImpl", sm);
+			sandboxRoot.dispatchEvent(me);
+			// trace("<--dispatch endDrag for DragManagerImpl", sm);
+		}
+		me = new InterManagerRequest(InterManagerRequest.DRAG_MANAGER_REQUEST);
+		me.name = "mouseShield";
+		me.value = false;
+		// trace("-->dispatch remove mouseShield.for DragManagerImpl", sm);
+		sandboxRoot.dispatchEvent(me);
+
+		me = new InterManagerRequest(InterManagerRequest.DRAG_MANAGER_REQUEST);
+		me.name = "isDragging";
+		me.value = false;
+		// trace("-->dispatch isDragging for DragManagerImpl", sm, false);
+		sandboxRoot.dispatchEvent(me);
+		// trace("<--dispatch isDragging for DragManagerImpl", sm, false);
+		// trace("<--endDrag for DragManagerImpl", sm);
+        event.preventDefault();
+	}
+
+	/**
+	 *  Marshal dispatchEvents
+	 */
+	private function marshalDispatchEventHandler(event:Event):void
+	{
+		if (event is InterDragManagerEvent)
+			return;
+
+		var marshalEvent:Object = event;
+
+		var swfRoot:DisplayObject = SystemManager.getSWFRoot(marshalEvent.dropTarget);
+		if (!swfRoot)
+			return;	// doesn't belong to this appdomain
+
+		var dragEvent:DragEvent = new DragEvent(marshalEvent.dragEventType, marshalEvent.bubbles, marshalEvent.cancelable);
+		dragEvent.localX = marshalEvent.localX;
+		dragEvent.localY = marshalEvent.localY;
+		dragEvent.action = marshalEvent.action;
+		dragEvent.ctrlKey = marshalEvent.ctrlKey;
+		dragEvent.altKey = marshalEvent.altKey;
+		dragEvent.shiftKey = marshalEvent.shiftKey;
+		dragEvent.draggedItem = marshalEvent.draggedItem;
+		dragEvent.dragSource = new DragSource();
+		var formats:Array = marshalEvent.dragSource.formats;
+		var n:int = formats.length;
+		for (var i:int = 0; i < n; i++)
+		{
+			// this will call handlers right away, so deferred clipboard will be costly
+			dragEvent.dragSource.addData(marshalEvent.dragSource.dataForFormat(formats[i]), formats[i]);
+		}
+		if (!marshalEvent.dropTarget.dispatchEvent(dragEvent))
+		{
+			event.preventDefault();
+		}
+	}
+
+	/**
+	 *  Marshal dragManager
+	 */
+	private function marshalDragManagerHandler(event:Event):void
+	{
+		if (event is InterManagerRequest)
+			return;
+
+		var marshalEvent:Object = event;
+		switch (marshalEvent.name)
+		{
+		case "isDragging":
+			// trace("--marshaled isDragging for DragManagerImpl", sm, marshalEvent.value);
+			dragManager.bDoingDrag = marshalEvent.value;
+			break;
+		case "acceptDragDrop":
+			if (dragManager.dragProxy)
+			{
+				// trace("--marshaled acceptDragDrop for DragManagerImpl", sm, marshalEvent.value);
+				dragManager.dragProxy.target = marshalEvent.value;
+			}
+			break;
+		case "showFeedback":
+			if (dragManager.dragProxy)	// it is our drag
+			{
+				// trace("--marshaled showFeedback for DragManagerImpl", sm, marshalEvent.value);
+				dragManager.showFeedback(marshalEvent.value);
+			}
+			break;
+		case "getFeedback":
+			if (dragManager.dragProxy)	// it is our drag
+			{
+				marshalEvent.value = dragManager.getFeedback();
+				// trace("--marshaled getFeedback for DragManagerImpl", sm, marshalEvent.value);
+			}
+			break;
+		case "endDrag":
+			// trace("--marshaled endDrag for DragManagerImpl", sm, marshalEvent.value);
+			dragManager.endDrag();
+			break;
+		case "update":
+			// if we own the drag, then redispatch to tell the new guy
+			if (dragManager.dragProxy && dragManager.isDragging)
+			{
+				// trace("-->marshaled update for DragManagerImpl", sm);
+				var me:InterManagerRequest = new InterManagerRequest(InterManagerRequest.DRAG_MANAGER_REQUEST);
+				me.name = "isDragging";
+				me.value = true;
+				// trace("-->dispatched isDragging for DragManagerImpl", sm, true);
+				sandboxRoot.dispatchEvent(me);
+				// trace("<--dispatched isDragging for DragManagerImpl", sm, true);
+				// trace("<--marshaled update for DragManagerImpl", sm);
+			}
+		}
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 10131
Author:   chaase@adobe.com
Date:     2009-09-10T21:25:42.980194Z

Log Message:
-----------
Fixes to several effects bugs and one styles-related bug.

QE notes: Fixes to all filed auto-center feature bugs.
Doc notes: None
Bugs: sdk-22994, sdk-22992, sdk-22990, sdk-21850, sdk-22973
Reviewer: Jason (+Glenn for RadioButton/CheckBox changes, 21850)
Tests run: checkintests, Mustella (transform effects, Slider, DataGrid - all passed last week, prior to skin/test changes)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SoundEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as
@@ -491,17 +491,24 @@
                 // also, adjust for tx/ty with non-default transform center
                 if (adjustXY &&
                     (animProp.property == "translationX" ||
-                     animProp.property == "translationY"))
+                     animProp.property == "translationY" ||
+                     animProp.property == "postLayoutTranslationX" ||
+                     animProp.property == "postLayoutTranslationY"))
                 {
                     for (j = 0; j < animProp.keyframes.length; ++j)
                     {
                         var kf:Keyframe = animProp.keyframes[j];
                         if (isValidValue(kf.value))
                         {
-                            if (animProp.property == "translationX")
+                            if (animProp.property == "translationX" ||
+                                animProp.property == "postLayoutTranslationX")
+                            {
                                 kf.value += transformCenter.x;
-                            else
+                            }
+                            else // animProp.property == translationY || postLayoutTranslationY
+                            {
                                 kf.value += transformCenter.y;
+                            }
                         }
                     }
                 }


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

--- frameworks/projects/advancedgrids/src/mx/styles/metadata/FocusStyles.as
+++ frameworks/projects/advancedgrids/src/mx/styles/metadata/FocusStyles.as
@@ -1,24 +1,4 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.
-//
-////////////////////////////////////////////////////////////////////////////////

-/**
- *  Specifies the alpha transparency value of the focus skin.
- *
- *  @default 0.4
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
 [Style(name="focusAlpha", type="Number", inherit="no")]

 /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 20773
Author:   klin@adobe.com
Date:     2011-03-10T19:45:27.815558Z

Log Message:
-----------
Merge 20768 (for jason sj) -
ASDoc updates for ActionBarSkin

QE notes: none
Doc notes: none
Bugs: SDK-29875 ASDoc missing on some public and protected properties in ActionBarSkin
Reviewer:  chiedozi
Tests run:
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="dir" action="M">/private/flex/sdk/trunk</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
@@ -44,7 +44,6 @@
  *  @see spark.skins.mobile.ActionRoundedButtonSkin
  *
  *  @langversion 3.0
- *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -71,7 +70,6 @@
      *  Constructor.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -124,6 +122,13 @@
     //
     //--------------------------------------------------------------------------

+    /**
+     *  FXG Class reference for the ActionBar background border graphic.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
     protected var borderClass:Class;

     //--------------------------------------------------------------------------
@@ -137,10 +142,31 @@
      */
     private var borderSize:uint;

+    /**
+     *  Height of shadow embedded in borderClass graphic.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
     protected var layoutShadowHeight:uint;

+    /**
+     *  Default height for navigationGroup, titleGroup and actionGroup.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
     protected var layoutContentGroupHeight:uint;

+    /**
+     *  Default horizontal padding for the titleGroup and titleDisplay.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
     protected var layoutTitleGroupHorizontalPadding:uint;

     //--------------------------------------------------------------------------
@@ -180,13 +206,25 @@
     //
     //--------------------------------------------------------------------------

+    /**
+     *  @copy spark.components.ActionBar#navigationGroup
+     */
     public var navigationGroup:Group;

+    /**
+     *  @copy spark.components.ActionBar#titleGroup
+     */
     public var titleGroup:Group;

+    /**
+     *  @copy spark.components.ActionBar#actionGroup
+     */
     public var actionGroup:Group;

     /**
+     *  @copy spark.components.ActionBar#titleDisplay
+     *
+     *  @private
      *  Wraps a StyleableTextField in a UIComponent to be compatible with
      *  ViewTransition effects.
      */


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

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

 package mx.effects.effectClasses
 {