Transferred from the Adobe Open Source Subversion Repository

Revision: 12747
Author:   mhorn@adobe.com
Date:     2009-12-09T21:22:56.886279Z

Log Message:
-----------
asdoc updates for l10n

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ScrollBarDownButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VSliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ITextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/SpinnerIncrementButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/HSliderTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ScrollBarUpButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DropDownListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/HScrollBarThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/TabBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/TitleWindowCloseButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VSliderTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/SpinnerDecrementButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/TextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ComboBoxButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/NumericStepperSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VScrollBarThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/TitleWindowSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ScrollBarRightButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/SpinnerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/HScrollBarTrackSkin.mxml</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/wireframe/src/spark/skins/wireframe/VideoPlayerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DropDownListButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.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/wireframe/src/spark/skins/wireframe/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/TabBarButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ScrollBarLeftButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/RadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/NumericStepperTextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/HSliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/HSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/HScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VScrollBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarSkin.mxml</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/wireframe/src/spark/skins/wireframe/ApplicationSkin.mxml</path>

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

--- frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as
+++ frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as
@@ -42,7 +42,7 @@
      *  The RSLs loaded by this IFlexModuleFactory before the application
      *  starts. RSLs loaded by the application are not included in this list.
      *
-     *  Information about preloadedRSLs is stored in a Dictionary. The key is
+     *  Information about preloaded RSLs is stored in a Dictionary. The key is
      *  the RSL's LoaderInfo. The value is the url the RSL was loaded from.
      */
     function get preloadedRSLs():Dictionary;
@@ -54,14 +54,14 @@
     //--------------------------------------------------------------------------

     /**
-     *  Calls Security.allowDomain() for the SWF associated with this IFlexModuleFactory
+     *  Calls the Security.allowDomain() method for the SWF associated with this IFlexModuleFactory
      *  plus all the SWFs assocatiated with RSLs preloaded by this IFlexModuleFactory.
      *
      */
     function allowDomain(... domains):void;

     /**
-     *  Calls Security.allowInsecureDomain() for the SWF associated with this IFlexModuleFactory
+     *  Calls the Security.allowInsecureDomain() method for the SWF associated with this IFlexModuleFactory
      *  plus all the SWFs assocatiated with RSLs preLoaded by this IFlexModuleFactory.
      *
      */
