Open etrepum opened 12 years ago
It’s broken in a different way.
Can you provide a small example SWF that demonstrates the problem?
http://dl.dropbox.com/u/13940/swfmill/button-gh17.zip
That SWF file does not round-trip correctly when pumped through swf2xml then xml2swf. The Makefile builds it and the .flm files for comparison. This is what the output looks like for me (note that I cut the middle out of the metadata section of the diff to make it readable here):
--- button-gh17.flm 2011-11-30 18:35:10.000000000 -0800
+++ button-gh17-derp.flm 2011-11-30 18:35:10.000000000 -0800
@@ -1,12 +1,12 @@
-movie 'button-gh17.swf' compressed // flash 11, total frames: 1, frame rate: 24 fps, 550x400 px
+movie 'button-gh17-derp.swf' compressed // flash 11, total frames: 1, frame rate: 24 fps, 550x400 px
fileAttributes attrHasMetadata
- metadata '<rdf:RDF […]</rdf:RDF> '
+ metadata '<?xml version="1.0"?>\n<rdf:RDF […]</rdf:RDF>\n'
defineButton 2
- on overDownToOverUp
+ on keyPress _END
push 'retro ActionScript'
trace
end
OK, thanks, I’ll take a look.
still does not work...
do we have any patch available for this? buttons and actions dont work for me as well.
It looks like this functionality is very critical for us . When can we expect a patch for this
I would really like for this to be fixed - I'd like to use swfmill, but with this bug I can't use it.
I have a case of SWF4 button conditions not working: http://strk.keybit.net/tmp/alfy-havoc.swf (from https://savannah.gnu.org/bugs/?46607#comment12)
A round-trip from swf to xml and back to swf results in a broken file that never reacts to button actions
https://bugs.launchpad.net/swfmill/+bug/728591
This doesn't appear to be fixed, or it's just broken in a different way.
Comparing the flasm output.
Original:
swfmauled by swfmill: