I have a main mxml file called WebPage.mxml. It has 2 different states (start and logged). I want to change the state but i have to do it inside a component called login.mxml, not from the main application file. How can i do it?
you can access the main application by : Application.application
so your code would be:
Retrieving data ...