11-25-2010 10:27 AM
I launch and install an app from Flash Builder 4. The app runs in the simulator. I exit the app. I then click the apps button on the simulator screen. The app starts loading, when the loading is finished, the app does not load. This happens with all of my test apps including the hello world app.
11-25-2010 12:20 PM
jjackson is right, when you launch it in debug mode connections are set up to run for that single instance. When you exit and then try to reload the connections are not remade thus the app fails to load... or that is how I understand it. When you use the run method to compile and install it should run fine time after time.
11-25-2010 01:36 PM
I figured out the problem.
I have been creating debug configurations for my projects. I set the deployment method to "Install and Launch". I then run the program from the debug icon (bug) in Flash Builder. This installs the program and runs the program, in debug mode. When the simulator app is started, it probably tries to communicate with the Flash Builder debugger. The app times out because the debug is not available.
Everything works fine if you create a run configuration then install/run the application from the run button in Flash Builder.
I would recommend only using "launch" in "debug configurations", when you are debugging the application, then use "install and launch" when your are using a "run configuration" and running the program.