Sample 8 - Animation File, Configuration File and Images in Different Directories.

This example shows the creation of 3D Carousel where the animation file, the configuration file and the images are stored in different directories.
Control and appearance of the 3D Carousel are effected entirely via the XML file 3dcarouselv1.xml (Help File).




Settings in ClickMe.html:
Relative path to the animation file (3dcarouselv1.swf) starting from ClickMe.html
- var so = new SWFObject("MyAnimations/3DCarouselV1/3dcarouselv1.swf", ...

Relative path to the configuration file (3dcarouselv1.xml) starting from ClickMe.html
- so.addParam("flashvars", "configfile=MyConfigFiles/3DCarouselV1/3dcarouselv1.xml");


Settings in 3dcarouselv1.xml:
Relative paths for all images starting from ClickMe.html(!)

- BackGroundPath="MyImages/3DCarouselV1/background.jpg"
- <ImagePath><![CDATA[MyImages/3DCarouselV1/img01.jpg]]></ImagePath>


In cases where you want to store the resource files on different servers or domains, please read the tutorial Access to Resources in Other Domains.