开发者

C# Flash - ExternalInterface

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'开发者_如何学JAVAm marking the top answer as the answer for the help.


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