@@ -70,10 +70,10 @@
     /**
      *  A way to call a method in this IFlexModuleFactory's context
      *
-     *  @param fn The function or method to call
-     *  @param thisArg The this pointer for the function
-     *  @param argArray The arguments for the function
-     *  @param returns If true, the function returns a value
+     *  @param fn The function or method to call.
+     *  @param thisArg The this pointer for the function.
+     *  @param argArray The arguments for the function.
+     *  @param returns If true, the function returns a value.
      *
      *  @return Whatever the function returns, if anything.
      *
@@ -111,7 +111,7 @@

     /**
      *  Get the implementation for an interface.
-     *  Similar to Singleton.getInstance, but per-
+     *  Similar to Singleton.getInstance() method, but per-
      *  IFlexModuleFactory.
      *
      *  @langversion 3.0
@@ -150,7 +150,7 @@

     /**
      *  Register an implementation for an interface.
-     *  Similar to Singleton.registerClass, but per-
+     *  Similar to the Singleton.registerClass() method, but per-
      *  IFlexModuleFactory, and takes an instance not a class.
      *
      *  @langversion 3.0


Transferred from the Adobe Open Source Subversion Repository

Revision: 2863
Author:   dloverin@adobe.com
Date:     2008-08-16T03:28:51.231298Z

Log Message:
-----------
Changes recommend from API review.

QE: YES
Doc: YES
Checkintests: YES
Reviewer:
Bugs:

Move APIs from IFocusManager2 into IFocusManager and remove IFocusManager2.
Rename SandboxUtil -> SecurityUtil
* mx.utils.SecurityUtil
Remove hasMutualTrustWithParent()
Remove hasMutualTrustWithChild()
Add hasMutualTrustBetweenParentAndChild()

Rename SWFLoader.compatibleLoad -> SWFLoader.loadForCompatibility
Create mx.managers.FocusDirection
Rename SystemManager.dispatchEventToSandboxes -> SystemManager.dispatchEventFromSWFBridges

* mx.managers.IFocusManager

addFocusManagerBridge() -> addSWFBridge
removeFocusManagerBridge() -> removeSWFBridge

* mx.managers.SystemManagerProxy
activateProxy() -> activateByProxy()
deactivateProxy() -> deactivateByProxy()

* mx.managers.ISystemManager
useBridge() -> useSWFBridge()

Move/Rename mx.sandbox.ISandboxBridgeProvider -> mx.core.ISWFBridgeProvider
Move/Rename mx.sandbox.ISandboxBridgeGroup -> mx.core.ISWFBridgeGroup
Move/Rename mx.sandbox.SandboxBridgeGroup -> mx.core.SWFBridgeGroup

Delete ISandboxGroupAccess, IParentAccess, IChildAccess

Rename many methods in mx.core.ISWFBridgeGroup
Rename mx.core.IAppliationLoader -> mx.core.ISWFLoader

* mx.core.ISWFBridgeProvider
Rename sandboxBridge -> swfBridge
add parentAllowsChild property
add childAllowsParent property

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/utils/SandboxUtil.as" copyfrom-rev="2851" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/utils/SecurityUtil.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/FocusDirection.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/utils/EventUtil.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/SandboxBridgeGroup.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/IFocusManager.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/SWFBridgeGroup.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/IFocusManagerContainer.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/IContainer.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/IApplicationLoader.as" copyfrom-rev="2851" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/ISWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/ISWFBridgeProvider.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/IApplicationLoader.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/FocusRequest.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/utils/SandboxUtil.as</path>
<path kind="dir" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/sandbox</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/IFocusManager2.as</path>

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

--- frameworks/projects/framework/src/mx/core/ISWFBridgeProvider.as
+++ frameworks/projects/framework/src/mx/core/ISWFBridgeProvider.as
@@ -0,0 +1,62 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.core
+{
+
+import flash.events.IEventDispatcher;
+
+/**
+ *  An implementor of ISWFProvider provides a bridge
+ *  to an application in a different sandbox
+ *  or to an application that was compiled with a different version
+ *  of Flex and is running in a separate ApplicationDomain.
+ *  This interface allows a caller to get a bridge to that application.
+ *  Once the caller has the bridge it can then dispatch events
+ *  to the application.
+ */
+public interface ISWFBridgeProvider
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  sandboxBridge
+    //----------------------------------
+
+    /**
+     *  A bridge to the application associated with the implementor of this
+     *  interface. The IEventDispatcher that can be used to send events to an
+     *  application in a different ApplicationDomain or a different sandbox.
+     */
+    function get swfBridge():IEventDispatcher;
+
+    /**
+     *  Test if the child allows its parent to access its display objects or listen
+     *  to messages that originate in the child.
+     *
+     *  true if access if allowed, false otherwise.
+     */
+    function get childAllowsParent():Boolean;
+
+    /**
+     *  Test if the parent allows its child to access its display objects or listen
+     *  to messages that originate in the parent.
+     *
+     *  true if access if allowed, false otherwise.
+     */
+    function get parentAllowsChild():Boolean;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

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

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

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/framework/src/mx/effects/AnimateProperty.as
+++ frameworks/projects/framework/src/mx/effects/AnimateProperty.as
@@ -46,6 +46,11 @@
  *  @see mx.effects.effectClasses.AnimatePropertyInstance
  *
  *  @includeExample examples/AnimatePropertyEffectExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class AnimateProperty extends TweenEffect
 {
@@ -61,6 +66,11 @@
 	 *  Constructor.
 	 *
 	 *  @param target The Object to animate with this effect.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function AnimateProperty(target:Object = null)
 	{
@@ -84,6 +94,11 @@
 	/**
 	 *  The ending value for the effect.
 	 *  The default value is the target's current property value.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var toValue:Number;

@@ -97,6 +112,11 @@
 	 *  If true, the property attribute is a style and you set
 	 *  it by using the setStyle() method.
 	 *  @default false
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var isStyle:Boolean = false;

@@ -109,6 +129,11 @@
 	/**
 	 *  The name of the property on the target to animate.
 	 *  This attribute is required.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var property:String;

@@ -124,6 +149,11 @@
 	 *  This property is useful if the property you are animating
 	 *  is an int or uint.
 	 *  @default false
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var roundValue:Boolean = false;

@@ -136,6 +166,11 @@
 	/**
 	 *  The starting value of the property for the effect.
 	 *  The default value is the target's current property value.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public var fromValue:Number;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as
@@ -88,7 +88,7 @@
     //--------------------------------------------------------------------------

     /**
-     *  Creates an new AMFChannel instance.
+     *  Constructor.
      *
      *  @param id The id of this Channel.
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 12664
Author:   mhorn@adobe.com
Date:     2009-12-08T20:39:06.119601Z

Log Message:
-----------
asdoc updates; new examples; updated examples; bug fixes

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/primitives/examples/RectangularDropShadowExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.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/primitives/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/primitives/examples/LineExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Line.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as</path>

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

--- frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
+++ frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
@@ -48,8 +48,9 @@

 /**
  *  The SpriteVisualElement class is a light-weight Sprite-based implemention
- *  of IVisualElement.  It can be dropped in to Spark containers and be laid
- *  out and renderered correctly.
+ *  of the IVisualElement interface. Spark containers can lay out and render SpriteVisualElement objects.
+ *
+ *
If you use ActionScript to add an FXG component to an application, it should be of type SpriteVisualElement.

  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -308,7 +309,7 @@
     //----------------------------------

     /**
-     *  @copy mx.core.ILayoutElement#postLayoutTransformOffsets
+     *  @copy mx.core.IVisualElement#postLayoutTransformOffsets
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -1022,6 +1023,9 @@
     //  z
     //----------------------------------

+    /**
+     *  @private
+     */
     override public function get z():Number
     {
         return (_layoutFeatures == null) ? super.z : _layoutFeatures.layoutZ;
@@ -1218,6 +1222,9 @@
         return (_layoutFeatures == null) ? 1 : _layoutFeatures.layoutScaleY;
     }

+    /**
+     *  @private
+     */
     override public function set scaleY(value:Number):void
     {
         if (value == scaleY)
@@ -2191,8 +2198,10 @@
     }

     /**
-     *  Similarly to the layoutMatrix3D property, sets the layout Matrix3D, but
-     *  doesn't trigger a layout pass.
+     *  @inheritDoc
+     *
+     *  Similar to the layoutMatrix3D property. This property, however,
+     *  does not trigger a layout pass.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -2217,7 +2226,7 @@
     }

     /**
-     * @copy mx.core.ILayoutElement#transformAround
+     *  @copy mx.core.ILayoutElement#transformAround()
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -2334,9 +2343,9 @@
      *
      * @param localPosition The point to be transformed, specified in the
      * local coordinates of the object.
-     * @position A Vector3D point that will hold the pre-layout
+     * @param position A Vector3D point that will hold the pre-layout
      * result. If null, the parameter is ignored.
-     * @postLayoutPosition A Vector3D point that will hold the post-layout
+     * @param postLayoutPosition A Vector3D point that will hold the post-layout
      * result. If null, the parameter is ignored.
      *
      *  @langversion 3.0


Transferred from the Adobe Open Source Subversion Repository

Revision: 6295
Author:   egreenfi@adobe.com
Date:     2009-04-27T19:25:10.102526Z

Log Message:
-----------
- Added a workaround for 3D bugs in 10.0 release of flash player when multiplying vectors against 3D matrices.
- integrated offset animation from Animate3D class into AnimateTransform class. AnimateTRansform can now correctly capture and animate values for target.offsets as well as target.
- integrated projection matrix management from Animate3D into AnimateTransform and subclasses.
- added affectsLayout flag to subclasses of AnimateTRansform.  THeir parameters can now optionally be used to animate the offsets of the target.
- setup correct defaults on all 3D subclasses of AnimateTransform, so they don't affect layout and do modify the local projection matrix by default.

Reviewer: Chet
QA: Yes!
Doc: Yes.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale3D.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/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/effects/AnimateTransform.as
+++ frameworks/projects/spark/src/spark/effects/AnimateTransform.as
@@ -18,6 +18,7 @@
 import mx.effects.Effect;
 import mx.effects.IEffectInstance;
 import mx.events.EffectEvent;
+import mx.geom.TransformOffsets;
 import mx.styles.IStyleClient;

 import spark.effects.supportClasses.AnimateTransformInstance;
@@ -140,6 +141,9 @@
         ["translationX", "translationY", "translationZ",
          "rotationX", "rotationY", "rotationZ",
          "scaleX", "scaleY", "scaleZ",
+         "postLayoutTranslationX","postLayoutTranslationY","postLayoutTranslationZ",
+         "postLayoutRotationX","postLayoutRotationY","postLayoutRotationZ",
+         "postLayoutScaleX","postLayoutScaleY","postLayoutScaleZ",
          "left", "right", "top", "bottom",
          "horizontalCenter", "verticalCenter"];

@@ -213,12 +217,26 @@
     private static var rotation:Vector3D = new Vector3D();
     private static var position:Vector3D = new Vector3D();

+    private static var offsetRotation:Vector3D = new Vector3D();
+    private static var offsetTranslation:Vector3D = new Vector3D();
+    private static var offsetScale:Vector3D = new Vector3D();
+
+    private static var xformPosition:Vector3D = new Vector3D();
+    private static var postLayoutPosition:Vector3D = new Vector3D();
+
     /**
      * @private
      * This flag is set when any of the translationXYZ, rotationXYZ, scaleXYZ
      * motion path properties are set directly
      */
     private var transformPropertiesSet:Boolean = false;
+
+    /**
+     * @private
+     * This flag is set when any of the post layout translationXYZ, rotationXYZ, scaleXYZ
+     * motion path properties are set directly
+     */
+    private var postLayoutTransformPropertiesSet:Boolean = false;

     //--------------------------------------------------------------------------
     //
@@ -622,7 +640,322 @@
             _scaleZ.property = "scaleZ";
         }
     }
