[flashpro] As Close-to-fullscreen Flash MX Online SWF as possible
Toby Pratt - Elsey Adcock Associates
toby at elseyadcock.co.uk
Fri Sep 30 04:36:11 EDT 2005
Here's another full screen thingy.
http://www.cogent-tech.co.uk
It uses this little bit of javascript:
<script language="JavaScript">
window.onload = maxWindow;
function maxWindow()
{
window.moveTo(0,0);
if (document.all)
{
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById)
{
if
(top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.ava
ilWidth)
{
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
}
</script>
This may not be cross browser compatible, but may be of help.
More information about the FlashPro
mailing list