fla/swf file parser?

Discussion in 'Game Development General Discussion' started by subbie, Dec 14, 2010.

  1. subbie

    subbie Guardian of the Forum

    Joined:
    Feb 25, 2005
    Messages:
    4,749
    Likes Received:
    94
    Hey,
    Anybody know of an opensrc or online docs on building a fla/swf file parser? Like I want to build a tool that can take a fla file and pull out the art, keyframe info, and maybe actionscript that I can convert into my own format.

    So like an artist can build art/animation in flash (sprite or vector form) and I can go in and extract out the data from the flash file to use.

    I'm not looking for simply just exporting out a layer to a bitmap/image.
     
  2. Calpis

    Calpis Champion of the Forum

    Joined:
    Mar 13, 2004
    Messages:
    5,906
    Likes Received:
    21
    I've used SWFRip before successfully but it appears to be buggy on my system. Maybe it just can't handle recent files... I remember some command line tool being pretty good too, maybe Flasm? Both of them are open source.
     
    Last edited: Dec 14, 2010
  3. rso

    rso Gone. See y'all elsewhere, maybe.

    Joined:
    Mar 26, 2010
    Messages:
    2,190
    Likes Received:
    447
    I've been using Sothink SWF Decompiler for messing around with Flash files, easy to use and worked with everything I've thrown at it so far, but the downside is it's a closed-source Windows-only prog...

    The SWFTools have also come in handy at various times.
     
    Last edited: Dec 14, 2010
  4. LoveMHz

    LoveMHz Guest

  5. subbie

    subbie Guardian of the Forum

    Joined:
    Feb 25, 2005
    Messages:
    4,749
    Likes Received:
    94
    Thanks, Will have to check this one out this morning.

    My goal is to simply make a tool so that artist can give me/work animations made in flash (either built of sprites or built in illistrator). I can use the tool to parse the flash file and pull out info much like if I where to do a 3dsmax 2 my 3d model format. I just want to be able to read what they are doing in flash for animation along with pull out the art assets.

    :thumbsup:
     
  6. etikette

    etikette Active Member

    Joined:
    Jun 9, 2007
    Messages:
    47
    Likes Received:
    0
  7. subbie

    subbie Guardian of the Forum

    Joined:
    Feb 25, 2005
    Messages:
    4,749
    Likes Received:
    94
    Thanks. I didn't know or think this was out there publicly (too use to assuming it never is. :p).

    Actually the fire format spec paper makes even more sense then digging through someone's code. I probably can build something faster off this. Thanks !!!
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page