Jump to content
Fórum Script Brasil
  • 0

Flash como BG


Rafael Rocha B.

Question

Pessoal, alguém consegue enxergar o que está faltando para o conteúdo que está dentro da 1° div ficar sobrepondo a animação em flash?

Já tentei de tudo, mas o texto sempre fica por trás do flash.

<div style="width:100%;height:100%;position:absolute;left:0px;top:0px;z-index:2;">

<p>Conteúdo Conteúdo Conteúdo Conteúdo Conteúdo</p>

</div>

<div style="width:100%;height:100%;position:absolute;left:0px;top:0px;z-index:1;">

<embed src="flash.swf" width="1010" height="600" style="z-index:0;"></embed>

</div>

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Coloque seu swf corretamente.

<object type="application/x-shockwave-flash" data="animacao/banner.swf" width="1000" height="285"> 
                    <param name="allowScriptAccess" value='sameDomain' /> 
                    <param name="movie" value='animacao/banner.swf' /> 
                    <param name="wmode" value="transparent" /> 
                    <embed src="flash.swf" wmode='transparent' quality='high' pluginspage='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='1000' height='285'> 
                    </embed> 
                    </object>

O segredo está aqui.

<param name="wmode" value="transparent" /> Para IE

<embed src="flash.swf" wmode='transparent'... Para FF

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
      152.2k
    • Total Posts
      652k
×
×
  • Create New...