Transferred from the Adobe Open Source Subversion Repository

Revision: 7864
Author:   gruehle@adobe.com
Date:     2009-06-15T22:20:22.309974Z

Log Message:
-----------
Move the airframework spark.skins.default.* to spark.skins.spark.*

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacMinimizeButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/MacMinimizeButtonSkin.mxml</path>
<path kind="dir" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default" copyfrom-rev="7857" action="A">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacMaximizeButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/MacMaximizeButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/CloseButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/CloseButtonSkin.mxml</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/WindowedApplicationSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplicationSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/TitleBarSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/TitleBarSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/GripperSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/GripperSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MinimizeButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/MinimizeButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/defaults.css</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MaximizeButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/MaximizeButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/RestoreButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/RestoreButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/AIRFrameworkClasses.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacCloseButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/MacCloseButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacTitleBarSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/MacTitleBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/FlexChromeSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/FlexChromeSkin.mxml</path>

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -827,7 +827,7 @@
  *  Skin used to draw the focus rectangle.
  *
  *  The default value for Halo components is mx.skins.halo.HaloFocusRect.
- *  The default value for Spark components is spark.skins.default.FocusSkin.
+ *  The default value for Spark components is spark.skins.spark.FocusSkin.
  *
  *  @langversion 3.0
  *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 3556
Author:   jvroom@adobe.com
Date:     2008-10-10T02:40:26.102583Z

Log Message:
-----------
http/Operation.as:
http/HTTPMultiService.as:
   - added showBusyCursor for HTTPMultiService

remoting/RemoteObject.as:
remoting/mxml/RemoteObject.as:
   - when I moved concurrency and showBusyCursor to the RemoteObject Operation class I forgot to
     move them on RemoteObject itself.  showBusyCursor might be on even if you did not
     want it on.

events/ResultEvent.as:
events/AbstractEvent.as:
   - need to be able to modify the result/token in the result event to implement
     management of RPC services (mx_internal)

QE: showBusyCursor on HTTPMultiService
Docs: ASDoc updated
Checkintests: pass
Reivewer: Seth

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/ResultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/AbstractEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/events/ResultEvent.as
+++ frameworks/projects/rpc/src/mx/rpc/events/ResultEvent.as
@@ -172,6 +172,11 @@
             token.applyResult(this);
     }

+    mx_internal function setResult(r:Object):void
+    {
+        _result = r;
+    }
+

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8487
Author:   smgilson@adobe.com
Date:     2009-07-09T18:57:21.985536Z

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

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

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

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

--- frameworks/projects/spark/src/spark/effects/AddAction.as
+++ frameworks/projects/spark/src/spark/effects/AddAction.as
@@ -39,7 +39,7 @@
  *
  *  @mxml
  *
- *
The <mx:AddAction> tag
+ *
The <s:AddAction> tag
  *  inherits all of the tag attributes of its superclass,
  *  and adds the following tag attributes:

  *


fix DrawCall.updateGeometry() to avoid re-computing normals if they already exist when computing tangent space

--- src/aerys/minko/render/DrawCall.as
+++ src/aerys/minko/render/DrawCall.as
@@ -214,15 +214,15 @@
 		  */
 		public function updateGeometry(geometry : Geometry) : void
 		{
-			var vertexFormat : VertexFormat	= geometry.format;
+			var vertexFormat    : VertexFormat	= geometry.format;
+            var hasNormals      : Boolean       = vertexFormat.hasComponent(VertexComponent.NORMAL);

 			if (_vsInputComponents.indexOf(VertexComponent.TANGENT) >= 0
 				&& !vertexFormat.hasComponent(VertexComponent.TANGENT))
 			{
-				geometry.computeTangentSpace();
-			}
-			else if (_vsInputComponents.indexOf(VertexComponent.NORMAL) >= 0
-                && !vertexFormat.hasComponent(VertexComponent.NORMAL))
+				geometry.computeTangentSpace(!hasNormals);
+			}
+			else if (_vsInputComponents.indexOf(VertexComponent.NORMAL) >= 0 && !hasNormals)
 			{
 				geometry.computeNormals();
 			}


fixed bug in diff calculation

fixed bug in diff calculation

Change-Id: I90f52da75d7727a5b6114328fd5b7c798544d2f7

--- WeaveCore/src/weave/core/SessionManager.as
+++ WeaveCore/src/weave/core/SessionManager.as
@@ -1614,7 +1614,7 @@
 			else if (oldState is Array && newState is Array)
 			{
 				// If neither is a dynamic state array, don't compare them as such.
-				if (!DynamicState.isDynamicStateArray(oldState) || !DynamicState.isDynamicStateArray(newState))
+				if (!DynamicState.isDynamicStateArray(oldState) && !DynamicState.isDynamicStateArray(newState))
 				{
 					if (StandardLib.arrayCompare(oldState as Array, newState as Array) == 0)
 						return undefined; // no diff


The native method can't handle flash.geom::Point, but it does handle flash.geom.Point, so we'll translate here.

--- tamarin-central/thane/thane_core.as
+++ tamarin-central/thane/thane_core.as
@@ -131,7 +131,7 @@

 public function getDefinitionByName (name :String) :Class
 {
-    return Domain.currentDomain.getClass(name);
+    return Domain.currentDomain.getClass(name.replace("::", "."));
 }

 public function getQualifiedClassName (c :*) :String


Remove unused import

Remove unused import

--- exporter/src/main/as/flump/export/ProjectController.as
+++ exporter/src/main/as/flump/export/ProjectController.as
@@ -17,7 +17,6 @@
 import flash.utils.IDataOutput;

 import flump.executor.Executor;
-import flump.executor.Future;
 import flump.xfl.ParseError;
 import flump.xfl.XflLibrary;

@@ -283,9 +282,9 @@
         var formatNames :Array = [];
         var hasCombined :Boolean = false;
         if (_conf != null) {
-            for each (var export :ExportConf in _conf.exports) {
-                formatNames.push(export.description);
-                hasCombined ||= export.combine;
+            for each (var exportConf :ExportConf in _conf.exports) {
+                formatNames.push(exportConf.description);
+                hasCombined ||= exportConf.combine;
             }
         }
         _win.formatOverview.text = formatNames.join(", ");


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

--- frameworks/projects/framework/src/mx/core/FontAsset.as
+++ frameworks/projects/framework/src/mx/core/FontAsset.as
@@ -0,0 +1,90 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+
+import flash.text.Font;
+
+/**
+ *  FontAsset is a subclass of the flash.text.Font class
+ *  which represents fonts that you embed in a Flex application.
+ *
+ *
The font that you embed can be TrueType (TTF) or OpenType (OTF).
+ *  You can also embed a system font or a font that is in a SWF file
+ *  produced by Flash.
+ *  In each of these cases, the MXML compiler autogenerates a class
+ *  that extends FontAsset to represent the embedded font.

+ *
+ *
You do not generally use the FontAsset class directly
+ *  when you write a Flex application.
+ *  For example, you can embed a font by using the font-face CSS selector
+ *  without having to understand that the MXML compiler has created
+ *  a subclass of FontAsset for you.

+ *
+ *
However, it might be useful to understand what is happening
+ *  at the ActionScript level.
+ *  To embed a font in ActionScript, you declare a variable
+ *  of type Class, and put [Embed] metadata on it.
+ *  For example, you embed a TTF file like this:

+ *
+ *

+ *  [Embed(source="Fancy.ttf", fontName="Fancy")]
+ *  var fancyClass:Class;
+ *

+ *
+ *
The MXML compiler transcodes the TTF data
+ *  into the font format that the player uses, autogenerates
+ *  a subclass of the FontAsset class, and sets your variable
+ *  to be a reference to this autogenerated class.
+ *  You can then use this class reference to create instances of the
+ *  FontAsset by using the new operator, and you can use
+ *  APIs of the Font class on them; for example:

+ *
+ *

+ *  var fancyFont:FontAsset = FontAsset(new fancyClass());
+ *  var hasDigits:Boolean = fancyFont.hasGlyphs("0123456789");
+ *

+ *
+ *
However, you rarely need to create FontAsset instances yourself
+ *  because you use the fontName that you specify
+ *  in the [Embed] metadata to refer to the font; for example,
+ *  you set the fontFamily CSS style to the font name
+ *  (in this example, "Fancy"), and not to a FontAsset instance such as
+ *  fancyFont or to the fancyClass
+ *  class reference. For example:

+ *
+ *

+ *  <mx:Label text="Thank you for your order." fontFamily="Fancy"/>
+ *

+ *
+ *  @see flash.text.Font
+ */
+public class FontAsset extends Font implements IFlexAsset
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     */
+    public function FontAsset()
+    {
+        super();
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 10766
Author:   gruehle@adobe.com
Date:     2009-09-30T22:55:55.205927Z

Log Message:
-----------
Re-commit compiler errors for other theme's styles feature. If Style metadata has a "themes" attribute, the style is only valid if that theme is applied.

The Spark theme is applied by default. The halo theme can be specified as a compiler argument or by selecting the "MX Only" component set in Builder.

All other themes need to be applied using theme+= instead of theme=. If you use theme= you will get warnings about styles used in CSS selectors, and errors if you use any theme-specific style as an attribute on an MXML tag.

By default, styles that aren't valid for the current theme are errors. These can be changed to warnings with the report-invalid-styles-as-warnings compiler option.

QE notes: Expect test breakage
Doc notes: The new policy for themes needs to be documented.
Bugs: none yet, but I'm sure there will be some...
Reviewer: Ryan
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java</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="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ApplicationBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/themes/Spark/spark.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.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/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</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/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/DeclarationHandler.java</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/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</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/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/AttributeHandler.java</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/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FXGCompiler.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin.mxml</path>

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

--- frameworks/projects/mx/src/mx/containers/ControlBar.as
+++ frameworks/projects/mx/src/mx/containers/ControlBar.as
@@ -13,10 +13,13 @@
 {

 import mx.core.Container;
+import mx.core.FlexVersion;
 import mx.core.ScrollPolicy;
 import mx.core.mx_internal;
 import mx.core.UIComponent;
+import mx.styles.CSSStyleDeclaration;
 import mx.styles.IStyleClient;
+import mx.styles.StyleManager;

 use namespace mx_internal;

@@ -139,6 +142,18 @@
         // ControlBar defaults to direction="horizontal", but can be changed
         // later if desired
         direction = BoxDirection.HORIZONTAL;
+
+        if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_0)
+        {
+            var typeSelector:CSSStyleDeclaration =
+                StyleManager.getStyleDeclaration("mx.containers.ControlBar");
+
+            if (typeSelector)
+            {
+                if (typeSelector.getStyle("borderStyle") === undefined)
+                    typeSelector.setStyle("borderStyle", "controlBar");
+            }
+        }
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 10475
Author:   jimurphy@adobe.com
Date:     2009-09-21T23:58:45.057679Z

Log Message:
-----------
Merged 3.x revisions 10063,10086,10098,10123,10176,10397,10416-10418,10420 -> trunk

checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as
+++ frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as
@@ -971,19 +971,19 @@
      */
     override mx_internal function dispatchRpcEvent(event:AbstractEvent):void
     {
-        event.mx_internal::callTokenResponders();
-        if (!event.isDefaultPrevented())
+        if (hasEventListener(event.type))
         {
-            if (hasEventListener(event.type))
-            {
+            event.mx_internal::callTokenResponders();
+            if (!event.isDefaultPrevented())
                 dispatchEvent(event);
-            }
+        }
+        else
+        {
+            if (httpService != null)
+                httpService.mx_internal::dispatchRpcEvent(event);
             else
-            {
-                if (httpService != null)
-                    httpService.mx_internal::dispatchRpcEvent(event);
-            }
-        }
+                event.mx_internal::callTokenResponders();
+        }
     }

     /**


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

--- frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLService.as
+++ frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLService.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.rpc.wsdl
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 16805
Author:   klin@adobe.com
Date:     2010-07-02T21:51:29.568001Z

Log Message:
-----------
The following changes apply to Spark DataGrid only.   Code reviews have been deferred until the implementation is closer to completion.

-Revert a change that I didn't notice was moved to commitProperties.

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

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -722,12 +722,6 @@
             invalidateProperties();
             invalidateSize();
             invalidateDisplayList();
-
-            gridDimensions.clear();
-            if (_columns)
-                gridDimensions.columnCount = _columns.length;
-            if (_dataProvider) // clearing the gridDimensions resets rowCount
-                gridDimensions.rowCount = _dataProvider.length;

             dispatchChangeEvent("columnsChanged");
         }
@@ -813,10 +807,6 @@
             invalidateProperties();
             invalidateSize();
             invalidateDisplayList();
-
-            gridDimensions.clear();
-            if (_dataProvider)
-                gridDimensions.rowCount = _dataProvider.length;

             dispatchChangeEvent("dataProviderChanged");
         }
@@ -2338,7 +2328,7 @@
                     // clearing the gridDimensions resets rowCount
                     if (_dataProvider)
                         gridDimensions.rowCount = _dataProvider.length;
-                    if (_columns)
+                    if (columnsChanged && _columns)
                         gridDimensions.columnCount = _columns.length;
                 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17978
Author:   hmuller@adobe.com
Date:     2010-09-30T23:20:34.653070Z

Log Message:
-----------
Restored support for ColumnHeaderBar event dispatching and added support for interactive column resizing.

Fixed support for DataGrid,Grid requestedColumnCount.

Renamed protected grid event handler methods, added an underscore: grid_RollOverHandler, grid_RollOutHandler, grid_MouseUpHandler, grid_MouseDownHandler.

Added SEPARATOR_DOUBLE_CLICK GridEvent type.

Remove unused private Grid/isEventTargetExcludeded() method.

QE notes:
Doc notes:
Bugs: SDK-28005, SDK-26364
Reviewer: Kevin
Tests run: checkin, mustella cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ColumnHeaderBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ColumnHeaderBarLayout.as</path>

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

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -3392,43 +3392,10 @@
     }

     /**
-     *  @private
-     *  Return itemRenderer["excludedEventTargets"] contains event.target.id,
-     *  where itemRenderer is the item renderer ancestor of event.target.
-     */
-    private function isEventTargetExcluded(event:Event):Boolean
-    {
-        const eventTarget:UIComponent = event.target as UIComponent;
-        const eventTargetID:String = (eventTarget) ? eventTarget.id : null;
-        if (!eventTargetID)
-            return false;
-
-        // Find the eventTarget's ancestor whose parent is the Grid.  That's the
-        // item renderer.  If it has an excludedEventTargets array that contains
-        // event.target.id, then this event is to be excluded.
-
-        for (var elt:IVisualElement = eventTarget; elt && (elt != this); elt = elt.parent as IVisualElement)
-            if (elt.parent == this)  // then elt is an item renderer
-            {
-                if ("excludedGridEventTargets" in Object(elt))
-                {
-                    const excludedTargets:Array = Object(elt)["excludedGridEventTargets"] as Array;
-                    return excludedTargets.indexOf(eventTargetID) != -1;
-                }
-                return false;
-            }
-
-        return false;
-    }
-
-    /**
      *  @private
      */
     private function dispatchGridEvent(mouseEvent:MouseEvent, type:String, gridXY:Point, rowIndex:int, columnIndex:int):void
     {
-        if (isEventTargetExcluded(mouseEvent))
-            return;
-
         const column:GridColumn = columnIndex >= 0 ? getGridColumn(columnIndex) : null;
         const item:Object = rowIndex >= 0 ? getDataProviderItem(rowIndex) : null;
         const itemRenderer:IVisualElement = getVisibleItemRenderer(rowIndex, columnIndex);


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/spark/src/spark/effects/Animate.as
+++ frameworks/projects/spark/src/spark/effects/Animate.as
@@ -42,28 +42,28 @@
  *
The Effect.effectStart event is dispatched
  * before the animationStart event.

  *
- * @eventType mx.events.AnimationEvent.ANIMATION_START
- *
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[Event(name="animationStart", type="mx.events.AnimationEvent")]
+ * @eventType spark.events.AnimationEvent.ANIMATION_START
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Event(name="animationStart", type="spark.events.AnimationEvent")]

 /**
  * Dispatched every time the effect updates the target.
  * This event corresponds to a call to
  * the AnimateInstance.updateHandler() method.
  *
- * @eventType mx.events.AnimationEvent.ANIMATION_UPDATE
- *
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[Event(name="animationUpdate", type="mx.events.AnimationEvent")]
+ * @eventType spark.events.AnimationEvent.ANIMATION_UPDATE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Event(name="animationUpdate", type="spark.events.AnimationEvent")]

 /**
  * Dispatched when the effect begins a new repetition, for
@@ -73,14 +73,14 @@
  * Flex also dispatches an animationUpdate event
  * for the effect at the same time.
  *
- * @eventType mx.events.AnimationEvent.ANIMATION_REPEAT
- *
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[Event(name="animationRepeat", type="mx.events.AnimationEvent")]
+ * @eventType spark.events.AnimationEvent.ANIMATION_REPEAT
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Event(name="animationRepeat", type="spark.events.AnimationEvent")]

 /**
  * Dispatched when the effect ends.
@@ -93,14 +93,14 @@
  * A repeating effect dispatches this event only after the
  * final repetition.

  *
- * @eventType mx.events.AnimationEvent.ANIMATION_END
- *
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[Event(name="animationEnd", type="mx.events.AnimationEvent")]
+ * @eventType spark.events.AnimationEvent.ANIMATION_END
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Event(name="animationEnd", type="spark.events.AnimationEvent")]

 /**
  * This effect animates an arbitrary set of properties between values, as specified
@@ -227,7 +227,7 @@
      * where the animation will reverse direction each iteration.
      *
      * @default Animation.LOOP
-     * @see mx.effects.Animation#repeatBehavior
+     * @see spark.effects.animation.Animation#repeatBehavior
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


use Timer() instead of setInterval()

use Timer() instead of setInterval()

--- src/org/mangui/HLS/streaming/HLSNetStream.as
+++ src/org/mangui/HLS/streaming/HLSNetStream.as
@@ -1,6 +1,8 @@
 package org.mangui.HLS.streaming {

+    import flash.events.Event;
+    import flash.events.TimerEvent;
     import org.mangui.HLS.*;
     import org.mangui.HLS.muxing.*;
     import org.mangui.HLS.streaming.*;
@@ -21,8 +23,8 @@
         private var _fragment_loading:Boolean;
         /** means that last fragment of a VOD playlist has been loaded */
         private var _reached_vod_end:Boolean;
-        /** Interval for checking buffer and position. **/
-        private var _interval:Number;
+        /** Timer used to check buffer and position. **/
+        private var _timer:Timer;
         /** requested start position **/
         private var _seek_position_requested:Number = 0;
          /** real start position , retrieved from first fragment **/
@@ -59,11 +61,13 @@
             _hls.addEventListener(HLSEvent.LAST_VOD_FRAGMENT_LOADED,_lastVODFragmentLoadedHandler);
             _hls.addEventListener(HLSEvent.PLAYLIST_DURATION_UPDATED,_playlistDurationUpdated);
             _setState(HLSStates.IDLE);
+            _timer = new Timer(100,0);
+            _timer.addEventListener(TimerEvent.TIMER, _checkBuffer);
         };

         /** Check the bufferlength. **/
-        private function _checkBuffer():void {
+        private function _checkBuffer(e:Event):void {
             var buffer:Number = 0;
             // Calculate the buffer and position.
             if(_buffer.length) {
@@ -120,7 +124,7 @@
                 if(super.bufferLength ==0) {
                   // reach end of playlist + playback complete (as buffer is empty).
                   // stop timer, report event and switch to IDLE mode.
-                  clearInterval(_interval);
+                  _timer.stop();
                   _hls.dispatchEvent(new HLSEvent(HLSEvent.PLAYBACK_COMPLETE));
                   _setState(HLSStates.IDLE);
                 }
@@ -419,8 +423,7 @@
                } else {
                   _setState(HLSStates.PLAYING_BUFFERING);
                }
-               clearInterval(_interval);
-               _interval = setInterval(_checkBuffer,100);
+               _timer.start();
         };

@@ -429,7 +432,7 @@
             Log.info("HLSNetStream:close");
             super.close();
             _fragment_loading = false;
-            clearInterval(_interval);
+            _timer.stop();
             _setState(HLSStates.IDLE);
         };
     }


Modified Injector to use XML as metadata, rather then rely on the [Inject] tag.

--- src/org/swiftsuspenders/Injector.as
+++ src/org/swiftsuspenders/Injector.as
@@ -1,4 +1,4 @@
-/*
+/*
  * Copyright (c) 2009 the original author or authors
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -41,18 +41,19 @@
 		private var m_injectionPointLists : Dictionary;
 		private var m_constructorInjectionPoints : Dictionary;
 		private var m_successfulInjections : Dictionary;
-
+		private var m_xmlMetaData : XML;

 		/*******************************************************************************************
 		*								public methods											   *
 		*******************************************************************************************/
-		public function Injector()
+		public function Injector(xmlConfig : XML = null)
 		{
 			m_mappings = new Dictionary();
 			m_singletons = new Dictionary();
 			m_injectionPointLists = new Dictionary();
 			m_constructorInjectionPoints = new Dictionary();
 			m_successfulInjections = new Dictionary(true);
+			m_xmlMetaData = xmlConfig;
 		}

 		public function mapValue(
@@ -182,12 +183,27 @@
 			}
 			//get injection points for variables
 			// This is where we have to wire in the XML...
-			for each (node in description.factory.*.(name() == 'variable' || name() == 'accessor').
-				metadata.(@name == 'Inject'))
-			{
-				injectionPoint = new VariableInjectionPoint(node, m_mappings);
-				injectionPoints.push(injectionPoint);
-			}
+			if(m_xmlMetaData)
+			{
+				var className:String = description.factory.@type;
+				var configNode : XML;
+
+				for each (node in m_xmlMetaData.object.(@type == className).variable.metadata.(@name == "Inject"))
+				{
+					injectionPoint = new VariableInjectionPoint(node, m_mappings);
+					injectionPoints.push(injectionPoint);
+				}
+
+			}
+			else
+			{
+				for each (node in description.factory.*.(name() == 'variable' || name() == 'accessor').metadata.(@name == 'Inject'))
+				{
+					injectionPoint = new VariableInjectionPoint(node, m_mappings);
+					injectionPoints.push(injectionPoint);
+				}
+			}
+
 			//get injection points for variables
 			for each (node in description.factory.method.metadata.(@name == 'Inject'))
 			{


Transferred from the Adobe Open Source Subversion Repository

Revision: 13056
Author:   hneelu@adobe.com
Date:     2009-12-17T17:08:23.557597Z

Log Message:
-----------
Adding FTE changes for ADG

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/MXFTEText.css</path>

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

--- frameworks/projects/spark/src/SparkClasses.as
+++ frameworks/projects/spark/src/SparkClasses.as
@@ -23,6 +23,8 @@
  *  For example, Button does not have a reference to ButtonSkin,
  *  but ButtonSkin needs to be in framework.swc along with Button.
  */
+import mx.controls.advancedDataGridClasses.FTEAdvancedDataGridItemRenderer; FTEAdvancedDataGridItemRenderer;
+import mx.controls.advancedDataGridClasses.MXAdvancedDataGridItemRenderer; MXAdvancedDataGridItemRenderer;
 import mx.controls.dataGridClasses.FTEDataGridItemRenderer; FTEDataGridItemRenderer;
 import mx.controls.MXFTETextInput; MXFTETextInput;
 import mx.core.UIFTETextField; UIFTETextField;


flvresource hopefully sends a complete event by now

git-svn-id: e38e7cdd6ace00d8230583a2d3b43e9a55f5c011@529 bc4816be-ef27-423a-9c4d-fc420be121a2

--- src/reprise/external/FLVResource.as
+++ src/reprise/external/FLVResource.as
@@ -54,9 +54,21 @@
 			m_stream.play(url());
 		}

+		protected override function checkProgress(...rest : Array) : void
+		{
+			if (m_stream.bytesLoaded >= m_stream.bytesTotal)
+			{
+				onData(true);
+			}
+			super.checkProgress(rest);
+		}
+
 		protected function stream_status(e:NetStatusEvent):void
 		{
-
+			if (e.info.level == 'error')
+			{
+				onData(false);
+			}
 		}

 		public function onMetaData(info:Object):void


- bugfix: The border renderer threw an exception if a border with and type was specified but no color
- change: changed several properties of the border renderer from Number to int

git-svn-id: e38e7cdd6ace00d8230583a2d3b43e9a55f5c011@644 bc4816be-ef27-423a-9c4d-fc420be121a2

--- src/reprise/ui/renderers/DefaultBorderRenderer.as
+++ src/reprise/ui/renderers/DefaultBorderRenderer.as
@@ -25,10 +25,10 @@
 		/***************************************************************************
 		*							protected properties							   *
 		***************************************************************************/
-		protected static var SIDE_TOP : Number = 1;
-		protected static var SIDE_RIGHT : Number = 2;
-		protected static var SIDE_BOTTOM : Number = 3;
-		protected static var SIDE_LEFT : Number = 4;
+		protected static var SIDE_TOP : int = 1;
+		protected static var SIDE_RIGHT : int = 2;
+		protected static var SIDE_BOTTOM : int = 3;
+		protected static var SIDE_LEFT : int = 4;

@@ -72,7 +72,7 @@
 			var order : Array = ['borderTopLeftRadius', 'borderTopRightRadius',
 				'borderBottomRightRadius', 'borderBottomLeftRadius'];

-			var i : Number;
+			var i : int;
 			var radiusItem : Number;
 			for (i = 0; i < order.length; i++)
 			{
@@ -107,7 +107,7 @@
 			var topRight : Point = new Point();
 			var bottomRight : Point = new Point();
 			var bottomLeft : Point = new Point();
-			if (borderWidth.top > 0 && borderStyle.top != 'none')
+			if (borderWidth.top > 0 && borderStyle.top != 'none' && borderColor.top != 0)
 			{
 				topLeft.x = 0;
 				topLeft.y = 0;
@@ -121,7 +121,7 @@
 					topLeft, topRight, bottomRight, bottomLeft, SIDE_TOP);
 			}

-			if (borderWidth.right > 0 && borderStyle.right != 'none')
+			if (borderWidth.right > 0 && borderStyle.right != 'none' && borderColor.right != 0)
 			{
 				topLeft.x = m_width;
 				topLeft.y = 0;
@@ -135,7 +135,7 @@
 					topLeft, topRight, bottomRight, bottomLeft, SIDE_RIGHT);
 			}

