Flash MX 2004 has Save All under the file command but does not have a Publish All. I have 7 documents I’m currently working on and updating constantly throughout the day. Instead of clicking each tab, and then Shift + F12, I wanted one click publishing. BOOYAH, the attached JSFL script does it.
function publishAllDocuments() { var i = fl.documents.length; while(i--){ fl.documents[i].publish(); } } publishAllDocuments();
Not sure if all your files are for the same project, but if so why not set up a Flash Project in the Project Manager and then you can just hit Test Project and export everything out. I have come to LOVE this Panel. I will defiantly try out that JSFL script though because sometimes I have multiple files open that aren’t for the same project.
Thanks…
In my case, I’m copying into specific directories for a C app, so they don’t run on their own per se, but in that case, I probably would set a default FLA as the project in my project file; for now, it’s just a plethora of SWC-headin’ SWF’s.
function publishAllDocuments()
{
for(var doc in fl.documents){
fl.documents[doc].publish();
}
}
publishAllDocuments();
*************************
For Flash CS3
This flash extension does the same thing:
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1856529
Mine was written in 2004, their’s 5 years later.