Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 02:35 pm EST

Geeklog Forums

Flash proportion


Status: offline

Uffe

Forum User
Junior
Registered: 02/01/04
Posts: 30
I want to insert a swf file in staticpages, how can i define the width="100%" and keep the proportion in the height.

<object classid="clsidBig Grin27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="?????">
<param name="movie" value="http://www.myside.com/public_html/flash/pingpong.swf">
<param name="quality" value="high">
<param name="SCALE" value="exactfit">
<embed src="http://www.myside.com/public_html/flash/pingpong.swf" width="100%" height="?????" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" scale="exactfit"></embed></object>
 Quote

FreakWorld

Anonymous
I have not tryed to add flash to it.
But try this and play with the width and height.

<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
 
<tr>
    <td><center>

Your
Fash code
</center></td>
  </tr>
 
</table>
 Quote

FreakWorld

Anonymous
You can take out the center tages if you don't want it set in the center.
 Quote

Status: offline

Uffe

Forum User
Junior
Registered: 02/01/04
Posts: 30
When i set the table height="100%" it will not make space height in the staticpages and when i set the table height="600" and the swf height 100% the swf will be 600px , or set to no height: it will be about 100px but it does not keep the proportions !
 Quote

FreakWorld

Anonymous
take off the % and that will make it px by px. Smile
 Quote

Status: offline

Uffe

Forum User
Junior
Registered: 02/01/04
Posts: 30
No it does not work.
If i put it in an iframe it works perfect.
But i think there is a problem with netscape and iframe!!
 Quote

All times are EST. The time is now 02:35 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content