IO::SWF::Editor - Parse and edit SWF binary by Perl.
use IO::SWF::Editor; my $swf = IO::SWF::Editor->new(); $swf->parse($swf_binary); print $swf->build();
This document references version 0.04_01 of IO::SWF::Editor, released to CPAN on Aug 10, 2011.
IO::SWF::Editor provides to parse and edit SWF binary.
USAGE If you want to replace buried image in SWF to another image, you can do it easily.
my $swf = IO::SWF::Editor->new(); $swf->parse($swf_binary); $swf->setCharacterId(); $swf->replaceBitmapData($character_id, $blob); print $swf->build(); For more details, look at each methods' document.
Set characterId for specify tag.
Replace content by tagCode.
Get content by tagCode.
Replace content by tagCode and characterId. You must call setCharacterId() before call this method.
Replace Tag by tagCode and characterId. You must call setCharacterId() before call this method.
Get content by tagCode and characterId. You must call setCharacterId() before call this method.
Decrease Shape's edges.
1 POD Error
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
=over without closing =back
To install IO::SWF::Editor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::SWF::Editor
CPAN shell
perl -MCPAN -e shell install IO::SWF::Editor
For more information on module installation, please visit the detailed CPAN module installation guide.