|XHTML using includes|
This page embeds a Flash application that displays a photo gallery. The default file (Figure 1) is structured so that the Flash code-base can be reused easily to create an infinite number of photo gallery instances.
Figure 2 shows an example gallery directory structure. Creating new galleries means copying this structure, updating a few values and adding images. That's it! No fuss, no muss. Quick and clean.