[flashpro] As Close-to-fullscreen Flash MX Online SWF as possible

Denis Huë denis at atypic.be
Fri Sep 30 10:03:05 EDT 2005


It causes a problem with scrollbars (or content or whatever)...

Look at download part, drag the scrollbar to bottom, then to top again....
the text doesn't follow correctly, it is stuck before the real top....

-----Message d'origine-----
De : flashpro-bounces at muinar.org [mailto:flashpro-bounces at muinar.org] De la
part de Toby Pratt - Elsey Adcock Associates
Envoyé : vendredi 30 septembre 2005 10:36
À : Mailing list for professional Flash designers and developers
Objet : RE: [flashpro] As Close-to-fullscreen Flash MX Online SWF as
possible

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.


------------------------------------------------------------------
send message to the list:               mailto:flashpro at muinar.org
[FlashPro] list info, subscribe, archive:   http://flash-list.com/
There's also a WebPro mailing list:     http://webdesign-list.com/
cutting-edge sounds for flash:            http://flash-sounds.com/




More information about the FlashPro mailing list