Hey,
I am currently working on a website that will include flash games however I have encountered the problem with the flash game not actually appearing the dimensions on the website change however the game doesn't show (http://chrisracer24.x10.mx/index.php?action=test)
In test.php I have this code:
In game.php I then have this code:
I have tried various methods to get this to work such as implementing the object just as HTML without the php. Other files on my website add the associated content such as the header and footer and that has been working fine. I would appreciate any help on this
Regards,
Chris
I am currently working on a website that will include flash games however I have encountered the problem with the flash game not actually appearing the dimensions on the website change however the game doesn't show (http://chrisracer24.x10.mx/index.php?action=test)
In test.php I have this code:
Code:
<?php
$game = 'content/games/age-Of-War-616.swf';
require_once 'required/game.php';
?>
Code:
<center>
<div id="flashContent">
<object width="720" height="550">
<param name="movie" value="<?php echo $game ?>">
<embed src="<?php echo $game ?>" width="720" height="550">
</embed>
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="720" height="540" />
</a>
</object>
</div></center>
I have tried various methods to get this to work such as implementing the object just as HTML without the php. Other files on my website add the associated content such as the header and footer and that has been working fine. I would appreciate any help on this
Regards,
Chris
Last edited: