Simple animation using actionscript

Hi Guys, just wondering if anyone know how i can animate sumpin like the fla provided by using actionscript instead of frame animation!

I just want an object to go across the screen and then loop again once it has reached the end point again.

Ive looked at the grass tutorial (kirupa sample), but couldnt get my head around it.

Thanks for ur help

:bad: