开发者

Making SWF (Flash) Banner Clickable

I am using SWFobject.

I am creating Banner Management System. I need to integrate Flash (SWF) banners and need to keep track of clicks and impressions.

I tried to wrap flash object within anchor tag. Not working :)

I gone through Best way to implement a flash 开发者_运维知识库website banner

The first reply says that:

However, for simple things like clickable banners, all you may need is swfobject.

Can anyone tell, how to create clickable banners with swfobjects?


Without knowing what your project constraints are, I'm not sure if having the click-tracking separate from the Flash content is required. In my experience most click-tracking on banners is handled within the Flash content. So most agencies producing banners will either have a Flash-based template for banners that include all the code to report clicks, or a Flash wrapper that loads banners into it and tracks clicks.

swfobject, as far as I know, is just used to display Flash consistently across browsers, there is no way to use swfobject as a click-tracking device.

You may be able to implement a javascript solution though, wrapping the swfobject embed in another javascript wrapper that is able to track clicks for you. The benefit with using flash though is that you can track where the user clicked, or even where they hovered over objects and for how long.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