%%warning
__Warning__\\
This plugin may not work because of missing AttachmentPlugin class.
%%

!!Flash Plugin

This flash plugin provides an easy way to add [Wink|http://www.debugmode.com/wink/] flash movies to the Wiki using the following syntax:

{{{
[{INSERT uk.co.netvisionit.FlashPlugin WHERE flash=mymovie,height=379,width=456}]
}}}

It works with [Wink|http://www.debugmode.com/wink/] created .swf files. However, swf files from other sources are not tried yet.

!Parameters
__Basic parameters__
||Parameter name||Description
|flash|the name of flash movie file
|height|the height of the movie in pixels
|width|the width of the movie in pixels
|params|show a list of parameters
__Advanced Parameters__ ''(Not tested)''
||Parameter name||Description
|classid|Class ID of the Flash e.g. clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
|codebase|e.g. [["http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0"]

!Jspwiki.properties
The Flash Plugin requires two settings in the jspwiki.properties file.
The jspwiki.moviesdir is a directory path on the file system that is also servable
content e.g. like an images directory. 
The jspwiki.moviesurl is the url suffix to the main site that points to the movies dir,
ie. the browser's view of the movies directory.

e.g.
*jspwiki.moviesdir= /tediously/long/absolute/file/path/to/perhaps/wiki.war/movies
*jspwiki.moviesurl= movies

!Upload the flash movie
First define the insert and params. Then use an attachment to upload the .swf file.
It must have the same name as the flash parameter. The Flash Plugin will copy the .swf
file to the movies directory and then delete the attachment. 

!Limitations
The params debug,loop and quality are not supported yet but probably should be. Also not sure how platform friendly the object tag is. It works in Firefox on Windows anyway.