Loading photo into the mc

I’m trying to put jpg, or gif picture in to the movie clip. here is the code:



it doesn’t work always for jpg and for gif it’s not working at all.

Flash only allows you to import swfs or jpgs directly.

And only non progressive JPGs.