dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: basic flash full screen

  1. #1
    Junior Member
    Join Date
    Apr 2002
    Posts
    13

    basic flash full screen

    this is a basic question but i sold my flash book and cant remember how to make my movie full screen. (totaly full screen)
    cheers!

  2. #2
    Junior Member
    Join Date
    Jan 2002
    Posts
    18

    Here you go---->

    Put this in your HTML header:
    --------------------------------------------------------------------

    <script language="JavaScript1.2">
    <!--
    top.window.moveTo(0,0);
    if (document.all) {
    top.window.resizeTo(screen.availWidth,screen.avail Height);
    }
    else if (document.layers||document.getElementById) {
    if (top.window.outerHeight<screen.availHeight||top.wi ndow.outerWidth<screen.availWidth){
    top.window.outerHeight = screen.availHeight;
    top.window.outerWidth = screen.availWidth;
    }
    }
    //-->
    </script>

  3. #3
    Junior Member
    Join Date
    Apr 2002
    Posts
    13
    i'm sure there was a command in flash that would do it. cheers anyway

  4. #4
    Mom said "make me a Mod" el-Ignoramus's Avatar
    Join Date
    Oct 2002
    Location
    Xanadu
    Posts
    1,772
    Originally posted by kilpatrick
    i'm sure there was a command in flash that would do it. cheers anyway
    Hi there kilpatrick

    if you mean a full screen .swf, i.e. not in a web page

    simply add the following in your first keyframe
    ===================================
    fscommand("fullscreen", "true");
    ===================================

    if you mean for HTML pages then it's what drivej said

    hope that helped

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