-
I went to a web site the other day (forgot the URL) and when their flash movie loaded it popped up fullscreen over my browser... I'd like to know how to do this it really adds to the immersion if I can get rid of the browser buttions and toolbars.
SIN out!
-
In the first frame of your movie, put this action: FS Command
allowscale (from the dropdown list)
true (type this in for the arguement if not defaulted as such)
-
Actually, I think SIN means the "FullScreen" mode. This is set (as far as I know) with the FS Command in the same way Josiah mentioned but use the "FullScreen" command set to true.
That hopefully will do it.
-- Leto
-
Hmm... Unfortunately.. I don't think that will work. I could be wrong.. but I believe those special FS Commands work only for stand alone players.
In order to get a browser to open a new fullscreen window, you need a little JavaScript code.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
<script language="JavaScript"><!-- //
function openthewindow() {
window.open("page.html", "newwindow","fullscreen=yes,type=fullWindow,scroll bars=no");
}
//--></script>
[/code]
Now you just have to call that function.. There are severl ways to do that..
From the HTML page:
1. <A href="JavaScript:openthewindow();">Enter</A>
2. <BODY onload="openthewindow();">
From a Flash movie:
3. GetURL("JavaScript:openthewindow();","")
4. Use the FS Command. This is a good deal more complicated.
---
NOTES:
Calling the JS function from the HTML page (1 and 2) is the most universaly compatible method. Both 3 and 4 have some compatibility problems. Method 3 does not work with IE3. 4 does not work with any Mac IE.
Also note that while this JS code is compatible with both Netscape and IE versions 3 and above, only IE version 4 and above will actually use the ENTIRE screen.
------------------
Scott Richards
http://www.rjscs.com/scotty
[email protected]
-
I think scottris is on the right track guys, apparently the FScommand is for the stand alone players...
I'll try that out Scottris, thanks for your help!
SIN out!
-
I am trying how to fullscreen but i don't know how to.
i try at HTML same as above with java.
i have change page.html to testing.html
because my html is call testing
then i use flash:
at Geturl:
JavaScript :openthewindow();","
it don't work and i try HTML call but still cannot work..
Pls help
[This message has been edited by sontong (edited 01 March 2000).]
-
sontong,
I don't know if this is the problem.. but there should be no space in the command "javascript:openthewindow();"
Placing a space before the : will result in a JS error.
Other than that.. I don't know what the problem might be.. Perhaps if you could give me a little more information.. Where and when exactly does it fail? Are there any error messages? etc..