INFO: Problems with AV false positives are fixed in 25.0.0, now we sign our code and also use MSI installer type.
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#2393 P-Code Broken
Author:
thenickman100
thenickman100Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed 

> What steps will reproduce the problem?
Download .swf file: https://www.flashgamehacks.com/hacked/commando-2.swf
Navigate to frame 1 (name: loading) --> DoAction
Make an edit to the p-code, undo that edit, then click save
ERROR: "Label or instruction name expected, found: 18 null on line 2715"
This same error will occur on any copy of the game online, to include the original
MiniClip version, newgrounds, etc.
> What is the expected output? What do you see instead?
I would expect that making a non-change to the p-code would not result in an error. It
would be nice if there was a way to bypass the error and save anyways.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
v.22.0.1, Windows 11 Home
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
Attempting to resave the ActionScript (instead of the p-code) will just break the game.
Bullets will not shoot from your gun. This could be expected though, since there are
warnings in the program that editing AS is experimental.
commando-2.swf (5,954 KiB)This is fixed in nightly 3023.
State: new→upgraded
State: upgraded→closed
