Topic: No description on image-background

Hey,
I just tried to use TiltViewer, and it works.
The only thing that doesn't work ist the description on the background of the image  sad
It doesn't work I'm using flickr, it doesn't I'm using the xml-file.
I'm using this code:

    <script type="text/javascript">
        var fo = new SWFObject("TiltViewer.swf", "viewer", "700px", "700px", "9.0.28", "#4F4F4F");

        fo.addVariable("useFlickr", "true");
        fo.addVariable("user_id", "48631243@N03");
        fo.addVariable("linkLabel", "Auf flickr besuchen.");
        fo.addVariable("showLinkButton", "true");
        fo.addVariable("xmlURL", "gallery.xml");

        fo.addVariable("tag_mode", "all");
        fo.addVariable("showTakenByText", "true");

        fo.addVariable("useReloadButton", "true");
        fo.addVariable("columns", "4");
        fo.addVariable("rows", "4");
        fo.addVariable("backColor", "4F4F4F");
        fo.addVariable("bkgndInnerColor", "0x414141");
        fo.addVariable("bkgndOuterColor", "0x4F4F4F");


        fo.addParam("allowFullScreen","true");
        fo.write("flashcontent");
  </script>


What am I doing wrong?

skyFox

Re: No description on image-background

Try adding,  fo.addVariable("showFlipButton",  "true");

Mike Richards
SimpleViewer Support Team.

Re: No description on image-background

Didn't work...
Any else idea?

Re: No description on image-background

I've got an idea what it could be - the background is black and maybe the text is also black.
I tried to fix that with fo.addVariable("backColor", "ffffff"); but the background is still black =?

Re: No description on image-background

You need to specify colors like this (prepend '0x'):

fo.addVariable("backColor", "0x4F4F4F");
Felix Turner
SimpleViewer Support Team.

Re: No description on image-background

neutral My background is still black -.-

Could you have a look at my sourcecode? Maybe there's something I'm doing completely wrong...

http://fvg.lima-city.de/janinekuntz/bilder.html

Thanx for your fast answers! Nice support, like that!

Re: No description on image-background

you have backColor in there twice, try removing one.
.
        fo.addVariable("useFlickr", "true");
        fo.addVariable("user_id", "48631243@N03");
        fo.addVariable("linkLabel", "Janine Kuntz auf Flickr besuchen.");
        fo.addVariable("showLinkButton", "true");
        fo.addVariable("xmlURL", "gallery.xml");
        fo.addVariable("showFlipButton", "true");
       fo.addVariable("backColor", "0xC8C8C8");
        fo.addVariable("frameColor", "0xffffff");

        fo.addVariable("tag_mode", "all");
        fo.addVariable("showTakenByText", "true");

        fo.addVariable("useReloadButton", "true");
        fo.addVariable("columns", "4");
        fo.addVariable("rows", "4");
        fo.addVariable("backColor", "4F4F4F"); // if you use this one you need to change 4F4F4F to 0x4F4F4F
        fo.addVariable("bkgndInnerColor", "0x414141");
        fo.addVariable("bkgndOuterColor", "0x4F4F4F");

        fo.addParam("allowFullScreen","true");
        fo.write("flashcontent");

Mike Richards
SimpleViewer Support Team.

Re: No description on image-background

Yeah it works, thanx a lot!!!