# Random motion

**URL:** https://forum.kirupa.com/t/random-motion/47918
**Category:** Uncategorized
**Created:** [April 8, 2004, 8:46am UTC](https://forum.kirupa.com/t/random-motion/47918 "2004-04-08T08:46:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pyko](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/pyko/32/502_2.png) [@pyko](https://forum.kirupa.com/u/pyko)
#### Post date: [April 8, 2004, 8:46am UTC](https://forum.kirupa.com/t/random-motion/47918/1 "2004-04-08T08:46:42Z")

</div>

hi, i followed the tutorial: [http://www.kirupa.com/developer/mx/random\_motionMX.htm](http://www.kirupa.com/developer/mx/random_motionMX.htm) and it worked perfectly! 😃

but being me, i’d really like to know HOW it works (i’ve tried looking around the site/forum but i can’t seem to find the explanation).

i understand most of it up until

```auto
norm = this.speed/dist;

```

when i sort of start losing it a bit…

could someone please ease my nagging mind?  
THANK YOU!  
pyko

p.s. just an unrelated ques. For posts like this…do they belong to the Actionscript Forum or here? coz its actionscript…but then again its Flash MX as well… (im new and i don’t really want to annoy the mods:P)
