سؤال

What causes the publish error: "fl.getDocumentDOM() has no properties" ?

The error occurs only when using the "Test Project" button in the project pane. It doesn't cause the publish to fail, it's just annoying.

هل كانت مفيدة؟

المحلول

This occurs when you don't have any flash documents open. You can't publish 'headless' in flash cs3 without throwing an error (albeit benign).

نصائح أخرى

I have a friendly solution:

var myDocument = fl.getDocumentDom() || false;
if(!myDocument){
  alert("Please open at least one document");
}
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top