flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yish...@apache.org
Subject git commit: [flex-asjs] [refs/heads/refactor-sprite] - _strand is no longer a DisplayObject
Date Thu, 11 Aug 2016 05:47:20 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/refactor-sprite 38f31c949 -> 59bebd869


_strand is no longer a DisplayObject


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

Branch: refs/heads/refactor-sprite
Commit: 59bebd869107bed690eef3ed71756806b6b39206
Parents: 38f31c9
Author: yishayw <yishayjobs@hotmail.com>
Authored: Thu Aug 11 08:45:36 2016 +0300
Committer: yishayw <yishayjobs@hotmail.com>
Committed: Thu Aug 11 08:45:36 2016 +0300

----------------------------------------------------------------------
 .../Core/src/main/flex/org/apache/flex/core/CallLaterBead.as     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/59bebd86/frameworks/projects/Core/src/main/flex/org/apache/flex/core/CallLaterBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/CallLaterBead.as
b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/CallLaterBead.as
index d3631d4..6944290 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/CallLaterBead.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/CallLaterBead.as
@@ -91,7 +91,7 @@ package org.apache.flex.core
         {
             COMPILE::SWF
             {
-                DisplayObject(_strand).addEventListener(Event.ENTER_FRAME, enterFrameHandler);
+                (_strand as UIHTMLElementWrapper).$displayObject.addEventListener(Event.ENTER_FRAME,
enterFrameHandler);
             }
             if (calls == null)
                 calls = [ {thisArg: thisArg, fn: fn, args: args } ];
@@ -107,7 +107,7 @@ package org.apache.flex.core
         COMPILE::SWF
         private function enterFrameHandler(event:Event):void
         {
-            DisplayObject(_strand).removeEventListener(Event.ENTER_FRAME, enterFrameHandler);
+            (_strand as UIHTMLElementWrapper).$displayObject.removeEventListener(Event.ENTER_FRAME,
enterFrameHandler);
             makeCalls();
         }
         


Mime
View raw message