I am on a linux system. What can I use to replace a graphic in a SWF file with another graphic? Looking for a command line tool.
Thanks
Printable View
I am on a linux system. What can I use to replace a graphic in a SWF file with another graphic? Looking for a command line tool.
Thanks
Hi,
try out http://wolfgang.remsnet.de/replimage.php
This is pure script (and I might have a perl version too), so maybe you could turn that into a cmdline tool
Musicman
Thanks, but where do I download that script? There wasn't a link to download
Hi,
you can get the script at http://wolfgang.remsnet.de/replimage.zip
Musicman
Hi Musicman:
I need to be able to replace a png image in the swf file on the server, and serve a re-assembled swf to the client.
I got you code for the jpg images from:
http://wolfgang.remsnet.de/replimage.zip
Do you have similar code for png images?
Thanks,
Kirill
Hi,
unfortunately not...
It seems there is a little more work to reformat the png into an image tag
Musicman
Thanks,
Is this doable? Interested in a little freelance job?
I never realised you could do it without decompling the actual swf ... crazy.
It isnt working for me either.
Hi,
uploaded the file here - that server is gone
Musicman
I found a fun piece of code for iPad. It is an example of how to swap a Flash SWF with an image if your user agent is an iPad.
<a href="http://www.combsconsulting.com/ipad-replace-flash-with-image-java-script-example/">http://www.combsconsulting.com/ipad-replace-flash-with-image-java-script-example/</a>