You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jb...@apache.org on 2012/12/11 01:11:08 UTC

svn commit: r1419941 - in /incubator/flex/sdk/branches/develop/frameworks/projects: airframework/src/mx/core/WindowedApplication.as tool/src/mx/automation/tool/ToolAdapter.as

Author: jbalsas
Date: Tue Dec 11 00:11:06 2012
New Revision: 1419941

URL: http://svn.apache.org/viewvc?rev=1419941&view=rev
Log:
Fixes in mx and automation to compile with Falcon

Modified:
    incubator/flex/sdk/branches/develop/frameworks/projects/airframework/src/mx/core/WindowedApplication.as
    incubator/flex/sdk/branches/develop/frameworks/projects/tool/src/mx/automation/tool/ToolAdapter.as

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/airframework/src/mx/core/WindowedApplication.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/airframework/src/mx/core/WindowedApplication.as?rev=1419941&r1=1419940&r2=1419941&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/airframework/src/mx/core/WindowedApplication.as (original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/airframework/src/mx/core/WindowedApplication.as Tue Dec 11 00:11:06 2012
@@ -3510,7 +3510,7 @@ public class WindowedApplication extends
     {
         return function (e:FlexNativeWindowBoundsEvent):void
         {
-            const win:DisplayObject = e.target;
+            const win:DisplayObject = e.target as DisplayObject;
             html.width  = win.width;
             html.height = win.height;
         };

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/tool/src/mx/automation/tool/ToolAdapter.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/tool/src/mx/automation/tool/ToolAdapter.as?rev=1419941&r1=1419940&r2=1419941&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/tool/src/mx/automation/tool/ToolAdapter.as (original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/tool/src/mx/automation/tool/ToolAdapter.as Tue Dec 11 00:11:06 2012
@@ -1900,7 +1900,7 @@ package mx.automation.tool
 		 */
 		public function setLastError(message:String,fromTool:Boolean = true):void
 		{
-			var message:String = "WARNING....... somebody called setLastError. This was not tested for Marshalling";
+			message = "WARNING....... somebody called setLastError. This was not tested for Marshalling";
 			Automation.automationDebugTracer.traceMessage("ToolAdapter","setLastError()",message);
 			// we need to find out which was the last responded application.
 			var currentAppname:String = getApplicationName();