A while back João wrote a JSFL script for exporting audio files from an FLA. Here's an adapted version that seems to work for exporting bitmaps.
function exportLibraryImagesToFiles() {
var doc = fl.getDocumentDOM();
if (!doc) return;
var selectedItems = doc.library.getSelectedItems();
if (!selectedItems.length) return;
var folder = fl.browseForFolderURL("Choose an output directory.");
if (!folder) return;
var i, t, sym, bmpName;
var count = 0;
for (i = 0; i < selectedItems.length; i++) {
sym = selectedItems[i];
if (sym.itemType != "bitmap") {
continue;
}
bmpName = sym.name.split("/").pop();
// strip original extension
t = bmpName.lastIndexOf(".");
if (t != -1 && ["jpg", "jpeg", "png", "gif", "bmp", "psd"].indexOf(bmpName.substr(t + 1).toLowerCase()) != -1) {
bmpName = bmpName.substr(0, t);
}
// do the thing
sym.exportToFile(folder + "/" + bmpName + "." + (sym.compressionType == "photo" ? "jpg" : "png"));
count++;
}
alert(count + " image(s) exported.");
}
exportLibraryImagesToFiles();
Copy into a text file and save with a .jsfl extension. Double-click to export any selected library images in the currently open FLA. For extra fanciness copy the JSFL into Animate's commands folder so it shows up under the Commands menu. In Windows this is located at :
%LOCALAPPDATA%\Adobe\Animate CC 2018\en_US\Configuration\Commands
Substituting the "2018" part for your version of Animate.