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.