cybertyx Posted February 8, 2012 Report Share Posted February 8, 2012 E ai galera beleza??? Precisava de uma classe q leia swf em um banner. eu tenho uma classe chamada LeFlash.php, so que ela n ta funcionando.alguém poderia me ajudar...<?phpclass LeFlash{ public $arquivo, $titulo; public $caminho; public $comandos; public $height, $width; function setArquivo($arq){ $this->arquivo = $arq; } function setCaminho($cam){ $this->caminho = $cam; } function setTitulo($tit){ $this->titulo = $tit; } function setHW($h, $w){ $this->height = $h; $this->width = $w; } function getFlash(){ return $this->comandos; } function carregaFlash(){ /*echo /*" <script type=\"text/javascript\">AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','$this->width','height','$this->height','title','$titulo','src','$this->caminho/$this->arquivo','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','$this->caminho/$this->arquivo' ); </script> <noscript> <object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\" width=\"$this->width\" height=\"$this->height\" title=\"$titulo\"> <param name=\"movie\" value=\"$this->caminho/$this->arquivo".".swf"."\" /> <param name=\"quality\" value=\"high\" /> <embed src=\"$this->caminho/$this->arquivo".".swf"."\" quality=\"high\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"$this->width\" height=\"$this->height\"></embed> </object> </noscript> ";*/ }}?> Quote Link to comment Share on other sites More sharing options...
0 Willian Gustavo Veiga Posted February 9, 2012 Report Share Posted February 9, 2012 O que não está funcionando? Quais erros você recebe?Um abraço. Quote Link to comment Share on other sites More sharing options...
Question
cybertyx
E ai galera beleza??? Precisava de uma classe q leia swf em um banner. eu tenho uma classe chamada LeFlash.php, so que ela n ta funcionando.
alguém poderia me ajudar...
<?php
class LeFlash{
public $arquivo, $titulo;
public $caminho;
public $comandos;
public $height, $width;
function setArquivo($arq){
$this->arquivo = $arq;
}
function setCaminho($cam){
$this->caminho = $cam;
}
function setTitulo($tit){
$this->titulo = $tit;
}
function setHW($h, $w){
$this->height = $h;
$this->width = $w;
}
function getFlash(){
return $this->comandos;
}
function carregaFlash(){
/*echo /*"
<script type=\"text/javascript\">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','$this->width','height','$this->height','title','$titulo','src','$this->caminho/$this->arquivo','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','$this->caminho/$this->arquivo' );
</script>
<noscript>
<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\" width=\"$this->width\" height=\"$this->height\" title=\"$titulo\">
<param name=\"movie\" value=\"$this->caminho/$this->arquivo".".swf"."\" />
<param name=\"quality\" value=\"high\" />
<embed src=\"$this->caminho/$this->arquivo".".swf"."\" quality=\"high\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"$this->width\" height=\"$this->height\"></embed>
</object>
</noscript>
";*/
}
}
?>
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.