You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by yi...@apache.org on 2016/08/11 05:47:20 UTC
git commit: [flex-asjs] [refs/heads/refactor-sprite] - _strand is no
longer a DisplayObject
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 <yi...@hotmail.com>
Authored: Thu Aug 11 08:45:36 2016 +0300
Committer: yishayw <yi...@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();
}