View Full Version : Resize flash background in browser help

10-19-2008, 08:01 PM
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.
<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,re sizable=yes,toolbar=no";
var myWin = window.open(url, name, str);

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

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


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
<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
<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"

<TD width=14 background=index_files/3.jpg height="100%"
<TD vAlign=top background=index_files/3.jpg
<BODY onContextMenu="return false">