Hello all I am referring the http://www.wadearnold.com/tutorials/zend/classmap screencast by Wade Arnold to implement type mapping in my zend project and flex app.
As described in the tutorial I got the type displayed in http://www.charlesproxy.com/ Charles proxy sniffer in the AMF response. Now in my actionscript code, I am trying to do something like this... public function resultHandler( resultEvent:ResultEvent):void { mx.controls.Alert.show( resultEvent.result.toString ); // this displays [object Object] mx.controls.Alert.show( resultEvent.result["username"] ); // this displays the username from server var userVo:UserVO = resultEvent.result as UserVO; // converting the result to vo mx.controls.Alert.show( userVo.username ); // this gives an error } Can somebody help me out over here? How can I convert the result received from server to AS object? Thanks and Regards ShiVik -- View this message in context: http://n4.nabble.com/Type-mapping-in-Zend-amf-tp963314p963314.html Sent from the Zend Framework mailing list archive at Nabble.com.
