JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

: The issue tracker is now writable again and logged users can download files too. But note that our support is very LIMITED.

List of issuesList of issues

#1093 wrong code in AS3
Author: user refgd
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3Decompilation
State: closed Help

right code should be: for each(_loc5_ in param1) { _loc4_[_loc5_[param2]] = _loc5_; } after decompiler, the code become: for each(_loc4_[_loc5_[param2]] in param1) { } this is wrong!!
Attach the SWF file please, otherwise we can't fix it.
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; }
i think its fixed
State: new→closed