harrishcris Posted March 11, 2006 Share Posted March 11, 2006 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:<?phpif(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??? CheersChris Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.