Jump to content
Fórum Script Brasil
  • 0

Alguma classe para ler swf em um banner


cybertyx

Question

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.

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
      652.1k
×
×
  • Create New...