I have a login popup that runs on creationComplete in my main application. For certain people I want to add an optional item to the viewstack. Below is the code snippet:
if (model.currentUser.employee == 1) {
var temp: CustSearchForm = new
CustSearchForm;
parentApplication.myViewStack.addChild(temp);
}
However, while this code executes, the new option is not displayed. What am I
doing wrong?
Thanks
Bruce

