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#1263 The Import Script button does not recognize scripts
Author: MasterWex
Date created:
Type: question
Visibility: Everybody
Assigned to:
Labels: Adding scriptImport scripts
State: closed
> What steps will reproduce the problem?
Click the import script button. Go to your as file.
> What is the expected output? What do you see instead?
I should see the as file. I see nothing
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
Windows 8 OS. Version 8.0.1 for JPEXS.
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
The drop down menu shows an empty option.
problem.png (17 KiB)
This is a folder select dialog, you should select a folder, not a file.
It is a little bit confusing, maybe "Import script" should be renamed to "Import scripts"
Copied from a private issue:
- FFDec can import the files only from the same path, where it was exported. So after you
export the scripts, do not move to another folder, do not rename the files. This is how
the scripts and swf tags are connected, the file system path+filename. However I don't
suggest you to export the scripts if you want to change only a single script, it makes no
sense. Use the edit button in FFDec.
State: new→upgraded
Type: bug→question
Type: bug→question
So can you add new scripts? As in a script that did not originate from the swf file?
No, it is not possible currently
So I don't know if this is a new topic but I will start it here.
In my quest to add new scripts to an swf file, my friend told me that by adding another
package to an existing as it creates a new script after pressing okay. However that script
does not work.
Any ideas about it?
UPDATE: To make it clear, I added another public class. By saving the class, it created a
new script. However this script is corrupt somehow and does not work, breaking the swf
file.
Same problem here. Adding a new class by extending an existing script node corrupts the
SWF. And import a new file does nothing ("0 scripts imported"). Is there a workaround to
add a new class?
(version 9.0.0 nightly build 1501)
In current version (18.0.0),
you can add new AS3 class by right clicking a package in the tree (or scripts folder) and
from context menu selecting "Add class".
State: upgraded→closed