jonathanpeppers
jonathanpeppers

Reputation: 26495

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.

Upvotes: 3

Views: 1805

Answers (2)

httpskk
httpskk

Reputation: 1

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

Upvotes: 0

Amarghosh
Amarghosh

Reputation: 59451

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

Upvotes: 2

Related Questions