Jump to content
Fórum Script Brasil
  • 0

Alinhar Flash No Meio


Eduardo Rj

Question

Boa noite pessoal, minha dúvida parece ser bem fácil. To com um arquivo swf, querendo colocar ele centralizado na página, mas o bendito não vai...

Já tentei com o dreamweaver o align absmiddle, já tentei margin 50%, e ele continua lá no canto em cima.

Aqui tá o html, bem cru e simples:


<html>
<head>
<title>-= 2PacFeatBiggie =-</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="ed.css" type="text/css">
<link rel="stylesheet" href="ik.css" type="text/css">
&lt;script language="JavaScript">
<!--

<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
//-->
</script>
</head>

<body bgcolor="#000000" text="#FFFFFF" scroll="no" leftmargin="50%" topmargin="50%" marginwidth="50%" marginheight="50%">
<p align="absmiddle">                                                        
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="550" height="400" align="absmiddle">
<param name=movie value="REAL.swf">
<param name=quality value=high>
<embed src="REAL.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="550" height="400" align="absmiddle">
</embed>
</object></p>
</body>
</html>
[/codebox]

alguém saberia me ajudar?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

c já tentou a tag CENTER?

<center><object> blábláblá do flash </object></center>

Se isso não funcionar, alguma propriedade anterior (provavelmente CSS ou akelas da tag BODY) estejam afetando a correta interpretação do código.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152k
    • Total Posts
      651.5k
×
×
  • Create New...