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.

#2294 Can't export to FLA
Author:
Yivensky

Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: FLA export
State: closed 

> What steps will reproduce the problem?
Use sample SWF file and export it to FLA
> What is the expected output? What do you see instead?
It should export with no errors. Instead, there are errors...
Error during ActionScript3 export
java.lang.NullPointerException
at
com.jpexs.decompiler.flash.exporters.script.AS3ScriptExporter.exportActionScript3(AS3Scrip
tExporter.java:414)
at com.jpexs.decompiler.flash.SWF.exportActionScript(SWF.java:3172)
at com.jpexs.decompiler.flash.SWF.exportActionScript(SWF.java:3150)
at com.jpexs.decompiler.flash.xfl.XFLConverter.convertSWF(XFLConverter.java:5243)
at com.jpexs.decompiler.flash.SWF.exportXfl(SWF.java:4368)
at com.jpexs.decompiler.flash.SWF.exportFla(SWF.java:4327)
at com.jpexs.decompiler.flash.gui.MainPanel$31.doInBackground(MainPanel.java:3622)
at com.jpexs.decompiler.flash.gui.MainPanel$31.doInBackground(MainPanel.java:3601)
at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:65)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:87)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
I tried with JPEXS 21.0.3, 21.0.4 and (PREVIEW) version 21.0.4 nightly 2880.
I have MacOS 14.5 with M3 Pro Apple Chip.
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
Same effect with any .swf file so no matter my .swf file
The export has the error but the .fla pop up. But no others folders are exported. I think
it's related to the scripts folder of the swf file which cannot be exported.
Ad "same effect with any .swf"
Then please attach "any" SWF where this happens.
It does not happen on my test SWFs.
For example from here
https://filesamples.com/formats/swf?utm_content=cmp-true
The sample_1280x720_surfing_with_audio.swf
It’s like my computer has a wrong version of Java or missing dependencies
Please try nightly 2882,
it should work now.
State: new→upgraded
Oh waw, it’s working
Thank you so much!!
State: upgraded→closed