Seguinte, meu nivel de instruçao no flash eh intermediário, porém tenho muiiito com o que aprender, mas gostaria da ajuda de vocês pq tenho uma certa urgência nesse caso.
Estou tentando fazer com q o geturl(); pegue uns parâmetros setados no link do swf. essa action vai interagir com o "caminho" do arquivo.
por exemplo:
No sistema de banners, ao cadastrar o banner, iremos colocar o seguinte parâmetro:
nomedofilme.swf?empresa.php?idEmpresa=9&atividade=13
o que estou tentando fazer, é com que o flash, carregue os IDS da Empresa e da Atividade.
no PHP ficará dessa maneira:
QUOTE
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>teste banner</title>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','305','height','60','src','teste_banner?empresa.php?idEmpresa=9&atividade=13','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','teste_banner?empresa.php?idEmpresa=9&atividade=13' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="305" height="60">
<param name="movie" value="nomedofilme.swf?empresa.php?idEmpresa=9&atividade=13" />
<param name="quality" value="high" />
<embed src="teste_banner.swf?empresa.php?idEmpresa=9&atividade=13" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="305" height="60"></embed>
</object></noscript>
</body>
</html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>teste banner</title>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','305','height','60','src','teste_banner?empresa.php?idEmpresa=9&atividade=13','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','teste_banner?empresa.php?idEmpresa=9&atividade=13' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="305" height="60">
<param name="movie" value="nomedofilme.swf?empresa.php?idEmpresa=9&atividade=13" />
<param name="quality" value="high" />
<embed src="teste_banner.swf?empresa.php?idEmpresa=9&atividade=13" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="305" height="60"></embed>
</object></noscript>
</body>
</html>
e no FLASH fiz alguns testes, porém sem sucesso, um deles foi esse:
QUOTE
on (release) {
if (idEmpresa == "" || atividade == "") {
gotoAndPlay(1);
}
else
{
getURL(_root.clickTag+"http://www.seudominio.com.br/empresa.php?idEmpresa="+idEmpresa+"&atividade="+atividade,"_self","GET");
}
}
if (idEmpresa == "" || atividade == "") {
gotoAndPlay(1);
}
else
{
getURL(_root.clickTag+"http://www.seudominio.com.br/empresa.php?idEmpresa="+idEmpresa+"&atividade="+atividade,"_self","GET");
}
}
alguém pode me ajudar nisso?
Antecipadamente, muito obrigado!!!

Help














