Javascript "flash element" shrinking images

Discussion in 'JavaScript' started by bbpaper, Feb 14, 2008.

  1. #1
    I'm trying to create a looping banner that displays a few different pictures for my company's website using Dreamweaver. I'm using a table with two colums, one column will hold the banner...the other a logo.
    The column width is 447 px, the "flash element" as (Dreamweaver is calling it) is 447 px by 133 px and so are the photos I am using.

    The problem I'm having is that when I view the banner in a web browser, the "flash element" is making the pictures smaller....they are not taking up the full 447 px by 133 px.

    If you could look at the code below and maybe suggest a solution, that would be great...

    Thanks in advance. :)


    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" valign="center">
    <tr>
    <td width="155"><div align="left"><img src="../images/bblogo.jpg" alt="B&amp;B Paper Plus Logo" width="153" height="133" align="left" /></div></td>
    <td width="443"><div align="center">
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','447','height','133','align','left','src','../images/header','flashvars','flashlet={imageURLs:[\'../images/print2.jpg\',\'../images/print3.jpg\',\'../images/print1.jpg\'],showControls:false,slideAutoPlay:true,slideLoop:true,slideDelay:5,transitionsType:\'PixelDissolve\'}','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','flash_component','ImageViewer.swc','movie','../images/header' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="447" height="133" align="left">
    <param name="flash_component" value="ImageViewer.swc" />
    <param name="movie" value="../images/header.swf" />

    <param name="FlashVars" value="flashlet={imageURLs:['../images/print2.jpg','../images/print3.jpg','../images/print1.jpg'],showControls:false,slideAutoPlay:true,slideLoop:true,slideDelay:5,transitionsType:'PixelDissolve'}" />
    <embed src="../images/header.swf" width="447" height="133" align="left" flashvars="flashlet={imageURLs:['../images/print2.jpg','../images/print3.jpg','../images/print1.jpg'],showControls:false,slideAutoPlay:true,slideLoop:true,slideDelay:5,transitionsType:'PixelDissolve'}" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"> </embed>
    </object>
    </noscript>
     
    bbpaper, Feb 14, 2008 IP
  2. imvain2

    imvain2 Peon

    Messages:
    218
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I can't exactly help you as I don't have any experience with DW's flash components. So I'm just going to bring up one possible problem.

    Depending on how the imageviewer.swc component was made, the movieclip that is used for displaying the photo could be not resizing to full size that you are forcing through the height and width parameters.

    Which you would have to have access to header.swf and edit it.
     
    imvain2, Feb 15, 2008 IP