我听说过jsfl(Flash IDE API)所以我想这是可能的,但我找不到任何具体的例子?
答案 0 :(得分:1)
var myDocument = fl.getDocumentDOM();
// set the property
myDocument.docClass = "com.mycompany.ManagerClass";
// get the property
fl.outputPanel.trace("document.docClass has been set to " + myDocument.docClass);
参考:http://help.adobe.com/ru_RU/Flash/10.0_ExtendingFlash/WS5b3ccc516d4fbf351e63e3d118a9024f3f-7fd0.html