: 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.
State: upgraded new: Initial state. As long as issue is in this state, the work on the issue has not yet begun. opened: Opened state means developer started working on the issue. Feature/Fix will probably be in the next release. postponed: This means developer is not working on it now, for some reason it cannot be implemented now. Issue may be opened again in the future. upgraded: Issue is in upgraded state when developer made changes to the program and new version was released. closed: This means the user is satisfied with issue results and no more changes are needed. invalid: These issues cannot be solved. ignored: Developer decided to take no action on this issue. returned: Program changes were made but user is not satisfied and returned the issue.
> 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.
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:
<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"/>
I am wondering why there are two "EMBED_SWF" rows, one with underscores, second without?
Do you have any idea how these were generated?
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
java -jar ffdec.jar -removeInstanceMetadata -instance prot_mc metadata.swf
java -jar ffdec.jar -setInstanceMetadata -instance prot_mc -key mytest -value 1234
java -jar ffdec.jar -setInstanceMetadata -instance prot_mc -key mytest2 -value \"hello\"
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