Flash and Dreamweaver

sup dudes, long time no see, here’s a prob.

i have a flash movie i want to embed into an html document. In dreamweaver i set the vspace and hspace, but when i preview it in Explorer, the freakin movie is stuck in the top left corner, it seems positioning it had absolutely no affect. Is there some other way i can get the flash movie to play exactly where i want it?

:trout:

hmmm…i’ve had problems like this before–it seems like it’s always about a bunch of trial and error to get the hspace/vspace to work–rather than that approach, what about embedding your .swf inside a 1x1 table and set the table padding/spacing?
-mojo

i tried inserting a table but on PC’s i still get crappy scrollbars. i set the table size to the exact dimensions of the swf and all, another issue is that after the table loads, certain layers of my swf dissapear… i’ve heard about this happening with layers before, now i’m a victim lol

what pixel size is your .swf ?
one trick is to set the width of your table at 99%–this keeps the scrollbars from popping up–afa layers disappearing in your .swf, that’s a new one on me–things happening in your .swf should have nothing to do w. the html container…

can you tell me more about what you’re trying to do? maybe i can come up w. another way…
-m

You have to insert a table and put the height and with to 100
then pop you *.swf in the table
now align the table to center and voila, it’s centered

just make a table 100% width and height then on the horz select center, the place another table but make this tables width and height in pixels insert your swf into this table and it will be centered no matter what screen resolution your viewer may have.

Tables are your very best friend when it comes to html if you get to know how they work you can design websites that are viewable in all resolutions but its very time consuming since you gotta do a lot of testing in various resolutions but its a great thing to learn.

Grim