Log In · Register

 
No spacing between graphics
protos
post Sep 4 2006, 12:01 AM
Post #1


I listen to bands that don't even exist yet...
*****

Group: Member
Posts: 330
Joined: Sep 2005
Member No: 249,189



In IE, I can't get my flash document to be exactly right on top of my image. It gives it a 3 pixel space in between. I want it to be fixed. Can anyone help?

CODE
<embed allowScriptAccess="never" allownetworking="internal" src="http://img86.imageshack.us/img86/9518/incroyableth0.swf" width="650" height="258" padding="0" bgcolor="8c0000">
</embed>

<img src="http://img170.imageshack.us/img170/2660/topwx0.gif" width="650" height="42">
 
 
Start new topic
Replies (1 - 4)
*digital.fragrance*
post Sep 4 2006, 08:33 PM
Post #2





Guest






You could make it a div layer and then move it up and down with the margin attributes.
 
threepointone
post Sep 5 2006, 11:11 AM
Post #3


Senior Member
****

Group: Member
Posts: 122
Joined: Feb 2005
Member No: 106,057



You should use the correct HTML code for a macromedia flash object. Ideally, <object> should be used for all embedded objects in IE, not <embed>. In flash, you can generate this code using the publish... html function or something like that.

here's the code you should be using:

CODE
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="650" height="258">
<PARAM NAME=movie VALUE="http://img86.imageshack.us/img86/9518/incroyableth0.swf">
<PARAM NAME=quality VALUE="high">
<PARAM NAME=bgcolor VALUE="#8c0000">
<PARAM NAME=allownetworking value="internal">
<PARAM NAME=allowScriptAccess value="never">
<embed src="http://img86.imageshack.us/img86/9518/incroyableth0.swf" width="650" height="258" bgcolor="8c0000"
quality=high ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
<img src="http://img170.imageshack.us/img170/2660/topwx0.gif" width="650" height="42" border="0">


firefox, mozilla, et al should see the embed tag, while IE will use the object tag. I tested it, and there is no space.
 
protos
post Sep 5 2006, 09:46 PM
Post #4


I listen to bands that don't even exist yet...
*****

Group: Member
Posts: 330
Joined: Sep 2005
Member No: 249,189



"You could make it a div layer and then move it up and down with the margin attributes."

it's fine it FF but IE makes a space. A div layer would only fix IE and mess up FF.

thanks 3.1 it worked.

I actually exported from Adobe Imageready so I couldn't hit publish.
 
*digital.fragrance*
post Sep 5 2006, 10:05 PM
Post #5





Guest






^ Well, there is a way to do it with divs for both brosers. Oh well _smile.gif

Glad you got it worked out
Topic Closed
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: