mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-26 05:15:49 +00:00
#798 ffdec doesn't show what it's exporting
This commit is contained in:
@@ -358,10 +358,30 @@ public class Main {
|
||||
|
||||
swf.swfList = result;
|
||||
swf.addEventListener(new EventListener() {
|
||||
@Override
|
||||
public void handleExportingEvent(String type, int index, int count, Object data) {
|
||||
// todo honfika: localize
|
||||
String text = "Exporting ";
|
||||
if (type != null && type.length() > 0) {
|
||||
text += type + " ";
|
||||
}
|
||||
startWork(text + index + "/" + count + " " + data);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleExportedEvent(String type, int index, int count, Object data) {
|
||||
// todo honfika: localize
|
||||
String text = "Exported ";
|
||||
if (type != null && type.length() > 0) {
|
||||
text += type + " ";
|
||||
}
|
||||
startWork(text + index + "/" + count + " " + data);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleEvent(String event, Object data) {
|
||||
if (event.equals("exporting")) {
|
||||
startWork((String) data);
|
||||
if (event.equals("exporting") || event.equals("exported")) {
|
||||
throw new Error("Event is not supported by this handler.");
|
||||
}
|
||||
if (event.equals("getVariables")) {
|
||||
startWork(AppStrings.translate("work.gettingvariables") + "..." + (String) data);
|
||||
|
||||
Reference in New Issue
Block a user