The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

IO::SWF::Editor - Parse and edit SWF binary by Perl.

SYNOPSIS

    use IO::SWF::Editor;

    my $swf = IO::SWF::Editor->new();
    $swf->parse($swf_binary);

    print $swf->build();

VERSION

This document references version 0.04_01 of IO::SWF::Editor, released to CPAN on Aug 10, 2011.

DESCRIPTION

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.

METHODS

$swf->setCharacterId()
    Set characterId for specify tag.
$swf->replaceTagContent()
    Replace content by tagCode.
$swf->getTagContent()
    Get content by tagCode.
$swf->replaceTagContentByCharacterId()
    Replace content by tagCode and characterId.
    You must call setCharacterId() before call this method.
$swf->replaceTagByCharacterId()
    Replace Tag by tagCode and characterId.
    You must call setCharacterId() before call this method.
$swf->getTagContentByCharacterId()
    Get content by tagCode and characterId.
    You must call setCharacterId() before call this method.
$swf->deformeShape()
    Decrease Shape's edges.
$swf->replaceActionStrings()
$swf->replaceBitmapData()
$swf->countShapeEdges()

1 POD Error

The following errors were encountered while parsing the POD:

Around line 57:

'=item' outside of any '=over'

=over without closing =back