Let me say Thank You so very very much Dark. I compared the first script with the last one which was titled center image to try and understand how to get it to do more than convert from png to swf and did a little reading. Mind you that I really know next to exactly nothing but the extreme basics in Flash but with a couple lines and moving your image placement lines down, the script successfully converted over 100 1080 backgrounds to HS properties in about 3 minutes. For me this is mind blowingly amazingly useful to me.
I'm just gonna leave the script here for you as it'll be easy to see what I added and you'll also know how to make it look correct.
Adobe Flash CS6 tested
/*
* PNG2SWF_MULTIPLE JSFL v 1.0
* by Matus Laco, http://www.YoFLA.com
* Modified by dark13 to embedd PNGs as uncompressed files and allow smoothing
* product URL: http://www.yofla.com/flash/png2swf/
* inspired by Mr.doob http://mrdoob.com/tools/jsfl/png2swf.jsfl
*
* Description:
* Converts multiple png files to multiple swf files.
* Input: Select folder dialog box
* Output: Same folder, same filename, swf extension
*/
png2swf();
function png2swf()
{
var folderURI = fl.browseForFolderURL("Select a folder.");
if (folderURI == null) { return; }
var folderContents = FLfile.listFolder(folderURI);
var doc = fl.createDocument();
doc.backgroundColor = '#00FF00';
var imported = 0;
for(var i=0; i< folderContents.length; i++){
var pngURI = folderURI + "/" +folderContents[i];
if (pngURI.substr(pngURI.length-4) != ".png") continue;
doc.importFile(pngURI);
// get item
var bmp_lib = doc.library.items[imported];
bmp_lib.compressionType = "lossless";
bmp_lib.allowSmoothing = true;
var bmp_tl = fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0];
// When you change the width and height properties,
// Flash Player changes the scaleX and scaleY properties accordingly.
bmp_tl.width = 1024;
bmp_tl.height = 768;
// Align image at 0,0;
bmp_tl.x = 0;
bmp_tl.y = 0;
// export
var swfURI = pngURI.substr(0,pngURI.lastIndexOf(".")+1)+"swf";
doc.exportSWF(swfURI, true );
// remove previous from timeline
doc.selectAll();
doc.deleteSelection();
// increase imported count
imported++;
}
doc.close(false);
alert(imported + " files created.");
}