Newest Articles

MegaCombs
Flash Media Player
XML Driven Pie Chart
Base Defender
Hangman Game
8 Ball Pool


Popular Articles

True Fullscreen Flash Mode
Catapult Game
Hangman Game
Infinitely Zooming Image
3d Rotating Image Cube
Base Defender


Random Articles

Hangman Game
Drivable Car
Picture Puzzle
Alert Box
Instantiating an Object
Image Color Tinting using Actionscript


Links

Shapes the Game
Reddit
Newgrounds
TWiT
Link to SwfSpot
Swf Spot

Contact me on Google+



rss feed

Photo Reel

Photo Reel
AddThis Social Bookmark Button
Description: Display your photos with a sliding reel
Author: John Bezanis
Added: June 18th 2008
Version: Flash 8


This applet grabs images using an xml file and displays them in a photo reel form, with a slider that reacts to the mouse's y position. Each image is shown as a thumbnail on the reel, and a seperate image can be used as the thumbnail. A caption for each image is shown as well.
Example html code for the applet:
<object data="47-photoreel.swf?xmlfile=photoreel.xml" type="application/x-shockwave-flash" width="550" height="320">
<param name="movie" value="47-photoreel.swf?xmlfile=photoreel.xml"/>
</object>
You can add the code <param name="wmode" value="transparent"/> just before </object> to make the background color transparent.
Example format for the xml file:
<?xml version="1.0"?>
<images>
<image><thumb>http://www.somesite.com/image1thumb.gif</thumb><caption>Caption for Pic 1</caption><pic>http://www.somesite.com/image1.jpg</pic></image>
<image><thumb>http://www.somesite.com/image2thumb.png</thumb><caption>Caption for Pic 2</caption><pic>http://www.somesite.com/image2.gif</pic></image>
<image><thumb>http://www.somesite.com/image3thumb.jpg</thumb><caption>Caption for Pic 3</caption><pic>http://www.somesite.com/image3.png</pic></image>
</images>


The source code, built swf, and demo xml file are available below:

Download the Source File
Download the Built swf File
Download the Example xml File
Comments Currently Disabled