This was a personal project. I designed all the elements of the game. I also programmed the game with the help of my wife. Below is the game along with a brief documentation of the code. Click on the grid below to start the game.
Brief Code Documentation
The board is divided into 9 parts, which each part given a number ( 1 - 9 )
An instance of both nought and a cross movie clip is put on every part. The name of the movie clip is follows the convention:
X = the grid number.
A variable "whoseTurn" is defined. This variable can have "nought" and "cross" values only. This will decide whether a cross or a nought will be shown on a click.
Each part has a button which when clicked will perform several actions. A sample code for the button is :
Decides which movie clip to make visible using the run time eval function depending upon the variable whoseturn, the number of the movie clip ( X ) is hardcoded as of now as i couldnt figure out the code to get the number of the grid dynamically using the button's instance name.