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.

#1054 Something about traits - Problem with as3 direct eidt
Author:
realmaster42

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

> What steps will reproduce the problem?
Open swf -> scripts -> Items -> ItemManager.as -> Press Edit AS3 (do not do any edition)
-> Save
> What is the expected output? What do you see instead?
There's a long error in the output for some reasson :_:
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
Visibility: Everybody→Developers only
You mean the NullPointerException in ABCPanel.hilightScript?
It was fixed earlier, in the latest version i can't reproduce it. And it was a bg in the
GUI only.
JPEXS: I think realmaster only accidentally pressed the send button, so this issue can be
public. Or he asked you personally to make it developers only?
As I see this SWF is the part of the Everybody Edits game, there are similar files from
realmaster in other public issues, for example in /www.free-decompiler.com/flash/issues/775-as3-direction-edit-bug-getter-setter-traits-don-
t-auto-update-after-saving
Am I right realmaster?
I saw "acidentally published it" and I think this is the signal for us to make it private,
isn't it?
@honfika yup. @JPEXS nah, no need to make it private, I've only acidentally pressed the
'send' button.
The problem is, this trait is invalid because the swf is made in Adobe Flash Builder 4.6,
and it seems JPEXS only supports common swf trait files, for instance, Adobe Flash
Professional 5.1.
There should be a invalid-to-checker.
For example:
if (_TRAIT.isInvalid() && _TRAIT.findCode('... some flash builder trait p-code')){ //
Correct the trait or handle it...)} else if (_TRAIT.isInvalid()) { throw new
Exception("Invalid trait type.") }else{ // normal trait
}
Ok, but i can't reproduce this problem with icyee.swf, which swf do you mean? Please
attach the swf you have problem with.
Visibility: Developers only→Everybody
I think this issue can be closed. I can't see any error in FFDec when trying to direct
edit ItemManager.
Your real problem is that the game is crashing after direct editation, right?
You have a duplicate issue for this problem: #775 (icyee.swf and EERS_2.swf is the same
game, the code is almost the same)
State: new→upgraded
ok close it
I close this issue due to inactivity. Please create new issue if problem persists.
State: upgraded→closed