Help JS layouts work with tweener.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/dfec5b2b Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/dfec5b2b Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/dfec5b2b Branch: refs/heads/feature/mdl Commit: dfec5b2b7ce9040d694e1172629bd90d1abb7c1b Parents: fe24e3e Author: yishayw <[email protected]> Authored: Sun Dec 18 12:00:15 2016 +0200 Committer: yishayw <[email protected]> Committed: Sun Dec 18 12:00:15 2016 +0200 ---------------------------------------------------------------------- .../flex/org/apache/flex/utils/MockContentView.as | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dfec5b2b/frameworks/projects/Effects/src/main/flex/org/apache/flex/utils/MockContentView.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Effects/src/main/flex/org/apache/flex/utils/MockContentView.as b/frameworks/projects/Effects/src/main/flex/org/apache/flex/utils/MockContentView.as index 1b1d8f0..212fb97 100644 --- a/frameworks/projects/Effects/src/main/flex/org/apache/flex/utils/MockContentView.as +++ b/frameworks/projects/Effects/src/main/flex/org/apache/flex/utils/MockContentView.as @@ -132,14 +132,6 @@ package org.apache.flex.utils return elements[index] as IChild; } - COMPILE::JS - { - public function internalChildren():Array - { - return null; - } - } - COMPILE::SWF public function get $displayObject():DisplayObject { @@ -268,5 +260,12 @@ package org.apache.flex.utils return null; } + COMPILE::JS + public function internalChildren():Array + { + return elements; + } + + } } \ No newline at end of file
