Re: [xmlrpcflash-development] Fwd: FW: XMLRPC - Added Event Model
Brought to you by:
dopelogik
From: Chad S. <sp...@le...> - 2003-02-25 15:40:28
|
Ed :: I checked the AS for getMember and there is no provision for <params> or <param> See code below from xml-rpc.as function GetMember ( Arg1 ) { if (this.type == 'struct') { for (var i in this.value) { if (this.value[i].name == Arg1) return this.value[i].value.value; } return null; } if (this.type == 'array') { return this.value[Arg1].value; } return null; } Now if you simply take out the <params> & <param> of the responseexample.xml <?xml version="1.0"?> <methodResponse> <struct> <member> <name>what</name> <value><string>gotoAndStop</string></value> </member> <member> <name>frame</name> <value><int>10</int></value> </member> </struct> </methodResponse> you get from the flash client... GetResults(): Finished Parsing Transmit successfull. accessing /what/ field gotoAndStop So provisions must be included in getMember or the response must be simplified. I hope that helps. Let me know if tis unclear Chad Spicer :: Leadbased & ViewArt.network On Tuesday, February 25, 2003, at 02:14 AM, Ed Colmar wrote: > <xml-rpcflash_0_5_modified_tests.zip> |