Is it possible load and unload images (.png or .jpg) within flash dynamically into movie ?

I have seen this within image gallery software made with flash.

But my idea is to pack certain images with the flash file into .sis package with carbide c++ stub. So that the program would use less runtime memory.

I have seen some posts carbide not allowing relative paths and so on..
if it works, in which folder of carbide project I place the files ?