Is it possible to add code to a compiled SWF?
I asked this que开发者_Go百科stion about passing keystrokes to the page. Is there a simple way for me to add this to an already compiled swf?
Not simple, no. SWFs are a compiled format, so the only realistic way to add in content is to decompile/edit/recompile, using a third-party decompiler of some sort. (In theory you could inject compiled code directly into the SWF, but you'd need to understand the file format pretty well to know whether you needed to redo checksums and so on.)
if the compiled swf's security allows it, you can probably load that swf into another swf and have the parent swf catch all the keystrokes.
精彩评论