Flex Builder I want to go from titleWindow to a panel.
- by dejaninic
Hi.
I'm building an user login page and I want to go from titleWindow to Panel.
I'm suing following function but it always takes me back to parentApplication.
My question is how can I go to my panel and not to Application page.
I know that I'm using parentApplication but what should I use instead???
Here is a part of my code:
private function handleLogin(event:ResultEvent):void {
Alert.show("You have succesfully logged in.", "Information", Alert.OK, null, null, null, Alert.OK);
parentApplication.accountPage.mainService.getAccount();
PopUpManager.removePopUp(this);
}