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$m->setRate(24.000000); 15 16# SWF_SETBACKGROUNDCOLOR 17$m->setBackground(0xff, 0xff, 0xff); 18 19# SWF_SHOWFRAME 20$m->nextFrame(); # end of frame 1 21 22# SWF_END 23 24$m->save("test01.swf"); 25