Jump to content


Photo

Help with displaying flash


  • Please log in to reply
No replies to this topic

#1 harrishcris

harrishcris
  • Members
  • Pip
  • Newbie
  • 5 posts

Posted 11 March 2006 - 04:52 PM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users