Hi all
This is my first ever post! If anyone can help I’d be extremely grateful.
I’ve been building my site for some time now, It’s a flash SWF through dreamweaver. I am struggling to get my browser settings right; I read on another thread that I could set the height to 100% and leave the width field blank so that as the viewer resizes the window it adjusts the flash component of my site in proportion, anchored to the right.
At present I can only get the flash part to scroll 100% in both fields which looks rather silly.
My site is www.davidhallows.com
Here is my coding-
<!-- saved from url=(0013)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” xml:lang=“en” lang=“en”>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1” />
<title>main page</title>
<style type=“text/css”>
<!–
body {
background-image: url(small%20clouds/cloud%20strip%201%20grad.jpg);
margin-left: 0 px;
margin-top: 0 px;
margin-right: 0 px;
margin-bottom: 0 px;
}
–>
</style></head>
<body bgcolor="#ffffff">
<script language=“JavaScript”>
<!–
var isInternetExplorer = navigator.appName.indexOf(“Microsoft”) != -1;
// Handle all the FSCommand messages in a Flash movie.
function main page_DoFSCommand(command, args) {
var main pageObj = isInternetExplorer ? document.all.main page : document.main page;
//
// Place your code here.
//
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf(“Microsoft”) != -1 && navigator.userAgent.indexOf(“Windows”) != -1 && navigator.userAgent.indexOf(“Windows 3.1”) == -1) {
document.write(’<script language=“VBScript”>
');
document.write('On Error Resume Next
');
document.write('Sub main page_FSCommand(ByVal command, ByVal args)
‘);
document.write(’ Call main page_DoFSCommand(command, args)
');
document.write('End Sub
‘);
document.write(’</script>
');
}
//–>
</script>
<!–url’s used in the movie–>
<!–text used in the movie–>
<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000” codebase=“http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0” id=“main page” width=“100%” height=“100%” align=“right”>
<param name=“allowScriptAccess” value=“sameDomain” />
<param name=“movie” value=“main%20page.swf” /><param name=“loop” value=“false” /><param name=“menu” value=“false” /><param name=“quality” value=“best” /><param name=“scale” value=“exactfit” /><param name=“salign” value=“rb” /><param name=“wmode” value=“transparent” /><param name=“bgcolor” value="#ffffff" /><embed src=“main%20page.swf” loop=“false” menu=“false” quality=“best” scale=“exactfit” salign=“rb” wmode=“transparent” bgcolor="#ffffff" width=“100%” height=“100%” swLiveConnect=true id=“main page” name=“main page” align=“right” allowScriptAccess=“sameDomain” type=“application/x-shockwave-flash” pluginspage=“http://www.macromedia.com/go/getflashplayer” />
</object>
</body>
</html>
Many thanks for any advice
Dave