FLA export - Accessibility not yet complete - WIP

This commit is contained in:
Jindra Petřík
2024-11-23 23:14:13 +01:00
parent 744de3aad3
commit d5a37c1fa8
17 changed files with 493 additions and 9 deletions

View File

@@ -462,7 +462,7 @@ public class TraitClass extends Trait implements TraitWithSlot {
}
}
if (convertData.ignoreAccessibility) {
if (convertData.ignoreAccessibility && false /*WIP*/) {
if (constructorBody.convertedItems != null) {
for (int j = 0; j < constructorBody.convertedItems.size(); j++) {
GraphTargetItem ti = constructorBody.convertedItems.get(j);

View File

@@ -2826,6 +2826,9 @@ public class XFLConverter {
private static Map<String, String> getRootAccessibilityFromPack(AbcIndexing abcIndex, ScriptPack pack) {
if (true) { //WIP
return new HashMap<>();
}
int swfVersion = -1;
if (pack.getOpenable() instanceof SWF) {
swfVersion = ((SWF) pack.getOpenable()).version;
@@ -2911,6 +2914,9 @@ public class XFLConverter {
private static Map<String, Map<String, String>> getAccessibilityFromPack(AbcIndexing abcIndex, ScriptPack pack) {
if (true) { //WIP
return new HashMap<>();
}
int swfVersion = -1;
if (pack.getOpenable() instanceof SWF) {
swfVersion = ((SWF) pack.getOpenable()).version;