Old 22-03-2007, 06:35   #1 (permalink)
brightboy
Registered User
 
Join Date: Feb 2005
Posts: 19
the incredible shrinking swf

I am putting an swf into a content management system and for some reason firefox keeps on shrinking it by about 50%, while interent explorer leaves it at the correct size. Has anyone else had any problems like this.
  Reply With Quote
Old 22-03-2007, 08:09   #2 (permalink)
d*d
Moderator
 
d*d's Avatar
 
Join Date: Oct 2004
Location: Bristol
Posts: 3,304
could you post the source code?
  Reply With Quote
Old 22-03-2007, 08:37   #3 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
doctype
  Reply With Quote
Old 22-03-2007, 09:58   #4 (permalink)
brightboy
Registered User
 
Join Date: Feb 2005
Posts: 19
the url of the test page is:
Bright Light: Case studies

And the code used to insert the swf is:
<object id=nlt_images_message2 codebase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0 height="250" width="355" align="middle" classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000><param name="_cx" value="9393"><param name="_cy" value="6615"><param name="flashvars" value=""><param name="movie" value="media/files/nlt_images_message2.swf"><param name="src" value="media/files/nlt_images_message2.swf"><param name="wmode" value="window"><param name="play" value="0"><param name="loop" value="-1"><param name="quality" value="high"><param name="salign" value=""><param name="menu" value="-1"><param name="base" value=""><param name="allowscriptaccess" value="samedomain"><param name="scale" value="showall"><param name="devicefont" value="0"><param name="embedmovie" value="0"><param name="bgcolor" value="ffffff"><param name="swremote" value=""><param name="moviedata" value="">
<embed src="media/files/nlt_images_message2.swf" quality="high" bgcolor="#ffffff" width="""355" height="""250" name="nlt_images_message2" align="middle" allowscriptaccess="samedomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
  Reply With Quote
Old 22-03-2007, 10:26   #5 (permalink)
d*d
Moderator
 
d*d's Avatar
 
Join Date: Oct 2004
Location: Bristol
Posts: 3,304
Quote:
Originally Posted by brightboy
...
<embed src="media/files/nlt_images_message2.swf" quality="high" bgcolor="#ffffff" width="""355" height="""250" .....


that bit looks like a good place to start, Firefox uses the embed tags and the width and height values aren't being rendered properly - if the code is generated by a content management system you have found a bug
  Reply With Quote
Old 22-03-2007, 10:50   #6 (permalink)
brightboy
Registered User
 
Join Date: Feb 2005
Posts: 19
looking at that code now the CMS seems to have rewriten it, I am not asking the makers of the CMS to look into it many thanks.

Last edited by brightboy : 22-03-2007 at 11:05.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8