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 p开发者_如何转开发lays .mp3 and I'd like to control playback through a Google Chrome extension but it seems I can't find documentation on their API.
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.
精彩评论