Sample 6 - Animation file, configuration file and images in different directories.

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




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

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


Settings in 3dstack.xml:
Relative paths for all images starting from ClickMe.html

- BackGroundPath="MyImages/3DStack/background.jpg"
- NavigationButtonPrevPath="MyImages/3DStack/cmdPrev.png"
- NavigationButtonNextPath="MyImages/3DStack/cmdNext.png"

- <ImagePath><![CDATA[MyImages/3DStack/img01.jpg]]></ImagePath>


In the case where animation file, configuration file and/or images are stored in other domains/on different servers, please read the tutorial Access to Resources in Other Domains.