Topic: help running 2 viewers on one page

First off let me just say thanks to airtight for the great viewer. 

I am having problems running 2 viewers on one page.  I could not use the embed code provided because it messed up my css page.  So I am unable to specify seperate .xml files such as gallery2.xml.  Here is the code I used

<object classid="clsid&#58;d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http&#58;//fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="600" height="450" >
        <param name="allowScriptAccess" value="sameDomain"/>
        <param name="movie" value="viewer.swf"/>
        <param name="quality" value="high"/>
        <param name="bgcolor" value="#d67902"/>
    <embed src="images/ohi/viewer.swf"
    quality="high" bgcolor="#d67902" name="viewer.swf" allowscriptaccess="sameDomain"
    type="application/x-shockwave-flash"
    pluginspage="http&#58;//www.macromedia.com/go/getflashplayer"
    align="center" height="450" width="600"> </embed>
</object>

And the page is http://jeremypaul.com/pictures.html

I am not sure what code to put in it so I could use seperate xml's, so any help would be greatly appreciated.  thanks -Jeremy

Re: help running 2 viewers on one page

A simple solution
use 2 viewer.swf's each calling there own gallery.xml

I'd still try to use the swfobject.js, it will eliminate other problems.

Richard

in order to better assist you, please provide a url, relevant code and details about your problem.
Thanks!

Re: help running 2 viewers on one page

Perhaps this might help you to get the two galleries going in one page.

-Kenneth

Re: help running 2 viewers on one page

Thanks Kenneth,
I forgot about your good tut.

Richard

in order to better assist you, please provide a url, relevant code and details about your problem.
Thanks!

Re: help running 2 viewers on one page

Hey Richard, no problem. With the amount of amazing support that you give around here my contribution is only a grain of salt in comparison. I just hope it helps others.  wink

Re: help running 2 viewers on one page

thanks a ton, I will let you know how it turns out after the holidays.