• im trying to add this flash album to my wordpress page using this code

    <script type=”text/javascript”>
    var fo = new SWFObject(“TiltViewer.swf”, “viewer”, “500px”, “500px”, “9.0.28”, “#000000”);

    // TILTVIEWER CONFIGURATION OPTIONS
    // To use an option, uncomment it by removing the “//” at the start of the line
    // For a description of config options, go to:
    // https://www.airtightinteractive.com/projects/tiltviewer/config_options.html

    //FLICKR GALLERY OPTIONS
    // To use images from Flickr, uncomment this block
    //fo.addVariable(“useFlickr”, “true”);
    //fo.addVariable(“user_id”, “48508968@N00”);
    //fo.addVariable(“tags”, “jump,smile”);
    //fo.addVariable(“tag_mode”, “all”);
    //fo.addVariable(“showTakenByText”, “true”);

    // XML GALLERY OPTIONS
    // To use local images defined in an XML document, use this block
    fo.addVariable(“useFlickr”, “false”);
    fo.addVariable(“xmlURL”, “gallery.xml”);
    fo.addVariable(“maxJPGSize”,”640″);

    //GENERAL OPTIONS
    fo.addVariable(“useReloadButton”, “false”);
    fo.addVariable(“columns”, “3”);
    fo.addVariable(“rows”, “3”);
    //fo.addVariable(“showFlipButton”, “true”);
    //fo.addVariable(“showLinkButton”, “true”);
    //fo.addVariable(“linkLabel”, “View image info”);
    //fo.addVariable(“frameColor”, “0xFF0000”);
    //fo.addVariable(“backColor”, “0xDDDDDD”);
    //fo.addVariable(“bkgndInnerColor”, “0xFF00FF”);
    //fo.addVariable(“bkgndOuterColor”, “0x0000FF”);
    //fo.addVariable(“langGoFull”, “Go Fullscreen”);
    //fo.addVariable(“langExitFull”, “Exit Fullscreen”);
    //fo.addVariable(“langAbout”, “About”);

    // END TILTVIEWER CONFIGURATION OPTIONS

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

    somehow its not working , the scripts in the head tags works fine but im getting real problem with this code , i dont think its picking up the TiltViewer.swf , so please anybody can help me out i will be greatfull , cheers

    by the code this code goes in the body tag or where the content is so just to clear things out it does nt go in the head tag and i want it to work in my wordpress pages

Viewing 3 replies - 1 through 3 (of 3 total)
  • _

    (@viniciusandre)

    It’s easier to use Kimili Flash Embed plugin. That will reduce all this code to just one line.

    Also, you have to provide the full URL for the file. Use some link function like <?php bloginfo('template_directory'); ?>/flashfile.swf.

    Hope it helps.

    Thread Starter pavlos1982

    (@pavlos1982)

    i tried everything and still giving me griefs lol but thank you anyway i will try and explain in detaills well ill copy the whole code , in a html page it works perfect this is the code for it

    <html xmlns=”https://www.w3.org/1999/xhtml&#8221; xml:lang=”en” lang=”en”>
    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
    <title>TiltViewer</title>
    <script type=”text/javascript” src=”swfobject.js”></script>
    <link href=”gallery.css” rel=”stylesheet” type=”text/css”>
    </head>
    <body>
    <div id=”flashcontent”>
    <div id=”flashcontent”>
    <script type=”text/javascript”>
    var fo = new SWFObject(“TiltViewer.swf”, “viewer”, “500px”, “500px”, “9.0.28”, “#000000”);

    // TILTVIEWER CONFIGURATION OPTIONS
    // To use an option, uncomment it by removing the “//” at the start of the line
    // For a description of config options, go to:
    // https://www.airtightinteractive.com/projects/tiltviewer/config_options.html

    //FLICKR GALLERY OPTIONS
    // To use images from Flickr, uncomment this block
    //fo.addVariable(“useFlickr”, “true”);
    //fo.addVariable(“user_id”, “48508968@N00”);
    //fo.addVariable(“tags”, “jump,smile”);
    //fo.addVariable(“tag_mode”, “all”);
    //fo.addVariable(“showTakenByText”, “true”);

    // XML GALLERY OPTIONS
    // To use local images defined in an XML document, use this block
    fo.addVariable(“useFlickr”, “false”);
    fo.addVariable(“xmlURL”, “gallery.xml”);
    fo.addVariable(“maxJPGSize”,”640″);

    //GENERAL OPTIONS
    fo.addVariable(“useReloadButton”, “false”);
    fo.addVariable(“columns”, “3”);
    fo.addVariable(“rows”, “3”);
    //fo.addVariable(“showFlipButton”, “true”);
    //fo.addVariable(“showLinkButton”, “true”);
    //fo.addVariable(“linkLabel”, “View image info”);
    //fo.addVariable(“frameColor”, “0xFF0000”);
    //fo.addVariable(“backColor”, “0xDDDDDD”);
    //fo.addVariable(“bkgndInnerColor”, “0xFF00FF”);
    //fo.addVariable(“bkgndOuterColor”, “0x0000FF”);
    //fo.addVariable(“langGoFull”, “Go Fullscreen”);
    //fo.addVariable(“langExitFull”, “Exit Fullscreen”);
    //fo.addVariable(“langAbout”, “About”);

    // END TILTVIEWER CONFIGURATION OPTIONS

    fo.addParam(“allowFullScreen”,”true”);
    fo.write(“flashcontent”);
    </script> </div>

    </div>
    </body>
    </html>

    my real issue is that body script is driving me up the wall , what ever url i used for SWFObject(“TiltViewer.swf” and fo.addVariable(“xmlURL”, “gallery.xml”);, even using blog info template url it does not work

    im just hoping there is a way to rewrite this script so it can work in body tag pages on wordpress

    _

    (@viniciusandre)

    Again. You need to provide the full URL for both SWF and XML links.

    SWFObject("TiltViewer.swf" and fo.addVariable("xmlURL", "gallery.xml");

    And also, if the flash reffers for a XML or any other info by Actionscript, you need to put a full URL there too.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding External Flash photo album’ is closed to new replies.