views:

22

answers:

0

I use amf calls in flex application. I've created actionscipt class with RemoteObject metatag for synchroinzation with PHP server class. The PHP-actoinscript class conversion works well, but I've specially tested invalid case when actionscript class doesn't have field which exists in PHP class. I've got ReferenceError message in my output. But the problem is how to handle this ReferenceError. It seems that flash performs internal handling of the error and just print an error notification. I've tried to call amf-actionscript conversion in try-catch block, but it doesn't catch any exceptions.