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.

#1330 Issues with direct editing of Actionscript 3
Author:
StormReaper

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

> What steps will reproduce the problem?
Download sample as3 file from http://www.adobe.com/devnet/actionscript/samples/drawing_3.html (also attached)
Compile in Flash
Edit in JPEXS the main source code file "Drawing3" with the edit actionscript button (I
added a space and deleted) then click save.
If you save the file at this point it will become broken.
> What is the expected output? What do you see instead?
Expected output is for the bytecode to not change, and the actionscript to stay
functional. As an example of how the file changes see this bytecode from the initialize
method https://www.diffchecker.com/AGZ4NERC
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
10.0.0 on Windows 10
> 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've been using your program for several months now for modding of a game which uses Iggy
based UI and some files work ok to edit while others can only be edited through the
bytecode. I understand the feature is experimental, but it would help greatly if it worked
fully :) If you're curious on my theory of why it doesn't work as intended when saving, I
think it's to do with private namespaces I've seen a few files with
PrivateNamespace(null,"10") with the number varying. But upon saving these are lost, and
get replaced with public namespaces?
If there's anything else needed, let me know, thanks!

This should be fixed in nightly 1847.
State: new→upgraded
State: upgraded→closed