New User

I’m very new to Flash and Flash CS3. I’m trying to finish my website and would like to learn how to do the following:

I have a line image I created. It’s basically the outline of a Tennis shoe. I would to take a picture of a pencil and make that pencil draw the image of the tennis shoe. I heard that I could use a mask but I am not sure how to do it. Can Anyone Help?