JPEXS Free Flash Decompiler Issue Tracker

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.

List of issuesList of issues

#1338 [Edit ActionScript] Vector.<uint> would be replaced with ApplyTypeAVM2Iteam
Date created:
Type: question
Visibility: Everybody
Assigned to:
State: closed Help

Hi all, Recently I encounter a issue when I try to edit ActionScript in FFDEC, this feature is very cool!!! The problem is: Vector.<uint> would be replaced with ApplyTypeAVM2Iteam. Note: Flash sample has been attached into this thread, password is novirus How to reproduce? When I add trace at begin of TryExpl funciton in MyClass, such as, trace("anything") , and then, save modification. [Code] // In MyClass static function TryExpl(param1:Exploit, param2:String, param3:String, param4:ByteArray) : Boolean { trace("anything"); ... } There are some un-expected changes here: 1. New import will be added, which will import ApplyTypeAVM2Item. [Code] import com.jpexs.decompiler.flash.abc.avm2.model.ApplyTypeAVM2Item; 2. new local variables for arguments [Code] static function TryExpl(param1:Exploit, param2:String, param3:String, param4:ByteArray) : Boolean { var param1:Exploit = param1; // new added var param2:String = param2; // new added var param3:String = param3; // new added var param4:ByteArray = param4;// new added trace("anything"); ... } 3. replace Vector.<uint> with ApplyTypeAVM2Item [Code] var v:Vector.<uint> = null; ==> var v:ApplyTypeAVM2Item = null; After modification, this new flash could not work in flash player, due to not find com.jpexs.decompiler.flash.abc.avm2.model.ApplyTypeAVM2Item Please give me some suggestion about this issue, thanks!
admin
This is fixed in nightly 1832.
State: new→upgraded
admin
State: upgraded→closed