Results 1 to 4 of 4
  1. #1
    taps is offline Member
    Join Date
    Jan 2014
    Posts
    6
    Rep Power
    0

    Default Extract Files from SWF (Flash) file

    Hi Friends,

    I have prepared a java tool (got codes from google/internet) which combined images and make a SWF file.

    Java Code:
    package swf;
    
    import swf9.*;
    
    public class SWF {
    	public static void main(String[] args) {
    	SWF9 swf = new SWF9();
    	//swf.makePNGs("D:/JAVA_PRACTICE8/Image", "Image", "320x240", 25, "D:/JAVA_PRACTICE8/Image/out.swf");
    	swf.makeJPEG2s("D:/JAVA_PRACTICE8/Image", "Image", "320x240", 25, "D:/JAVA_PRACTICE8/Image/out.swf");
    	}
    }
    It is working fine.
    Now, the PROBLEM is I am not able to retrieve the files from the SWF. i.e. I would like to extract the SWF components.
    In this case I will get back the individual images again in a folder again.

    It will be great help if any friend help me with some code, as I have already visited sites like

    Transform SWF For Java
    https://javagraphics.java.net/doc/co...ionWriter.html
    etc.

    but did not get any clue.

    Thanks in advance for your support!!!

    Regards
    taps

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default Re: Extract Files from SWF (Flash) file

    What does the documentation for this SWF9 class (and the rest of its API) say? And, if THAT is the "copied code", what does the creator of that code have to say?

  3. #3
    taps is offline Member
    Join Date
    Jan 2014
    Posts
    6
    Rep Power
    0

    Default Re: Extract Files from SWF (Flash) file

    Hi masijade,

    Sorry for delayed response.

    I got above codes in below link. it says nothing about the extraction.
    JavaSWF9 - Java for SWF library | A.Quarter.To.SevenA.Quarter.To.Seven

    Please guide me if you have any clue.

    Regards
    taps

  4. #4
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default Re: Extract Files from SWF (Flash) file

    If he provides no documentation, and is not giving any answers to the questions, and there is no faq/forum/whatever then I don't know what you want us to do about it.

    Look at the contents of the jar, use javap on the classes, and see what you can find out about it.

Similar Threads

  1. Replies: 0
    Last Post: 07-16-2012, 08:27 AM
  2. Problem embedding flash (swf) files in jsp page for video streaming
    By marktheman in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-05-2011, 11:09 PM
  3. Comparing two files and extract the difference
    By trkece in forum New To Java
    Replies: 4
    Last Post: 02-16-2011, 07:11 AM
  4. How to Extract EAR files in UNIX
    By RG18173 in forum Advanced Java
    Replies: 6
    Last Post: 12-12-2008, 09:21 AM
  5. loading flash files in linux
    By rajeshang in forum AWT / Swing
    Replies: 0
    Last Post: 05-31-2008, 02:59 PM

Posting Permissions

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