Loading file from same directory

Hi,

I have a swf file that i am using in various parts of my site and it is always loading a file with the same ‘textfile.txt’ (the contents of that file change). This is for use on a website

I am struggling to figure out how to load the file from the same directory as the swf. at the moment i am using the

varReceiver.load("texfile.txt");

but it tries to load it from the root of the website.

Any help would be much appreciated.
Thanks