Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

Interact with a running Flash process?

11 like 0 dislike
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!
asked 1 year ago by BloggeR (179,550 points)

1 Answer

1 like 0 dislike
You could check out the approach taken by Xray, it uses a localConnection to connect to a inspection tool.
answered 1 year ago by william (91,210 points)

Related questions

3 like 0 dislike
1 answer
4 like 0 dislike
0 answers
6 like 0 dislike
1 answer
6 like 0 dislike
0 answers
7 like 0 dislike
1 answer
asked 1 year ago by DBA-boss (120,990 points)