-			if (borderWidth.bottom > 0 && borderStyle.bottom != 'none')
+			if (borderWidth.bottom > 0 && borderStyle.bottom != 'none' && borderColor.bottom != 0)
 			{
 				topLeft.x = 0;
 				topLeft.y = m_height;
@@ -149,7 +149,7 @@
 					topLeft, topRight, bottomRight, bottomLeft, SIDE_BOTTOM);
 			}

-			if (borderWidth.left > 0 && borderStyle.left != 'none')
+			if (borderWidth.left > 0 && borderStyle.left != 'none' && borderColor.left != 0)
 			{
 				topLeft.x = 0;
 				topLeft.y = 0;
@@ -171,7 +171,7 @@
 		***************************************************************************/
 		protected function drawBorderInRect(color : AdvancedColor, style : String,
 			width : Number, pt1 : Point, pt2 : Point, pt3 : Point, pt4 : Point,
-			side : Number) : void
+			side : int) : void
 		{
 			var colorValue : int = 0;
 			var opacityValue : int = 1;


methods

methods

--- main.as
+++ main.as
@@ -8,11 +8,19 @@
 import com.mosesSupposes.fuse.*;
 import.com.segonquart.*;

+//-------------------------------
+//Security and Stage globals
+//-------------------------------
 System.security.allowDomain ("http://www.talking-wear.com");
 Stage.showMenu = false;
 Stage.scaleMode = "noScale";
 _global.showRedrawRegions (false);

+
+//-------------------------------
+//Acesibility Methods
+//http://www.w3.org/TR/WCAG20-TECHS/FLASH25.html
+//-------------------------------

 if (System.capabilities.hasAccessibility) {
   eshop._accProps = new Object();
@@ -23,6 +31,9 @@

   Accessibility.updateProperties();
 }
+//-------------------------------
+//Main App
+//-------------------------------

 function initTWApp ():Void
 {


Missed one!

Missed one!


fix sending samples

fix sending samples

--- Agent.as
+++ Agent.as
@@ -7,6 +7,7 @@
     import flash.events.SecurityErrorEvent;
     import flash.net.XMLSocket;
     import flash.system.System;
+    import flash.utils.getTimer;
     import flash.utils.getQualifiedClassName;
     import flash.sampler.*;

@@ -44,25 +45,34 @@
                 case "GET MEMORY":
                     _socket.send("MEMORY: " + new Date().time + " " + System.totalMemory);
                     return;
+
                 case "START SAMPLING":
                     startSampling();
                     _socket.send("OK START");
                     return;
+
                 case "PAUSE SAMPLING":
                     pauseSampling();
                     _socket.send("OK PAUSE");
-
-                    trace(getSampleCount());
-                    for each (var s:Sample in getSamples()) {
-                        trace(sampleToString(s));
-                    }
                     return;
+
                 case "STOP SAMPLING":
                     stopSampling();
                     _socket.send("OK STOP");
                     return;
+
                 case "GET SAMPLES":
-                    _socket.send("SENDING SAMPLES: " + )
+                    trace(PREFIX, "Sending", getSampleCount(), "samples at", getTimer());
+
+                    _socket.send("SENDING SAMPLES: " + getSampleCount());
+
+                    for each (var s:Sample in getSamples()) {
+                        _socket.send(sampleToString(s));
+                    }
+
+                    trace(PREFIX, "Done sending samples");
+
+                    return;
     	    }
     	}

