Load directly images from database into flash

I wanna load directly images from database into flash, not with the help of their paths.I’ll get the data in the binary form through web services and then i have to load that.
What are the ways of implementing this thing?