Displaying metadata from images in flash

I am creating a photojournalism portfolio in flash MX, and need to display caption info. Before I manually add a text field on every frame for each picture, is it possible to write a script that can access the images meta date (file info in photoshop) and load the embedded caption into my flash movie? This could save me SO much time I might cry. Many thanks.