Application was not adding its own beads to its strand.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/64c699d3 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/64c699d3 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/64c699d3 Branch: refs/heads/feature/maven-migration Commit: 64c699d376812a9a42a6450d69032886623385e5 Parents: fd130d7 Author: Peter Ent <[email protected]> Authored: Thu Apr 7 14:33:29 2016 -0400 Committer: Peter Ent <[email protected]> Committed: Thu Apr 7 14:33:29 2016 -0400 ---------------------------------------------------------------------- .../Core/src/main/flex/org/apache/flex/core/Application.as | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/64c699d3/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as index ac80b8c..7b00170 100644 --- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as +++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as @@ -578,8 +578,11 @@ package org.apache.flex.core dispatchEvent('initialize'); - if (model is IBead) addBead(model as IBead); - if (controller is IBead) addBead(controller as IBead); + for (var index:int in beads) { + addBead(beads[index]); + } + + dispatchEvent(new org.apache.flex.events.Event("beadsAdded")); initialView.applicationModel = model; addElement(initialView);
