flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-sdk] [refs/heads/develop] - sometime target hasn't finished loading?
Date Sat, 23 May 2015 16:44:49 GMT
Repository: flex-sdk
Updated Branches:
  refs/heads/develop 056114030 -> aac79ae91


sometime target hasn't finished loading?


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/aac79ae9
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/aac79ae9
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/aac79ae9

Branch: refs/heads/develop
Commit: aac79ae91c89a69b52a4761637c51b59ef6a8a4d
Parents: 0561140
Author: Alex Harui <aharui@apache.org>
Authored: Sat May 23 09:44:32 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Sat May 23 09:44:32 2015 -0700

----------------------------------------------------------------------
 mustella/as3/src/mustella/CompareBitmap.as | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/aac79ae9/mustella/as3/src/mustella/CompareBitmap.as
----------------------------------------------------------------------
diff --git a/mustella/as3/src/mustella/CompareBitmap.as b/mustella/as3/src/mustella/CompareBitmap.as
index afdad10..52c4df86 100644
--- a/mustella/as3/src/mustella/CompareBitmap.as
+++ b/mustella/as3/src/mustella/CompareBitmap.as
@@ -396,7 +396,10 @@ public class CompareBitmap extends Assert
         trace("getTargetSize: height: ", target.height);
         trace("getTargetSize: root.height: ", target.root.height);
         trace("getTargetSize: stageHeight: ", target.stage.stageHeight);
+        try {
         trace("getTargetSize: loaderInfo.height: ", target.loaderInfo.height);
+        } catch (e:Error) {};
+        
 		return new Point(width, height);
 	}
 


Mime
View raw message