mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-22 18:46:24 +00:00
Fixed AS2 - some minor cases in class detection
This commit is contained in:
@@ -12,10 +12,12 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash;
|
||||
|
||||
import com.jpexs.decompiler.flash.tags.DoActionTag;
|
||||
import com.jpexs.decompiler.flash.tags.DoInitActionTag;
|
||||
import com.jpexs.decompiler.flash.tags.Tag;
|
||||
|
||||
/**
|
||||
@@ -34,4 +36,13 @@ public class ActionScript2TestBase extends ActionScriptTestBase {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
protected DoInitActionTag getFirstInitActionTag() {
|
||||
for (Tag t : swf.getTags()) {
|
||||
if (t instanceof DoInitActionTag) {
|
||||
return (DoInitActionTag) t;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user