flex can not generate the corresponding swf and html, one case because your code itself has an error, the first interface look into the problems, if there are errors.
Second, if your project is over all copies, if so, on a new application, paste the code in this application.