[SWFObject] Re : Warning in Firefox (1.5 - 2.0)
remio at yahoo.com
remio at yahoo.com
Mon Oct 23 00:57:29 PDT 2006
Hi all,
I have a tiny problem with that great piece of software swfobjects is.
In firefox' console, I get warnings like
Avertissement : assignment to undeclared variable __flash_unloadHandler
Fichier source : http://<url here>/swfobject.js
Ligne : 119
Avertissement : assignment to undeclared variable __flash_savedUnloadHandler
Fichier source : http://<url here>/swfobject.js
Ligne : 120
This is how I use it :
<div id="FlashPlayer"><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&promoid=BIOW"; target="_blank"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"; border="0" /></a></div>
<script type="text/javascript">
var requiredVersion = new deconcept.PlayerVersion([6,0,65]);
if(deconcept.SWFObjectUtil.getPlayerVersion().versionIsValid(requiredVersion)) {
if (document.getElementById) {
document.getElementById('FlashPlayer').innerHTML="";
}
}
</script>
Anyone else had that problem ?
(I use the latest version, 1.4.4)
Thanks
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Demandez à ceux qui savent sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
More information about the Swfobject
mailing list