I've also experienced problems with the Publish process dropping out and failing to complete - no error messages in the Output pane or Compiler errors, just a total hang of the Publish status bar (and no published files...).
I can't say I've pinpointed the exact cause of this, but it may be related to having all objects on the Stage locked (possibly when they are not placed in the main canvas area).
Adding a new layer and creating a new object seems to help. If the publish process (including TestScene) has stalled, restart Flash and reload the movie...
Hope that helps! It's kinda scary watching that Publish bar disappear into nothingness when you've got literally hours/minutes/seconds left to get the thing built and running :-)
Thank you for the reply. I followed your advice, but the problem still exists.
I'm half-way finished with this Flash project, and have many months of work ahead of me. Having to restart flash every time I want to test something isn't really productive. This export/publishing error seems like a software related issue (quite a few topics like this on the forums, but none with a concrete solution), and I hope Adobe will release an update which addresses this issue, soon.
Yes, I apologize for the half-baked non-solution! It was something that seemed to work for me at the time, but the real issue will be something deep in the underlying movie data that has been fixed by the change. At a guess there is something defined in the movie that the Flash compiler is struggling with, something that isn't handled by the standard error handling code, and this is why the process is failing silently.
If it helps, you may find that only one restart is needed once you've got publishing working again, so it won't be a constant battle - just a one-time change that fixes up whatever was causing pain before.
All the best with the project - I know that feeling of helplessness as you struggle with an uninformative tool :-)