Compile all Opened FLA files in Flash IDE using JSFL
-
12-10-2019 - |
سؤال
Is there is a JSFL script to compile all opened fla in the Flash IDE?
المحلول
The JSFL you found is the most straightforward way, but also remember that you can publish all FLAs in a project file right from the project window (Window -> Other Panels -> Project in Win/CS5), without having to have each file open.
نصائح أخرى
This snippet will compile all open files according to their export settings:
function export_all(){
var docs=fl.documents;
var docs_length=docs.length;
for (var i=0; i<docs_length; i++) {
var doc=docs[i];
doc.publish();
}
}
export_all();
Source: http://www.agileflash.com/2010/04/publish-all-opened-fla-files-using-jsfl/
لا تنتمي إلى StackOverflow