I am trying to add children to a viewstack at runtime

I have created a mxml component (appContainer) as a container for 
the sub app I need to load. In the container is an img tag and the 
source is the url of the mxml sub app.

In the calling app, I have an empty viewstack and a link bar

When I call viewstack.createChild(appContainer, undefined, 
{source=file.mxml}) nothing happens.

I have tried hosting some controls in the appContainer and they show 
up but the linkbar is not visible and I cant tell where it is going 
wrong.

Am I doing the right thing, if note some guidance would be 
appreciated

Thanks

BOb




Reply via email to