Home > Announcements > Flash Slideshow for pods, etc.

Flash Slideshow for pods, etc.

September 3rd, 2009

I’ve made a simple slide show in flash to work with the pods plugin for wordpress. In principle, you can use the slide show in any situation, because it uses a ‘magic’ string to get the images, links etc it needs to load.

The compiled .swf is just under 4kB and uses a config_slideshow.txt file to get itself started.

The slideshow.swf looks for config_slideshow.txt in the same directory (as itself) and loads some configuration variables from it. (Don’t rename slideshow.swf or config_slideshow.txt.) The config_slideshow.txt will look like this:

url=http://your domain.com/flash_slideshow/&delay=6&suppressLoadInfo=false&linkText=Click here to learn more.

The format for the magic string the slideshow will read is:

title of image^http://my domain.com/path_to_image.jpg.gif.png.bmp^http://link when you click the linkText^image description text in simple html or txt#<br>
title of image2^http://my domain.com/path_to_image2.jpg.gif.png.bmp^http://link when you click the linkText^
image description text in simple html or txt#<br>

etc…
You can see the magic string uses carrots “^” and “#<br>” to break into usable data. The order of the elements in the magic strings is important, but you may leave an element blank if you like: “^^”

Here is an example with intentional missing images to show how errors are handled:

Here are the files:

Flash slideshow files and source

Still to do:
back/forward buttons. + configure in config_slideshow.txt file.
Fullscreen button. + on/off in config_slideshow.txt file.
Play music .mp3 or midi with the slideshow. +config_slideshow.txt file controlled.

, ,

  1. September 9th, 2009 at 21:53 | #1

    Hi Jake – I’m having issues getting it started. Could it be something inthe code?

  2. September 10th, 2009 at 12:49 | #2

    Sarah, Please describe your problem in a little more detail. How are you using the slideshow? Are you having difficulty with configuring it for the pods plugin for wordpress?

  1. No trackbacks yet.