C# Flash - 外部接口

发布于 2024-08-18 21:47:44 字数 333 浏览 4 评论 0原文

我们将 ActiveX 控件托管在 WinForms 应用程序中以嵌入 Flash。

有没有一种好方法来获取可用于任何给定 swf 文件的可见ExternalInterface 函数的列表?

我们正在使用第 3 方 swf 文件,并且无权访问源代码。

如果 C#(或代码)无法做到这一点,是否有工具可以做到这一点?

答案:我发现的唯一方法是使用闪存反编译器,然后查找行:

ExternalInterface.addCallback("methodName", methodName);

我将最上面的答案标记为帮助的答案。

We are hosting the ActiveX control in a WinForms application to embed flash.

Is there a good way to get the list of visible ExternalInterface functions that are available for any given swf file?

We are working with a 3rd party swf file, and do not have access to source.

If it's not possible from C# (or code), is there a tool out there that can do it?

ANSWER: The only way I've found is to use a flash decompiler and then look for the line:

ExternalInterface.addCallback("methodName", methodName);

I'm marking the top answer as the answer for the help.

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

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

发布评论

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

评论(2

享受孤独 2024-08-25 21:47:45

据我所知,Flash 并未将其外部接口“API”暴露给环境。

As far as I can tell, Flash does not expose its external interface "API" to the environment.

她比我温柔 2024-08-25 21:47:45

在 Flash ActiveX 对象上使用事件 FLASH_CALL 并解码 XML,如下所示:
此示例

Use event FLASH_CALL on your Flash ActiveX object and decode XML like:
this example.

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