Search code examples
c#.netwinformsflashexternalinterface

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'm marking the top answer as the answer for the help.


Solution

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