# Random help!

**URL:** <https://forum.kirupa.com/t/random-help/128948>\
**Category:** Uncategorized\
**Created:** [November 17, 2004, 9:44pm UTC](https://forum.kirupa.com/t/random-help/128948 "2004-11-17T21:44:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abraxas](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@abraxas](https://forum.kirupa.com/u/abraxas)\
**Post date:** [November 17, 2004, 9:44pm UTC](https://forum.kirupa.com/t/random-help/128948/1 "2004-11-17T21:44:01Z")

</div>

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:  
[color=Blue]What is “random number1(random is max 20)” x “random number2(random is max 20)”

Answer [color=Lime]1[/color]: “[color=Lime]random number1\*random number2[/color]”  
Answer [color=Red]2[/color]: “[color=Red]random(random is max 20)\*random(random is max 20)[/color]”  
Answer [color=Red]3[/color]: “[color=Red]random(random is max 20)\*random(random is max 20)[/color]”

If Answer [color=Lime]1[/color] is clicked, then do:  
set dynamatic-textfield rightwrong to [color=Lime]right[/color]

If Answer [color=Red]2[/color] or [color=Red]3[/color] is clicked, then do:  
set dynamatic-textfield rightwrong to [color=Red]wrong[/color][/color]

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