-
+
+
+    //----------------------------------
+    //  postLayoutTranslationX
+    //----------------------------------
+
+    /**
+     * @private
+     * Storage for the postLayoutTranslationX property
+     */
+    private var _postLayoutTranslationX:MotionPath;
+    /**
+     * The MotionPath describing the change in x during the effect
+     */
+    public function get postLayoutTranslationX():MotionPath
+    {
+        return _postLayoutTranslationX;
+    }
+    public function set postLayoutTranslationX(value:MotionPath):void
+    {
+        _postLayoutTranslationX = value;
+        if (value)
+        {
+            postLayoutTransformPropertiesSet = true;
+            _postLayoutTranslationX.property = "postLayoutTranslationX";
+        }
+    }
+
+    //----------------------------------
+    //  postLayoutTranslationY
+    //----------------------------------
+
+    /**
+     * @private
+     * Storage for the postLayoutTranslationY property
+     */
+    private var _postLayoutTranslationY:MotionPath;
+    /**
+     * The MotionPath describing the change in y during the effect
+     */
+    public function get postLayoutTranslationY():MotionPath
+    {
+        return _postLayoutTranslationY;
+    }
+    public function set postLayoutTranslationY(value:MotionPath):void
+    {
+        _postLayoutTranslationY = value;
+        if (value)
+        {
+            postLayoutTransformPropertiesSet = true;
+            _postLayoutTranslationY.property = "postLayoutTranslationY";
+        }
+    }
+
+    //----------------------------------
+    //  postLayoutTranslationX
+    //----------------------------------
+
+    /**
+     * @private
+     * Storage for the postLayoutTranslationZ property
+     */
+    private var _postLayoutTranslationZ:MotionPath;
+    /**
+     * The MotionPath describing the change in z during the effect
+     */
+    public function get postLayoutTranslationZ():MotionPath
+    {
+        return _postLayoutTranslationZ;
+    }
+    public function set postLayoutTranslationZ(value:MotionPath):void
+    {
+        _postLayoutTranslationZ = value;
+        if (value)
+        {
+            postLayoutTransformPropertiesSet = true;
+            _postLayoutTranslationZ.property = "postLayoutTranslationZ";
+        }
+    }
+
+    //----------------------------------
+    //  postLayoutRotationX
+    //----------------------------------
+
+    /**
+     * @private
+     * Storage for the postLayoutRotationX property
+     */
+    private var _postLayoutRotationX:MotionPath;
+    /**
+     * The MotionPath describing the change in postLayoutRotation around the x
+     * axis during the effect
+     */
+    public function get postLayoutRotationX():MotionPath
+    {
+        return _postLayoutRotationX;
+    }
+    public function set postLayoutRotationX(value:MotionPath):void
+    {
+        _postLayoutRotationX = value;
+        if (value)
+        {
+            postLayoutTransformPropertiesSet = true;
+            _postLayoutRotationX.property = "postLayoutRotationX";
+        }
+    }
+
+    //----------------------------------
+    //  postLayoutRotationY
+    //----------------------------------
+
+    /**
+     * @private
+     * Storage for the postLayoutRotationY property
+     */
+    private var _postLayoutRotationY:MotionPath;
+    /**
+     * The MotionPath describing the change in postLayoutRotation around the y
+     * axis during the effect
+     */
+    public function get postLayoutRotationY():MotionPath
+    {
+        return _postLayoutRotationY;
+    }
+    public function set postLayoutRotationY(value:MotionPath):void
+    {
+        _postLayoutRotationY = value;
+        if (value)
+        {
+            postLayoutTransformPropertiesSet = true;
+            _postLayoutRotationY.property = "postLayoutRotationY";
+        }
+    }
+
+    //----------------------------------
+    //  postLayoutRotationZ
+    //----------------------------------
+
+    /**
+     * @private
+     * Storage for the postLayoutRotationZ property
+     */
+    private var _postLayoutRotationZ:MotionPath;
+    /**
+     * The MotionPath describing the change in postLayoutRotation around the z
+     * axis during the effect
+     */
+    public function get postLayoutRotationZ():MotionPath
+    {
+        return _postLayoutRotationZ;
+    }
+    public function set postLayoutRotationZ(value:MotionPath):void
+    {
+        _postLayoutRotationZ = value;
+        if (value)
+        {
+            postLayoutTransformPropertiesSet = true;
+            _postLayoutRotationZ.property = "postLayoutRotationZ";
+        }
+    }
+
+    //----------------------------------
+    //  postLayoutScaleX
+    //----------------------------------
+
+    /**
+     * @private
+     * Storage for the postLayoutScaleX property
+     */
+    private var _postLayoutScaleX:MotionPath;
+    /**
+     * The MotionPath describing the change in postLayoutScale in the x direction
+     * during the effect
+     */
+    public function get postLayoutScaleX():MotionPath
+    {
+        return _postLayoutScaleX;
+    }
+    public function set postLayoutScaleX(value:MotionPath):void
+    {
+        _postLayoutScaleX = value;
+        if (value)
+        {
+            postLayoutTransformPropertiesSet = true;
+            _postLayoutScaleX.property = "postLayoutScaleX";
+        }
+    }
+
+    //----------------------------------
+    //  postLayoutScaleY
+    //----------------------------------
+
+    /**
+     * @private
+     * Storage for the postLayoutScaleY property
+     */
+    private var _postLayoutScaleY:MotionPath;
+    /**
+     * The MotionPath describing the change in postLayoutScale in the y direction
+     * during the effect
+     */
+    public function get postLayoutScaleY():MotionPath
+    {
+        return _postLayoutScaleY;
+    }
+    public function set postLayoutScaleY(value:MotionPath):void
+    {
+        _postLayoutScaleY = value;
+        if (value)
+        {
+            postLayoutTransformPropertiesSet = true;
+            _postLayoutScaleY.property = "postLayoutScaleY";
+        }
+    }
+
+    //----------------------------------
+    //  postLayoutScaleZ
+    //----------------------------------
+
+    /**
+     * @private
+     * Storage for the postLayoutScaleZ property
+     */
+    private var _postLayoutScaleZ:MotionPath;
+    /**
+     * The MotionPath describing the change in postLayoutScale in the z direction
+     * during the effect
+     */
+    public function get postLayoutScaleZ():MotionPath
+    {
+        return _postLayoutScaleZ;
+    }
+    public function set postLayoutScaleZ(value:MotionPath):void
+    {
+        _postLayoutScaleZ = value;
+        if (value)
+        {
+            postLayoutTransformPropertiesSet = true;
+            _postLayoutScaleZ.property = "postLayoutScaleZ";
+        }
+    }
+
+
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Documentation is not currently available.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var applyLocalProjection:Boolean = false;
+
+    /**
+     *  Documentation is not currently available.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var removeLocalProjectionWhenComplete:Boolean = false;
+
+    /**
+     *  Documentation is not currently available.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var autoCenterProjection:Boolean = true;
+    /**
+     *  Documentation is not currently available.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var fieldOfView:Number;
+    /**
+     *  Documentation is not currently available.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var focalLength:Number;
+    /**
+     *  Documentation is not currently available.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var projectionX:Number = 0;
+    /**
+     *  Documentation is not currently available.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var projectionY:Number = 0;
+
     //--------------------------------------------------------------------------
     //
     // Methods
@@ -716,12 +1049,51 @@

                 var computedTransformCenter:Vector3D =
                     computeTransformCenterForTarget(target);
-                var position:Vector3D = new Vector3D();
-                target.transformPointToParent(computedTransformCenter, position,
-                    new Vector3D());
-                valueMap.translationX = position.x;
-                valueMap.translationY = position.y;
-                valueMap.translationZ = position.z;
+                target.transformPointToParent(computedTransformCenter, xformPosition,
+                    null);
+                valueMap.translationX = xformPosition.x;
+                valueMap.translationY = xformPosition.y;
+                valueMap.translationZ = xformPosition.z;
+            }
+
+
+			// if someone has asked for the motionpaths to affect offsets,
+			// they might not have explcitly defined any offsets.  If that's the case,
+			// we still need to capture default start values, so let's initialize the offsets
+			// to a default set anyway.
+            if(postLayoutTransformPropertiesSet && target.offsets == null)
+            {
+            	target.offsets = new TransformOffsets();
+            }
+
+            // if the target doesn't have any offsets, there's no need to capture
+            // offset values.
+            if(target.offsets != null)
+            {
+            	var offsets:TransformOffsets = target.offsets;
+            	valueMap.postLayoutRotationX = offsets.rotationX;
+            	valueMap.postLayoutRotationY = offsets.rotationY;
+            	valueMap.postLayoutRotationZ = offsets.rotationZ;
+
+            	valueMap.postLayoutScaleX = offsets.scaleX;
+            	valueMap.postLayoutScaleY = offsets.scaleY;
+            	valueMap.postLayoutScaleZ = offsets.scaleZ;
+
+	            if (valueMap.postLayoutTranslationX === undefined ||
+	                valueMap.postLayoutTranslationY === undefined ||
+	                valueMap.postLayoutTranslationZ === undefined)
+	            {
+    	            // TODO (chaase): do we really need this?
+	                propChanges[i].stripUnchangedValues = false;
+
+	                computedTransformCenter =
+	                    computeTransformCenterForTarget(target);
+	                target.transformPointToParent(computedTransformCenter, null,
+	                    postLayoutPosition);
+	                valueMap.postLayoutTranslationX = postLayoutPosition.x;
+	                valueMap.postLayoutTranslationY = postLayoutPosition.y;
+	                valueMap.postLayoutTranslationZ = postLayoutPosition.z;
+	            }
             }
         }
         return propChanges;
@@ -826,6 +1198,13 @@
                 var tmpScale:Vector3D;
                 var tmpPosition:Vector3D;
                 var tmpRotation:Vector3D;
+
+	    	    var tmpOffsetTranslation:Vector3D;
+    	    	var tmpOffsetRotation:Vector3D;
+		        var tmpOffsetScale:Vector3D;
+
+		        var currentXFormPositionComputed:Boolean = false;
+
                 if (!isNaN(transitionValues.scaleX) ||
                     !isNaN(transitionValues.scaleY) ||
                     !isNaN(transitionValues.scaleZ))
@@ -857,10 +1236,9 @@
                 position.z = transitionValues.translationZ;
                 if (isNaN(position.x) || isNaN(position.y) || isNaN(position.z))
                 {
-                    var xformPosition:Vector3D = new Vector3D();
-                    var postLayoutPosition:Vector3D = new Vector3D();
                     target.transformPointToParent(xformCenter,
                         xformPosition, postLayoutPosition);
+                    currentXFormPositionComputed = true;
                     if (isNaN(position.x))
                         position.x = xformPosition.x;
                     if (isNaN(position.y))
@@ -868,8 +1246,66 @@
                     if (isNaN(position.z))
                         position.z = xformPosition.z;
                 }
+
+				if(target.offsets != null)
+				{
+					var offsets:TransformOffsets = target.offsets;
+			        if (!isNaN(transitionValues.postLayoutRotationX) ||
+			            !isNaN(transitionValues.postLayoutRotationY) ||
+			            !isNaN(transitionValues.postLayoutRotationZ))
+			        {
+			            offsetRotation.x = !isNaN(transitionValues.postLayoutRotationX) ?
+			                transitionValues.postLayoutRotationX : offsets.rotationX;
+			            offsetRotation.y = !isNaN(transitionValues.postLayoutRotationY) ?
+			                transitionValues.postLayoutRotationY : offsets.rotationY;
+			            offsetRotation.z = !isNaN(transitionValues.postLayoutRotationZ) ?
+			                transitionValues.postLayoutRotationZ : offsets.rotationZ;
+			            tmpOffsetRotation = offsetRotation;
+			        }
+
+			        if (!isNaN(transitionValues.postLayoutScaleX) ||
+			            !isNaN(transitionValues.postLayoutScaleY) ||
+			            !isNaN(transitionValues.postLayoutScaleZ))
+			        {
+			            offsetScale.x = !isNaN(transitionValues.postLayoutScaleX) ?
+			                transitionValues.postLayoutScaleX : offsets.scaleX;
+			            offsetScale.y = !isNaN(transitionValues.postLayoutScaleY) ?
+			                transitionValues.postLayoutScaleY : offsets.scaleY;
+			            offsetScale.z = !isNaN(transitionValues.postLayoutScaleZ) ?
+			                transitionValues.postLayoutScaleZ : offsets.scaleZ;
+			            tmpOffsetScale = offsetScale;
+			        }
+
+
+		            offsetTranslation.x = transitionValues.postLayoutTranslationX;
+		            offsetTranslation.y = transitionValues.postLayoutTranslationY;
+		            offsetTranslation.z = transitionValues.postLayoutTranslationZ;
+
+			        if (isNaN(offsetTranslation.x) ||
+			            isNaN(offsetTranslation.y) ||
+			            isNaN(offsetTranslation.z))
+			        {
+
+	                    if(currentXFormPositionComputed == false)
+	                    {
+	                    	target.transformPointToParent(xformCenter,
+                                xformPosition, postLayoutPosition);
+                            currentXFormPositionComputed = true;
+	                    }
+
+			            if(isNaN(offsetTranslation.x))
+			            	offsetTranslation.x = postLayoutPosition.x;
+			            if(isNaN(offsetTranslation.y))
+			            	offsetTranslation.y = postLayoutPosition.y;
+			            if(isNaN(offsetTranslation.z))
+			            	offsetTranslation.z = postLayoutPosition.z;
+			        }
+
+			        tmpOffsetTranslation  = offsetTranslation;
+			 }
+
                 target.transformAround(xformCenter, tmpScale, tmpRotation,
-                    position);
+                    position,tmpOffsetScale,tmpOffsetRotation,tmpOffsetTranslation);
                 appliedValuesPerTarget[target] = true;
             }
         }
@@ -920,10 +1356,16 @@
         // We've already set these properties in applyStartValues() or
         // applyEndValues() override; don't set them again here
         if (property == "translationX" || property == "translationY" ||
-            property == "translationY" || property == "rotationX" ||
+            property == "translationZ" || property == "rotationX" ||
             property == "rotationY" || property == "rotationZ" ||
             property == "scaleX" || property == "scaleY" ||
-            property == "scaleZ")
+            property == "scaleZ" ||
+			property == "postLayoutTranslationX" || property == "postLayoutTranslationY" ||
+            property == "postLayoutTranslationZ" || property == "postLayoutRotationX" ||
+            property == "postLayoutRotationY" || property == "postLayoutRotationZ" ||
+            property == "postLayoutScaleX" || property == "postLayoutScaleY" ||
+            property == "postLayoutScaleZ"
+            )
         {
             return;
         }
@@ -964,6 +1406,17 @@
             }
         }
         keyframes.push(newKF);
+    }
+
+    protected function addPostLayoutMotionPath(property:String,
+        valueFrom:Number = NaN, valueTo:Number = NaN, valueBy:Number = NaN):void
+    {
+    	if(isNaN(valueFrom) && isNaN(valueTo) && isNaN(valueBy))
+    	   return;
+
+        if(target.offsets == null)
+            target.offsets = new TransformOffsets();
+    	addMotionPath(property,valueFrom,valueTo,valueBy);
     }

     /**
@@ -1037,6 +1490,8 @@
             (!(value is Number) && value !== null));
     }

+
+
     /**
      * @private
      *
@@ -1052,29 +1507,62 @@

         var transformInstance:AnimateTransformInstance =
             AnimateTransformInstance(instance);
-
+
+
         if (transformPropertiesSet)
         {
             if (!motionPaths)
                 motionPaths = [];
-            if (translationX)
-                motionPaths.push(translationX);
-            if (translationY)
-                motionPaths.push(translationY);
-            if (translationZ)
-                motionPaths.push(translationZ);
-            if (rotationX)
-                motionPaths.push(rotationX);
-            if (rotationY)
-                motionPaths.push(rotationY);
-            if (rotationZ)
-                motionPaths.push(rotationZ);
-            if (scaleX)
-                motionPaths.push(scaleX);
-            if (scaleY)
-                motionPaths.push(scaleY);
-            if (scaleZ)
-                motionPaths.push(scaleZ);
+            if (_translationX)
+                motionPaths.push(_translationX);
+            if (_translationY)
+                motionPaths.push(_translationY);
+            if (_translationZ)
+                motionPaths.push(_translationZ);
+            if (_rotationX)
+                motionPaths.push(_rotationX);
+            if (_rotationY)
+                motionPaths.push(_rotationY);
+            if (_rotationZ)
+                motionPaths.push(_rotationZ);
+            if (_scaleX)
+                motionPaths.push(_scaleX);
+            if (_scaleY)
+                motionPaths.push(_scaleY);
+            if (_scaleZ)
+                motionPaths.push(_scaleZ);
+        }
+        if (postLayoutTransformPropertiesSet)
+        {
+            if (!motionPaths)
+                motionPaths = [];
+
+	        // there are two ways we can be affecting post-layout values.
+	        // first, if the user has explicity asked the motion paths to be post layout by setting the motionPathsAffectLayout
+	        // flag.  In that case, we can assume that they need an offsets object if one doesn't already exist.
+	        // Second, if we captured post-layout changes from a state change. In that case, we can assume that since values were captured,
+	        // offsets must already exist.
+	        if(target.offsets == null)
+	            target.offsets = new TransformOffsets();
+
+            if (_postLayoutTranslationX)
+                motionPaths.push(_postLayoutTranslationX);
+            if (_postLayoutTranslationY)
+                motionPaths.push(_postLayoutTranslationY);
+            if (_postLayoutTranslationZ)
+                motionPaths.push(_postLayoutTranslationZ);
+            if (_postLayoutRotationX)
+                motionPaths.push(_postLayoutRotationX);
+            if (_postLayoutRotationY)
+                motionPaths.push(_postLayoutRotationY);
+            if (_postLayoutRotationZ)
+                motionPaths.push(_postLayoutRotationZ);
+            if (_postLayoutScaleX)
+                motionPaths.push(_postLayoutScaleX);
+            if (_postLayoutScaleY)
+                motionPaths.push(_postLayoutScaleY);
+            if (_postLayoutScaleZ)
+                motionPaths.push(_postLayoutScaleZ);
         }
         // Feed startDelay directly into keyframe times
         if (motionPaths)
@@ -1107,6 +1595,16 @@
         if (transformInstance.initialized)
             return;
         transformInstance.initialized = true;
+
+        transformInstance.applyLocalProjection = applyLocalProjection;
+        transformInstance.removeLocalProjectionWhenComplete = removeLocalProjectionWhenComplete;
+        transformInstance.autoCenterProjection = autoCenterProjection;
+        transformInstance.fieldOfView = fieldOfView;
+        transformInstance.focalLength = focalLength;
+        transformInstance.projectionX = projectionX;
+        transformInstance.projectionY = projectionY;
+
+

         transformInstance.transformCenter =
             computeTransformCenterForTarget(instance.target);


Transferred from the Adobe Open Source Subversion Repository

Revision: 2464
Author:   jimurphy@adobe.com
Date:     2008-07-14T19:50:33.449468Z

Log Message:
-----------
add flex 4 to trunk

Modified Paths:
--------------
134 paths were modified

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

--- frameworks/projects/spark/src/spark/filters/DropShadowFilter.as
+++ frameworks/projects/spark/src/spark/filters/DropShadowFilter.as
@@ -0,0 +1,191 @@
+package flex.filters
+{
+import flash.filters.BitmapFilter;
+import flash.filters.DropShadowFilter;
+
+public class DropShadowFilter extends BaseDimensionFilter implements IBitmapFilter
+{
+	public function DropShadowFilter(distance:Number = 4.0, angle:Number = 45,
+									 color:uint = 0, alpha:Number = 1.0,
+									 blurX:Number = 4.0, blurY:Number = 4.0,
+									 strength:Number = 1.0, quality:int = 1,
+									 inner:Boolean = false,
+									 knockout:Boolean = false,
+									 hideObject:Boolean = false)
+	 {
+	 	this.distance = distance;
+	 	this.angle = angle;
+	 	this.color = color;
+	 	this.alpha = alpha;
+	 	this.blurX = blurX;
+	 	this.blurY = blurY;
+	 	this.strength = strength;
+	 	this.quality = quality;
+	 	this.inner = inner;
+	 	this.knockout = knockout;
+	 	this.hideObject = hideObject;
+	 }
+
+	//----------------------------------
+    //  alpha
+    //----------------------------------
+
+	private var _alpha:Number = 1.0;
+
+	/**
+	 *  The alpha transparency value for the color. Valid values are 0 to 1.
+	 *  For example, .25 sets a transparency value of 25%.
+	 *
+	 *  @default 1
+	 */
+	public function get alpha():Number
+	{
+		return _alpha;
+	}
+
+	public function set alpha(value:Number):void
+	{
+		if (value != _alpha)
+		{
+			_alpha = value;
+			notifyFilterChanged();
+		}
+	}
+
+	//----------------------------------
+    //  angle
+    //----------------------------------
+
+	private var _angle:Number = 45;
+
+	/**
+	 *   The angle of the bevel. Valid values are from 0 to 360°.
+	 *   The angle value represents the angle of the theoretical light source falling on the
+	 *   object and determines the placement of the effect relative to the object.
+	 *   If the distance property is set to 0, the effect is not offset from the object and,
+	 *   therefore, the angle property has no effect.
+	 *
+	 *   @default 45
+	 */
+	public function get angle():Number
+	{
+		return _angle;
+	}
+
+	public function set angle(value:Number):void
+	{
+		if (value != _angle)
+		{
+			_angle = value;
+			notifyFilterChanged();
+		}
+	}
+
+	//----------------------------------
+    //  color
+    //----------------------------------
+
+	private var _color:uint = 0x000000;
+
+	/**
+	 *  The color of the glow. Valid values are in the hexadecimal format
+	 * 	0xRRGGBB.
+	 *  @default 0xFF0000
+	 */
+	public function get color():uint
+	{
+		return _color;
+	}
+
+	public function set color(value:uint):void
+	{
+		if (value != _color)
+		{
+			_color = value;
+			notifyFilterChanged();
+		}
+	}
+
+	//----------------------------------
+    //  distance
+    //----------------------------------
+
+	private var _distance:Number = 4.0;
+
+	/**
+	 *  The offset distance of the bevel. Valid values are in pixels (floating point).
+	 * 	@default 4
+	 */
+	public function get distance():Number
+	{
+		return _distance;
+	}
+
+	public function set distance(value:Number):void
+	{
+		if (value != _distance)
+		{
+			_distance = value;
+			notifyFilterChanged();
+		}
+	}
+
+	//----------------------------------
+    //  hideObject
+    //----------------------------------
+
+	private var _hideObject:Boolean = false;
+
+	/**
+	 *  Indicates whether or not the object is hidden. The value true indicates that the
+	 *  object itself is not drawn; only the shadow is visible.
+	 *  The default is false (the object is shown).
+	 */
+	public function get hideObject():Boolean
+	{
+		return _hideObject;
+	}
+
+	public function set hideObject(value:Boolean):void
+	{
+		if (value != _hideObject)
+		{
+			_hideObject = value;
+			notifyFilterChanged();
+		}
+	}
+
+	//----------------------------------
+    //  inner
+    //----------------------------------
+
+	private var _inner:Boolean = false;
+
+	/**
+	 *  Specifies whether the glow is an inner glow. The value true indicates an inner glow.
+	 *  The default is false, an outer glow (a glow around the outer edges of the object).
+	 */
+	public function get inner():Boolean
+	{
+		return _inner;
+	}
+
+	public function set inner(value:Boolean):void
+	{
+		if (value != _inner)
+		{
+			_inner = value;
+			notifyFilterChanged();
+		}
+	}
+
+	public function clone():BitmapFilter
+	{
+		return new flash.filters.DropShadowFilter(distance, angle, color, alpha, blurX,
+												  blurY, strength, quality, inner,
+												  knockout, hideObject);
+	}
+
+}
+
+}


