Jump to content

flash sizing issue in safari?


Recommended Posts

Weird, I'm working on a site at www.sharekalamazoo.com.In Firefox, this baby is gold.But, i had issues with the flash objects when I tried to put in a javascript fix in for IE (so, there won't need to be a click-activation in the latest IE version).Plus, in Safari, the objects are rendering at like 10%Anybody care to glimpse the code and see if I'm doing something wrong?Thank you!

Link to post
Share on other sites

Not sure, but try adding two other <param>s

<param name="width" value="1000"><param name="height" value="264">

Link to post
Share on other sites

Here's your code vs. code that I know that works and displays the movie at 800x600:

	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"		codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" 		name="mainfeature" 		width="400" 		height="300" 		id="header">	<param name="movie" value="graphics/mainfeature.swf" />	<param name="quality" value="high" />	<embed src="graphics/mainfeature.swf" 		width="400" 		height="300" 		quality="high" 		pluginspage="http://www.macromedia.com/go/getflashplayer" 		type="application/x-shockwave-flash" 		name="mainfeature"></embed>	</object>			<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"		codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" 		id="shell" 		width="800" 		height="600" 		align="middle">	<param name="allowScriptAccess" value="sameDomain" />	<param name="movie" value="PwCShell.swf" />	<param name="quality" value="high" />	<param name="bgcolor" value="#ffffff" />	<embed src="PwCShell.swf"	   quality="high"	   bgcolor="#ffffff"	   width="800"	   height="600"	   name="shell"	   align="middle"	   allowScriptAccess="sameDomain"	   type="application/x-shockwave-flash"	   pluginspage="http://www.macromedia.com/go/getflashplayer" />	</object>

You can try messing around with that to see if anything works, or else try to use something like SWFObject to put the Flash there.

Link to post
Share on other sites

If I remember right, I think this will work. If you have a div with an ID on it and the Flash movie inside there:<div id="flashmovie"><object ...</object></div>I think you can do this:document.getElementById("flashmovie").innerHTML = document.getElementById("flashmovie").innerHTML

Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...