PDA

View Full Version : Random help!!!



abraxas
November 17th, 2004, 04:44 PM
Hello!

I have tryed to make a math program, but cant get it going as i want with my knowlegde in flash as.

This is what i want to do:
What is "random number1(random is max 20)" x "random number2(random is max 20)"

Answer 1: "random number1*random number2"
Answer 2: "random(random is max 20)*random(random is max 20)"
Answer 3: "random(random is max 20)*random(random is max 20)"

If Answer 1 is clicked, then do:
set dynamatic-textfield rightwrong to right

If Answer 2 or 3 is clicked, then do:
set dynamatic-textfield rightwrong to wrong

The right answer do i want to be different each time too.
Please help me! I tryed to explain everything.

JUD
November 18th, 2004, 06:54 AM
I think this is what you mean.

abraxas
November 18th, 2004, 10:36 AM
thanks alot! :D

but one problem, i want the answers to be random each time.

thanks for doing a file :)
Can you help me?

JUD
November 19th, 2004, 03:38 AM
Ok, take a look at this.