Checking if a file is on a server or not

Whats the best way to check if a file is on a server (the same one that the flash file is on). I need to call whatever the function maybe before using LoadMovie.

Thanks.