External jpgs & exporting pixel data


I wondering if with flash would be able to load in an external jpg file and then export the pixel data into a php application to rebuild the image?

My concern is when an application loads an external resource it is just that, external and not local and therefore when I come to grab the pixel data will it grab the external resource in this case the image I’ve placed inside a movie clip?