Jump to content
Fórum Script Brasil
  • 0

Link em flash no php


karlosrapanui

Question

Olha só.....tenho essa rotina pra filtrar os banners

while ($row = mysql_fetch_array($rsExibirBannerHome, MYSQL_ASSOC)) {

$idPosicao = $row['posicao'];

if ($idPosicao == '1') {

$localBanner1 = "adm-5CEB03C2-7C9F-44F9-8D44-4B7B9B63DEB2/".$row['banner'];

$linkBanner1 = 'http://'.$row["link"];

}

}

pra exibir

echo "<a href='$linkBanner1' target='_blank' rel='lightbox[roadtrip]'>";

echo "<img src='$localBanner1' border='0' width=480 height=180 /></a>";

exibe na boa.....porem eu quero exibir um banner feito em flash....

fiz assim

echo "<a href='$linkBanner1' target='_blank' rel='lightbox[roadtrip]'>";

echo( "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\"

width=\"200\" height=\"85\"><param name=\"movie\" value=\"$localBanner1\">

<param name=\"quality\" value=\"high\">

<param name=\"wmode\" value=\"transparent\">

<param name=\"movie\" value=\"$localBanner1\" />

<embed src=\"$localBanner1?linkURL=$linkBanner1\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"

type=\"application/x-shockwave-flash\" width=\"200\" height=\"85\"></embed></object> ");

echo "</a>";

ele exibe o banner....porem não habilita o link...

O que sera que ta errado nesse "trem" ?

[]'s

Carlos

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

VOcê não precisa ter

essa linha

echo "<a href='$linkBanner1' target='_blank' rel='lightbox[roadtrip]'>";
já no codigo do banner vai te que mudar um poco tenta dessa forma ve se da certo.
echo( '<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\"
width=\"200\" height=\"85\"><param name=\"movie\" value=\"'$localBanner1.'\">
<param name=\"quality\" value=\"high\">
<param name=\"wmode\" value=\"transparent\">
<param name=\"movie\" value=\"'.$localBanner1.'\" />
<embed src=\"'.$localBanner1.'?linkURL='.$linkBanner1.'\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"
type=\"application/x-shockwave-flash\" width=\"200\" height=\"85\"></embed></object> ');

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...