Resize flash background in browser help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • msin33
    Private

    • Oct 2008
    • 1

    Resize flash background in browser help

    1.Resized HTML + Flash site: 'width', '100%', 'height', '100%'.

    2.The flash file is 780 x 870 with 'bgcolor','#113c29'. This is the background of the flash file which plays the movie.

    3. Imported another background in Dreamweaver for the flash movie.

    4. After resizing, the flash file resized to fit browser display settings.
    But the flash file background > '#113c29' spans across 'almost' the whole page covering the original HTML background imported into dreamweaver.

    So the original HTML background looks like a frame, with the flash movie
    background spanning out, while the flash movie itself is nested in the >>bg
    color>> of the flash file, instead of the HTML background.

    Any help/feedback greatly appreciated.

    Thanks in advance.
    -------------
    Code:
    <SCRIPT language=javascript>
    <!--
    function openBrWindow(url, name, width, height) {
    var str = "height=" + height + ",innerHeight=" + height;

    str += ",width=" + width + ",innerWidth=" + width;

    if (window.screen) {
    var ah = screen.availHeight;
    var aw = screen.availWidth;
    var xc = (aw - width) / ;
    var yc = (ah - height) / ;
    str += ",left=" + xc + ",screenX=" + xc;
    str += ",top=" + yc + ",screenY=" + yc;
    str +=

    ",location=no,menubar=no,scrollbars=no,status=no,r esizable=yes,toolbar=no";
    }
    var myWin = window.open(url, name, str);
    }
    //-->
    </SCRIPT>

    <META content="MSHTML 6.00.2800.1400" name=GENERATOR>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    </HEAD>

    <BODY background=index_files/1.jpg topMargin=0>
    <BODY onResize="document.location.reload()">
    <TABLE height="100%" cellSpacing=0 cellPadding=0 width=808 align=center
    border=0>
    <TBODY>
    <TR>
    <TD width=14 background=index_files/2.jpg height="100%"
    rowSpan=2>&nbsp;</TD>
    <TD vAlign=top width=781 height=840><script type="text/javascript">
    AC_FL_RunContent(

    'id','flash','codebase','http://fpdownload.a.com/pub/shockwave/cabs/flash/swf

    flash.cab#version=6,0,0,0','name','flash','width', '780','height','870',

    'scale', 'ExactFit',

    'align','middle','src','flash','quality','high','b gcolor','#113c29','name','flash','menu','false','a llowscriptaccess','sameDomain','pluginspage',
    'http://www.a.com/go/getflashplayer','movie','flash' ); //end AC code
    </script>
    <noscript>
    <object id=flash


    codebase=http://fpdownload.a.com/pub/shockwave/cabs/fla/swflash.cab#version=6,0,0,0 name="flash"
    height=870 width="780" scale="ExactFit" align=middle
    classid=clsid:d27cdb6e-ae6d-16cf-96b8-444553543333>
    <param name="allowScriptAccess" value="sameDomain">
    <param name="movie" value="flash.swf">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <param name="scale" value="ExactFit">
    <param name="bgcolor" value="#113c29">
    <embed src="flash.swf" quality="high" bgcolor="#113c29" width="780"
    height="870" scale="ExactFit" name="flash" menu="false" align="middle"
    allowscriptaccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="http://www.a.com/go/getflashplayer"></embed>
    </object>
    </noscript>

    <TD width=14 background=index_files/3.jpg height="100%"
    rowSpan=2>&nbsp;</TD>
    </TR>
    <TR>
    <TD vAlign=top background=index_files/3.jpg
    height="100%">&nbsp;</TD></TR></TBODY></TABLE>
    <BODY onContextMenu="return false">
    </BODY></HTML>
Working...
X