What causes the publish error: "fl.getDocumentDOM () has no properties"?
The error only occurs when using the Test Project button in the project panel. This doesn't crash the publication, it's just annoying.
This happens when you have no flash documents. You can't publish headless to cs3 flash without causing an error (albeit a benign one).
I have a friendly solution:
var myDocument = fl.getDocumentDom() || false; if(!myDocument){ alert("Please open at least one document"); }