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
#1730 Is there any way I can force save the actionscript editor?
Labels: AS3Direct Editation
> What steps will reproduce the problem? Opening swf Clicking edit actionscript Saving > What is the expected output? What do you see instead? To save correctly, I can't save because it will throw an error. I'm trying to edit an old MDickie game however there's a ton of errors which should all be working fine. Such as public var file:File; being an invalid type. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? Latest stable build. > 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 problem occurs regardless of what change I make.
Game.swf (32,780 KiB)
There's no such thing as force save. The script must be compiled and if there's an error, it cannot be compiled. In your case, there is class named File of the namespace "flash.filesystem", which is not found in current SWF and neither in the used playerglobal.swf file. You probably need playerglobal file or something similar from AIR package. I can't tell you where you get that as I am not familiar with AIR. Also I can't guarantee you anything, since the ActionScript compiler is experimental and has probably many bugs. For small changes, P-code editation is recommended.