Then I took pieces of it to create my own using my services. I have attached the mxml file named testshape.txt. I am also including a output of what happens after I draw the polygon and it is called output.txt.
It appears it is finding the records in the polygon and then I think it is creating the graphics element but that is where it is blowing up. Please take a look and advise please.
My fault... I have 2 services, one that is real production and then my test service. I had restarted the wrong service. IT ALL WORKS NOW. Thanks a lot Andrew. That is several days work and stumbling done thanks to you.