Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
パブリッシュ エラーの原因: "fl.getDocumentDOM() has no properties" ?
このエラーは、プロジェクト ペインで [プロジェクトのテスト] ボタンを使用した場合にのみ発生します。パブリッシュが失敗するわけではありません。ただ面倒です。
私は友好的な解決策を持っています:
var myDocument = fl.getDocumentDom() || false; if(!myDocument){ alert("Please open at least one document"); }
これは、Flash ドキュメントを開いていない場合に発生します。エラーをスローせずにフラッシュcs3で「ヘッドレス」を公開することはできません(良性ではありますが)。