Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Flash movie uses whole screen - how?
From: Matthew Buchanan
Date: Thu, 5 Aug 1999 01:36:49 +0100


>> Does anyone know how to get the movie to open full screen (i.e. NO
>> BROWSER)?

> Opening a movie like this is only an option in later versions of IE.
Using a
> JavaScript you can open a new browsing window with the settings for
> fullscreen. Looks good, but be sure to put an exit button in your movie,
> case there is no way for the viewer to get out of the screen. I had to
> Ctrl-Alt-Del the other day to get out of one. I was quite pissed off.

Of course you could have just used Alt-F4, the Windows shortcut to close
the current window...


For fullscreen windows, include this JavaScript in your index.html file...

---------------CUT HERE------------------

<script language="JavaScript">
<!--

// script by Matthew Buchanan and Paul Tuckey
// �1999 www.viewthesourceluke.com
// please leave this copyright message intact...

site_url = "yoursite.html"

browser_vers = parseInt( navigator.appVersion )
browser_name = navigator.userAgent

is_mac = false
is_mac = ( browser_name.indexOf( "Mac" ) != -1 )

is_explorer = false
is_explorer = ( browser_name.indexOf( "MSIE" ) != -1 )

function openSite()
{
if( is_explorer && ( browser_vers >= 4 )){
if( is_mac ){
location.href = site_url
} else {
options_string = "toolbar=no,location=no,directories=no,"
options_string += "status=no,scrollbars=no,menubar=no,"
options_string += "resizeable=no,fullscreen=yes,"
options_string += "width=100%,height=100%"
window.open( site_url, "full_screen", options_string )
}
} else {
location.href = site_url
}
}

// -->
</script>

---------------CUT HERE------------------

Then add the following parameter to the body tag of the page:

onLoad="openSite()"


regards,

Matthew Buchanan, Designer
Netbyte Internet Limited +64.9.302.3808
When technology alone is not enough...
http://www.netbyte.co.nz


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: FLASH: Flash movie uses whole screen, corstiaan Smorenburg

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]