I recently ported some code from a Flex project over to a new pure AS3 project. When i attempted to make an AMF call, I am getting an error message like this:
TypeError: Error #1034: Type Coercion failed: cannot convert Object@5425371 to mx.messaging.messages.ErrorMessage.
There was no stack trace associated with the error, so debugging was difficult.
I tried all manner of things (checking that all required libraries from the flex framework were included, etc) but nothing worked.