Getting actionscript files aligned with movie clips?

I have an actionscript file, and a movie clip (Simple player movement, found some tuts), but I have no idea how to apply the scripts to the movie clips… Can anyone help PLEASE? I will be forever greatfull!