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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Centering flash movie in browser window - how?

Status
Not open for further replies.

lizziebyrne

Technical User
Jul 7, 2003
19
0
0
GB
I've managed to center a HTML page so it always stays in the middle of the browser window. This was done by creating a 100x100% frame and putting another 100% wide frame inside and setting all frames to be aligned to the middle. The content then would go in the inner most frame.

I've tried doing this with the content being a flash movie, but it doesn't seem to work. Instead the movie always remains fixed at the top of the page.

Can any one let me know how to center a flash movie in a browser?

Thanks, L
 
I use this Template... Allways have...

<HTML>
<HEAD>
<TITLE>TEMPLATE</TITLE>
</HEAD>
<BODY bgcolor="#999999" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0"
LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" SCROLL="NO">
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#999999">
<td align="center" valign="middle"></td>
<td align="center" valign="middle">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase=" ID="flashfile" WIDTH=400 HEIGHT=300>
<PARAM NAME=movie VALUE="your.swf"> <PARAM NAME=loop VALUE=false> <PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000>
<EMBED NAME="flashfile" src="your.swf" swLiveConnect =true loop=false
menu=false quality=high bgcolor=#000000 WIDTH=400 HEIGHT=300
TYPE="application/x-shockwave-flash" PLUGINSPAGE=" </EMBED>
</OBJECT>
</td>
</tr>
</table>
</BODY>
</HTML>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top