While Flash IDE is open and multiple FLAs are in progress you may want to publish them all at once.
Create a Flash JavaScript command.
Create a new JSFL document and type:
// create open document array var
var fla = fl.documents;
// cycle through array
for(var i = 0; i < fla.length; i++)
{
//fl.trace(i + " " + fla[i].name); // traces out name of each open FLA
//fl.outputPanel.trace(fla[i].publishProfiles + "\n"); // traces out the profile to be used to publish
fla[i].publish(); // publish each FLA
}
Save the JSFL as "Publish All Open FLAs.jsfl" to the Commands folder in your local Flash user configuration:
[USER] / [AppSupport] /Adobe/Flash CS5/en_US/Configuration/Commands
Close JSFL.
With all FLAs to be published open go to Commands > Publish All Open FLAs.
This will publish all of the open FLAs in the order in which they were opened, not in tab order.
You can also set a keyboard command in Preferences to make it easier (mine is cmd + alt + shft + enter)
+