Load image from db into flash

ok i am using a php page to get a image (jpg) from mysql database blob field… now this is how i get the image

for eg :

http://www.mywebsite.com/get_img.php?id=2

this shows me my image… and in the php the code is set header to image and depending on id it gets the image from the database

how do i load these images into flash??? how can i load these images from the db into flash please help… thanks