if (model.currentUser.employee == 1) { var temp: CustSearchForm = new CustSearchForm; temp.label = "Customer Search"; temp.id = "custSearchForm"; this.myViewStack.addChild(temp); }
This code adds an item to the viewstack but there is NO label. Suggestions please... thanks bruce