Loading image link to swf? is it possible?

Hi, im wondering if flash can load an image link and use flash as the container. Like uhmm, ill provide a dynamic or input text, then the user will provide the link to the dynamic/input text then after they click the “upload image” button, the image will be loaded to the movie clip container.

Thanks, im kinda new in actionscript so please help me and go easy on me.