akway
akway

Reputation: 1878

Is there any way to interact with a flash app through code alone?

I need to run a bot on an app and I'm not sure where to even begin.

I am not trying to cheat anything, I am simply trying to automate tasks using the app. If it helps, kind of like WoWGlider is for WoW (I think, never used it though). So I'm not worried about changing variables within the flash app, but I do need to view their value at least.

EDIT: Pretend some website, flashapp.com, is hosting a swf file, linked to a server which I have no access too. The app has a RNG, and everytime I click it gives me a new number. I need to be able to 'know' the value of that number, and then everything I need to do after that I can just record mouse movements for.

Upvotes: 2

Views: 892

Answers (1)

bgw
bgw

Reputation: 2046

Yes, it is possible. It depends on your actionscript version, but you can use the Loader class to load in an external swf, which you can then modify the variables of. I would suggest looking into the as docs for your version of flash, and going from there.

A few things to note:

  • You cannot load as3 content into an as2 movie
  • You need to know what variables to change, if it is an open source app, you can look through it like that. If it is as2 based, you can use flare, or some other decompiler. You may also want to look into flash's debugger.

Upvotes: 1

Related Questions