Hi,
   We can navigate to another MXML, this is the simplest way which worked for 
me.

1. Create a instance of the userForm.MXML in the login page while on click of 
the button.

2.<mx:Button label="Log in" id="submitButton" click="checkuser();"/>

3. 
private function checkuser():void 
{
var userform:UserForm = new UserForm();
         var myCan:Canvas = new Canvas();       
      parentApplication.removeAllChildren();
    myCan.addChild(userform);
    parentApplication.addChild(myCan); 
}

This thing works for me, try it out.

And if find any other best way do post it below.

Gopi Shankar

Reply via email to