Topic: swfobject 2.2 ?

It doesn't load if I replace swfobject.js with https://ajax.googleapis.com/ajax/libs/s … fobject.js
Does Pro work only with swfobject 1.5 ?

https://www.facebook.com/JohnsonDigital

Re: swfobject 2.2 ?

SWFObject v2.x is not backwards compatible with SWFObject v1.5.

TiltViewer can be embedded using SWFObject v2.2 but the embedding code required is different. (If you replace swfobject.js v1.5 with swfobject.js v2.2, the embedding code in the HTML file will still be of the type required for v1.5 and will need to be changed.)
See here for details: http://code.google.com/p/swfobject/wiki/documentation

Steven Speirs
SimpleViewer Support Team.

Re: swfobject 2.2 ?

Cool. Thanks.

https://www.facebook.com/JohnsonDigital

Re: swfobject 2.2 ?

For those searching ...

Using tiltviewer_pro/web/index.html with swfobject 2.2

<html xmlns="http://www.w3.org/1999/xhtml" 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="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">swfobject.registerObject("TiltViewer", "9.0.115", "expressInstall.swf");</script>
<style type="text/css">
    /* hide from ie on mac \*/
    html {
        height: 100%;
        overflow: hidden;
    }

    #flashcontent {
        height: 100%;
    }
    /* end hide */

    body {
        height: 100%;
        margin: 0;
        padding: 0;
        background-color: #000000;
        color:#ffffff;
        font-family:sans-serif;
        font-size:40;
    }

    a {
        color:#cccccc;
    }
</style>
</head>
<body>
    <div id="flashcontent">TiltViewer requires JavaScript and the latest Flash player. <a href="http://get.adobe.com/flashplayer/">Get Flash here.</a></div>
    <script type="text/javascript">
        var flashvars =
        {
            //FLICKR GALLERY OPTIONS
            // To use images from Flickr, uncomment this block
            //useFlickr:true,
            //user_id:"48508968@N00",
            //tags:"jump,smile",
            //tag_mode:"all",
            //showTakenByText:true,

            // XML GALLERY OPTIONS
            // To use local images defined in an XML document, use this block
            useFlickr:false,
            xmlURL:"gallery.xml",
            maxJPGSizeL:640,

            //GENERAL OPTIONS
            useReloadButton:false,
            columns:3,
            rows:3,

            //showFlipButton:true,
            //showLinkButton:true,
            //linkLabel:"View image info",
            //frameColor:"0xff0000",
            //backColor:"0xDDDDDD",
            //bkgndInnerColor:"0xFF00FF",
            //bkgndOuterColor:"0x0000FF",
            //langGoFull:"Go Fullscreen",
            //langExitFull:"Exit Fullscreen",
            //langAbout:"About",

            //PRO OPTIONS
            //bkgndTransparent:true,
            //showFullscreenOption:false,
            //frameWidth:40,
            //zoomedInDistance:1400,
            //zoomedOutDistance:7500,
            //fontName:"Times",
            //titleFontSize:90,
            //descriptionFontSize:32,
            //linkFontSize:41,
            //linkTarget:"_self",
            //navButtonColor:"0xFF00FF",
            //flipButtonColor:"0x0000FF",
            //textColor:"0xFFFFFF",
            //linkTextColor:"0x000000",
            //linkBkgndColor:"0xFFFFFF",
            //enableSounds:true,
            //tiltAmountIn:75,
            //tiltAmountOut:120
            // END TILTVIEWER CONFIGURATION OPTIONS
        };

        var params =
        {
            wmode:"transparent",
            allowFullScreen:true
        };

        var attributes = {};

        swfobject.embedSWF("TiltViewer.swf", "flashcontent", "100%", "100%", "9.0.28", "expressInstall.swf", flashvars, params, attributes);
    </script>
</body>
</html>
https://www.facebook.com/JohnsonDigital