Topic: cannot parse xml

Hi folks ... i've looked at the FAQs, looked at other people's issues with this error, and checked my code ... can't find the problem

Testing site:  mirror.focusedmoments.com

Also - it works when tested locally (using the index file) - on the webserver ... nada

Your help sincerely appreciated!  I'm sure it's something simple?

Gallery.xml file

<?xml version="1.0" encoding="UTF-8"?>

<simpleviewergallery

    title="SimpleViewer-Pro Gallery"
    embedColor="FFFFFF"
    stageHPadding="20"
    stageVPadding="10"
    enableKeyboardControls="false"
    stageVAlign="CENTER"
    stageHAlign="CENTER"
    frameWidth="2"
    maxImageHeight="520"
    imageCornerRadius="5"
    imageDropShadow="false"
    imageTransitionType="CROSS_FADE"
    imageTransitionTime=".5"
    imageBackColor="FFFFFF"
    imageNavColor="CCCCCC"
    imageNavBackColor="FFFFFF"
    showBigPlayButton="false"
    thumbPosition="NONE"
    thumbRows="0"
    thumbDropShadow="false"
    thumbFrameColor="333333"
    thumbFrameHoverColor="CCCCCC"
    thumbHoverFrameWidth="2"
    thumbFrameWidth="1"
    thumbLoadBarHeight="0"
    showThumbVisited="false"
    showThumbLoadBar="true"
    thumbClickShift="2"
    thumbCornerRadius="10"
    thumbPreloading="ALL"
    thumbFrameStyle="SQUARE"
    thumbLoadBrightness=".6"
    thumbNavBackColor="FFFFFF"
    showOpenButton="false"
    showFullscreenButton="false"
    showToolTips="false"
    floatTitle="false"
    maxImageWidth="940"
    imageFrameStyle="NONE"
    imageClickMode="NONE"
    imagePreloading="ALL"
    showOverlay="NEVER"
    showImageNav="NEVER"
    autoPlayOnLoad="true"
    autoPlayThumbs="false"
    showAutoPlayStatus="false"
    displayTime="6"
    goNextOnAutoPlay="true"
    loopAudio="false"
    buttonBarPosition="NONE"
    enableLooping="true"
    randomizeImages="true"

>
  <image imageURL="images/1.jpg"
    linkURL=""
    linkTarget="">
    <caption/>
  </image>
  <image imageURL="images/2.jpg"
    linkURL=""
    linkTarget="">
    <caption/>
  </image>
  <image imageURL="images/3.jpg"
    linkURL=""
    linkTarget="">
    <caption/>
  </image>
</simpleviewergallery>

Last edited by FocusedMoments (2010-06-30 21:28:59)

Re: cannot parse xml

Hi,

since you have the simpleviewer SWF in a different folder than the page that is embedding it, you need to add a 'baseURL' parameter to point to the gallery folder.

flashvars.baseURL="galleries/homepage/"; 

Check here for full instructions: http://www.simpleviewer.net/simpleviewe … l#external

Felix Turner
SimpleViewer Support Team.

Re: cannot parse xml

Thanks Felix!  I tried that earlier and it didn't work (i've been trying every embed method smile)

Works now though!  Appreciated smile

Last edited by FocusedMoments (2010-06-30 21:54:32)