GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SWF (3)

.ds Aq ’

NAME

SWF - an autoloadable interface module for Ming - a library for generating ShockWave Flash format movies.

CONTENTS

SYNOPSIS



        # Dont import other modules
        use SWF;             

        # import all SWF modules
        use SWF qw(:ALL);

        # import SWF::Shape and SWF::Movie only.
        use SWF qw(Shape Movie);



DESCRIPTION

By default, SWF doesn’t import other SWF classes. You may, however, instruct SWF to import all modules by using the following syntax:



        use SWF qw(:ALL);



METHODS

SWF::setScale($scale); Sets scale to $scale.
SWF::getScale(); Get the current scale. 20 means 20 twips (1/20 of a pixel) and is the default value.
SWF::setVersion($version); Sets SWF version for the header of flashfiles. Choose a value between 4 and 7 for your flashmovies. If you are unsure take 5.
SWF::setCubicThreshold($num) Sets the threshold error for drawing cubic beziers. Lower is more accurate, hence larger file size.
SWF::setSWFCompression($level); Set output compression level. Returns previous value. $level is integer between 0 and 9. Note: This function is called automatic too by
        $movie->save($filename[,$level]) and
        $movie->output([$level]) if the optional parameter $level is given.
SWF::useConstants($flags); ?

AUTHOR

Soheil Seyfaie (soheil at users.sourceforge.net).

SEE ALSO

SWF.pm related modules: SWF::Action, SWF::Bitmap, SWF::Button, SWF::Constants, SWF::DisplayItem, SWF::Fill, SWF::Font, SWF::Gradient, SWF::Morph, SWF::Movie, SWF::MovieClip, SWF::PrebuiltClip, SWF::Shape, SWF::Sound, SWF::TextField, SWF::Text, SWF::VideoStream, SWF::Sprite

other projects: SWF::Builder - a pure perl alternative to Ming

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SWF (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.