No problem. I'm glad it is all working for you now.

Warning about adblockers - that's a hard one eh? I am not sure at what stage
the ad blockers actually catch and disable the swf. If you look with
Firebug, is the Flash object block actually written to the page? If the
object is never created, then there was a thread a while ago between Kyle
(Getify) and Philip who were discussing ways to check if the swf HAD
actually been written to the page (emulating what you used to be able to do
in v1.x).

Something else which MIGHT work for you. When you use ExternalInterface to
do calls between the browser and Flash, it is best to check if the Flash
file actually exists on the DOM and has the method name you are trying to
call before you attempt to call a Flash method. This can be checked like:

// where a swf on the page has an id=myCom

var obj = document.getElementById("myCom");
if (obj && typeof obj.JStoASviaExternalInterface != "undefined") 
{
        obj.JStoASviaExternalInterface("foo");
} 

So you can see that we are checking if the object exists etc. I am thinking
that if the ad blocker has done its thing, then this test would fail, and
you would know something went wrong. Worth testing anyhow...


Cheers,
Aran



-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of dck
Sent: Tuesday, 9 December 2008 8:57 PM
To: SWFObject
Subject: Re: Having difficulty with Firefox


Well, isn't this embarassingly stupid. I just disabled Ad block and it
works just fine... All this time I thought I had done that.
Sorry bout this prolonged discussion caused by my ignorance.

I have to come out with a way to warn people coming to the site to
"turn off" their adblock if the movie is not loading at all.

Thanks for your help.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to