Click to See Complete Forum and Search --> : Need help fixing pixel shift with Flash element!
DesignIt
02-07-2007, 02:44 PM
I was hoping somebody might be able to help me figure out an issue with the flash element on the left:
colors_db.swf
It looks fine in all browsers except for IE. In IE, it shifts the whole thing over to the left, as if it is a pixel or 2 too wide. This only happens with flash elements. I placed an image in there, as a test, and it worked fine.
Any suggestions?
Here's the link: http://www.bobgear.com/acsories/accessory.php?accessories_id=10
DesignIt
02-07-2007, 07:13 PM
anybody?
Ok, not sure what the deal is. When I looked at it in IE7 it appeared to be 1 px off to the right. Hardly noticeable.
I would start with getting your embedding code in there, so the flash doesnt require a click to activate. I might also suggest making your flash content smaller in width. There was one are in your code that I noticed. Where you defince the column width at 368, and then 366:
<td colspan="2" width="368"style="width: 366px; border-top: 1px dashed #c4c9cc; border-left: #c4c9cc solid 1px; border-right: #c4c9cc solid 1px; text-align: center; height: 200px; vertical-align: middle;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="368" height="384">
<param name="movie" value="../_flash/colors_db.swf" />
<param name="quality" value="high" />
<embed src="../_flash/colors_db.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="366" height="384"></embed>
</object></td>
Anyway... sorry if im no help!
Good luck.
DesignIt
02-08-2007, 02:58 PM
Ok, not sure what the deal is. When I looked at it in IE7 it appeared to be 1 px off to the right. Hardly noticeable.
I would start with getting your embedding code in there, so the flash doesnt require a click to activate. I might also suggest making your flash content smaller in width. There was one are in your code that I noticed. Where you defince the column width at 368, and then 366:
<td colspan="2" width="368"style="width: 366px; border-top: 1px dashed #c4c9cc; border-left: #c4c9cc solid 1px; border-right: #c4c9cc solid 1px; text-align: center; height: 200px; vertical-align: middle;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="368" height="384">
<param name="movie" value="../_flash/colors_db.swf" />
<param name="quality" value="high" />
<embed src="../_flash/colors_db.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="366" height="384"></embed>
</object></td>
Anyway... sorry if im no help!
Good luck.
Thanks for the help! Although you didn't help me directly, by looking at the code you posted above I think I found the problem. During the course of development, the flash file was changed from 368 to 366 wide. It seems that it is still showing 368 in part of the code above. I am going to changed that and hope it fixes it.
Thanks again!!