# Help with random numbers

**URL:** https://forum.kirupa.com/t/help-with-random-numbers/158420
**Category:** flash
**Created:** [August 9, 2005, 4:35pm UTC](https://forum.kirupa.com/t/help-with-random-numbers/158420 "2005-08-09T16:35:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![imNotGreg](https://avatars.discourse-cdn.com/v4/letter/i/b3f665/32.png) [@imNotGreg](https://forum.kirupa.com/u/imNotGreg)
#### Post date: [August 9, 2005, 4:35pm UTC](https://forum.kirupa.com/t/help-with-random-numbers/158420/1 "2005-08-09T16:35:08Z")

</div>

Hey everyone!:crazy:

Im kinda new to flash, however I am making a game, and heres the 1st boundary in my way:random numbers

I was looking at the actionscript dictionary, looked it up on [kirupa.com](http://kirupa.com) but i couldnt really figure it out.  
Could someone plz help?:crying:

What Im trying to do is generating 2 random numbers within ranges of X (220-480) and Y (70-330). Im going to be using these for new location of an MC.

Thanks in advance!

PS.:There is another 1, but i dont wanna mix them all up in 1 thread.Thx for understanding!
