问题描述
我在这里有一个AS2项目,在某些浏览器上造成了一些麻烦。
有人可以告诉我,什么是最交叉浏览器兼容的方式来调用javascript函数AS2项目(针对Flashplayer 8编译)?
GetURL或ExternalInterface.call?
?
对不起,如果问题有点含糊,但我不想跟踪一个特定的错误,只是找到另一个出现与一些其他浏览器。 p>
感谢!
广泛的浏览器。我的个人偏好是ExternalInterface如果用户的Flash Player版本是由它。由于回调功能,它也可以更灵活地使用。
I have a AS2 project here that makes some troubles on certain browsers.
Can someone tell me, what's the most crossbrowser compatible way to call javascript functions out of a AS2 project (compiled for Flashplayer 8)?
GetURL or ExternalInterface.call?
What to pay attention to?
Sorry if the question is somewhat ambiguous, but i don't want to track a specific bug, just to find another one appearing with some other browser then.
thanks!
I've used both without any issues in a wide range of browsers. My personal preference is for ExternalInterface if the user's Flash Player version is up to it. Because of the 'callback' functionality it can also be used more flexibly.
这篇关于AS2(!):最好的crossbrowser方法调用javascript函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!