Jump to content

Help with displaying flash


harrishcris

Recommended Posts

Hello,
I'm using a paging php script, which then leads to another page and displays the relvant flash movie. However, i cannot figure out how to display the correct size for each flash movie as they are all different sizes... Is there a way of it just loading the flash movie depending on it's size? instead of having to load them all at a certain width and length which will make some of them look stupid. I have tried to just delete the width and length, however it just seems to make them stupidly small...I'm currently using this script:

<?php

if(isset($_GET['flashview']))
{
$pageNum = $_GET['flashview'];
}

$query = "SELECT id, name FROM flash WHERE id LIKE '$pageNum'";
$result = mysql_query($query);
while($row = mysql_fetch_row($result)){
echo "
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0'>
<param name='movie' value='Flash/$row[1].swf'>
<param name='quality' value='high'>
</object>

";}
?>

Any ideas???

Cheers

Chris
Link to comment
https://forums.phpfreaks.com/topic/4695-help-with-displaying-flash/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.