A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Full Screen on load

  1. #1
    Junior Member
    Join Date
    Apr 2000
    Posts
    10
    I need the flash movie to open fullscreen onload,
    I understand that the FS Command will open fullscreen.
    I made the swf with the script for it to open full screen.When I click the swf directly to open it opens fullscreen but if I open the same file through a get url
    ( http://../../my.swf ) it opens in the browser ( not full screen )
    I maybe going about doing this totally in a wrong way.Please if somebody could tell me how.Its quite urgent.Thank you.

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    266

    Fullscreen.

    Hi,

    the fullscreen command is only for use in the standalone player.

    to get this working in your browser you need to use Javascript to set the window to fullscreen.

    give me a shout if you need a script.

    Dan.

  3. #3
    Junior Member
    Join Date
    Apr 2000
    Posts
    10

    Fullscreen

    Hi Dan,
    Please send me the javascript to open the swf/ html fullscreen. I hope you got my mail for the same.

    Thankyou.
    Stl

  4. #4
    Senior Member
    Join Date
    Jul 2000
    Posts
    266

    Fullscreen

    Hi,

    You can use something similar to the following :

    <Script language="javascript">
    <!-- shields up!
    /* written by: Daniel Humphrey
    * http://www.technomedia.co.uk
    */


    function getmain() {
    window.open ('main.htm', 'mainwin', 'fullscreen=yes,scrollbars=auto');
    }


    // down shields
    </Script>

    you can also specify other parameters for the window by followinf the above syntax.

    for instance you can set height and width (if you're not using fullscreen), you can specify whether a status bar or toolbar is visible on the window etc etc.

    Hope this helps, Dan.

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