Dynamic loading of images in flash

Hi all,
I am only perfect with basics of AS3 and flash. I need AS3 code or a basic example/tutorial for loading of .jpeg images into flash from database.I had searched through google, but, any of the example won’t match.

Please, If anyone has their ideas, atleast send me the algorithm for your idea, so that i can try by implementing the idea.

     I think, once again when I open this topic, i will be getting my requirement.
    Thanks a lot in advance. Reply me soon..          It is urgent..

Srihari.Ch