@@ -71,36 +81,36 @@
                 var nos:NewObjectSample = s as NewObjectSample;

                 return "[NewObjectSample" +
+                    "\n   time: " + nos.time +
                     "\n     id: " + nos.id +
                     "\n   type: " + getQualifiedClassName(nos.type) +
-                    "\n   time: " + nos.time +
-                    "\n  stack: " + stackToString(nos.stack) +
+                    stackToString(nos.stack) +
                     "\n]";

             } else if( s is DeleteObjectSample ) {
                 var dos:DeleteObjectSample = s as DeleteObjectSample;

                 return "[DeleteObjectSample" +
+                    "\n   time: " + dos.time +
                     "\n     id: " + dos.id +
                     "\n   size: " + dos.size +
-                    "\n   time: " + dos.time +
-                    "\n  stack: " + stackToString(dos.stack) +
+                    stackToString(dos.stack) +
                     "\n]";
             }

             return "[Sample" +
                 "\n   time: " + s.time +
-                "\n  stack: " + stackToString(s.stack) +
+                stackToString(s.stack) +
                 "\n]";
     	}

     	private function stackToString(stack:Array):String {
     	    if( null == stack ) {
-    	        return "(none)";
+    	        return "";
     	    }

     	    var separator:String = "\n    ";
-    	    return separator + stack.join(separator);
+    	    return "\n  stack: " + separator + stack.join(separator);
     	}

     	private function connect():void {


Cleaning up Random utility.

Cleaning up Random utility.

--- src/sentinel/framework/util/Random.as
+++ src/sentinel/framework/util/Random.as
@@ -17,7 +17,7 @@
 		 */
 		public static function roll(chance:Number):Boolean
 		{
-			return base <= chance;
+			return getBase() <= chance;
 		}

@@ -28,7 +28,7 @@
 		 */
 		public static function between(min:Number, max:Number):Number
 		{
-			return min + (max - min) * base;
+			return min + (max - min) * getBase();
 		}

@@ -56,7 +56,7 @@
 		 */
 		public static function inCircle(x:int, y:int, radius:Number):Point
 		{
-			var ang:Number = angle;
+			var ang:Number = getAngle();

 			return new Point(
 				x + Math.cos(ang) * radius,
@@ -74,7 +74,7 @@
 		 */
 		public static function inRing(x:int, y:int, innerRadius:Number, outerRadius:Number):Point
 		{
-			var ang:Number = angle;
+			var ang:Number = getAngle();

 			return new Point(
 				x + Math.cos(ang) * between(innerRadius, outerRadius),
@@ -89,22 +89,26 @@
 		 */
 		public static function fromArray(array:Array):*
 		{
-			return array[int(base * array.length)];
+			return array[int(getBase() * array.length)];
 		}

 		/**
-		 * // Todo: This is weird, change to getBase() or something.
 		 * A random number between 0 and 1, not including 1.
 		 */
-		public static function get base():Number{ return Math.random(); }
+		public static function getBase():Number
+		{
+			return Math.random();
+		}

 		/**
-		 * Todo: This is weird, change to getAngle().
 		 * A random angle, in radians.
 		 */
-		public static function get angle():Number{ return Math.random() * Math.PI * 2; }
+		public static function getAngle():Number
+		{
+			return getBase() * Math.PI * 2;
+		}

 	}


added more error checking/reporting

added more error checking/reporting

Change-Id: I85222b2b6ae98d7114b0b0f2922a4ba7823ae181

--- WeaveData/src/weave/data/DataSources/WeaveDataSource.as
+++ WeaveData/src/weave/data/DataSources/WeaveDataSource.as
@@ -228,12 +228,22 @@

 				function handleRootIds(event:ResultEvent, entityType:int):void
 				{
+					if (!event.result)
+					{
+						reportError(NO_RESULT_ERROR);
+						return;
+					}
 					var ids:Array = event.result as Array;
 					var query:AsyncToken = dataService.getEntitiesById(ids);
 					addAsyncResponder(query, handleRootEntities, handleFault, [entityType, ids]);
 				}
 				function handleRootEntities(event:ResultEvent, entityType_entityIds:Array):void
 				{
+					if (!event.result)
+					{
+						reportError(NO_RESULT_ERROR);
+						return;
+					}
 					var entityType:int = entityType_entityIds[0];
 					var entityIds:Array = entityType_entityIds[1];
 					var orderLookup:Object = createLookup(entityIds);
@@ -279,11 +289,21 @@
 						dataService.getEntityIdsByMetadata({"dataTable": dataTableName}, EntityType.COLUMN),
 						function(event:ResultEvent, subtreeNode:XML):void
 						{
+							if (!event.result)
+							{
+								reportError(NO_RESULT_ERROR);
+								return;
+							}
 							var ids:Array = event.result as Array;
 							addAsyncResponder(
 								dataService.getParents(ids[0]),
 								function(event:ResultEvent, subtreeNode:XML):void
 								{
+									if (!event.result)
+									{
+										reportError(NO_RESULT_ERROR);
+										return;
+									}
 									var ids:Array = event.result as Array;
 									addAsyncResponder(
 										dataService.getEntityChildIds(ids[0]),
@@ -302,12 +322,19 @@
 				}
 				function handleColumnIds(event:ResultEvent, subtreeNode:XML):void
 				{
+					if (!event.result)
+					{
+						reportError(NO_RESULT_ERROR);
+						return;
+					}
 					var ids:Array = event.result as Array;
 					var query:AsyncToken = dataService.getEntitiesById(ids);
 					addAsyncResponder(query, handleColumnEntities, handleFault, [subtreeNode, ids]);
 				}
 			}
 		}
+
+		private static const NO_RESULT_ERROR:String = "Received null result from Weave server.";

 		/**
 		 * Called when the hierarchy is downloaded from a URL.


Set proper sound channel type for NinjaSnowWar music.

--- Bin/Data/Scripts/NinjaSnowWar.as
+++ Bin/Data/Scripts/NinjaSnowWar.as
@@ -104,7 +104,7 @@

     // Lower mastervolumes slightly.
     audio.masterGain[SOUND_MASTER] = 0.75;
-    audio.masterGain[SOUND_MUSIC] = 0.75;
+    audio.masterGain[SOUND_MUSIC] = 0.9;

     if (!nobgm)
     {
@@ -115,6 +115,7 @@
         // Due to networked mode clearing the scene on connect, do not attach to the scene itself
         musicNode = Node();
         musicSource = musicNode.CreateComponent("SoundSource");
+        musicSource.soundType = SOUND_MUSIC;
         musicSource.Play(musicFile);
     }
 }


UPDATED 'postNotification' doc comment

UPDATED 'postNotification' doc comment

--- actionscript/src/com/marpies/ane/onesignal/OneSignal.as
+++ actionscript/src/com/marpies/ane/onesignal/OneSignal.as
@@ -267,11 +267,15 @@
          *
          *
Extension must be initialized using OneSignal.init() before calling this method.

          *
-         * @param parameters Notification options, see OneSignal create notification REST API
+         * @param parameters Notification options, see OneSignal create notification REST API
          * @param callback Function with the following signature:
          * <listing version="3.0">
          * function callback( successResponse:Object, errorResponse:Object ):void {
-         *
+         *    if( successResponse != null ) {
+         *      // success
+         *    } else if( errorResponse != null ) {
+         *      // error
+         *    }
          * };
          * </listing>
          *


added includeX() and includeY() to Bounds2D.

--- WeaveJS/src/weavejs/geom/Bounds2D.as
+++ WeaveJS/src/weavejs/geom/Bounds2D.as
@@ -332,6 +332,24 @@
 				}
 			}
 		}
+
+		/**
+		 * This function will expand this Bounds2D to include an X value.
+		 * @param newX The X coordinate to include in this Bounds2D.
+		 */
+		public function includeX(newX:Number):void
+		{
+			includeCoords(newX, NaN);
+		}
+
+		/**
+		 * This function will expand this Bounds2D to include a Y value.
+		 * @param newY The Y coordinate to include in this Bounds2D.
+		 */
+		public function includeY(newY:Number):void
+		{
+			includeCoords(NaN, newY);
+		}

 		/**
 		 * This function will expand this Bounds2D to include another Bounds2D.


TextureAtlas theme version used

TextureAtlas theme version used

--- src/RootDisplay.as
+++ src/RootDisplay.as
@@ -11,6 +11,7 @@
 import feathers.layout.AnchorLayoutData;
 import feathers.motion.Slide;
 import feathers.themes.MinimalDesktopTheme;
+import feathers.themes.MinimalDesktopThemeWithAssetManager;

 import flash.ui.GameInput;
 import flash.utils.getTimer;
@@ -25,22 +26,22 @@
 import ui.WorldDataScreen;

 public class RootDisplay extends LayoutGroup {
-    private static const SETTINGS_MAIN_ID:String            = "settingsMain";
-    private static const SETTINGS_WHEEL_DATA_ID:String      = "wheelData";
-    private static const SETTINGS_WORLD_DATA_ID:String      = "worldData";
-    private static const SETTINGS_CONTROLS_ID:String        = "controls";
+    private static const SETTINGS_MAIN_ID:String = "settingsMain";
+    private static const SETTINGS_WHEEL_DATA_ID:String = "wheelData";
+    private static const SETTINGS_WORLD_DATA_ID:String = "worldData";
+    private static const SETTINGS_CONTROLS_ID:String = "controls";

     private var _gameInput:GameInput;

     private var _tirePhysics:TirePhysics;
-    private var _stepDt:Number                              = 0.01;
-    private var _subStepCount:int                           = 10;
+    private var _stepDt:Number = 0.01;
+    private var _subStepCount:int = 10;

     private var _settings:StackScreenNavigator;
     private var _content:AnimationScreen;

-    private var _prevTime:int                               = -1;
-    private var _excessDt:Number                            = 0;
+    private var _prevTime:int = -1;
+    private var _excessDt:Number = 0;

     public function RootDisplay() {
         addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
@@ -51,9 +52,11 @@
     }

     public function get stepDt():Number { return _stepDt; }
+
     public function set stepDt(value:Number):void { _stepDt = value; }

     public function get subStepCount():int { return _subStepCount; }
+
     public function set subStepCount(value:int):void { _subStepCount = value; }

     private function onAddedToStage(event:Event):void {
@@ -82,11 +85,11 @@
             _prevTime = getTimer();
         }
         else {
-            var currTime:int    = getTimer();
-            var dt:Number       = _excessDt + (currTime - _prevTime) / 1000.0;
-            var cycleCount:int  = int(dt / _stepDt);
+            var currTime:int = getTimer();
+            var dt:Number = _excessDt + (currTime - _prevTime) / 1000.0;
+            var cycleCount:int = int(dt / _stepDt);

-            _excessDt           = dt - _stepDt * cycleCount;
+            _excessDt = dt - _stepDt * cycleCount;
             _prevTime = currTime;

             _tirePhysics.step(_stepDt, _subStepCount);
@@ -103,16 +106,18 @@
     override protected function initialize():void {
         super.initialize();

-        //new MetalWorksDesktopTheme();
-        new MinimalDesktopTheme();
+        var theme:MinimalDesktopThemeWithAssetManager = new MinimalDesktopThemeWithAssetManager("Minimal");
+        theme.addEventListener(Event.COMPLETE, onThemeComplete);
+    }

+    private function onThemeComplete(e:Event):void {
         layout = new AnchorLayout();

-        _settings               = new StackScreenNavigator();
-        _settings.autoSizeMode  = StackScreenNavigator.AUTO_SIZE_MODE_CONTENT;
-        _settings.width         = stage.stageWidth / 3;
-        _settings.layoutData    = new AnchorLayoutData(0, NaN, 0, 0);
-        _settings.clipContent   = true;
+        _settings = new StackScreenNavigator();
+        _settings.autoSizeMode = StackScreenNavigator.AUTO_SIZE_MODE_CONTENT;
+        _settings.width = stage.stageWidth / 3;
+        _settings.layoutData = new AnchorLayoutData(0, NaN, 0, 0);
+        _settings.clipContent = true;
         addChild(_settings);

         var mainItem:StackScreenNavigatorItem = new StackScreenNavigatorItem(SettingsMainScreen);
@@ -140,13 +145,13 @@

         _settings.pushScreen(SETTINGS_MAIN_ID);

-        _settings.pushTransition    = Slide.createSlideLeftTransition();
-        _settings.popTransition     = Slide.createSlideRightTransition();
+        _settings.pushTransition = Slide.createSlideLeftTransition();
+        _settings.popTransition = Slide.createSlideRightTransition();

-        _content                    = new AnimationScreen();
-        _content.layoutData         = new AnchorLayoutData(0, 0, 0, _settings.width);
-        _content.clipContent        = true;
-        _content.tirePhysics        = _tirePhysics;
+        _content = new AnimationScreen();
+        _content.layoutData = new AnchorLayoutData(0, 0, 0, _settings.width);
+        _content.clipContent = true;
+        _content.tirePhysics = _tirePhysics;
         addChild(_content);
     }
 }


avoiding null pointer error

avoiding null pointer error

Change-Id: Ifb7444488a5fc617d8cc3a097ed36ff39c4d916b

--- WeaveCore/src/weave/core/UIUtils.as
+++ WeaveCore/src/weave/core/UIUtils.as
@@ -61,6 +61,8 @@
 		 */
 		public static function hasFocus(component:UIComponent):Boolean
 		{
+			if (!component)
+				return false;
 			var focus:DisplayObject = component.getFocus();
 			return focus && component.contains(focus);
 		}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as
+++ frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as
@@ -27,7 +27,7 @@
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
  */
-public interface ISWFBridgeGroup
+public interface ISWFBridgeGroup extends IEventDispatcher
 {
     //--------------------------------------------------------------------------
     //


FLEX-33986 Validator.source is now bindable

--- frameworks/projects/framework/src/mx/validators/Validator.as
+++ frameworks/projects/framework/src/mx/validators/Validator.as
@@ -539,7 +539,7 @@
     private var _source:Object;

     [Inspectable(category="General")]
-
+	[Bindable("sourceChanged")]
     /**
      *  Specifies the object containing the property to validate.
      *  Set this to an instance of a component or a data model.
@@ -587,7 +587,8 @@

         // Listen for the trigger event on the new source.
         addTriggerHandler();
-        addListenerHandler();
+        addListenerHandler();
+		dispatchEvent(new Event("sourceChanged"));
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 4337
Author:   egeorgie@adobe.com
Date:     2008-12-17T01:41:36.131845Z

Log Message:
-----------
ILayoutElement methods renames

Interface ILayoutElement
{
getLayoutWidth -> getLayoutBoundsWidth
getLayoutHeight -> getLayoutBoundsHeight
getLayoutPositionX -> getLayoutBoundsX
getLayoutPositionY -> getLayoutBoundsY
setLayoutSize -> setLayoutBoundsSize
setLayoutPosition -> setLayoutBoundsPosition
getPreferredWidth -> getPreferredBoundsWidth
getPreferredHeight -> getPreferredBoundsHeight
getMinWidth -> getMinBoundsWidth
getMinHeight -> getMinBoundsHeight
getMaxWidth -> getMaxBoundsWidth
getMaxHeight -> getMaxBoundsHeight

…unrelated stuff…
}

Reviewed by Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/layout/layout_tester.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/graphics/GraphicTags_checkintests.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutElementUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/HScrollBar.as
+++ frameworks/projects/spark/src/spark/components/HScrollBar.as
@@ -110,8 +110,8 @@
         {
             var trackPos:Number = track ? track.x : 0;
             var layoutElement:ILayoutElement = LayoutElementFactory.getLayoutElementFor(thumb);
-            layoutElement.setLayoutPosition(Math.round(trackPos + thumbPos),
-                                            layoutElement.getLayoutPositionY());
+            layoutElement.setLayoutBoundsPosition(Math.round(trackPos + thumbPos),
+                                            layoutElement.getLayoutBoundsY());
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3509
Author:   jimurphy@adobe.com
Date:     2008-10-07T18:19:17.646255Z

Log Message:
-----------
Rename of flex -> mx.

For compatibility reasons it was decided that the new functionality remain integrated with the old framework, although we will continue to build two separate SWCs, one with primarily existing framework classes, and one with new Flex 4 classes. This change removes duplicate names from the Flex 4 framework to avoid class name overlapping with the old framework code.  The naming overlap consists of two major areas:  New Components, and New Effects

Modified Paths:
--------------
386 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/AnimateFilter.as
+++ frameworks/projects/spark/src/spark/effects/AnimateFilter.as
@@ -8,11 +8,11 @@
 //  in accordance with the terms of the license agreement accompanying it.
 //
 ////////////////////////////////////////////////////////////////////////////////
-package flex.effects
+package mx.effects
 {

-import flex.effects.easing.IEaser;
-import flex.effects.effectClasses.AnimateFilterInstance;
+import mx.effects.easing.IEaser;
+import mx.effects.effectClasses.FxAnimateFilterInstance;

 import mx.core.mx_internal;
 import mx.effects.Effect;
@@ -41,7 +41,7 @@
  * anim.play();
  * </listing>
  */
-public class AnimateFilter extends Animate
+public class FxAnimateFilter extends FxAnimate
 {
     include "../core/Version.as";

@@ -65,10 +65,10 @@
     /**
      *  Constructor.
      */
-    public function AnimateFilter(target:Object = null, filter:IBitmapFilter = null)
+    public function FxAnimateFilter(target:Object = null, filter:IBitmapFilter = null)
     {
         super(target);
-        instanceClass = AnimateFilterInstance;
+        instanceClass = FxAnimateFilterInstance;
         this.bitmapFilter = filter;
     }

@@ -111,7 +111,7 @@
     override protected function initInstance(instance:IEffectInstance):void
     {
         super.initInstance(instance);
-        var animateInstance:AnimateFilterInstance = instance as AnimateFilterInstance;
+        var animateInstance:FxAnimateFilterInstance = instance as FxAnimateFilterInstance;
         animateInstance.bitmapFilter = bitmapFilter;
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3553
Author:   chaase@adobe.com
Date:     2008-10-09T23:14:18.257660Z

Log Message:
-----------
Fixed sdk-17113, sdk-17139, sdk-16526, sdk-16884, sdk-17154, sdk-16999, sdk-16631, sdk-17214. Most of these fixes are related to making effects work when contraints are enabled on the target. For that, two new attributes were added to FxAnimate: disableLayout (default false) and adjustConstraints (default false). Fixes were also made for various other effects issues, such as running all animations and startDelays off of the same global timer.
The change also includes renames of some effects classes and the easing API (now in mx.effects.interpolation).

Reviewed by: Jason (effects code) and Hans (renames)
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/IEaser.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/IEaser.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Linear.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Animate3DInstance.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animate3D.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Animate3DInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Constant.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Constant.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Rotate3DInstance.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Rotate3D.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxRotate3D.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/EaseInOut.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/EaseInOut.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Power.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Power.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Rotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Sine.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Sine.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Rotate3D.as</path>

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

--- frameworks/projects/spark/src/spark/effects/easing/IEaser.as
+++ frameworks/projects/spark/src/spark/effects/easing/IEaser.as
@@ -8,7 +8,7 @@
 //  in accordance with the terms of the license agreement accompanying it.
 //
 ////////////////////////////////////////////////////////////////////////////////
-package mx.effects.fxEasing
+package mx.effects.interpolation
 {
 /**
  * IEaser is an interface implemented by classes that provide time-easing


Transferred from the Adobe Open Source Subversion Repository

Revision: 2806
Author:   chaase@adobe.com
Date:     2008-08-11T20:45:03.948593Z

Log Message:
-----------
Fix to build failure (referenced old/nonexistent file in Animation.as), plus added copyright headers to new classes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/IEaser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Constant.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/ArrayInterpolator.as</path>

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

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


editor reads in location variables in a more robust way, accounting for inconsistencies and fixing them as they pop up.

--- flexEditor/src/org/arisgames/editor/models/GameModel.as
+++ flexEditor/src/org/arisgames/editor/models/GameModel.as
@@ -119,10 +119,10 @@
 				pm.contentType = AppUtils.getContentTypeValueByName(obj.result.data.list.getItemAt(j).type);
 				pm.contentId = obj.result.data.list.getItemAt(j).type_id;
 				pm.quantity = obj.result.data.list.getItemAt(j).item_qty;
-				pm.hidden = obj.result.data.list.getItemAt(j).hidden;
-				pm.forcedView = obj.result.data.list.getItemAt(j).force_view;
+				pm.hidden = obj.result.data.list.getItemAt(j).hidden ? (obj.result.data.list.getItemAt(j).hidden == '1' ? true : false) : false;
+				pm.forcedView = obj.result.data.list.getItemAt(j).force_view ? (obj.result.data.list.getItemAt(j).force_view == '1' ? true : false) : false;
 				pm.errorRange = obj.result.data.list.getItemAt(j).error;
-				pm.quickTravel = obj.result.data.list.getItemAt(j).allow_quick_travel;
+				pm.quickTravel = obj.result.data.list.getItemAt(j).allow_quick_travel ? (obj.result.data.list.getItemAt(j).allow_quick_travel == '1' ? true : false) : false;
 				pm.imageMatchMediaId = obj.result.data.list.getItemAt(j).match_media_id;

 				for each (var p:PlaceMark in tmpPlacemarks){


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

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

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

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

 package mx.core
 {