[SWFObject] Extra space added in table cell
David Roudebush
david at tech-d.com
Fri Dec 8 13:45:44 PST 2006
Thanks, Geoff,
It was a problem in my table code, completely unrelated to SWFObject. Sorry
to have taken your time on it.
Now everything loads and displays just fine-- except that people hitting the
site now get a blank screen while the Flash loads.
Before using SWFObject the rest of the page would load, then the swf would
come in. Now it looks as if I need one of those "loading" preloader
things....
You can compare the two & see the difference, even if you've cached the
images
http://www.conlanpress.com <== new version, SWFObject-enhanced.
http://www.conlanpress.com/index_bak.html <== original version, Macromedia
imbed
On my machine, it's a 1 second vs. 10 seconds sort of thing.
Any thoughts as to how I can get around the delayed load time?
Thanks again,
David
-----Original Message-----
From: swfobject-bounces at lists.deconcept.com
[mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of Geoff Stearns
Sent: Friday, December 08, 2006 1:10 PM
To: swfobject at lists.deconcept.com
Subject: Re: [SWFObject] Extra space added in table cell
First of all you should put some alternate content in there for people
without flash... maybe a little upgrade message, because if someone doesn't
have the right Flash Player version, they will just see a big empty box if
you leave it how it is..
as for the space, i'm not sure... it might be a bug in the way IE is
displaying the td, maybe one of the script tags (or event he 2 spaces you
have inside your div) are adding that space there... maybe one of the
elements is set to display: inline and setting it to display:
block would fix it... i'm not sure.
you'd have to play around with it a bit.
you should also move the script tag that embeds the swfobject.js script up
into the head of your document.
On Dec 8, 2006, at 3:58 PM, David Roudebush wrote:
> Hi!
>
> I'm running a flash movie that fits exactly into a table cell.
>
> I've just installed SWFObject to test it out, and it keeps adding 40
> pixels or so at the bottom of the cell, distorting the table.
>
> I'm sure this is just an idiot-newcomer pilot-error thing, but if you
> could point out the issue, I'd appreciate it.
>
> http://www.conlanpress.com <== current, macromedia-style embed
>
> http://www.conlanpress.com/index_swf2.html <== my first attempt at
> SWFObject.
>
>
> ==============================
> Secondary questions:
>
> 1) Can I place the scripts somewhere else (such as the header) as
> opposed to the actual table cell?
>
> 2) Is the sequence important?
>
> Thanks very much! SWFObject does exactly what I was hoping to do, and
> it's all, well, DONE. Thank you.
>
> -David
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
_______________________________________________
SWFObject mailing list
SWFObject at lists.deconcept.com
http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
More information about the Swfobject
mailing list