PDA

View Full Version : how can i open my webpage directly full screen mod


kaoxgen
02-20-2005, 06:29 PM
hello friends i want to open my webpage without fscommand fullscreen...
how can i open my webpage directly full screen mod? when i run index.html directly, i want to see it fullscreen.

mmm..pi..3.14..
02-20-2005, 08:25 PM
Welcome to the forums...:)

fscommand fullscreen only works in projectors, it doesn't work in a webpage

this code will open a window in fullscreen, just place it into the html page that contains your swf file.


<HEAD>

<SCRIPT LANGUAGE="JavaScript">
function fullScreen(URL) {
window.open(URL, '', 'fullscreen=yes, scrollbars=auto');
}
</script>
</HEAD>


to open a window in fullscreen from flash, call it like this:


var myUrl = "http://www.google.com"
on(release) {
getURL("javascript:fullScreen(" + myUrl + ");")
}


I did get a security alert with XP SP2 installed, and I haven't tested it out on firefox or netscape, etc.. but it should give you a start.

Eric ;)

kaoxgen
02-21-2005, 11:48 AM
it opens new page.. and i want to close backward window.. only my new page must be showed..