flash - How can I parse data from .swf file? -
i'm trying develop application parse data .swf (i want able read fields flash file) how can achieve this? or impossible ?
you can use swf::parser
ex:
use swf::parser; $parser = swf::parser->new( 'header-callback' => \&header, 'tag-callback' => \&tag); # parse binary data $parser->parse( $data ); # or parse swf file $parser->parse_file( 'flash.swf' );
check here: http://search.cpan.org/~ysas/swf-file-0.42/lib/swf/parser.pm
Comments
Post a Comment