How to Create a Flash Slide Show

Although I hardly ever implement flash files on my web sites, there are times when a flash slide will do a better job than using javascript. In this case I liked the fade effect plus the ease with which the slide show can be created without much knowledge of flash.


Here’s a church web site where I used several images in the flash header.
http://www.worldimpactcc.org

Description of flash slide show

The loader is a 1k “shell” swf (ActionScript only) that loads all images as external jpgs — one at a time — and cross-fades between them after a configurable amount of time. It uses XML to handle file names, directory structure, and other playback preferences. You can control the amount of seconds each image “holds” before moving to the next, speed up / slow down the cross-fade speed, and decide whether to show the images sequentially, or in random order.

Here are the steps for creating the slide show using flash:

1. Download the flash file
http://whatdoiknow.org/archives/001629.shtml

2. Unzip the files in the site folder of your computer.

You should have all these files in your folder:

images folder
.DS_Store
images.xml
slideshow_as2.fla
slideshow_as2.html
slideshow_as2.swf

If you open slideshow_as2.html it will show you an example flash slide within the folder.

3. Create new image files

Replace the files in the image folder with your own. If you want to save time make them the same size as the ones
you are replacing. If using different sized images make sure they are all the same size otherwise they will not appear correctly.

4. Edit the XML file

Replace the names of the files with the names of your own files. ie image1, image2 image3 etc.

5. Edit the size of the stage in the .fla file.

-If you need to edit the width and height of your images you will need to edit the .fla file.
-You will need FlashMX 2004 software or higher.
-The flash software also allows you to change the background of the stage to match the background color of your web page.
-Make sure you save and publish the edited file by replacing slideshow_as2.fla

Here’s a lesson on how to edit the .fla file
http://animation.about.com/od/2danimationtutorials/ss/2d_fla_lesson1_2.htm

6. Create a container tag on your web page.

Use CSS or table tags to contain your slide show.

7. Upload files to the server.

Remember to upload all flash files and web page to the server.

8. Test your slide show.

Check that your flash slide show is functioning correctly. You can adjust rotation time of the images, their fade speed and whether to show the images sequentially, or in random order by editing the XML file.

Here’s the flash slide show in action.

5 Responses to “How to Create a Flash Slide Show”

  1. Eduard Says:

    Thank you very much! I was really looking for this…

  2. Ashley Says:

    This is wonderful, and it works perfectly when I play the .swf file, but when i place it in an html page it doesn’t work - just the white background shows up, like the pictures aren’t loading. I tried changing the references to the jpgs and the xml file (in the swf) to include a / and I tried absolute urls, but nothing works. what am I missing? They aren’t progressive jpgs.

  3. Ashley Says:

    For anyone having similar trouble, the slideshow and the html file it is imbedded in must be in the same directory. I was trying to have the slideshow in a subdirectory, and for some reason that won’t work - even if you change all the file references. Thanks for a geat, versitile program.

  4. Irene Says:

    I could not download files
    can you help

  5. Jordan Beckett Says:

    Thanks so much! What a wonderful gift, and great tool to learn from.

    Did you develop the comments box and code yourself? I’d like to learn how to create one of these for my website!

    Thanks again,
    Ciao,
    Jordan Beckett

Leave a Reply