List of issues
: 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.
#1063 method_info array content becomes 0x00 after directly editing ac3
Labels: AS3Direct Editation
> What steps will reproduce the problem? actions: code in FFdec directly. 1. add the statement in function hello::hello() : trace("trace_test"); 2. click the save button in the menu . > What is the expected output? What do you see instead? issues 1: abcBytes is not refreshed. 1. Change to "Hex dump" view mode, expand the "DoABC TAG", right click the "abcBytes", choose "Parse ABC". The content of the abcBytes is not refreshed unless reload the swf file again. issues 2: the swf file can't run anymore. 1. the flash player reports : VerifyError: Error #1107: ABC data is broken... 2. Change to "Hex dump" view mode, expand the "DoABC TAG", all the data bytes in method_info array becomes 0x00. Pls check in the simple_trace.swf 3. Even fill the method_info array mannually, the swf file can't run yet. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? The verion of the FFdec is version v.6.02 nightly build 965. The swc file version is AppData\Roaming\JPEXS\FFDec\flashlib playerglobal19_0.swc . OS is Windows Vista > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. attached files: 1. simple.swf : the swf file before coding 2. simple_trace.swf : the swf file after coding
1st: This is not a bug, the swf bytes are only generated when you save the file. It would be a big overhead to generate the swf every time you changes any property on any object. 2nd is a bug.
thanks for ur quick explaination for 1st .
Maybe it can be a feature request... when the user changes the view, then a popup can be shown that "The swf has changed, do you want to update the Hex dump?", but it can take time to update, so the same progressbar is needed which is shown when you load the swf. (Without a question and a progressbar i think it would be a bad idea to update) If you want this feature then please create a feature request. BTW: I'd be happy to see some compare view of the original and the new swf binary :).... maybe when I have too much free time, i'll do that... but not in the near future
This should be fixed in nightly 989 or later
yes, it works in nightly 989 now
Bug was fixed almost 5 months ago, warning was also added, so i close this issue now.