..:: MX Studio Fóruns ::..: Dificuldades com menu drop down em flash com HTML - ..:: MX Studio Fóruns ::..

Jump to content

Publicidade




Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Dificuldades com menu drop down em flash com HTML

#1 User is offline   krauli 

  • Group: Membros
  • Posts: 6
  • Joined: 13-June 07

Posted 27 September 2007 - 10:54 PM

Estou com dificuldades em um menu drop down feito em flash ele tem que cair a "cascata" sobre o conteudo em html que está abaixo mais só que o flash fica separado do html. Estou utilizando DIV e na div tem um z-index segue o link para visualização:
www.lakatecnica.com.br/teste

Alguem tem alguma luz ??
vlws
0

#2 User is offline   naldocbb 

  • Group: Membros
  • Posts: 374
  • Joined: 01-March 05

Posted 27 September 2007 - 11:15 PM

Da uma olhada nesse menu aqui ve se pode te ajudar
http://www.mxstudio.com.br/views.tutorial....d=884&cid=3

QUOTE(krauli @ 27/9/2007 21:09:59) <{POST_SNAPBACK}>
Estou com dificuldades em um menu drop down feito em flash ele tem que cair a "cascata" sobre o conteudo em html que está abaixo mais só que o flash fica separado do html. Estou utilizando DIV e na div tem um z-index segue o link para visualização:
www.lakatecnica.com.br/teste

Alguem tem alguma luz ??
vlws


0

#3 User is offline   krauli 

  • Group: Membros
  • Posts: 6
  • Joined: 13-June 07

Posted 28 September 2007 - 10:35 AM

Vou detalhar por aqui para explicar melhor minha dificuldade:

O menu em flash não está acabado deixei ele aberto para ver ele por cima do conteudo HTML,
O que ocorre é o seguinte o conteudo quando aberto no IE 6 ele não fica por cima do conteudo HTML ele fica como se fosse separado.

No IE 7 fica normal como mostra a imagem abaixo



Já no IE 6 acontece o problema grave ohmy.gif



No FF acontece outro problema apesar do layout estar correto



Segue o codigo do HTML

CÓDIGO
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Laka Tecnica</title>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<META HTTP-EQUIV="Cache-control" CONTENT="no-store">

<style type="text/css">
body{
    font: 12px Arial, Helvetica, sans-serif;
    Top: 0;
    margin: 0 auto;
    padding: 0;
    background:url('cima.jpg') repeat-x #0E0E0E;;
    text-align:center;
    scrollbar-arrow-color:#6F98AC;
    scrollbar-3dlight-color:#D6E7EF;
    scrollbar-highlight-color:#F1F8FB;
    scrollbar-face-color:#CFE0F2;
    scrollbar-shadow-color:#5D8EA6;
    scrollbar-darkshadow-color:#073B11;
    scrollbar-track-color:#E7E8E9;
    }

#tudo {
    
    BORDER-TOP: 0px auto;
    MARGIN: 0px auto;
    BORDER-LEFT: 0px auto;
    WIDTH: 950px;
    height: 550px;
    LINE-HEIGHT: 130%;
    BORDER-BOTTOM: 0px auto;
    z-index: 3;
    position: relative;
    }
#topo {    
    position: relative;
    height: 120px;
    width: 950px;
    z-index: 6;
    }
    
#principal {
    height: 415px;
    position: relative;
    width: 770px;
    float:right;
    z-index: 5;
    }
#navegacao {
    position: relative;
    width: 180px;
    height: 415px;
    float:left;
    z-index: 4;
    }
#principal * {
    padding: 0 0px;
    }
#navegacao * {
    padding: 0 0px;
    }
#rodape {    
    position: static;
    clear:both;
    height:15px;
    width: 950px;
    background-color:#002561;
    }
.style2 {
    font-weight: bold;
    color: #FFFFFF;
    font-size: 10px;
}
.style3 {font-size: 12px}
</style>

<script type="text/javascript" src="AC_RunActiveContent.js"></script>
<script language="JavaScript" type="text/JavaScript">
</script>

</head>
<body>

<div id="tudo">
<div id="topo">

