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.

#1169 Not able to save swf file after edited update
Author:
dazfaz

Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3Direct Editation
State: closed 

> What steps will reproduce the problem?
1. Open swf file
2. Navigate to sub class file
3. Press the "EDIT" button at the bottom of edit window
4. Made changes within the class.
5. Pressed the "save" button
6. Pop up error message appears with "Parsing finished before end of the gile on line 5"
> What is the expected output? What do you see instead?
Epected the swf to save with the change I have made.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
7.1.2
The save did work when I first download the application.
A work collegues 7.1.2 version does save the edited swf file.
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
Are you able to save the changes if you skip the 4th point (just put a space character
somewhere then remove it)?
Also please try the latest stable build (currently 8.0.1)
Tried the newest build 8.0.1 but still have the same problem. What is interesting is that
if I edit a smaller swf file build, Everything works fine. The problems occur when I try
and edit swf files of 4+mg
Also, I get a different error when I try and edit a complex class file. The message I get
is "Invalid new item on line 18".
whats on line 18 is:
mhwa.setup.ctrl.GFavoriteResetConfirmCtrl.prototype = new
mhwa.setup.ctrl.GConfirmScreenConfigCtrl().toString = function(){}
The 2nd should be a direct edit problem, probably it also wrong on your colleague's
machine.
But the original problem is interesting... I can't reproduce it, so it is hard to fix
it...
The second problem occured when I pressed edit, added a space and then deleted the space.
No additional code was added to the file. Pressed save and the "Invalid new item on line
18" appeared. I will look into it further.
It is ok, it is a bug as I said,
Please try to edit another script which works on your colleguage's computer. Add a space
and remove it, then save.
The thing "on line 18" is fixed in nightly 1831.
State: new→upgraded
State: upgraded→closed