AS1/2: Properly handling of Flash7 scripts exported to Flash5/6 - ActionDefineFunction local registers

This commit is contained in:
Jindra Petřík
2018-01-29 22:13:59 +01:00
parent da3cf1454c
commit eca98106d2
115 changed files with 573 additions and 130 deletions

View File

@@ -599,12 +599,17 @@ public class Graph {
return g.translate(localData, staticOperation, path);
}
protected void afterPopupateAllParts(Set<GraphPart> allParts) {
}
public List<GraphTargetItem> translate(BaseLocalData localData, int staticOperation, String path) throws InterruptedException {
Set<GraphPart> allParts = new HashSet<>();
for (GraphPart head : heads) {
populateParts(head, allParts);
}
afterPopupateAllParts(allParts);
if (debugPrintAllParts) {
System.err.println("parts:");
for (GraphPart p : allParts) {