Check for file

Hi everybody!

I have a movieclip where I want it to check for a file. If it finds the file (file1.xml) i want it to gotoAndStop at frame 2 in the movie clip.

My code:

onClipEvent (enterFrame) {
getURL (“vinst1.xml”);
if(success)
{
gotoAndStop(2)
}

}

Anyone know of a command to replace “getURL” with that will check for the file and not load it?