What happens is that the login state works fine, but when
trying to switch to the Addressbook or AddEvent states, they don't
change the visible property like they're supposed to. This code
works fine when taken out of code-behind, and it also works when
setting the visible property in actionscript. I'd rather not have
to manage this through actionscript since states are supposed to
handle this automatically, and if I can avoid pasting all my code
back into the mxml file, that would be ideal.
Anyone have any ideas as to how to solve this problem?