开发者

Problem with a preloader and google analytics

I'm using Google analytics in my flash app. It works perfectly, but the time to publich the app came and I'm using an external swf. as preloader, which only consists in an small progress bar and summons my Flash app once it's completely lo开发者_StackOverflow中文版aded.

Now i'm getting this error:

Error #1009: Error #1009: Cannot access a property or method of a null object

at com.google.analytics.core::IdleTimer() at com.google.analytics::GATracker/_trackerFactory() at com.google.analytics::GATracker/_factory() at com.google.analytics::GATracker()

If I comment my GATracker object, everything works perfectly. I tried including the google analytic libraries in my preloader, but didn't work. I'm really confused since everything works fine without the preloader.

Any suggestion is apreciated, thanks.


Including the libraries is not sufficient, if you have a null object error, it would suggest that you need to create your GATracker object in the preloader.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