jldupont
jldupont

Reputation: 96716

access to .swf API

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.

Upvotes: 1

Views: 380

Answers (1)

Matti Virkkunen
Matti Virkkunen

Reputation: 65126

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.

Upvotes: 1

Related Questions