Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: opening a full-screen window |
From: | Daniel J. O'Neil |
Date: | Mon, 14 Dec 1998 02:25:58 GMT |
<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()"
Hope this helps.
Best regards,
Daniel
--
Daniel J. O'Neil
M.S. Technical Communication
Instructor, Writing to the World Wide Web
Developer, Academy of Electronic Media
Rensselaer Polytechnic Institute
--
email: oneildrpi [dot] edu
home: http://www.rpi.edu/~oneild
WWWW: http://www.rpi.edu/~oneild/wwww
</samp>
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [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-managershocker [dot] com
Replies
Re: FLASH: opening a full-screen window, David Gary
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]