The SWF Module

The top-level SWF module implements only two functions; the rest are defined by the other modules described below. By default, the SWF module does not import any of the other modules. You can import all of them with the directive:

use SWF qw(:ALL);

or you can import just the modules you intend to use by supplying a list of module names:

use SWF qw(Movie Text Font);

The following two functions affect global properties of the generated SWF movie.

Get Perl Graphics Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.