访问.swf API

发布于 2024-09-17 11:18:02 字数 124 浏览 2 评论 0原文

给定一个 .swf 文件,是否有办法检查所提供的 API?

我在播放 .mp3 的网页上有一个 FLASH .swf 文件,我想通过 Google Chrome 扩展程序控制播放,但似乎我找不到有关其 API 的文档。

Given a .swf file, is there a way to inspect the API provided?

I have a FLASH .swf file on a web-page that plays .mp3 and I'd like to control playback through a Google Chrome extension but it seems I can't find documentation on their API.

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

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

发布评论

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

评论(1

宫墨修音 2024-09-24 11:18:02

您可以使用各种 Flash 反编译器之一(例如,这个)来查看 ActionScript 内部代码并查看它是否公开了任何方法。如果播放器使用的是足够新版本的 Flash,您应该查找对 ExternalInterface 因为这是向 JavaScript 等公开内容的主要方式。

You could use one of the various Flash decompilers (for example, this one) to look inside the ActionScript code and see if it exposes any methods. If the player is using a recent enough version of Flash, you should look for references to ExternalInterface because that's the main way to expose things to JavaScript etc.

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