#768 super calls not being correctly recognized fixed

This commit is contained in:
honfika@gmail.com
2015-01-18 10:09:06 +01:00
parent 1b8eab9414
commit 3ee9903bb3
6 changed files with 48 additions and 38 deletions

View File

@@ -366,6 +366,21 @@ public final class SWF implements SWFContainerItem, Timelined {
return jtt;
}
public String getDocumentClass() {
for (Tag t : tags) {
if (t instanceof SymbolClassTag) {
SymbolClassTag sc = (SymbolClassTag) t;
for (int i = 0; i < sc.tags.length; i++) {
if (sc.tags[i] == 0) {
return sc.names[i];
}
}
}
}
return null;
}
public void fixCharactersOrder(boolean checkAll) {
Set<Integer> addedCharacterIds = new HashSet<>();
Set<CharacterTag> movedTags = new HashSet<>();