<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js. In Flash, run \"Apply Active Content Update\" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.");
} else {
AC_FL_RunContent(
  'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
  'width', '950',
  'height', '350',
  'src', 'teste',
  'quality', 'high',
  'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
  'align', '',
  'play', 'true',
  'loop', 'true',
  'scale', 'showall',
  'wmode', 'window',
  'wmode', 'opaque',
  'wmode', 'transparent',
  'devicefont', 'false',
  'id', 'hotsite',
  'bgcolor', '',
  'name', 'teste',
  'menu', 'false',
  'allowScriptAccess','sameDomain',
  'movie', 'teste',
  'salign', ''
  ); //end AC code
}
</script>
<!--
Acima a função javascript que passa os parâmetros que estaria declarados no código html.
Caso o navegador não interprete este script ele reconhe o código abaixo, o html padrão criado pelo Dreamweaver ou pelo próprio Flash.

-->
       <noscript>
       <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="950" height="350" align="middle">
         <param name="allowScriptAccess" value="sameDomain" />
         <param name="movie" value="teste.swf" />
         <param name="quality" value="high" />
         <param name="bgcolor" value="#523509" />
         <embed src="hotsite.swf" quality="high" bgcolor="#523509" width="740" height="480" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
       </object>
       </noscript>
      
</div>
<div id="principal">
<iframe src="home.html" scrolling="auto" frameborder="0" marginwidth="0" marginheight="0" height="415" width="770"  name="conteudo" style="border:0;"></iframe>
</div>
<div id="navegacao">
<iframe src="home.html" scrolling="no" frameborder="0" marginwidth="0" marginheight="0" height="415" width="180"  name="lateral" style="border:0;"></iframe>
</div>
<div class="style2" id="rodape">Rua Alfredo Guedes, 1949 - 8o Andar - sala 807      CEP 13416-901 - Higien&oacute;polis - Piracicaba SP ... contato@lakatecnica.com.br ... <span class="style3">Fone/Fax: (19) 3432-4470</span></div>
</div>


</body>
</html>


para ativar o Flash to usando o AC_RunActiveContent.js

e o conteudo esta todo em DIV como pode ser visto no codigo

Alguem saberia .....
0

#4 User is offline   krauli 

  • Group: Membros
  • Posts: 6
  • Joined: 13-June 07

Posted 01 October 2007 - 08:52 AM

Ninguem poderia ajudar ??
Tenho que conseguir uma solução o cliente já esta cobrando.

att,
0

#5 User is offline   krauli 

  • Group: Membros
  • Posts: 6
  • Joined: 13-June 07

Posted 01 October 2007 - 12:30 PM

Bom pessoal depois de muito suor e esforço consegui resolver o problema.
O problema tava em substituir o position: para " position: absolute; "
Mas no FF continua ficando inacessivel o menu creio que seja algum Bug do Firefox
E consertar umas coisas que tavam erradas ai no codigo segue abaixo o codigo certo para se mais alguem tiver o mesmo problema:

CÓDIGO
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Laka Tecnica</title>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<META HTTP-EQUIV="Cache-control" CONTENT="no-store">

<style type="text/css">
body{
    font: 12px Arial, Helvetica, sans-serif;
    Top: 0px;
    margin: 0px;
    padding: 0px;
    background:url('cima.jpg') repeat-x #0E0E0E;
    text-align:center;
    scrollbar-arrow-color:#6F98AC;
    scrollbar-3dlight-color:#D6E7EF;
    scrollbar-highlight-color:#F1F8FB;
    scrollbar-face-color:#CFE0F2;
    scrollbar-shadow-color:#5D8EA6;
    scrollbar-darkshadow-color:#073B11;
    scrollbar-track-color:#E7E8E9;
    left: 50%;
    }

#tudo {
    BORDER-TOP: auto;
    MARGIN: auto;
    BORDER-LEFT: auto;
    WIDTH: 800px;
    height: 550px;
    LINE-HEIGHT: 130%;
    BORDER-BOTTOM: auto;
    position: relative;
    top: 0px;
    z-index: 1;
    }
#topo {
    position: absolute;
    BORDER-TOP: auto;
    MARGIN: auto;
    BORDER-LEFT: auto;
    BORDER-BOTTOM: auto;
    left: 0px;
    top: 0px;
    height: 120px;
    width: 800px;
    z-index: 20;
    }
    
#principal {
    height: 415px;
    position: relative;
    width: 670px;
    float:right;
    z-index: 2;
    top: 120px;
    }
