Code scroll

hi i need some code to automatically scroll a movieclip from right to left repeatedly based on the width, as it pulls in images with xml.

any help??