Using Flash Builder 4.6 and my program is currently all in one long code and it is getting difficult to read and edit so I want to break it up into modules.
I have a login page where the user enters a username and password. The credentials are checked through an HTTPService call to a PHP backend. After the credentials are verified, the program calls a function which changes view state to the "adminloggedin" state. I just created the adminloggedin Module but can't figure out how to load that module so that it loads into the adminloggedin state after the user is verified.