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.

#1283 Unbounded Vector<*> direct editation problem
Author:
Marek.47

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

Hi,
Thanks for making this great tool!
My error is ActionScript editing related.
I understand that this is an experimental feature, but hopefully you might help me.
> What steps will reproduce the problem?
1. Open the attached SWF file
2. Open the following node:
scripts > com > spotify > player > AudioManager
3. Press: Edit ActionScript
3. Edit just anything insignificant inside the script, maybe add a space somewhere
4. Press: Save
> What is the expected output? What do you see instead?
I expect the script to be saved.
An error occurs:
"Invalid type:com.jpexs.decompiler.flash.abc.avm2.model.NullAVM2Item
(com.jpexs.decompiler.flash.abc.avm2.model.NullAVM2Item) on line 0"
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
Happens in both FFDec 9.0.0 and 9.0.0 nightly1547.
Windows 7 64-bit
> 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 error is probably related to my SWF file.
I suspect that an unusual variable type inside the action script gets corrupted when
decompiling or recompiling.
But the SWF is working.
You might be able to determine, what it is.
Thank you.

I think the problem is at line 25
private var _players:Vector.<*>;
when I change it to
private var _players:Vector.<Number>;
then I can save the script.
Hi,
please try nightly build 1555 - you can download it on /www.free-decompiler.com/flash/nightly/
I think this one bug is fixed.
State: new→upgraded
Title: Error "Invalid type" when editing and saving ActionScript→Unbounded Vector<*> direct editation problem
Title: Error "Invalid type" when editing and saving ActionScript→Unbounded Vector<*> direct editation problem
Hi,
I can confirm that it works well in Nightly 1555, thank you.
Just to let you know, I already got around that problem, by carefully editing P-code
directly.
And I successfully modified the files I needed.
Other commercial tools like Sothink Flash Decompiler failed even to understand all the
resources.
Your program is free and it is far better. Thanks!
Good. Thank you for reporting the problem.
I am closing this.
State: upgraded→closed