Topic: firstImageIndex: which exact syntax?
Hi group,
the variable firstImageIndex is obviously working in Felix's example, but seems to refuse to work in mine.
I would like to use that variable with a preceding random generator, to start the gallery with a random picture.
just to debug, I tried to modify the coding as follows:
<script type="text/javascript">
var fo = new SWFObject("ext/viewer.swf", "viewer", "700", "700", "7", "#F1F2F3");
fo.addVariable("firstImageIndex", "2");
fo.addVariable("preloaderColor", "0xffffff");
fo.addVariable("xmlDataPath", "gallery.xml");
fo.addVariable("fontColor", "0x919191");
fo.addVariable("footer", "");
fo.write("flashcontent");
</script><script type="text/javascript" language="javascript">
function show_album()
...
...and I expected to get the album starting at the 3rd picture.
But it obstinately refused to work, and started from the first picture.
Where is my mistake?
I want to replace "2" later with a random generated variable, but I think, I must first get it working with a fixed value and I am currently stuck here!
Thank you in advance
rin67630