diff --git a/trunk/src/com/jpexs/decompiler/flash/KeyValue.java b/trunk/src/com/jpexs/decompiler/flash/KeyValue.java
new file mode 100644
index 000000000..d37cc3714
--- /dev/null
+++ b/trunk/src/com/jpexs/decompiler/flash/KeyValue.java
@@ -0,0 +1,69 @@
+/*
+ * Copyright (C) 2013 JPEXS
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+package com.jpexs.decompiler.flash;
+
+import java.util.Objects;
+
+/**
+ *
+ * @param Key
+ * @param Value
+ * @author JPEXS
+ */
+public class KeyValue {
+
+ public K key;
+ public V value;
+
+ public KeyValue(K key, V value) {
+ this.key = key;
+ this.value = value;
+ }
+
+ @Override
+ public String toString() {
+ return key.toString() + " = " + value.toString();
+ }
+
+ @Override
+ public int hashCode() {
+ int hash = 7;
+ hash = 61 * hash + Objects.hashCode(this.key);
+ hash = 61 * hash + Objects.hashCode(this.value);
+ return hash;
+ }
+
+
+ @Override
+ public boolean equals(Object obj) {
+ if (obj == null) {
+ return false;
+ }
+ if (getClass() != obj.getClass()) {
+ return false;
+ }
+ @SuppressWarnings("unchecked")
+ final KeyValue other = (KeyValue) obj;
+ if (!Objects.equals(this.key, other.key)) {
+ return false;
+ }
+ if (!Objects.equals(this.value, other.value)) {
+ return false;
+ }
+ return true;
+ }
+}
diff --git a/trunk/src/com/jpexs/decompiler/flash/SWF.java b/trunk/src/com/jpexs/decompiler/flash/SWF.java
index 32762d4a4..0662ec6a5 100644
--- a/trunk/src/com/jpexs/decompiler/flash/SWF.java
+++ b/trunk/src/com/jpexs/decompiler/flash/SWF.java
@@ -1209,7 +1209,7 @@ public class SWF {
public static final String validNextCharacters = validFirstCharacters + "0123456789";
public static final String fooCharacters = "bcdfghjklmnpqrstvwz";
public static final String fooJoinCharacters = "aeiouy";
- private HashMap allVariableNames = new HashMap<>();
+ private List> allVariableNames = new ArrayList<>();
private HashSet allVariableNamesStr = new HashSet<>();
private List allFunctions = new ArrayList<>();
private HashMap allStrings = new HashMap<>();
@@ -1315,7 +1315,7 @@ public class SWF {
return null;
}
- private static void getVariables(ConstantPool constantPool, List