flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [10/14] git commit: [flex-asjs] [refs/heads/develop] - use getProperty here as well
Date Fri, 23 Jan 2015 20:24:20 GMT
use getProperty here as well


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

Branch: refs/heads/develop
Commit: a77e7f9f3cec2bc6a55ce6d9b52fcf723e5ff9db
Parents: 2eb10b3
Author: Alex Harui <aharui@apache.org>
Authored: Fri Jan 23 12:19:24 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Jan 23 12:24:05 2015 -0800

----------------------------------------------------------------------
 .../as/projects/FlexJSJX/src/org/apache/flex/effects/Fade.as   | 2 +-
 .../as/projects/FlexJSJX/src/org/apache/flex/effects/Move.as   | 6 +++---
 .../as/projects/FlexJSJX/src/org/apache/flex/effects/Resize.as | 2 +-
 .../as/projects/FlexJSJX/src/org/apache/flex/effects/Wipe.as   | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a77e7f9f/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Fade.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Fade.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Fade.as
index 28f0d16..90658ff 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Fade.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Fade.as
@@ -134,7 +134,7 @@ public class Fade extends Tween implements IDocument
 	override public function play():void
 	{
         if (target != null)
-            actualTarget = document[target];
+            actualTarget = getProperty(document, target);
 		
 		if (isNaN(alphaFrom))
 			start = actualTarget.alpha;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a77e7f9f/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Move.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Move.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Move.as
index 2a42b19..68a9bcd 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Move.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Move.as
@@ -165,7 +165,7 @@ public class Move extends Tween implements IDocument
 	override public function play():void
 	{
 		if (target != null)
-			actualTarget = document[target];
+			actualTarget = getProperty(document, target);
 		
 		if (isNaN(xFrom))
 			xStart = actualTarget.x;
@@ -220,7 +220,7 @@ public class Move extends Tween implements IDocument
     {
         if (target != null)
         {
-            actualTarget = document[target];
+            actualTarget = getProperty(document, target);
             xFrom = actualTarget.x;
             yFrom = actualTarget.y;
         }
@@ -230,7 +230,7 @@ public class Move extends Tween implements IDocument
     {
         if (target != null)
         {
-            actualTarget = document[target];
+            actualTarget = getProperty(document, target);
             xTo = actualTarget.x;
             yTo = actualTarget.y;
         }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a77e7f9f/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Resize.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Resize.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Resize.as
index 2ee1e15..eff8d6b 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Resize.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Resize.as
@@ -153,7 +153,7 @@ public class Resize extends Tween implements IDocument
 	override public function play():void
 	{
         if (target != null)
-            actualTarget = document[target];
+            actualTarget = getProperty(document, target);
 		
 		if (isNaN(widthFrom))
 			widthStart = actualTarget.width;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a77e7f9f/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Wipe.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Wipe.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Wipe.as
index fe83935..4877215 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Wipe.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/effects/Wipe.as
@@ -117,7 +117,7 @@ public class Wipe extends Tween implements IDocument
 	override public function play():void
 	{
         if (target != null)
-            actualTarget = document[target];
+            actualTarget = getProperty(document, target);
         
 		
         wiper.target = actualTarget;


Mime
View raw message