Interact with a running Flash process?

主宰稳场 提交于 2019-12-22 14:42:19

问题


Is it possible to write a program that interacts with a running instance of Flash?

In recent versions of Java, there is a notion of "attaching" your own process to a running JVM. By writing some somewhat ugly code using Reflection and the like, you can dig around, grab a reference to an object, print the value of a variable, call a method, etc.. Obviously Flash is not Java (duh), but is it possible to achieve something similar?

A couple of things I've already looked at are the various SWF decompilers (related of course, but not the same thing as attaching a process) and ptrace (which seems do-able, but quite low level).

Anyone got other ideas/suggestions on how this can be done? Anything goes as far as language, OS, etc.. Thanks!


回答1:


You could check out the approach taken by Xray, it uses a localConnection to connect to a inspection tool.



来源:https://stackoverflow.com/questions/245374/interact-with-a-running-flash-process

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!