Flasher Archive

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


Subject: Re: FLASH: opening a full-screen window
From: David Gary
Date: Mon, 14 Dec 1998 22:51:14 GMT

 

"Daniel J. O'Neil" wrote:

<samp>
Dear Gabriel and Brian,

The way I opened a full-screen window from Flash was via JavaScript.

In the head of the html file that contains the button that launches
Flash, I have the following script:

<script language="JavaScript">
<!-- hide script from old browsers

browserName = navigator.appName
browserVer = parseInt(navigator.appVersion)

if (browserName == "Netscape" && browserVer == 4) {
 browser = "N4";
} else if (browserName == "Netscape" && browserVer == 3) {
 browser = "N3";
} else if (browserName == "Microsoft Internet Explorer" && browserVer ==
4) {
 browser = "E4";
} else if (browserName == "Microsoft Internet Explorer" && browserVer ==
3) {
 browser = "E3";
}

function glideLaunch() {
 if ((browser == "N4") || (browser == "N3")) {

window.open("base.html","glideWin","resizable,width=1024,height=768,screenX=0,screeny=0")

 } else if ((browser == "E3") || (browser == "E4")) {
  window.open("glideframe.html","glideWin","fullscreen=yes")
 }
}// end script hiding -->
</script>

On the button that launches Glide, I chose the "Get URL" action and for
the URL parameter typed "javascript:glideLaunch()"
 
 

Hiya Daniel,

It would also be considerate if you posted what browsers the above script supported. It doesnt work with IE3
which is still very popular since it comes standard with Win95. These people will not be able to view your Flash.

Thanks,

-DG-


Replies
  FLASH: opening a full-screen window, Daniel J. O'Neil

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