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.

#1255 Recover instance metadata (AMF value in PlaceObject4)
Author:
henke37

Date created:
Type: feature
Visibility: Everybody
Assigned to:
State: closed 

> 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.

Could you provide source file of this sample?
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?
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?
Might be jsfl development artifacts. I have no better explanation.
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
Title: Instance metadata is not recovered→Recover instance metadata (AMF value in PlaceObject4)
Type: bug→feature
State: upgraded→closed