This example shows how to use states in AIR application. This contains login and a few content states.