Bonjour à tous !
Voila j'ai un petit problème.
J’essaye de prendre un flash sur un site. Et le mettre sur le miens.
C'est un countdown.
Voici le site ou il est : http://www.maxboublil.com/
J'aimerais récupérer le flash du haut. J'ai donc chercher et récupérer tout ca :
Le fichier flash :
http://www.maxboublil.com/countdown/source.swf
Le fichier .XML :
http://www.maxboublil.com/countdown/black.xml
Enregistré sous mon serveur comme ca :
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14 <?xml version="1.0" encoding="utf-8"?> <setting> <!--target Time Text, year-month-date-hour-min-sec--> <targetTimeText>2011-10-01-18-00-00</targetTimeText> <!--target Time Zone, GMT--> <targetTimeZone>2</targetTimeZone> <!--bg Shadow Alpha, 1~100 --> <bgShadowAlpha>100</bgShadowAlpha> <!--textColor, 0x000000~0xFFFFFF--> <textColor>0xFFFFFF</textColor> <!--textColor, 0x000000~0xFFFFFF--> <bgColor>0x262626</bgColor> </setting>
Le code JS :
Le code pour Flash :Code:
1
2
3
4 var so = new SWFObject("./countdown/source.swf", "countdown", "219", "36", "9", "#FFFFFF"); so.addVariable('configPath', './countdown/black.xml'); so.addParam("wmode", "transparent"); so.write("flash_compteur");
http://www.maxboublil.com/js/swfobject.js
ET enfin le code a insérer pour afficher sur mon site :
J'ai tout mit sur mon site, mais rien ne marche :sCode:<div name="flash_compteur" id="flash_compteur"></div>
Pouvez vous m'aider SVP ?