AS2(!):最好的crossbrowser方法调用javascript函数? [英] AS2(!) : best crossbrowser way of calling javascript functions?

查看:188
本文介绍了AS2(!):最好的crossbrowser方法调用javascript函数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里有一个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函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