Adjust this script!

How to adjust this to receive a email in a dynamic text box (dyn_txt) and an image in to a movieclip (img_mc)?

}
receiveLoad.onData = function (src) {
dyn_txt.text=src
img_mc.loadMovie(src);
}

this is only getting the text!!! I need the image as well.