LocalConnection problem

Hi guys

I have a .swf written in AS3 and a .swf written in AS2 (it is in AS2 because I need to load a flashpaper). To communicate between the 2 i use a local connection. The problem is:
When I run the .swf from my local pc the local connection works just fine but when I upload the 2 .swfs to my server the local connection wont work.
Both of the files are on the same domain in the same folder

Can anybody tell me what the problem is ?

thanks in advance