Topic: Missing //fo.addVariable("xmlURL", "gallery.x

I am missing this line: fo.addVariable("xmlURL", "gallery.xml") in my code when I embed PostcardViewer into my html. I am trying to embed multiple galleries in one page and I can't differentiate the xml files. I think this line of code Is supposed to solve this problem for me.

Where should this line fall in the html code?

Any help is appreciated. Thanks!!!

Re: Missing //fo.addVariable("xmlURL", "gallery.x

Check the example 'index.html' file in the PostcardViewer download to see where to put that line.

Felix Turner
SimpleViewer Support Team.

Re: Missing //fo.addVariable("xmlURL", "gallery.x

This is what my code looks like right now. I have embedded the viewer in a tabbed container.

<script type="text/javascript">
AC_FL_RunContent( ); //end AC code
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" " width="474" height="309">
  <script type="text/javascript">
        var fo = new FlashObject("viewer.swf", "viewer", "100%", "100%", "8", "#181818");   

        //Optional Configuration
        //fo.addVariable("langAbout", "About");
        fo.addVariable("xmlURL", "portfolio/project1/imagedata.xml");

  <param name="movie" value="project 1/viewer.swf" />
  <param name="quality" value="high" />
  <embed src="project 1/viewer.swf" quality="high" pluginspage=" " width="474" height="309"></embed>

What do you see wrong?

Thanks for your help.