0

i m very new to html. infact dont know anything about html.
i just learn flash, so the only thing i know about html is (publish to HTML).
so when i create a index.html file by exporting a flash file, it gives me following coadeing...

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<center>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Home</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#666666">
<!--url's used in the movie-->
<!--text used in the movie-->
<!--
HOME

EDITORIAL
&
COMMERCIAL

FACES
&
FOLIO

STILL
$
LIFE

INDUSTRIAL
&
TRAVEL

-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
	if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '1025',
			'height', '725',
			'src', 'Home',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'Home',
			'bgcolor', '#666666',
			'name', 'Home',
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'Home',
			'salign', ''
			); //end AC code
	}
</script>
<noscript>
	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="1025" height="725" id="Home" align="middle">
	<param name="allowScriptAccess" value="sameDomain" />
	<param name="allowFullScreen" value="false" />
	<param name="movie" value="Home.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#666666" />	<embed src="Home.swf" quality="high" bgcolor="#666666" width="1025" height="725" name="Home" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
	</object>
</noscript>
</body>
</center>
</html>

after adding <center> </center> in this script i able to preview the site horizontally center. but the question is

what cenges should i made to make it vertically center?
atlist 1.5 inch down from top

Edited by Ezzaral: Added code tags. Please use them to format all code that you post.

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by buddylee17
0

Only center the contents of the body. The center tag should open after the body and close before the body is closed. No clue if this is going to fix your problem but it's invalid as is.
Also note that the center tag has been deprecated.

Edited by buddylee17: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.