How do link .swf game in to html and make it full screen?

Discussion in 'HTML & Website Design' started by oldgreat, Oct 2, 2012.

  1. #1
    [TABLE="class: tborder, width: 100%, align: center"]
    [TR]
    [TD="class: alt1, bgcolor: #EFEFEF"]Hi,

    I gotten with me a game in .swf format.
    I seen some site with full screen flash game, meaning people play the game full screen. How do they do that?

    how do i link my .swf file to index.html and make it full screen?

    Thank you.
    [/TD]
    [/TR]
    [/TABLE]
     
    oldgreat, Oct 2, 2012 IP
  2. xtmx

    xtmx Active Member

    Messages:
    359
    Likes Received:
    12
    Best Answers:
    4
    Trophy Points:
    88
    #2
    Set the width / height to 100%, remove the html page's margins, and change the scale to "exactfit"

    <param name="scale" value="exactfit" />
     
    xtmx, Oct 2, 2012 IP
  3. ViolentAJ

    ViolentAJ Well-Known Member

    Messages:
    581
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    128
    #3
    It might not work well in all cases. It depends on how the game is designed.

    Good luck.
     
    ViolentAJ, Oct 2, 2012 IP
  4. oldgreat

    oldgreat Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    Hi, thank you both for your reply,

    I also seen some game website, they allow you to embed code to your website such as <iframe src="http://www.example.com" frameborder="0" style="border:none;" width="590" height="443" scrolling="no"></iframe>
    can iframe be set to full screen too?
    any disadvantages?

    I am asking these because i created a simple game for my school project , instead of uploading swf file, i can embed the code from another place and make it full screen
     
    oldgreat, Oct 3, 2012 IP