A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: How do I make my movie go fullsceen in the viewers browser?

  1. #1
    Junior Member
    Join Date
    Feb 2000
    Posts
    2

    Question

    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!

  2. #2
    Get Squared Away.
    Join Date
    Feb 2000
    Location
    Allentown, PA
    Posts
    543

    Cool

    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)

  3. #3

    Thumbs up

    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

  4. #4
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Post

    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>
    &lt;script language="JavaScript"&gt;&lt;!-- //
    function openthewindow() {
    window.open("page.html", "newwindow","fullscreen=yes,type=fullWindow,scroll bars=no");
    }
    //--&gt;&lt;/script&gt;
    [/code]

    Now you just have to call that function.. There are severl ways to do that..

    From the HTML page:

    1. &lt;A href="JavaScriptpenthewindow();"&gt;Enter&lt;/A&gt;

    2. &lt;BODY onload="openthewindow();"&gt;

    From a Flash movie:

    3. GetURL("JavaScriptpenthewindow();","")

    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
    scotty@rjscs.com

  5. #5
    Junior Member
    Join Date
    Feb 2000
    Posts
    2

    Thumbs up

    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!

  6. #6
    Junior Member
    Join Date
    Mar 2000
    Posts
    1

    Unhappy

    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 penthewindow();","


    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).]

  7. #7
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Post

    sontong,

    I don't know if this is the problem.. but there should be no space in the command "javascriptpenthewindow();"

    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..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center