Flash (SWF) support


Welcome     Gallery     Handbook


Manual page for Flash_(SWF)_support(PL)

Ploticus version 2.11+ supports flash (SWF) output. Use the -swf command line option. SWF support is only available when included at compile time (see the Makefile).


Fonts

Environment variable SWF_FONTS_DIR must be defined. More info on fonts


Output files

Output files will be named .swf by default. These files can be viewed directly using a browser that has a flash plugin.


Example

The example below was created by issuing this command: pl -swf stock.htm
stock.swf
stock ploticus script

Here's the embed HTML:


<embed src="../gallery/stock.swf" 
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" 
type="application/x-shockwave-flash" height=300 width=500>
</embed> 




Currently not supported:

line dash styles

clickable regions / click maps


Acknowledgement

Many thanks to Bill Traill ( bill@traill.demon.co.uk ) for initiating ploticus SWF support and writing the ploticus SWF driver.


Markup created by unroff 1.0,    May 15, 2003.