Re: [xmlrpcflash-development] Fwd: FW: XMLRPC - Added Event Model
Brought to you by:
dopelogik
|
From: Ed C. <ed...@gr...> - 2003-02-25 18:41:40
|
Thanks Chad!
Interesting... So, as far as standards go, which is proper?
Really, all I care about is how zope is going to do it, as all my work
will involve the big Z.
-e-
On Tue, 25 Feb 2003, Chad Spicer wrote:
> 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>
--
Green Graphics ::: Print and Web Design ::: 510.923.0000
|