Dynamic content loading

Hi I need some help.

I need to create a movie that will look into some directories and display the images he founds there (or text).

I just need some directins to follow …

thanx