change fv name

change fv name

--- kdp3Lib/src/com/kaltura/kdpfl/view/media/KMediaPlayerMediator.as
+++ kdp3Lib/src/com/kaltura/kdpfl/view/media/KMediaPlayerMediator.as
@@ -781,7 +781,7 @@

 		private function onDoPlay():void
-		{						trace("my controlADPlayback value  xxx:::::: 	"+_flashvars.controlAdPlayback);
+		{
 			if (_mediaProxy.vo.isLive)
 			{
 				if (_mediaProxy.vo.isOffline)
@@ -806,7 +806,7 @@
 				_sequenceProxy.playNextInSequence();
 				return;
 			}
-			else if (!_mediaProxy.vo.media || player.media != _mediaProxy.vo.media && _flashvars.controlAdPlayback != "true")
+			else if (!_mediaProxy.vo.media || player.media != _mediaProxy.vo.media && _flashvars.allowUserPauseAds != "true")
 			{

 				if (_mediaProxy.vo.preferedFlavorBR && !isAkamaiHD())


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

--- frameworks/projects/mx/src/mx/effects/AddChildAction.as
+++ frameworks/projects/mx/src/mx/effects/AddChildAction.as
@@ -0,0 +1,249 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.effects
+{
+
+import flash.display.DisplayObjectContainer;
+import mx.core.mx_internal;
+import mx.effects.effectClasses.AddChildActionInstance;
+import mx.effects.effectClasses.PropertyChanges;
+
+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+[Exclude(name="duration", kind="property")]
+
+/**
+ *  The AddChildAction class defines an action effect that corresponds
+ *  to the AddChild property of a view state definition.
+ *  You use an AddChildAction effect within a transition definition
+ *  to control when the view state change defined by an AddChild property
+ *  occurs during the transition.
+ *
+ *  @mxml
+ *
+ *
The <mx:AddChildAction> tag
+ *  inherits all of the tag attributes of its superclass,
+ *  and adds the following tag attributes:

+ *
+ *

+ *  <mx:AddChildAction
+ *    Properties
+ *    id="ID"
+ *    index="-1"
+ *    relativeTo=""
+ *    position="index"
+ *  />
+ *

+ *
+ *  @see mx.effects.effectClasses.AddChildActionInstance
+ *  @see mx.states.AddChild
+ *
+ *  @includeExample ../states/examples/TransitionExample.mxml
+ */
+public class AddChildAction extends Effect
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private static var AFFECTED_PROPERTIES:Array = [ "parent", "index" ];
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param target The Object to animate with this effect.
+	 */
+	public function AddChildAction(target:Object = null)
+	{
+		super(target);
+
+		instanceClass = AddChildActionInstance;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var localPropertyChanges:Array;
+
+	//----------------------------------
+	//  index
+	//----------------------------------
+
+	[Inspectable(category="General")]
+
+	/**
+	 *  The index of the child within the parent.
+	 *  A value of -1 means add the child as the last child of the parent.
+	 *
+	 *  @default -1
+	 */
+	public var index:int = -1;
+
+	//----------------------------------
+	//  relativeTo
+	//----------------------------------
+
+	[Inspectable(category="General")]
+
+	/**
+	 *  The location where the child component is added.
+	 *  By default, Flex determines this value from the AddChild
+	 *  property definition in the view state definition.
+	 */
+	public var relativeTo:DisplayObjectContainer;
+
+	//----------------------------------
+	//  position
+	//----------------------------------
+
+	[Inspectable(category="General")]
+
+	/**
+	 *  The position of the child in the display list, relative to the
+	 *  object specified by the relativeTo property.
+	 *  Valid values are "before", "after",
+	 *  "firstChild", "lastChild", and "index",
+	 *  where "index" specifies to use the index property
+	 *  to determine the position of the child.
+	 *
+	 *  @default "index"
+	 */
+	public var position:String = "index";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function getAffectedProperties():Array /* of String */
+	{
+		return AFFECTED_PROPERTIES;
+	}
+
+	/**
+	 *  @private
+	 */
+	private function getPropertyChanges(target:Object):PropertyChanges
+	{
+		for (var i:int = 0; i < localPropertyChanges.length; i++)
+		{
+			if (localPropertyChanges[i].target == target)
+				return localPropertyChanges[i];
+		}
+
+		return null;
+	}
+
+	/**
+	 *  @private
+	 */
+	private function targetSortHandler(first:Object, second:Object):Number
+	{
+		var p1:PropertyChanges = getPropertyChanges(first);
+		var p2:PropertyChanges = getPropertyChanges(second);
+
+		if (p1 && p2)
+		{
+			if (p1.start.index > p2.start.index)
+				return 1;
+			else if (p1.start.index < p2.start.index)
+				return -1;
+		}
+
+		return 0;
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function createInstances(targets:Array = null):Array /* of EffectInstance */
+	{
+		if (!targets)
+			targets = this.targets;
+
+		if (targets && mx_internal::propertyChangesArray)
+		{
+			localPropertyChanges = mx_internal::propertyChangesArray;
+			targets.sort(targetSortHandler);
+		}
+
+		return super.createInstances(targets);
+	}
+
+	/**
+	 *  @private
+	 */
+	override protected function initInstance(instance:IEffectInstance):void
+	{
+		super.initInstance(instance);
+
+		var actionInstance:AddChildActionInstance =
+			AddChildActionInstance(instance);
+
+		actionInstance.relativeTo = relativeTo;
+		actionInstance.index = index;
+		actionInstance.position = position;
+	}
+
+	/**
+	 *  @private
+	 */
+	override protected function getValueFromTarget(target:Object,
+												  property:String):*
+	{
+		if (property == "index")
+			return target.parent ? target.parent.getChildIndex(target) : 0;
+
+		return super.getValueFromTarget(target, property);
+	}
+
+	/**
+	 *  @private
+	 */
+	override protected function applyValueToTarget(target:Object,
+												   property:String,
+												   value:*,
+												   props:Object):void
+	{
+		if (property == "parent" && target.parent && value == undefined)
+			target.parent.removeChild(target);
+
+		// Ignore index - it's applied along with parent
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 6418
Author:   egeorgie@adobe.com
Date:     2009-04-30T15:25:38.949226Z

Log Message:
-----------
Fix bug: http://bugs.adobe.com/jira/browse/SDK-20866 RTE for tests containing dataGrid

Fix: My change Revision: 6407 [ http://p01weblab02.macromedia.com/viewvc/opensource?view=rev&revision=6407 ] removed a null check from the GraphicElement's validateDisplayList. It turns out that Group's updateDisplayList will sometimes get called while the elements are still pending DisplayObject assignment. This fix adds a check in the Group's updateDisplayList to avoid any graphic element display list validation if DisplayObject assignment is still pending.

QE Notes: None
Doc Notes: None
Bugs: SDK-20886
Reviewer: Corey
tests: checkintests

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

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -702,6 +702,11 @@
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
         super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+        // If the DisplayObject assignment is still not completed, then postpone validation
+        // of the GraphicElements
+        if (needsDisplayObjectAssignment && invalidatePropertiesFlag)
+            return;

         // Clear the group's graphic because graphic elements might be drawing to it
         // This isn't needed for DataGroup because there's no DisplayObject sharing


Transferred from the Adobe Open Source Subversion Repository

Revision: 17955
Author:   clucier@adobe.com
Date:     2010-09-30T18:10:13.439584Z

Log Message:
-----------
Addressing an issue where Label would inconsistently place its TextLine's based on whether or not it was using cached bounds (which were previously rounded to whole pixel) or using computed bounds.

QE notes: Tests need updating as discussed.
Doc notes: None
Bugs: SDK-27903
Reviewer: Evtim
Tests run: Checkin, Full Cyclone
Is noteworthy for integration: No

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

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

--- frameworks/projects/spark/src/spark/components/Label.as
+++ frameworks/projects/spark/src/spark/components/Label.as
@@ -916,11 +916,11 @@

         var innerWidth:Number = bounds.width - paddingLeft - paddingRight;
         var innerHeight:Number = bounds.height - paddingTop - paddingBottom;
-
+
         var measureWidth:Boolean = isNaN(innerWidth);
         if (measureWidth)
             innerWidth = maxWidth;
-
+
         var maxLineWidth:Number = lineBreak == "explicit" ?
                                   TextLine.MAX_LINE_WIDTH :
                                   innerWidth;
@@ -1092,6 +1092,10 @@
         if (isNaN(bounds.height))
             innerHeight = textLine.y + textLine.descent;

+        // Ensure we snap for consistent results.
+        innerWidth = Math.ceil(innerWidth);
+        innerHeight = Math.ceil(innerHeight);
+
         var leftAligned:Boolean =
             textAlign == "start" && direction == "ltr" ||
             textAlign == "end" && direction == "rtl" ||
@@ -1156,8 +1160,8 @@
             else if (centerAligned)
                 textLine.x = centerOffset - textLine.textWidth / 2;
             else if (rightAligned)
-                textLine.x = rightOffset - textLine.textWidth;
-
+                textLine.x = rightOffset - textLine.textWidth;
+
             if (verticalAlign == "top" || !createdAllLines || clipping)
             {
                 textLine.y += topOffset;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.core
 {


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

--- frameworks/projects/framework/src/mx/managers/ILayoutManagerClient.as
+++ frameworks/projects/framework/src/mx/managers/ILayoutManagerClient.as
@@ -0,0 +1,163 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.managers
+{
+
+import flash.events.IEventDispatcher;
+import mx.core.mx_internal;
+
+use namespace mx_internal;
+
+/**
+ *  The ILayoutManagerClient interface defines the interface
+ *  that a component must implement to participate in the
+ *  LayoutManager's commit/measurement/layout sequence.
+ *
+ *
Objects that implement this interface can be passed to the
+ *  LayoutManager's invalidateProperties() method.
+ *  When the LayoutManager reaches the commit properties phase,
+ *  the LayoutManager invokes this object's validateProperties()
+ *  method.

+ *
+ *
Similarly, if an object is passed to the LayoutManager's
+ *  invalidateSize() method, then the LayoutManager
+ *  calls that object's validateSize() method
+ *  during its measurement phase, and if an object is passed
+ *  to LayoutManager's invalidateDisplayList() method,
+ *  then the LayoutManager  calls its validateDisplayList() method
+ *  during the layout phase.

+ *
+ *
The ILayoutManagerClient interface is implemented by the UIComponent
+ *  and ProgrammaticSkin classes.

+ */
+public interface ILayoutManagerClient extends IEventDispatcher
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  initialized
+	//----------------------------------
+
+	/**
+	 *  A flag that determines if an object has been through all three phases
+	 *  of layout validation (provided that any were required)
+	 *  This flag should only be modified by the LayoutManager.
+	 */
+	function get initialized():Boolean;
+
+	/**
+	 *  @private
+	 */
+	function set initialized(value:Boolean):void;
+
+	//----------------------------------
+	//  nestLevel
+	//----------------------------------
+
+	/**
+	 *  The top-level SystemManager has a nestLevel of 1.
+	 *  Its immediate children (the top-level Application and any pop-up
+	 *  windows) have a nestLevel of 2.
+	 *  Their children have a nestLevel of 3, and so on.
+	 *
+	 *  The nestLevel is used to sort ILayoutManagerClients
+	 *  during the measurement and layout phases.
+	 *  During the commit phase, the LayoutManager commits properties on clients
+	 *  in order of decreasing nestLevel, so that an object's
+	 *  children have already had their properties committed before Flex
+	 *  commits properties on the object itself.
+	 *  During the measurement phase, the LayoutManager measures clients
+	 *  in order of decreasing nestLevel, so that an object's
+	 *  children have already been measured before Flex measures
+	 *  the object itself.
+	 *  During the layout phase, the LayoutManager lays out clients
+	 *  in order of increasing nestLevel, so that an object
+	 *  has a chance to set the sizes of its children before the child
+	 *  objects are asked to position and size their children.
+	 */
+	function get nestLevel():int;
+
+	/**
+	 *  @private
+	 */
+	function set nestLevel(value:int):void;
+
+	//----------------------------------
+	//  processedDescriptors
+	//----------------------------------
+
+	/**
+     *  @copy mx.core.UIComponent#processedDescriptors
+	 */
+	function get processedDescriptors():Boolean;
+
+	/**
+	 *  @private
+	 */
+	function set processedDescriptors(value:Boolean):void;
+
+	//----------------------------------
+	//  updateCompletePendingFlag
+	//----------------------------------
+
+	/**
+	 *  A flag that determines if an object is waiting to have its
+	 *  updateComplete event dispatched.
+	 *  This flag should only be modified by the LayoutManager.
+	 */
+	function get updateCompletePendingFlag():Boolean;
+
+	/**
+	 *  @private
+	 */
+	function set updateCompletePendingFlag(value:Boolean):void;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Validates the properties of a component.
+	 *  If the LayoutManager.invalidateProperties() method is called with
+	 *  this ILayoutManagerClient, then the validateProperties() method
+	 *  is called when it's time to commit property values.
+	 */
+	function validateProperties():void;
+
+	/**
+	 *  Validates the measured size of the component
+	 *  If the LayoutManager.invalidateSize() method is called with
+	 *  this ILayoutManagerClient, then the validateSize() method
+	 *  is called when it's time to do measurements.
+	 *
+	 *  @param recursive If true, call this method
+	 *  on the objects children.
+	 */
+	function validateSize(recursive:Boolean = false):void;
+
+	/**
+	 *  Validates the position and size of children and draws other
+	 *  visuals.
+	 *  If the LayoutManager.invalidateDisplayList() method is called with
+	 *  this ILayoutManagerClient, then the validateDisplayList() method
+	 *  is called when it's time to update the display list.
+	 */
+	function validateDisplayList():void;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 11247
Author:   klin@adobe.com
Date:     2009-10-28T21:59:11.963883Z

Log Message:
-----------
Fix for https://bugs.adobe.com/jira/browse/SDK-23184.

Updated a bunch of Style metadata ASDocs to describe different defaults between the Halo and Spark themes. Also, fixed a few typos along the way.

defaults.css - rearranged a few styles to be in alphabetical order
Button.as - removed extra emphasizedSkin style metadata
Panel.as - added spark theme to borderAlpha metadata

QE notes: None
Doc notes: None
Bugs: SDK-23184
Reviewer: Glenn
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBarButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/fl/video/NCManagerNative.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/styles/metadata/SkinStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.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/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.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/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/TextStyles.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/LinkButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuItemRenderer.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/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.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/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpMenuIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/PaddingStyles.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/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/GapStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.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/spark/src/fl/video/NCManagerDynamicStream.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.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/styles/metadata/FocusStyles.as</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/spark/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as</path>

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

--- frameworks/projects/framework/src/mx/styles/metadata/PaddingStyles.as
+++ frameworks/projects/framework/src/mx/styles/metadata/PaddingStyles.as
@@ -13,7 +13,8 @@
  *  Number of pixels between the component's left border
  *  and the left edge of its content area.
  *
The default value is 0.

- *
The default value for a Button control is 10.

+ *
The default value for a Button control in the Halo theme is 10
+ *     and in the Spark theme is 6.

  *
The default value for the ComboBox control is 5.

  *
The default value for the Form container is 16.

  *
The default value for the Tree control is 2.

@@ -29,7 +30,8 @@
  *  Number of pixels between the component's right border
  *  and the right edge of its content area.
  *
The default value is 0.

- *
The default value for a Button control is 10.

+ *
The default value for a Button control in the Halo theme is 10
+ *     and in the Spark theme is 6.

  *
The default value for the ComboBox control is 5.

  *
The default value for the Form container is 16.

  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 17308
Author:   dthakkar@adobe.com
Date:     2010-08-12T23:22:20.533632Z

Log Message:
-----------
Flex integration feature (includes spark formatters and related checkintests.)
UIComponent.as - Added API's to support non visual style client
IAdvancedStyleClient.as - Added setter for StyleParent method
StyleProtoChain.as - Added else loop to verify if the component is IAdvancedStyleClient
StyleProxy.as - added setter for styleParent method (this class inherits IAdvancedStyleClient interface)

QE notes: No
Doc notes: No
Bugs: No
Reviewer: Gordon , Darrell
Tests run: CheckinTests, Mustella
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/styleTest</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/CollatorTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/SortingCollator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/StringToolsTestScript.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/AdvancedStyleClientTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/styleTest/ADVStyleTestEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/NumberFormatterTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/CurrencyFormatterTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/CollatorTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/NumberFormatterTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/DateTimeFormatterTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/CurrencyFormatterTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/DateTimeFormatterTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/AdvancedStyleClientTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/GlobalizationBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/formatters/IFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/styleTest/ADVStyleTestClass.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/LastOperationStatus.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/StringToolsTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/MatchingCollator.as</path>

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

--- frameworks/projects/spark/src/spark/globalization/MatchingCollator.as
+++ frameworks/projects/spark/src/spark/globalization/MatchingCollator.as
@@ -0,0 +1,118 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.globalization
+{
+
+import flash.globalization.CollatorMode;
+
+import spark.globalization.supportClasses.CollatorBase;
+
+/**
+ *  The MatchingCollator class provides locale-sensitve string
+ *  comparison capabilities with inital settings suitable for general string
+ * matching such as finding a matching word in a block of text.
+ *
+ *
This class is a wrapper class around the
+ *  flash.globalization.Collator.
+ *  Therefore the locale-specific string comparison is provided by the
+ *  flash.globalization.Collator.
+ *  However this MatchingCollator class can be used in MXML declartions, uses
+ *  the locale style for the requested Locale ID name, and has methods and
+ *  properties that are bindable.
+ *  Additionally events are generated if there is an error or warning
+ *  generated by the flash.globalization class.

+ *
+ *
The flash.globalization.Collator class use the underlying operating
+ *  system for the formatting functionality and to supply the locale
+ *  specific data.
+ *  On some operating systems, the flash.globalization classes are
+ *  unsupported, this wrapper class provides a fallback functionality in
+ *  this case.

+ *
+ *  @see flash.globalization.Collator
+ */
+public class MatchingCollator extends CollatorBase
+{
+    include "../core/Version.as";
+
+    //---------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //---------------------------------------------------------------------
+
+    /**
+     *  Constructs a new MatchingCollator object to provide string
+     *  comparisons according to the conventions of a specified locale.
+     *
+     *
This class sets the initial values of the various collation
+     *  for general string matching uses such as determining if two strings
+     *  are equivalent or finding a matching word in a block of text.
+     *  In this mode, differences in uppercase and lower case letters,
+     *  accented characters, and so on are ignored when doing string
+     *  comparisons.

+     *
+     *
The comparison provided by an instance of this class is
+     *  equivalent to constructing an instance of the
+     *  flash.globalization.Collator with the
+     *  initialMode paramater set to
+     *  CollatorMode.MATCHING.
+     *  For more details and examples of this mode, please
+     *  see the documentation for the
+     *  flash.globalization.Collator class

+     *
+     *
The locale for this class is supplied by the locale style.
+     *  The locale style can be set in several ways:

+     *
+     *

+     *
Inheriting the style from a UIComponent by calling the
+     *          UIComponent's addStyleClient method.

+     *
By using the class in an MXML declaration and inheriting the
+     *          locale from the document that contains the declaration.
+     *  <listing version="3.0">
+     *  <fx:Declarations>
+     *         <s:StringTools id="st" />
+     *  </fx:Declarations>
+     *  </listing>
+     *

+     *
By using an MXML declaration and specifying the locale value
+     *              in the list of assignments.
+     *  <listing version="3.0">
+     *  <fx:Declarations>
+     *      <s:StringTools id="st_turkish" locale="tr-TR" />
+     *  </fx:Declarations>
+     *  </listing>
+     *

+     *
Calling the setStyle method, e.g.
+     *              st.setStyle("locale", "tr-TR")

+     *

+     *
+     *
If the locale style is not set by one of the above techniques,
+     *  the methods of this class that depend on the locale will return 0,
+     *  false, or null depending on the return type and the
+     *  lastOperationStatus property will be set to
+     *  spark.globalization.LastOperationStatus.LOCALE_UNDEFINED_ERROR.
+     *
+     *

+     *
+     *  @see flash.globalization.Collator
+     *  @playerversion Flash 10.1
+     *  @langversion 3.0
+     *  @productversion Flex 4.5
+     *  @productversion Flash CS5
+     */
+    public function MatchingCollator()
+    {
+        super(CollatorMode.MATCHING);
+    }
+}
+}