Topic: Flash Embedding

Why use

<!-- Download SimpleViewer at www.airtightinteractive.com/simpleviewer -->
<script type="text/javascript" src="http&#58;//www.knguyentu.com/wordpress/pictures/swfobject.js"></script>
<style type="text/css">    
    #flashcontent &#123;
        height&#58; 100%;
    &#125;
    /* end hide */
</style>
<div id="flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http&#58;//www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>    

<script type="text/javascript">
    var fo = new SWFObject&#40;"./pictures/viewer.swf", "viewer", "100%", "100%", "8", "#333333"&#41;;
    fo.addVariable &#40;"xmlDataPath", "wwwgallery.xml"&#41;;
    // fo.addVariable&#40;"firstImageIndex", "5"&#41;;    
    // fo.addVariable&#40;"langOpenImage", "Open Image in New Window"&#41;;
    // fo.addVariable&#40;"langAbout", "About"&#41;;    
    // fo.addVariable&#40;"preloaderColor", "0xFFFFFF"&#41;;
    fo.write&#40;"flashcontent"&#41;;
</script>

When you can use this and work much simplier?

<embed src="http&#58;//www.knguyentu.com/wordpress/pictures/viewer.swf" FlashVars="xmlDataPath=http&#58;//www.knguyentu.com/wordpress/pictures/gallery.xml" bgcolor=#333333 WIDTH=585 HEIGHT=520 TYPE="application/x-shockwave-flash"></embed> 
[url]http://www.photographybykevin.net[/url]

Simple Viewer FAQ By Kevin
[url]http://knguyentu.com/wordpress/photography-by-kevin/simpleviewer-flash-photo-gallery/[/url]

Re: Flash Embedding

check here: http://blog.deconcept.com/swfobject/#whyitsbetter

Felix Turner
SimpleViewer Support Team.

Re: Flash Embedding

Thanks, just what I was looking for to add to the FAQ

[url]http://www.photographybykevin.net[/url]

Simple Viewer FAQ By Kevin
[url]http://knguyentu.com/wordpress/photography-by-kevin/simpleviewer-flash-photo-gallery/[/url]