...

View Full Version : Trying to embed flash games in html



xspii
06-19-2012, 08:45 PM
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.

<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?

xspii
06-24-2012, 11:45 PM
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

<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

.features2 {
border:thin;
border-color: #FF0;
background-repeat: no-repeat;
border-style:solid;
border-collapse: separate;
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum