Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting Flash into Dreamweaver causing cells to expand in Netscape 1

Status
Not open for further replies.

TJARON

Technical User
Sep 18, 2001
60
US
Hi Everyone,
I have been using Dreamweaver 4 to build a website and when I import my Flash movie into a particular cell I designed it for, it causes one of the other table cells to expand in width when I preview it in Netscape. IE works fine. It also does not cause the cell to expand in the Dreamweaver display. I have played around with it and found if I make the Flash movie smaller in size (width) it works fine, but if i don't give it a good deal of padding, it expands. Is this a common problem? Is there a way to have a Flash movie fit snuggly inside a table cell and not cause cell problems in Netscape?

I would greatly appreciate any help on this. Thanks in advance.

Tim
 
Check this thread250-134698
mywink.gif
ldnewbie
Hope that this
was helpful!
 
Old Newbie,
Thanks for responding. However, this is not particularly helpful, the thread deals with cell padding, and a pixel of space in the cell with the Flash movie. My problem is with Netscape causing other cells to expand within a table when the cell containing the movie is set equal to the width and heighth of the movie. The display in Dreamweaver is fine, the display in Internet Explorer is fine, but the display in Netscape causes the table to break up (certain cells expand beyond what they are sized to). If anyone has any answers to this, I would appreciate some help. I can post the page if necessary.
Thanks,
Tim
 
maybe some one in the dreamweaver forum would be better suited for this problem?.
e.gif


carlsatterwhite@endangeredgraphics.com
 
are your cell sizes defined as percentages? if so, netscape may butcher your table. define all cell dimentions as literal pixel values.
 
All my cells are defined as pixels. I have posted the same question in the Dreamweaver forum, however, when using an image the cells are fine, it is only when I insert the Flash that the cells expand. For this reason, it seems it is more of a Flash/Netscape problem.

Any ideas?
I'd appreciate any help.
Tim
 
Hey everyone,
Thanks for all the advice. I figured part of this out. For some reason Netscape will cause any cells with Flash movies the exact pixel size of the table cell to expand downward unless the movie properties are specified align top. I am talking NOT about the cell properties, but the Flash movie properties. Anyway, I am still having problems with one of my sites cells expanding right in Netscape, but it might be the code causing the problem on that one.
Thanks Again,
Tim
 
Netscape! Can't live with it... Can't live without it!
mywink.gif
ldnewbie
 
Part of the problem with Netscape and Flash is the publish command itself. For example: If you are using the <embed> code that Flash writes you will have to go through and remove the misc. spaces that are in it. I was having a very similar problem to this, and that was the culprit... spaces.
 
I've never removed spaces from the <embed> tag and have yet had no such problems with NS... To make that assumption seems to me a bit exagerated!
Which spaces would you have removed? In files' naming?
mywink.gif
ldnewbie
 
It was not an assumption. If you copy the code that is generated by the Flash &quot;Publish&quot; command you get this:
<OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;
codebase=&quot; WIDTH=550 HEIGHT=400>
<PARAM NAME=movie VALUE=&quot;design1.swf&quot;> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src=&quot;design1.swf&quot; quality=high bgcolor=#000000 WIDTH=550 HEIGHT=400 TYPE=&quot;application/x-shockwave-flash&quot; PLUGINSPAGE=&quot;</OBJECT>

Notice the spaces between the tags. This creates a problem withing NS (when trying to place a fixed flash movie into a cell)that removing the spaces fixes.
 
That might well be! Let's see if TJARON solves his problem with this... As I have never placed a movie in a cell this way, I can't confirm it would.
I just had something against your wording, leading us, or at least me, to believe that eliminating &quot;spaces&quot; in the <embed> tag would solve all problems between Flash & NS.
That being said, even if this method solved this specific problem, I still believe it's a NS problem and not a Flash problem!
Just have a look at NS6.x!
Sheeeessssssssssssssssssssh!
mywink.gif
ldnewbie
 
LOL... Hey no biggie! The only reason I call it a Flash problem is because it is the <embed> code that comes from the Flash publish command. I agree though that this is a NS issue (what isn't)!

Sorry about the wording... I should have given an example to start with.

Good luck TJARON! Hope it helps.
 
Hi:
I have encountered the same problem as you many times. If you place a flash film into an html page at the very top with all four margin perimeters set to zero you will not have it flush against the browser top in AOL 4 for Mac. (unless the film mesures less than 638px in width). What it does, eventhough the display in dreamweaver or whatever editor is perfect, is shift the entire film down about ten to thirteen pixles....in a frameset this is death as your nav. bar slides behind the frame below blocking out part of the buttons. The problem that I found to fix this was to strip out completely the object tag and use only the embed tag. It is a misnomer to think that explorer will only recognize the new object tag and ignore the embed tag...it will recognize this tag and place the film correctly with no problem. However back to you, film in a table cell is a different matter, you still have to strip out the object tag as NS inexplicabley gives space to the tag itself. This technique fixes Mac AOL top film problems perfectly and for placing films into cells it improves it greatly in NS but does not solve it completely. You have to reduce in height the film slightly by 2 or 3 pxs and leave the width alone. This works most of the time but even there that is not the total solution. The real problem is cell spacers, those little 1x whatever transparent gifs that fireworks, among others, generates to avoid writing proper html. I suggest to you to, if you are using fireworks or the like to make your table, to set the preferences or options to no spacers and yes to allowing tables within tables. If you noticed these programs, dreamweaver as well, write single tables and use this spacers (or worse yet 1 pixel cells with no placeholder à la dreamweaver, to smooth thing out. By writing your own table and using tables within tables when necessary and striping out the object tag it should work....at least it has always for me. Those weird spacer tables make problems for you if you try to do anything in the way of an alteration. I hope this works for you and will aid you in avoiding the countless hours I spent in finding this solution. ByeBye:)}
 
You're right in saying the <object> tag can be omitted in IE, but that will usualy cause an annoying white flash frame before the movie starts... On a good PC platform.
In the end, oouf, you might of had less problems if you had avoided the use, and in no particular order, of a Mac platform especially with IE5.x and up (when it comes to Flash!), Dreamweaver, and surely that crap AOL browser (which by the way is a modified version of IE) and/or even Netscape!

Regards,
mywink.gif
ldnewbie
 
I must say I've never had any trouble delivering Flash on a Mac platform. In fact I use a Mac for a lot of my design. Maybe it's just a Mac lover thing. LOL
 
Don't get me wrong! I don't hate Macs... I just slightly dislike them! LOL
Mostly because I'm editing all day long on the darn machines!
Hope Patricia(pbb) won't read this!
I'm in for another beating!

mywink.gif
ldnewbie
 
Old,

oooops!!!! guess what?? I'm actually Patricia (pbb) 's husband! LOL! (I'm not kidding, remember her site? the artemysia.com/pbb? well, I worked on that, on a MAC of course ;-)
Anyway, I'll forward your message to her ,-) LOLOL

Regards

Oouf
 
Did I say MACs? I ment PCs of course!
I slightly dislike PCs!

Salutations à Patricia, et à son MAC! LOL
mywink.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top