I'm building a user login page and I want to go from titleWindow to Panel. I'm using the 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);
}