I found what was causing the problem by creating a new widget and copying in each bit one by one to the point that it failed. I dont understand why it caused the issue but
private var gp:Geoprocessor = new Geoprocessor();
was in the global variable declarations at the top of my widget and that stopped the geoprocessor in my other widget from functioning. Can anyone give me an explanation for why this is a problem, or is it some underlying API issue.
Thanks,
Graham