Skip navigation
savanna.smith
Currently Being Moderated

How to batch process psd's into swf's?

Dec 4, 2012 3:46 PM

I have several .psd images that I need to turn into .swf's. The only solution I can figure is to place the psd into illustrator and save. Is there a faster/easier option as I have hundreds of files that I need to do this to! I also need them to be .pngs. A quick solution for that would also be appreciated!

 
Replies
  • Currently Being Moderated
    Dec 4, 2012 4:19 PM   in reply to savanna.smith

    I have to batch process images into multiple formats as well and Actions have saved me so much time. I work primarily in print, so I'll admit I'm not familiar with the process you need to go through to save your SWF files, but you could always try to record the steps into an Action.

     

    From there you can go File > Automate > Batch which will bring up the dialogue below. The top two menus let you choose your Action and directly below that you can designate the source where your files are (you can open all of them first or direct this menu to a folder).

     

    Hope this helps some!

     

    Screen Shot 2012-12-04 at 4.16.20 PM.png

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 4, 2012 5:52 PM   in reply to savanna.smith

    Do you have Fireworks?

    (part of the cs suite)

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 5, 2012 12:00 AM   in reply to savanna.smith

    If you don’t habe Fireworks (which I assume from R_Kelly’s post would offer a decent approach) there is the possibility to use a Script to save pngs off of the files in Photoshop and employing BridgeTalk to also automate the Illustrator procedure; I’m not very experienced witrh Illustrator Scripting, but I assume saving an swf should be Script-able.

    In any case that’s a bit involved; still you could ask for help over in the Scripting Forum.

     

    For just the png creation Image Processor Pro might be useful.

    http://blogs.adobe.com/jnack/2011/05/new-image-processor-pro-script-fo r-cs5.html

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 5, 2012 4:37 AM   in reply to c.pfaffenbichler

    Here is a script for Fireworks that will convert PNGs to SWF

    (Note the script needs to be saved as FileName.jsf)

     

     

    var fileList = App.chooseScriptTargetDialog(App.getPref("MultiFileBatchTypes"));
    for(a = 0;a< fileList.length;a++){
    fw.openDocument(fileList[a]);
    var swfFile = fileList[a].toString().replace(/png$/i,'swf');
    fw.exportSWF(null,swfFile);
    fw.getDocumentDOM().close(false);
    }
    
    
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 5, 2012 6:28 AM   in reply to savanna.smith

    Just save the script as plain text to a file with a jsf extension.

    Then from within Fireworks select Commands - Run Script

    You can the select the pngs you want to convert.

    The swf's will be saved alongside the selected png's.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 5, 2012 6:59 AM   in reply to savanna.smith

    The code has been tested so that does work. The problem could be the text editor you are using to save the code as it must be plain text and some word processors add control characters.

    If you could use ExtentScript Toolkit (This gets installed with most Adobe Apps) you could paste and save it out from that.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points