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 issues#2344 Error Message when opening SWF with Flash 8
Author: chriscc17
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: FLA exportOld FLA formats
State: upgraded
> What steps will reproduce the problem?
By converting the swf file into a fla file using JPEXS latest version and then trying to
open said file with Flash 8.
> What is the expected output? What do you see instead?
I expect Flash 8 to be able to open the newly created fla file. However, I get the
following error message:
"While executing, the following Javascript error(s) occurred: exception throw in native
function."
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
version 21.1.1
Window 11 64 bit version.
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
I've downloaded and having been using the SWF Decompiler in an attempt to create FLA files
for the SWF files I have. I've lost the original FLA files. The program loads fine. The
swf files play fine in the internal view. However, when I attempt to export them to fla
files I start having issues.
I'm using Flash 8. I'm not having any issues with Flash 8.
My computer is using the latest Windows 11 64 bit version. I have 64 gigabytes of Ram and
a decent CPU.
The program completes the export to a fla file and the error message I'm getting occurs
when I attempt to open said fla with Flash 8:
While executing, the following Javascript error(s) occurred: exception throw in native
function.
This is happening quite frequently. However, there has been a few where the conversion has
worked fine. The program converts it to the Fla and I'm able to open it in Flash 8.
It's kind of hit and miss.
Any ideas or suggestions regarding this?
Thanks!
zzzdodge-viper.swf (51,932 KiB)flash8-error.jpg (291 KiB)
This should be fixed in nightly 2950,
try it.
State: new→upgraded
I'm new to your site. Where exactly to do I download the nightly 2950? Do I just simply
download the latest version?
Nightly builds can be downloaded on Github in Releases section.
Here: https://github.com/jindrapetrik/jpexs-decompiler/releases
I can now open the .fla which is a big plus. Thanks! However, many of the images that
appear on the timeline are out of place. Meaning a lot them don't line up correctly with
the .swf. I did attempt to put them all back in the right spots but ran into this issue.
The images and/or shapes skip a number, For example 1 3 5 7 or 2 4 6 8 so you simply can't
import them back in sequence without renaming them. If you have a 200-frame sequence that
becomes a nightmare. Maybe I'm missing something. Is there a better way?
Please try nightly 2951.
I've tried it with several .swf and all looks good. Two suggestions based on editing the
resulting .fla file. As mentioned the numbering given to the images/shapes are not in
sequence. That makes it harder to quicky import those images back into the .fla. The other
is the sound files. It's all one long stream as opposed to individual sound clips. That
makes it much harder to edit, replace, or add a sound file. I'm no programmer so there
maybe reason why that can't be done. Regardless of that I'm thankful to get the .fla back
and the effort that goes into project like these.
The names of images in the FLA file are assigned based on character ids in the SWF files.
This ensures that the image names do not conflict. This way it is also easy to match what
is seen in the decompiler to what is in the FLA. I don't like the idea of renaming the
images. But I understand that it might be difficult in your case.
To the sound:
In this SWF file, the sounds are played as stream on main timeline. If you had multiple
sounds in the originl FLA file and set them to be played as stream, then it will mix them
into single track which is stored in the SWF. There is no way to split them into original
parts.