How to pass image URL to
Flash with FlashVars parameter?
By default, Flash Pan Zoom Viewer generates a standalone XML
file "viewer_images.xml" in the same folder, and use
this file to pass image URL list to the Flash.
This tutorial will guide you how to pass image URL list to
Flash with FlashVars parameter. FlashVars is a way to pass variables
from HTML to a Flash movie. It's syntax is very similar to a
To pass the image URL list to the Flash Viewer, you need to
add FlashVars to the HTML code that embedding the Flash movie.
The variable name of first image url address must be image0,
the variable name of its title must be title0.
The names of following images must be image1,
title2 and so on.
If there is only one image, the name must also be image0
You can use full url address for image, for example, http://www.aleosoft.com/flashpanzoom/reg/a.jpg,
you can also use relative path, for example, a.jpg,
but please note, the relative path is compared to the
address of Flash SWF file, not the HTML file that includes the