Hey Musicman,
I had the same problem a while ago - the tough part is actually sizing the movie. The only way I was able to do it was with a Refresh. Basically capture the screen size when the user first got to the site, set a cookie with the width and height, then use header(Location...) right after. It was fast enough that the user never knew the page was actually refreshed once. One problem with that was that Cookies had to be enabled.
It looked something like this:
$WGet = $HTTP_GET_VARS[W];
$HGet = $HTTP_GET_VARS[H];
// $W and $H where from a Cookie
if ($W && $H) {
if ($WGet && $HGet) {
setcookie ("W", $W, time()+30240000, "/");
setcookie ("H", $H, time()+30240000, "/");
header("Location: [url=http://www.flash-db.com/"]http://www.flash-db.com/"[/url]);
exit;
}
############# Determine SWF Size
if ($W > '1024') {
$width = ($W*940) / 1024;
$height = ($H*620) / 768;
} else {
$width = 940;
$height = 620;
}
// HTML... Embed movie with $width and $height size
} else {
print "<HTML><HEAD><SCRIPT LANGUAGE=\"javascript\">top.location=\"index.php?W=\"+screen.width+\"&H=\"+screen.height;</script>";
}
Well I have no idea if that was helpful or not. Basically the last line was the most important - use JS top.location then refresh to the same page with the browser width and height attached. The use those values to size the SWF movie - and set a cookie so you do not have to do it each time.
It worked for all browsers. Just an idea.