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

macromedia flash sitedesign

group:

How do I make my Flash Intro center in a browser


Re: How do I make my Flash Intro center in a browser Ally
5/20/2004 11:59:28 AM
macromedia flash sitedesign:
You can make it centre horizontally and vertically in the browser by placing
the flash movie in a single cell table set to 100% width and 100% height.
Here's the HTML i use:

<html>
<head>
<title>Your Title</title>
</head>
<body bgcolor="#333333" text="#000000" leftmargin="0" topmargin="0"
marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
height="100%">
<tr>
<td valign="middle" align="center"><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=5,0,0,0" width="740" height="390">
<param name=movie value="YourMoviesName.swf">
<param name=quality value=high>
<embed src="YourMoviesName.swf" quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash" type="application/x-shockwave-flash" width="740"
height="390">
</embed>
</object></td>
</tr>
</table>
</body>
</html>

How do I make my Flash Intro center in a browser kizum
5/20/2004 2:45:18 PM
Re: How do I make my Flash Intro center in a browser RedAntMedia
5/20/2004 4:11:23 PM
OK... If you have an HTML-based page loading an .swf file, it's REALLY easy:

kilda like this:


There are certain dynamics of Flash integration into HTML to where you kinda
need to know HTML. Alot of people don't know, have the time, or are just plain
lazy. They want to play with the cool stuff.

OK. That's cool and all, but you can't get nearly as far w/ out learning the
bunk ish, first.

<center>

<--- insert your existing flash-load code here --->

</center>
AddThis Social Bookmark Button