Detecting whether a jpg images exists in a folder

A tricky question. You might simple say “download it using loadmovie or moviecliploader or whatever and see if you detect an onloaderror event”. But is there a way to just KNOW whether it exists or not, without downloading the file???