1#!/usr/bin/perl -w
2# Generated by swftoperl converter included with ming. Have fun.
3
4# Change this to your needs. If you installed perl-ming global you don't need this.
5#use lib("/home/peter/mystuff/lib/site_perl");
6
7# We import all because our converter is not so clever to select only needed. ;-)
8use SWF qw(:ALL);
9# Just copy from a sample, needed to use Constants like SWFFILL_RADIAL_GRADIENT
10use SWF::Constants qw(:Text :Button :DisplayItem :Fill);
11
12$m = new SWF::Movie();
13
14
15# SWF_SETBACKGROUNDCOLOR
16$m->setBackground(0xff, 0xff, 0xff);
17
18# SWF_FRAMELABEL
19$m->labelFrame('frame0');
20
21# SWF_SHOWFRAME
22$m->nextFrame(); # end of frame 1
23
24# SWF_END
25
26$m->save("test01.swf");
27