Topic: Using swftools output as a source for simpleviewer

Disappointed with the viewers available to integrate with a swftools pdf2swf output, I was very excited in stumbling across simpleviewer.  If I can overcome the technical hurdles I'm facing I'd be happy to pick up the pro version for my project.  Currently when I try to load an output swf from pdf2swf, I get the following errors:

TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::AVM1Movie@19435281 to flash.display.Bitmap.
    at com.airtight.simpleviewer.display.thumbs::Thumb/resizeThumbToFit()
    at com.airtight.simpleviewer.display.thumbs::Thumb/onThumbLoaded()

and

TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::AVM1Movie@19435431 to flash.display.Bitmap.
    at com.airtight.simpleviewer.display.image::Image/onImageLoaded()

I was unable to find anything on this in the form.  My code is as follows:

test.html

<!-- saved from url=(0014)about:internet -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
        <title>SimpleViewer Gallery</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
        <script type="text/javascript">
            var flashvars = {};
            flashvars.galleryURL = "gallery.xml";
            var params = {};            
            params.allowfullscreen = true;
            params.allowscriptaccess = "always";
            params.bgcolor = "222222";
            swfobject.embedSWF("simpleviewer.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);
        </script>
        
        <style type="text/css" media="screen">    
            html, body    { height:100%; }
            body {            
                margin:0;
                padding:0;
                overflow:hidden;
                background-color: #222;
                color:#666;
                font-family:sans-serif;
                font-size:20px;        
            }
            a {    
                color:#ff0000;    
            }
        </style>
        
    </head><body><div id="flashContent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://get.adobe.com/flashplayer/">Get Flash</a></div></body>
</html>

gallery.xml

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

<simpleviewergallery
    
    galleryStyle="MODERN"
    title="Testing..."
    textColor="FFFFFF"
    frameColor="FFFFFF"
    frameWidth="20"
    thumbPosition="LEFT"
    thumbColumns="3"
    thumbRows="3"
    showOpenButton="TRUE"
    showFullscreenButton="TRUE"    
    maxImageWidth="640"
    maxImageHeight="640"
    useFlickr="false"
    flickrUserName=""
    flickrTags=""
    languageCode="AUTO"
    languageList=""        
    imagePath="/"
    thumbPath="/"
    
>

<image imageURL="test.pdf.swf" thumbURL="test.pdf.swf" linkURL="" linkTarget="" >
    <caption><![CDATA[testing...]]></caption>    
</image>

</simpleviewergallery>

My test.pdf.swf file resides in the same folder as gallery.xml and test.html.  The command line I'm using for swftools is like so:
C:\swftools\pdf2swf.exe -z C:\test.pdf -s bitmap -o c:\temp\test.pdf.swf

The addition of "-s bitmap" was an attempt to resolve this error.

Here are some of the resources I've used.

http://www.swftools.org/pdf2swf.html
http://wiki.swftools.org/index.php/Pdf2 … parameters