in reply to Extracting info from SWF Files

Perhaps you could find out about the SWF format http://www.openswf.org/spec/SWFfileformat.html

You might then consider updating the existing modules to do what you want. The author of Flash::SWF asks for help to do just this. As it happens Flash::SWF is a nice bit of OO code that does not require much modification to do what you want....

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
Re: Re: Extracting info from SWF Files
by UnderMine (Friar) on Nov 24, 2002 at 17:02 UTC
    Thanks for that. The open SWF format appear to go upto version 3. However the full spec of SWF 6 is available from MacroMedia and Open SWF spec goes upto version 5 now. This would at least give an idea about the magnitude of work required. Perl::Flash appears to go upto version 4 but is only just ahead of Flash::SWF but I think that this can easily be caught up.

    The only problem I can see with updating the modules is that Flash 4 and above contain ActionScript a simple programming language in its own right.

    This is going to be hard work... but it could be a lot of fun. Anyone be interested in serving personalised Flash on demand?

    Hope this is worth it...
    UnderMine

    Asside: ajt mentioned this which shows how to cut down the size of the Flash embedded object tags.

Re: Re: Extracting info from SWF Files
by UnderMine (Friar) on Nov 27, 2002 at 23:47 UTC
    After digging quite a way I think I have found what I am looking for.

    Barely documented feature of ming is its perl support.

    Project: Ming - an SWF output library: Summary output library Ming is an SWF ("Flash") file format output library. It is written in C, with wrappers for C++, Python, and PHP, plus rudimentary support for Ruby and Perl.
    Also on CPAN there is SWF::File which is far more upto date than Flash::SWF or Flash::perl and already has Flash 6 support. But this seams overly complex for the job at hand.

    What I can see needing to be done in the not so far future is a merging of these to areas and approaches.

    Just for general info
    UnderMine