Search code examples
pythonflashhook

Is it posible to hook a .swf and call it's functions with python? If so, how?


I have a .swf file that is running, I want to be able to call its internal function and modify/fetch its variable values.

How can I do this with python?


Solution

  • Although in theory anything is possible, I don't see how you in any reasonable way can inspect the running state of a Flash program from Python.

    It might be possible if Flash have some sort of debug mode, where you can attach to the process and inspect it that way. I don't know if it does. But look into Flash debuggers and how they work.