You've hit a bug in Flash Catalyst. Unfortunately, the error message doesn't tell you this, but FC is never suppost to write code that prevents you from publishing. So it's not your fault. The problems panel is there to help us diagnose the bug that you're hitting.
Does your project still fail to publish? If so, can you post it on the forum so I can check it out?
I am getting the same problem, and I cant seem to find the error in the application. I know that the file is crazy big. I am going to try to optimize images and file structure. I have crashed frequently, so I save ever few minutes. I don't try to recover anything, this usually makes the file bigger and might be contributing to the problems I am having.
I am having this exact thing happen to me as well. As I was creating the project I published it about half way thru completing the project and it worked fine. I have now fully completeted the project and it is giving me an error everytime I try and publish it,
but when I look in the problems pannel there is nothing there...
I was serching for this problem becouse now when i was creating the problem and i published stop and say the same as the link below the same screen with this .
Adoble flash catalyst cannot publish this project becouse of an error in the code .To find the error , switch to the code workspace and look into the problems panel.
I check for the problem and theres nothing that says error or problem in there , Idont know what o do please help me .
To the original poster, Rick:
If you're seeing a "Java Heap Space" error message, this is a (not very user-friendly) way of the program telling you it's running out of memory. Catalyst tries to detect and warn you when your project is getting too large, but it's not always perfect.
Did you see any warnings about the size of the images you've imported into your project? Very large images can certianly be one source of problems.
Here are a few tips for dealing with large images:
- Resize them to be smaller using a another app like Photoshop, before you import into Catalyst. Shoot for a file size of 100-300 KB at the most, for very large "gallery"-style photos. Other images should be < 100 KB (remember, people viewing your site will have to download all this).
- In Catalyst, when you're done shrinking down an image to the right size, choose Optimize Artwork > Rasterize in the heads-up display to "lock in" the smaller size.
- In Catalyst, choose Optimize Artwork > Convert to Linked Image for any especially large photos. This can speed up the initial load time of your site, and it will also help avoid memory problems when publishing.
Hope that helps!