If you use mx:WindowedApplication, you won’t have this problem. If you use mx:Application, you may find your application is not visible after launching.
Solution: open your application description file (xxxx-app.xml) and change visible property to true.