Random X-axis movement

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?:slight_smile: