SWFAddress 和 JSInterface 之间的区别...选择哪个?

发布于 2024-08-11 20:54:59 字数 436 浏览 3 评论 0原文

SWFObject/SWFAddressJSInterface >?

JSInterface 有更多的功能,但 SWFAddress 似乎是标准,所以我想知道您选择使用什么以及为什么,以及是否可以同时使用它们。

你甚至可以用 JSInterface 做类似 SWFAddress 的事情吗?我似乎不知道如何执行“后退”、“前进”以及更新/监听网址更改...

What are the differences between SWFObject/SWFAddress and JSInterface?

JSInterface has a lot more functionality but SWFAddress seems to be the standard, so I'm wondering what you choose to use and why, and if you could use both of them.

Can you even do SWFAddress-like things with JSInterface? I can't seem to find out how to do "back", "forward", and to update/listen-for the url changes...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

↘人皮目录ツ 2024-08-18 20:54:59

SWFAddress 是唯一使用 JavaScript 来实现此目的的深度链接库。
JSInterface 是一个库,它可以帮助您做任何您可以在 Flash 中使用 JavaScript 做的事情。

因此,如果您只需要深层链接 - SWFaddress 是您的选择,但如果您需要扩展 JavaScript 恐惧,例如 DOM 操作,或与 Ajax 应用程序交换数据,或外部资源管理(您可以一次从多个资源加载数据) ,或环境控制(窗口大小和位置),SWFAddress 无法为您提供执行此操作的工具。

SWFAddress is only deep-linking library that uses JavaScript only for this.
JSInterface is library that helps you do anything what you can do with JavaScript but inside Flash.

So, if you need only deep-linking - SWFaddress is your choise, but if you need extended JavaScript fearutes, like DOM manipulations, or data exchange with Ajax application, or external resource management(you can load data from many resources at a time), or environment control(window size and placement), SWFAddress can't give you tools to do this.

故事与诗 2024-08-18 20:54:59

SWFAddress 是闪存中深度链接的标准。它经过尝试和测试,并在许多生产质量软件中使用。如果您要寻找的只是深层链接并使用浏览器提供的按钮和书签,那么请使用 SWFAddress。

如果您需要在 Flash 和浏览器之间进行更多通信,并且想要一个简化且更强大的外部接口,请使用 JSInterface。

这里很好地解释了 JSInterface 的主要功能: http://actualwave.com/lab/pack /JSInterface_presentation_en.swf

SWFAddress is the standard for deep linking in flash. Its tried and tested and used in a lot of production quality software. If all you're looking for is deep linking and using the browser provided buttons and bookmarking, then go with SWFAddress.

If you need more communication between flash and the browser and want a simplified and more robust ExternalInterface go with JSInterface.

Heres a good explination of the main features of JSInterface: http://actualwave.com/lab/pack/JSInterface_presentation_en.swf

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文