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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.