简体   繁体   English

AS3 / Java / HTML:获取Flash以响应外部html / java事件

[英]AS3/Java/HTML: Get flash to respond to external html/java events

I want my flash movie to respond to rollover type events for links on my website. 我希望我的Flash电影响应网站上链接的翻转类型事件。 The idea being that the flash movie will provide descriptions of the links when moused over, but if the user doesn't have flash the functionality isn't lost. 这样的想法是,当鼠标悬停在Flash影片上时,它将提供链接的描述,但是如果用户没有Flash,该功能就不会丢失。 What's the best way to do this (if it's possible)? 做到这一点的最佳方法是什么(如果可能)? Thanks in advance. 提前致谢。

You'll want to use the ExternalInterface class to provide functions that javascript can call 您将要使用ExternalInterface类提供javascript可以调用的函数

http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000340.html http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000340.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM