Flash export fails during export with no explanation

I have a simple Unity project - a 2D platformer with 8 scenes. It uses rigidbody, particles, but not many advanced features. It did have some cloth but I removed it.

It exports fine to Unity browser plug in and Mac and PC desktop. There are no errors when it runs in Unity IDE. There are no script errors.

When I export to Flash, the export dialog says"Compiling Scripts" for a few seconds and then it stops with a system “bing” (warrning?) sound.

No explanation is given. Is there any way I can find out more to help me diagnose / fix this?

Thanks!

OK - this still happens when I strip the project right back to 1 scene with 1 object in it. My install does work when I create a new project and export to Flash. So it’s something odd with the project…?

I created a new project in Unity 3.5 and imported the scenes from the other project. Then I once again stripped back to 1 single simple scene. This time the compile process gets much further (“Postprocessing Player”), but still bails out with no explanation and leaving nothing exported.

Finally managed to get export after tweaks to code and assets but unfortunately exported game is still too buggy compared to Unity version to be usable.