[SWFObject] Re : Warning in Firefox (1.5 - 2.0)

Geoff Stearns geoff at deconcept.com
Mon Oct 23 07:18:44 PDT 2006


hmm, interesting.. so you are checking for the player, but not  
actually embedding a swf in the page?

i think that might be a bug - easy to fix though, i'll try to update  
the 2.0 build today and send out an upadated link.



On Oct 23, 2006, at 3:57 AM, remio at yahoo.com wrote:

> 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
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list