JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.

List of issuesList of issues

#24 switch by string in anonymous function
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3DecompilationGoogle Code
State: closed Help

When decompiling the same code using other tools (like trillix), i get the following code (example): messageHandler = function (arg1:String):void { var loc1:*=arg1; switch (loc1) { case "buy": { buyHandler({"value":ind, "item":material.item, "count":needCount, "price":material.item.buyCash}); break; } case "order": { connector.sendGameEvent({"action":"orderMake", "index":ind, "type":"order", "objId":objId}, orderHandler); break; } case "ask": { 8!a.main.=">(material.item); break; } } return; } when using asdec, case statements are missing: messageHandler=new function(param1:String):void { switch(param1) { buyHandler({value:ind, item:material.item, count:needCount, price:material.item.buyCash}); break; connector.sendGameEvent({action:"orderMake", index:ind, type:"order", objId:objId},orderHandler); break; _name82.main._name314(material.item); break; } return; };
admin
admin
admin
Hi, try version 1.2.0, I have fixed it.
user
\o/ ty so much
user
State: →closed
Title: switch by string in anonymous function→switch by string in anonymous function
Type: →bug
Visibility: →Everybody