JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#2487 (AS3ScriptImporter) SEVERE: uint is not an existing type
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: new Help

I'm trying to use ffdec_lib.jar (version 24.0.1) to automate importing scripts into a swf (I need to do it programmatically in java). When I do it from command line, it works without problems: java -jar "C:\Program Files (x86)\FFDec\ffdec-cli.jar" -importScript "FileA.swf" "FileB.swf" "../airtest" -air However, programmatically, I get these errors: Importing Jul 14, 2025 11:35:01 AM com.jpexs.decompiler.flash.importers.AS3ScriptImporter importScripts SEVERE: String is not an existing type on line 31, column -1, file: D:\...\scripts\airtest.as +Jul 14, 2025 11:35:02 AM com.jpexs.decompiler.flash.importers.AS3ScriptImporter importScripts SEVERE: uint is not an existing type on line 7, column -1, file: D:\...\scripts\agent.as + done My Code: private static void importScriptsFolder(SWF swf, DoABCTag doAbc) { Configuration.playerLibLocation.set(ConfigReader.pathPlayerliblocation); Configuration.airLibLocation.set(ConfigReader.pathAirliblocation); As3ScriptReplacerInterface as3ScriptReplacer = As3ScriptReplacerFactory.createByConfig(true); System.out.println("Script replacer available: " + as3ScriptReplacer.isAvailable()); ABC abc = doAbc.getABC(); List<ScriptPack> packs = abc.getScriptPacks(null, List.of(abc)); System.out.print("Importing "); try { new AS3ScriptImporter().importScripts(as3ScriptReplacer, ConfigReader.pathScriptsfolder, packs, new ScriptImporterProgressListener() { @Override public void scriptImported() { System.out.print("+"); } @Override public void scriptImportError() { } }, new ArrayList<>() ); } catch (InterruptedException e) { System.out.println(" failed"); e.printStackTrace(); } System.out.println(" done"); } Am I doing something wrong ?