# Random Movement

**URL:** https://forum.kirupa.com/t/random-movement/186779
**Category:** Uncategorized
**Created:** [April 24, 2006, 4:08pm UTC](https://forum.kirupa.com/t/random-movement/186779 "2006-04-24T16:08:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Grimshaw](https://avatars.discourse-cdn.com/v4/letter/g/439d5e/32.png) [@Grimshaw](https://forum.kirupa.com/u/Grimshaw)
#### Post date: [April 24, 2006, 4:08pm UTC](https://forum.kirupa.com/t/random-movement/186779/1 "2006-04-24T16:08:58Z")

</div>

I need a sample flash file that shows random movement of squares on the stage. They just need to slide back and forth with random intervals and random timing.

---

<div class="post-metadata">

### Author: ![Rustyd](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@Rustyd](https://forum.kirupa.com/u/Rustyd)
#### Post date: [April 24, 2006, 5:01pm UTC](https://forum.kirupa.com/t/random-movement/186779/2 "2006-04-24T17:01:18Z")

</div>

This may help with the use of the Math Random function:  
[http://www.kirupa.com/developer/flash8/video/randomJumping.htm](http://www.kirupa.com/developer/flash8/video/randomJumping.htm)
