Search tutorials
The Computer's Guess
Ok now for the second bit, where the computer tries to guess the players number.
We create a new layer with a keyframe at frame 3. Add a "Stop" action to this frame. Lets name it PCGuess. Setup the interface like this:

Set up three buttons and add captions like in the above example. The text field contains the variable PCNum.
Well, you probably know the algorithme for solving this.
| » Level Advanced |
|
Added: 1999-12-20 Rating: 5.99 Votes: 498 |
| » Author |
| Peter is a twisted former teacher of English, who now only obeys the grammer of actionscript. He loves writing educational Flash pieces, and is known to enjoy reading actionscript poems by other authors as well. |
| » Download |
| Download the files used in this tutorial. |
| Download (11 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!