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

#1255 Recover instance metadata (AMF value in PlaceObject4)
Author: user henke37
Date created:
Type: feature
Visibility: Everybody
Assigned to:
State: upgraded Help

> What steps will reproduce the problem? Decompile a swf file that uses per timeline instance metadata. > What is the expected output? What do you see instead? I expect the resulting FLA to contain the metadata on the instance. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? 8.0.1 Windows 7 > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you.
Downloadmetadata.swf (1 KiB)
admin
Could you provide source file of this sample?
user
No problem
Downloadmetadata.fla (5 KiB)
admin
Umm... could you please make screeshot or tell us where you can edit the metadata in the Flash CC or Animate CC or what you use as editor? I see "isLegit=true" variable in the FLA file (it is zipped XML), is it correct?
user
There is no interface to edit the per instance metadata. You need jsfl.
DownloadsetM.jsfl (274 B)
admin
In the FLA file, on the first frame, there's this section: <persistentData> <PD n="PUB_PRST_DATA_EMBED_SWF_isLegit" t="i" v="1"/> <PD n="PUB_PRST_DATAEMBED_SWFisLegit" t="i" v="1"/> <PD n="isLegit" v="true"/> </persistentData> I am wondering why there are two "EMBED_SWF" rows, one with underscores, second without? Do you have any idea how these were generated?
user
Might be jsfl development artifacts. I have no better explanation.
admin
Hi, please try nightly build 1483, it should be there now :-). The metadata can also be edited in the decompiler itself - just go to the PlaceObject4 and hit Edit button. Also commandline arguments to get/set/remove metadata were added, see help in: java -jar ffdec.jar --help Some examples: java -jar ffdec.jar -removeInstanceMetadata -instance prot_mc metadata.swf java -jar ffdec.jar -setInstanceMetadata -instance prot_mc -key mytest -value 1234 metadata.swf java -jar ffdec.jar -setInstanceMetadata -instance prot_mc -key mytest2 -value \"hello\" metadata.swf java -jar ffdec.jar -removeInstanceMetadata -instance prot_mc -key mytest2 metadata.swf java -jar ffdec.jar -getInstanceMetadata -instance prot_mc -key mytest metadata.swf Note: String values need to be enclosed in quotes
State: new→upgraded
Title: Instance metadata is not recovered→Recover instance metadata (AMF value in PlaceObject4)
Type: bug→feature