Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2012
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Trying to embed flash games in html

    i am trying to embed a flash game in my site. I am using dreamweaver, and mochimedia games. I have downloaded the zip files for the game and I have uploaded them to my server. By using Insert>media>SWF I have attempted to insert the game file into my html page. At first all i was getting was a white box, then sometimes i could get it to play everything locally, but only the ad on the server, with no game afterwards. Now all i get is the download latest version of flash option when testing both locally and on the server.
    Code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="600" id="FlashID" title="dw">
      <param name="movie" value="/public_html/gamefiles/dragonwar/odyssey.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="13.0.0.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you donít want users to see the prompt. -->
      <param name="expressinstall" value="/public_html/Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="/public_html/gamefiles/dragonwar/odyssey.swf" width="800" height="600">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="13.0.0.0" />
        <param name="expressinstall" value="/public_html/Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    This is pasted into my body, with an swfobject_modified.js

    Can anyone help?

  • #2
    New Coder
    Join Date
    Jun 2012
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok now i have this, which is showing the x scroll bar, but it is still wrapping the next image down to the next line.. here is my current code
    Code:
        <tr height="190" width="714" nowrap="nowrap">
             <td width="714" height="190" class="features2" valign="top">
              <div style="overflow-x:scroll; overflow-y:hidden; width:688;">
             
             <div style="float:left;"><a href="adventure.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Action','','images/actionthumbroll.png',1)"><img src="images/actionthumb.png" alt="Action Games" width="210" height="190" id="Action" /></a></div>
             
             <div style="float:left;"><a href="adventure.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Adventure','','images/adventhumbroll.png',1)"><img src="images/adventhumb.png" alt="Adventure Games" width="210" height="190" id="Adventure" /></a></div>
             
             <div style="float:left;"><a href="adventure.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Driving','','images/drivingthumbroll.png',1)"><img src="images/drivingthumb.png" alt="Driving Games" width="210" height="190" id="Driving" /></a></div><div style="float:left;"><a href="adventure.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Fighting','','images/fightthumbroll.png',1)"><img src="images/fightthumb.png" alt="Fighting Games" width="210" height="190" id="Fighting" /></a></div>
             </div>
             </td></tr>
    with these styles
    Code:
    .features2 {
    	border:thin;
    	border-color: #FF0;
    	background-repeat: no-repeat;
    	border-style:solid;
    	border-collapse: separate;
    }


  •  

    Posting Permissions

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