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
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|