www.webdeveloper.com
Results 1 to 2 of 2

Thread: Iframe for flash game.

  1. #1
    Join Date
    May 2013
    Posts
    2

    Iframe for flash game.

    Hi there.

    I need to show flash game like this for example http://www.ebog.com/fighting-games/1...ve-father.html
    in iframe - only the game itself without everything else.

    Do you think that's possible? I have further questions later.

    best regards, Matjaz

  2. #2
    Join Date
    Jan 2004
    Location
    chertsey, a small town s.w. of london, england.
    Posts
    1,480
    Hi there balkancloud,

    and a warm welcome to these forums.

    I would do it like this....
    Code:
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
    <html lang="en">
    <head>
    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="language" content="english"> 
    <meta http-equiv="Content-Style-Type" content="text/css">
    
    <title>Ninja Save Father</title>
    
    <style type="text/css">
    body {
        background-color:rgb(241,241,241);
     }
    #father {
        display:block;
        width:700px;
        height:480px;
        border:1px solid rgb(128,128,128);
        margin:20px auto 0;
        box-shadow:20px 20px 20px rgba(0,0,0,0.5);
     }
    </style>
    
    </head>
    <body>
    
    <div>
    <object id="father"type="application/x-shockwave-flash" data="http://eboggames.eval.hwcdn.net/games/ninja-save-father.swf">
     <param name="movie" value="http://eboggames.eval.hwcdn.net/games/ninja-save-father.swf">
     <param name="bgcolor" value="#272727">
     <param name="quality" value="high">
     <param name="wmode" value="opaque">
     <param name="allowscriptaccess" value="sameDomain">
    </object>
    </div>
    
    </body>
    </html>
    Of course, you may have to give credit to or ask....

    ...or...

    ...for permission to use the game(s) on your site.

    Not certain which of these is correct.

    coothead
    Last edited by coothead; 05-12-2013 at 02:15 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles