-
Centering?
Stupid question. I'm working in Flash MX 2004 and I can't center my flash movie. I keep publishing it with the settings to make it centered but everytime I open the html file it doesn't work. It's always flush left.
How can I center it?
Any help I'd really appreciate.
Thanks,
Jeremy
-
ReMember
hi yes I wonder why they call it center, when it's nothing like it at all..
use this html code instead and replace the data with your own..
<head>
<title>My Center Page</title>
</head>
<body bgcolor="#666666">
<table align="center">
<tr>
<td align="center"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="625" height="325" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="index.swf" />
<param name="menu" value="false" />
<param name="quality" value="best" />
<param name="salign" value="rb" />
<param name="bgcolor" value="#ffffff" />
<embed src="index.swf" menu="false" quality="best" salign="rb" bgcolor="#ffffff" width="625" height="325" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</td>
</tr>
</table>
</body>
</html>
-
ReMember
hi yes I wonder why they call it center, when it's nothing like it at all..
use this html code instead and replace the data with your own..
Code:
<head>
<title>My Center Page</title>
</head>
<body bgcolor="#666666">
<table align="center">
<tr>
<td align="center"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="625" height="325" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="index.swf" />
<param name="menu" value="false" />
<param name="quality" value="best" />
<param name="salign" value="rb" />
<param name="bgcolor" value="#ffffff" />
<embed src="index.swf" menu="false" quality="best" salign="rb" bgcolor="#ffffff" width="625" height="325" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</td>
</tr>
</table>
</body>
</html>
-
ReMember
weird...
Code:
<head>
<title>My Center Page</title>
</head>
<body bgcolor="#666666">
<table align="center">
<tr>
<td align="center"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="625" height="325" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="index.swf" />
<param name="menu" value="false" />
<param name="quality" value="best" />
<param name="salign" value="rb" />
<param name="bgcolor" value="#ffffff" />
<embed src="index.swf" menu="false" quality="best" salign="rb" bgcolor="#ffffff" width="625" height="325" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</td>
</tr>
</table>
</body>
</html>
-
Senior Member
Might want to try using the [ php ] tag... - also, use the edit button to fix a previous post, rather than adding new posts...
-
Senior Member
open your published html file in dreamweaver click on the body tab (its at bottom left) and select center aligned from the properties menu
or
copy this code
<div align="center">
after
<BODY bgcolor="#FFFFFF">
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|