# Random X-axis movement

**URL:** <https://forum.kirupa.com/t/random-x-axis-movement/98049>\
**Category:** Uncategorized\
**Created:** [January 2, 2004, 8:49am UTC](https://forum.kirupa.com/t/random-x-axis-movement/98049 "2004-01-02T08:49:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest0014](https://avatars.discourse-cdn.com/v4/letter/g/4af34b/32.png) [@Guest0014](https://forum.kirupa.com/u/Guest0014)\
**Post date:** [January 2, 2004, 8:49am UTC](https://forum.kirupa.com/t/random-x-axis-movement/98049/1 "2004-01-02T08:49:08Z")

</div>

I’m trying to make an object to move randomly across x-axis and while it moves back and forth it also scales in width. Can anyone please help me to figure out the actionscript?🙂
