Search tutorials
1. make an 8ball and convert it to a button. In this button action type:
on (release) {
function ansGen() {
generate = random(5);
ans = ["You'll find out in due time",
"Yes, of course",
"No",
"Maybe",
"I'm not saying yes, I'm not saying no"];
_root.textbox = ans[generate];
}
ansGen();
}
IF YOU WANT TO ADD MORE ANSWERS CHANGE THE 5 TO HOWEVER MANY THERE ARE!
2. now make a dynamic textbox with the variable of textbox
3. under that or above it make an imput text where they can type their questions.
YOUR DONE
| » Level Basic |
|
Added: 2003-03-23 Rating: 5 Votes: 73 |
| » Author |
| hope you like it |
| » Download |
| Download the files used in this tutorial. |
| Download (0 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!