#navegacao {
    top: 120px;
    position: absolute;
    width: 130px;
    height: 415px;
    float:left;
    z-index: 3;
    left: 0px;
    }
#principal * {
    padding: 0 0px;
    }
#navegacao * {
    padding: 0 0px;
    }
#rodape {
    position: absolute;
    clear:none;
    height:15px;
    width: 800px;
    background-color:#002561;
    left: 0px;
    top: 535px;
    }
.style2 {
    font-weight: bold;
    color: #FFFFFF;
    font-size: 10px;
}
.style3 {font-size: 12px}
</style>

<script type="text/javascript" src="AC_RunActiveContent.js"></script>
<script language="JavaScript" type="text/JavaScript">
</script>

</head>
<body>

<div id="tudo">
<div id="topo">

<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js. In Flash, run \"Apply Active Content Update\" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.");
} else {
AC_FL_RunContent(
  'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
  'width', '800',
  'height', '350',
  'src', 'teste',
  'quality', 'high',
  'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
  'align', '',
  'play', 'true',
  'loop', 'true',
  'scale', 'showall',
  'wmode', 'window',
  'wmode', 'opaque',
  'wmode', 'transparent',
  'devicefont', 'false',
  'id', 'teste',
  'bgcolor', '',
  'name', 'teste',
  'menu', 'false',
  'allowScriptAccess','sameDomain',
  'movie', 'teste',
  'salign', ''
  ); //end AC code
}
</script>
<!--
Acima a função javascript que passa os parâmetros que estaria declarados no código html.
Caso o navegador não interprete este script ele reconhe o código abaixo, o html padrão criado pelo Dreamweaver ou pelo próprio Flash.

-->
       <noscript>
       <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="350" align="middle">
         <param name="allowScriptAccess" value="sameDomain" />
         <param name="movie" value="teste.swf" />
         <param name="quality" value="high" />
         <param name="bgcolor" value="#523509" />
         <embed src="teste.swf" quality="high" bgcolor="#523509" width="800" height="350" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
       </object>
       </noscript>
</div>
<div id="principal">
<iframe src="home.html" scrolling="auto" frameborder="0" marginwidth="0" marginheight="0" height="415" width="670"  name="conteudo" style="border:0;"></iframe>
</div>
<div id="navegacao">
<iframe src="home.html" scrolling="no" frameborder="0" marginwidth="0" marginheight="0" height="415" width="130"  name="lateral" style="border:0;"></iframe>
</div>
<div class="style2" id="rodape">Rua Alfredo Guedes, 1949 - 8o Andar - sala 807      CEP 13416-901 - Higien&oacute;polis - Piracicaba SP ... contato@lakatecnica.com.br ... <span class="style3">Fone/Fax: (19) 3432-4470</span></div>
</div>


</body>
</html>




0

#6 User is offline   krauli 

  • Group: Membros
  • Posts: 6
  • Joined: 13-June 07

Posted 02 October 2007 - 12:29 PM

pessoal para entenderem melhor o problema coloco uma imagem dele ai em abixo se alguem puder dar uma luz ou falar o proque acontece isso para tentar buscar uma solução, agradeço.



Segue o link para verem www.lakatecnica.com.br/teste


0

#7 User is offline   Natan 

  • Group: Moderador Global
  • Posts: 7350
  • Joined: 28-February 04

Posted 03 October 2007 - 10:36 PM

Seu problema pelo visto não é mais com o Flash e sim com a parte do HTML. Vou mover para um fórum mais adequado.

[]s
0

#8 User is offline   rochester 

  • Group: Colunistas
  • Posts: 1080
  • Joined: 24-June 06

Posted 05 October 2007 - 03:38 AM

/teste not found smile.gif
0

#9 User is offline   krauli 

  • Group: Membros
  • Posts: 6
  • Joined: 13-June 07

Posted 05 October 2007 - 09:00 AM

QUOTE(rochester @ 5/10/2007 02:10:26) <{POST_SNAPBACK}>
/teste not found smile.gif


mals ai e que ontem trocou o local de hospedagem e estava ageitando o site por isso ele ficou off ontem mais hj já esta de volta para verificarem

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic



Publicidade




2 User(s) are reading this topic
0 membro(s), 2 visitante(s) e 0 membros anônimo(s)