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#1285 JPEXS Free Flash Decompiler v.9.0.0 is removing flash.external.ExternalInterface; on saving the file. I want to communicate SWF through JS.
Author: Adee
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3Direct Editation
State: ignored
> What steps will reproduce the problem?
Whenever i import "flash.external.ExternalInterface;" and save the file, it removes the
import line and save the file.Mean automatically removes the "import
flash.external.ExternalInterface;" on saving.
> What is the expected output? What do you see instead?
I want ff-dec to save the code with "import flash.external.ExternalInterface;" so that i
could communicate the SWF through Javascript. Instead of this, it is removing the that
line and i am not able to communicate with javascript.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
JPEXS Free Flash Decompiler v.9.0.0
> 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 don't think so but anyway, i am attaching my SWF file also.
web-back.swf (24 KiB)
Is the attached file the original working one? I cant see the import in that file, too.
I don't see a problem here. If you want to add an import to a script, the imported class
must be used inside the script, otherwise it is removed. I tried to add the import to this
file and use the ExternalInterface and it worked for me. So cannot reproduce a problem (in
9.0.0, in current version too).
State: new→ignored