mulptiple xlf export fix (separate output directory for each swf), show definebuttontag(1) actions in tree, image export fix (sometimes throws ArrumentOutOfBounds exception)

This commit is contained in:
honfika@gmail.com
2016-03-06 15:35:46 +01:00
parent 4d6aed7e3d
commit fa9623bf9f
7 changed files with 218 additions and 127 deletions

View File

@@ -1523,7 +1523,13 @@ public class CommandLineArgumentParser {
if (flaVersion == null) {
flaVersion = FLAVersion.CS6; //Defaults to CS6
}
swf.exportFla(handler, outDir + (multipleExportTypes ? File.separator + "fla" : ""), inFile.getName(), ApplicationInfo.APPLICATION_NAME, ApplicationInfo.applicationVerName, ApplicationInfo.version, Configuration.parallelSpeedUp.get(), flaVersion);
String outFile = outDir;
if (multipleExportTypes) {
outFile = Path.combine(outFile, "fla");
};
outFile = Path.combine(outFile, inFile.getName());
swf.exportFla(handler, outFile, inFile.getName(), ApplicationInfo.APPLICATION_NAME, ApplicationInfo.applicationVerName, ApplicationInfo.version, Configuration.parallelSpeedUp.get(), flaVersion);
}
if (exportFormats.contains("xfl")) {
@@ -1532,7 +1538,14 @@ public class CommandLineArgumentParser {
if (xflVersion == null) {
xflVersion = FLAVersion.CS6; //Defaults to CS6
}
swf.exportXfl(handler, outDir + (multipleExportTypes ? File.separator + "xfl" : ""), inFile.getName(), ApplicationInfo.APPLICATION_NAME, ApplicationInfo.applicationVerName, ApplicationInfo.version, Configuration.parallelSpeedUp.get(), xflVersion);
String outFile = outDir;
if (multipleExportTypes) {
outFile = Path.combine(outFile, "xfl");
};
outFile = Path.combine(outFile, inFile.getName());
swf.exportXfl(handler, outFile, inFile.getName(), ApplicationInfo.APPLICATION_NAME, ApplicationInfo.applicationVerName, ApplicationInfo.version, Configuration.parallelSpeedUp.get(), xflVersion);
}
if (!singleFile) {