Read contents of flash file
Hello,
A friend of mine built a game in flash. The object of the game is to pair 3 or more of the same items (much like the game bejeweled (http://en.wikipedia.org/wiki/Bejeweled).
I'd like to create an "auto pilot" of the game.
My idea is to "read" each row in a grid and search for matches.
I have NO IDEA on how to read data from flash files.
Here's a picture of the game itself --> http://img705.yfrog.com/img705/6761/20185816.jpg
Any help will be appreciated.
Re: Read contents of flash file
Quote:
I have NO IDEA on how to read data from flash files.
Reading a flash file is not a trivial task by any stretch of the imagination. But anyway, Here is a link explaining the flash file format.
Re: Read contents of flash file
A simpler, but still difficult, task would be to use a screen capture approach. Just load the game up, capture a screenshot of the game and then do some pattern matching to figure out where each element is. As there are a limited number of elements and they are always going to be laid out in a perfect grid, it'd be pretty easy to find all occurances of each element.