Extension:Flashlets

Example usage
Below is a syntax example, you can test it out in the Peerix Sandbox.

Installation
First create a directory called flashlets (case sensitive, i.e. lowercase 'f') in you wiki's extensions directory. Copy the Flashlets source code from OrganicDesign:Extension:Flashlets.php and the Container.swf file and save them in the newly created flashlets directory. (you'll need to use right-click and "save as" to save Container.swf becasue it will open in your browser if you just click the link normally).

Include the flashlets.php file you downloaded and saved using a statement in your LocalSettings.php file as usual, for example: Before Flashlets will work you need to download and install the free open-source MTASC ActionScript compiler from www.mtasc.org. They have pre-build packages for Linux, OS X and Windows, so download the appropriate version onto your system. The default settings for the Flashlets extensions assume that the mtasc files are unpacked into the flashlets directory, but you can install it any way you like as long as you set the $wgFlashletsMTASC and $wgFlashletsCP globals to match your MTASC install. The directory structure should now look like the following example: extensions/flashlets/ extensions/flashlets/Flashlets.php extensions/flashlets/Container.swf extensions/flashlets/mtasc/ extensions/flashlets/mtasc/CHANGES.txt extensions/flashlets/mtasc/Future.txt extensions/flashlets/mtasc/mtasc extensions/flashlets/mtasc/Readme.txt extensions/flashlets/mtasc/std extensions/flashlets/mtasc/std8

Global settings
Here are some global variables which affect the operation of the extension. These should be set in your LocalSettings file after the include of the Flashlets.php script.