Page 1 sur 1

intégration swf

Posté : 10 août 2006, 10:28
par Maxime
bonjour,

je ne connais presque rien à PHP et j'ai une question. Je souhaiterais remplacer sur notre intranet (fichier inc) une image (bandeauHaut.gif) par une animation flash (bandeauHaut.swf) mais je ne connais pas la syntaxe. Pouvez-vous m'aider ? Pour l'instant voici ce qu'il y a :
$aEcrire .= "<span style=\"width:420px;vertical-align:top;\">";
$aEcrire .= "<img style=\"width:420px;vertical-align:top;\"";
$aEcrire .= " src=\"".RACINESITE."/images/BandeauHaut/bandeauhaut.gif\" />";
$aEcrire .= "</span>";


Merci bcp

Posté : 10 août 2006, 10:36
par Tictac
$aEcrire .= "<span style=\"width:420px;vertical-align:top;\">"; 
$aEcrire .= "<img style=\"width:420px;vertical-align:top;\""; 
$aEcrire .="<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=\"_LARGEUR_DE_TON_SWF_\" height=\"_HAUTEUR_DE_TON_SWF_\">
  <param name=\"movie\" value=\"_URL_DE_TON_FICHIER_SWF_\" />
  <param name=\"quality\" value=\"high\" />
  <embed src=\"_URL_DE_TON_FICHIER_SWF_\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"_LARGEUR_DE_TON_SWF_\" height=\"_HAUTEUR_DE_TON_SWF_\"></embed>
</object>";
$aEcrire .= "</span>"; 

Posté : 10 août 2006, 10:39
par Loeiz
je n'étais pas loin, merci tic tac je vais essayer !

Posté : 10 août 2006, 10:49
par Tictac
il faut enlever la ligne commençant par <img ! j'ai oublié de l'enlever ;)

Posté : 10 août 2006, 11:28
par Loeiz
ça roule, merci bieng