all groups > macromedia flash sitedesign > january 2004 >
You're in the

macromedia flash sitedesign

group:

centering movie


centering movie mouldedsound
1/27/2004 11:12:02 PM
macromedia flash sitedesign:
Hello!

ive exported my movie in flash as a swf and a html....

when i view the html its not centred so i added some .css code to it to try and center it....worked horizontal....but not vertical

how do u get it to always be in the centre?

also how do you get the flash video to resize as the window does? ive seen this before on other sites and if you just double click on the swf it does it...



Heres the style sheet code

..furrfiction {
body
margin: 100px 100px 100px 100px;
padding: 0px 0px 0px 0px;
text-align: center;
}
#content {
width: 400px;
padding: 10px;
margin-top: 200px;
margin-bottom: 200px;
margin-right: auto;
margin-left: auto;
background: #666;
border: 5px solid #ccc;
text-align:left;
width: 400px;
voice-family: "\"}\"";
voice-family:inherit;
width: 370px;
width: 370px;}
font-family: "Courier New", Courier, mono;
font-size: 10px;
font-style: normal;
font-weight: normal;
color: 009999;
background-color: #000000;
}
html>body #content {
width: 370px;}






Referring URLs
www.furrandthefiction.com



Re: centering movie Billy
1/28/2004 3:36:28 AM
File>Publish Settings>Html tab

Here you will find all the answers to your question

Hope this helps

Re: centering movie somaBoy MX
1/28/2004 9:47:58 AM
"mouldedsound" <webforumsuser@macromedia.com> wrote...
: Hello!
:
: ive exported my movie in flash as a swf and a html....
:
: when i view the html its not centred so i added some .css code to it to
try and center it....worked horizontal....but not vertical
:
: how do u get it to always be in the centre?

<TABLE WIDTH="100%" HEIGHT="100%" BORDER="0">
<TR align="center" valign="middle">
<TD> put flash movie here</TD>
</TR>
</TABLE>

..soma

AddThis Social Bookmark Button