PDA

View Full Version : Why is there a white border around my SWF?


ds.pixeled
07-20-2005, 04:42 PM
www.dougstewartdesign.com

i'm working on my website and all is well except for when you click to load a swf file (click on the top button and you'll see what i'm on about) it loads the file but there's white around the top and left. why? that's the html not the swf but i can't for the life of me seem to be able to get it totally top left. and because iexplorer sucks i can't directly linke a .swf file to pop-up it seems... can anyone help me out?

ufitzi
07-20-2005, 05:00 PM
dude, I can't even load a page on your site, other than the opening "This site is best viewed........"
sorry!

(look at page margins)

Ricod
07-20-2005, 05:57 PM
And I'm getting a popup, but just the same page again, although in the '#' folder ?

Anyway, like ufitzi mentioned, include the following in your 'body' tag : topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"

inhan
08-14-2005, 01:46 AM
(...)and because iexplorer sucks i can't directly linke a .swf file to pop-up it seems... can anyone help me out?

As a matter of fact you can. What's not worth it is the silly popup window name (the complete name of the file with extension).

However... I found a solution to this.

I'm currently working on my website. There is the main window, which then opens a popup window, having a swf, at file's own dimensions (that I've given in the code), with all that JS and without toolbars etc.

If you're interested in the code, drop me a message/mail.

ds.pixeled
08-14-2005, 03:10 AM
nah no worries mate i gave up on that mode eventually anyway, though i got GoLive to write the code for me that worked. now i just have the .swf be the entire page. works fine. thanks anyway!