dcsimg
A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: Replacing one image with another in SWF

  1. #1
    Junior Member
    Join Date
    Jun 2002
    Posts
    7

    Replacing one image with another in SWF

    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

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    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

  3. #3
    Junior Member
    Join Date
    Jun 2002
    Posts
    7
    Thanks, but where do I download that script? There wasn't a link to download

  4. #4
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    Hi,

    you can get the script at http://wolfgang.remsnet.de/replimage.zip

    Musicman

  5. #5
    Junior Member
    Join Date
    Jun 2009
    Posts
    2
    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

  6. #6
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    Hi,

    unfortunately not...
    It seems there is a little more work to reformat the png into an image tag

    Musicman

  7. #7
    Junior Member
    Join Date
    Jun 2009
    Posts
    2
    Thanks,
    Is this doable? Interested in a little freelance job?

  8. #8
    Member
    Join Date
    Jul 2008
    Location
    Sydney
    Posts
    31
    I never realised you could do it without decompling the actual swf ... crazy.

  9. #9
    Junior Member
    Join Date
    Jan 2010
    Posts
    1

    Need replimage.zip so much

    Quote Originally Posted by Musicman View Post
    Hi,

    you can get the script at http://wolfgang.remsnet.de/replimage.zip

    Musicman
    Where else can I get It ?
    referred link seems to be dead

    Thank you for your attention

  10. #10

  11. #11
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    Hi,

    uploaded the file here - that server is gone

    Musicman
    Attached Files Attached Files

  12. #12
    Junior Member
    Join Date
    Mar 2010
    Posts
    1

    iPad Flash SWF Image Swap JavaScript

    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>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center