# \[flash 5\] random motion problems

**URL:** https://forum.kirupa.com/t/flash-5-random-motion-problems/188650
**Category:** flash
**Created:** [May 9, 2006, 7:15pm UTC](https://forum.kirupa.com/t/flash-5-random-motion-problems/188650 "2006-05-09T19:15:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SkywayCourt](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@SkywayCourt](https://forum.kirupa.com/u/SkywayCourt)
#### Post date: [May 9, 2006, 7:15pm UTC](https://forum.kirupa.com/t/flash-5-random-motion-problems/188650/1 "2006-05-09T19:15:18Z")

</div>

hi.

i’m using the an actionscript for random movement that i found here…

[http://www.kirupa.com/developer/mx/random\_motionMX.htm](http://www.kirupa.com/developer/mx/random_motionMX.htm)

but my problem is that i need the object to flip horizontally depending on the direction it is moving… the object that is moving around is a bug, and i need it to face left if it’s moving left or face right if it’s moving right.

any help would be appreciated!

-matt
