I renamed a class file in a flash build and now every time I try to debug my project (cmd+F11) I get an error window saying Launch Error - This file cannot be launched.
I have tried wiping the project and moving the files in to a new one and also restarting FB4 but with no luck. I have also tried setting up a brand new blank project and this will not launch either.
The problem seems to only be with Flash projects as a new Flex project runs ok.
I am running Flash Builder 4 , Flash CS5 on a Mac 10.6.4 and debugging in Google Chrome 7.0.517.41
There is no adl listed in my list of active processes in Activity Monitor. I have tried rebooting my machine, restarting all my software and projects and cleaning my projects. No luck yet.
If I just switch to flash and run the fla directly it works fine so it must be Flex specific.
Cheers for the suggestionsso far . Keep em coming if you have them
What type of project are you using? An ActionScript project? What type of file are you trying to launch? Try right-clicking on the file and selecting RunAs. Cmd+F11 doesn't always work if you don't have your launchable file as the active tab.
I am having the same problem. I have an Actionscript project and I renamed the project, the default class and the references in the as class file. I did these changes via the package explorer and now however I try to compile this project I just get an error saying "This file cannot be launched"
I got this error when I had multiple projects open and I had the incorrect project selected in "Package Explorer" when building. If you are working with multiple projects make sure you are building the correct one. In my case one project was "library" code so it had no Application to run.
Europe, Middle East and Africa