Reputation: 5409
I have a winforms control with a website loaded in there.
The website has a flash file loaded (a big webbrowser game) and I wish to know wether it be possible to "hack" into that flash game and send it commands.
Like, there's a button in the flash game which I want to click by using C# code.
I have tried messing around a bit with the shockwave player control but I didn't get far on that.
If it is possbile, I would like to get a small start or a point in the right direction on how to start working with this.
Upvotes: 0
Views: 1145
Reputation: 1316
First of all you should have the swf source code: the swf is compiled code. Then, you should add code to the source and, using ExternalInterface, you should expose some functions/methods to the cointainer.
Upvotes: 1