A voir également:
- Problème avec Bannière en (swf)
- Swf opener - Télécharger - Lecture
- Swf file player - Télécharger - Lecture
- Bannière instagram - Guide
- Swf to exe - Télécharger - Animation
- Lecteur swf portable ✓ - Forum loisirs/vie pratique
2 réponses
<script language="javascript">
<!--
var nombre = 1;
var temps = new Date()
var seconde = temps.getSeconds()
var banniere = seconde % nombre;
banniere +=1;
if (banniere==1) {
banner="1.swf"; //le chemin vers ton SWF
site="https://www.commentcamarche.net/" //SI FLASH NEST PAS INSTALLÉ
description="Des forums, des trucs, un encyclopédie !<br>Cliquez ici !" //SI FLASH NEST PAS INSTALLÉ
width="468"; //Les valeus d'un bandeau
height="60"; //publicitaire standar
quality="high"; //low, medium, high
nonflash = "<a href=\"'+site+'\">'+site+'<br>'+description+'</a>" //SI FLASH NEST PAS INSTALLÉ
}
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=6,0,47,0" id="animation" width="'+width+'"
height="'+height+'">'+
'<param name="movie" value="'+banner+'">'+
'<param name="quality" value="'+quality+'">'+
'<param name="bgcolor" value="#FFFFFF">'+
'<embed src="'+banner+'" quality="'+quality+'" pluginspage="https://get.adobe.com/flashplayer/"
type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></embed>'+
'<noembed>'+nonflash+'</noembed></object>')
//-->
</script>
Attention, tu doit faire un lien dans ton .swf avant car il est impossible de le faire en html.
Avec SWiSH, fait un rectangle transparant par dessus ta pub et fait un lien hypertext.
Le code est sensé fonctionner.
Byebye
ccm retranscrt mal le code, va ici a la place :
http://stac.byethost14.com/code/tonscript.txt
désolé
http://stac.byethost14.com/code/tonscript.txt
désolé