diff --git a/CHANGELOG.md b/CHANGELOG.md index cc2df5f52..b8fc4b633 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,7 @@ All notable changes to this project will be documented in this file. - AS3 decompilation: increment/decrement on properties - AS1/2 Goto search result not properly selecting line (delay) - ActiveX exceptions when FlashPlayer disabled in classic GUI +- #1569 AS3 direct editation - incorrect slot names handling (IndexOutOfBounds) ### Changed - #1565, #1407, #1350 On BinaryData SWF save, parent SWF is saved diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/AVM2SourceGenerator.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/AVM2SourceGenerator.java index 218bde8c5..3133e73ad 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/AVM2SourceGenerator.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/AVM2SourceGenerator.java @@ -1730,6 +1730,8 @@ public class AVM2SourceGenerator implements SourceGenerator { registerNames.add(UNUSED); registerTypes.add("*"); registerLines.add(paramLine); + slotNames.add(UNUSED); + slotTypes.add("*"); } registerNames.set(regIndex, varName); registerTypes.set(regIndex, varName);