views:

9

answers:

1

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.

+1  A: 

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.

Matti Virkkunen