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.

#1103 wrong code in AS3
Author:
refgd

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

attached the example SWF file.
original code below:
public static function array2Map(_arg1:Object, _arg2:String, _arg3:Class):Object
{
var _local5:Object;
var _local4:Object = new _arg3();
for each (_local5 in _arg1)
{
_local4[_local5[_arg2]] = _local5;
}
return _local4;
}
after decompiler, the code become:
public static function array2Map(_arg1:Object, _arg2:String, _arg3:Class) : Object
{
var _local5:Object = null;
var _local4:Object = new _arg3();
for each(_local4[_local5[_arg2]] in _arg1)
{
}
return _local4;
}

it should be fixed in nightly 1209
State: new→upgraded
I close this issue due to inactivity. Please create new issue if problem still exists.
State: upgraded→closed