Image proyector

I’m trying to make a “generic” flash animation that loads an image from library and it’s respective sound that explains the image. The “generic” thing is because it’s suposed to work just as well for 5 images as for 100… any help? I’ve been searching for two weeks now with no luck. HELP please!