问题描述
我是一个C#asp.net开发,需要实施一批flash网站的横幅。 previously静态图像横幅我已经实现on_click code背后或javascript登录横幅已被点击回数据库,并处理重新定向。
I am a c# asp.net developer and need to implement a number of flash website banners. Previously for static image banners I have implemented on_click code behind or javascript to log the banner has been clicked back to a database and process the re-direction.
我没有其他的闪光多的知识比我知道,一个flash程序可以处理上单击该程序的事件。
I don't have much knowledge of flash other than I know that a flash program can handle on-click events of the program.
因此,可有人建议最好的解决方案上,点击网页上的Flash对象的事件采集和处理。
Therefore, can somebody suggest the best solution for capturing and processing on-click events of a flash object on a webpage.
非常感谢,
亚当
推荐答案
您可以跟闪存通过Mootools的Swiff组件使用JavaScript对象:
http://mootools.net/docs/core/Utilities/Swiff
You can talk to Flash objects with JavaScript via Mootools' Swiff component:http://mootools.net/blog/2008/02/12/whats-new-in-12-swiff/http://mootools.net/docs/core/Utilities/Swiff
不过,对于像点击横幅简单的事情,你可能需要的是SWF对象:
However, for simple things like clickable banners, all you may need is swfobject:http://code.google.com/p/swfobject/
有一个体面的,但简单的XML驱动的Flash横幅肩就可以了免费在这里:
的
A decent but simple XML driven Flash banner rotator can be had for free here:http://www.weberdesignlabs.com/blog/2008/06/open-source-xml-free-flash-banner/
希望帮助!
这篇关于实现Flash网站的旗帜最好的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!