Import/save external image into library

Hello, am making flash, which loads external image from disk and shows . So project consisting of .swf file and .jpg file. I would like to do that swf file inside saves last jpg file which was loaded with it, like that if i only take swf file he would show last image which was with that file. Does it possible to do?