I updated my site to the newer asynchronous google analytics code. Works fine in the html parts. When i try to add the code to my flash events (button clicks) i'm having some trouble. I was using:

on (release)
{
getURL("javascript:_gaq.push(['_trackPageview','/******']);");
}

it works well, except for firefox, which actually follows the link (javascript:...) and gives me a blank error page. firefox takes the getURL call differently from other browsers. tested in chrome safari and opera and it's only firefox.

So i read about using ExternalInterface.Call, i used it like this:

on (release)
{
ExternalInterface.call("_gaq.push(['_trackPageview','******'])");
}

but the clicks don't show up in analytics.

am i doing the external infterface right? or is there a way to make firefox not actually open the getURL link?

also, this has to be in AS2.

Thanks