Hi,

If you read the docs, they say you cannot do this in the Alpha version of
Apollo.

It will be in a beta or for sure the final.

Peace, Mike

On 23 Mar 2007 08:50:22 -0700, Mark Doberenz <[EMAIL PROTECTED]> wrote:

  I have an Apollo app that I want to make open another window and load a
module into it.

I'm following the instructions from this page...

http://labs.adobe.com/wiki/index.php/Apollo:Documentation:Working_with_windows#Creating_windows

I can make the new window appear, but nothing ever shows up in it.

I then used the createNewWindow() method from the page above and that
worked fine.  It created a new window and showed a nice graphic in it.

I then tried just adding a Label to that window by doing the following bit
of code:
var label:Label = new Label();
label.text = "Test Label";
label.x = 10;
label.y = 10;
newWindow.stage.addChild (label);


However, that didn't add the Label to the window.

I had previously tried adding a new ModuleLoader to the new window.  I
added event listeners to the ModuleLoader and it seemed to be loading the
module, and then added the module to the child property of the
ModuleLoader.  However, just like the label, nothing appeared in the new
Apollo window.

Any help on this would be GREATLY appreciated.

Cheers,
Mark



--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to