AMFPHP & pendingCall

Hi
i have a problem in calling 2 service methods form 1 single swf file.I am using as2 to do so, the same file will work in case of as1.

I think there is a preoblem with pendingCall init.

the code works when i call just 1 method from the service but gives an error if i call another in the same file.

I tried to int the pendingCall in a different var called pc1 and pc2 but it still gives me an error.

Im i doing any mistake in pendingCall method.