1

(22 replies, posted in SimpleViewer v1)

i have done the kematica tutorial. but its an older one.

I have found out that i have to tell the viewer.swf the path where the xml finds.
Anybody knows how i can write it in Flash and give the 3 different viewer.swf´s the path?

something like that...
fo.addVariable("xmlDataPath", "gallery.xml");

2

(22 replies, posted in SimpleViewer v1)

do you know to tell the xml to viewer.swf ?

3

(22 replies, posted in SimpleViewer v1)

do you know who i have to tell where the gallery.xml finds?

where are the Simple Viewer experts?  :?:

5

(22 replies, posted in SimpleViewer v1)

Do you want the multiple galleries to display on the one page at the same time???

Either way, when you embed simpleviewer you tell it the name of the xml file:

fo.addVariable("xmlDataPath", "gallery.xml");

So you can call the xml files whatever you like. You can even use PHP to dynamically generate the xml (flickrviewer and picasaviewer do this).

Ben

do i have to do this in my gallery too?

forum/viewtopic.php?t=4682

you can try my 3 gallery´s here ->

www . steffen jung online . de . vu


It stops on "Loading Gallery"!!!
i hope its helpful!

Hi Folks,

first: my English is not very good, but i hope you can help me!

I have questions about creating multiple gallerys on my webserver, because it doesn´t work.

-I want to have 2 Gallerys. first named "gal1" second named "gal2".

my directory is as follows:

   -root
          -gal1
                 -album
                        -ext
                        -viewer.swf
                        -gallery.xml
                        - ...
          -gal2
                 -album
                        -ext
                        -viewer.swf
                        - gallery.xml
                        - ...

- I load the respective viewer.swf in my Flash Site with the loadmovie() function.
- I have changed the 2 gallery.xml´s :


<?xml version="1.0" encoding="utf-8"?>
<simpleviewerGallery maxImageWidth="552" maxImageHeight="552" textColor="0xffffff" frameColor="0x555555" frameWidth="1" stagePadding="35" thumbnailColumns="3" thumbnailRows="3" navPosition="left" title="Galerie" enableRightClickOpen="false" backgroundImagePath="gal1/album/ext/porta_sv.swf" imagePath="gal1/album/medium/" thumbPath="gal1/album/small/">
  <image>
    <name>16062007209-001.jpg</name>
    <caption><!&#91;CDATA&#91;Eigentlich wollten wir ja lernen..&#93;&#93;></caption>
  </image>

the second xml also changed in /gal2/album ....


- do i have to change one of these files???

albumdef.js
common.js
index.js
langdef.js
medium.js
small.js
swfobject.js

-------------------------