swf2xml,xml2swf from command line allow to open multi

This commit is contained in:
honfika@gmail.com
2015-01-20 11:40:32 +01:00
parent df518ff503
commit 4dcde9045b
5 changed files with 336 additions and 245 deletions

View File

@@ -1698,7 +1698,8 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
final String selFile = selectExportDir();
if (selFile != null) {
try {
new SwfXmlExporter().exportXml(swf, selFile);
File outFile = new File(selFile + File.separator + Helper.makeFileName("swf.xml"));
new SwfXmlExporter().exportXml(swf, outFile);
Main.stopWork();
} catch (IOException ex) {
logger.log(Level.SEVERE, null, ex);