Re: [xmlrpcflash-development] objXMLRPC.GetResults()
Brought to you by:
dopelogik
From: Isaac L. <is...@st...> - 2003-03-17 20:25:12
|
Hello Geir, This is a common issue with the xmlrpcflash lib. In a nutshell, the=20 GetResults method is extremely dysfunctional (low DOM-style object=20 returns, with undefined object nodes that you just can't grab), and we=20= have been slowly stewing over how to go about rewriting these return=20 methods. For the moment, the best thing I can recommend is to use some other=20 method of parsing the xmprpc xml response in your actionscript. A few=20= of us have been experimenting with an actionscript implementation of=20 the w3c Xpath spec, and have recently been considering it to be used to=20= construct the base for the GetResults rewrite. http://xfactorstudio.com/projects/XPath/ The cool thing about xpath, is that it's been implemented as a standard=20= vocabulary for SAX style node processing in many languages, including=20 recent versions of Python- so we'beleive it's worth consideration. Sidenote to the entire list- whaddya think of this? How are those=20 who've tried XPath doing with it? How mature/stable does it feel? -- And on a sideonte, I'm terrifically interested in Zope/Flash=20 cooperation as well, and would love to know what your thinking of doing=20= with the two... My best to you, .ike Isaac Levy + Office of Structured Systems http://structuredsystems.net On Sunday, March 16, 2003, at 09:54 AM, Geir B=E6kholt wrote: > Hello xmlrpcflash-development, > > Hi all. > > Just getting to grips with flash, (i am an experienced user of > XML-RPC, XML and JavaScript) i am having a lot of trouble with the > GetResults() method.. Hopefully someone can help me. > > Call() obviously succeeds, but when i call GetResults() i am stuck > dumbfounded woth something that says it is (Type) an Array, but if i > do objXMLRPC.GetResults()[0] i always end up with undefined. > > if i print it as a string it looks like this: [object Object] > > seems to me like an array containing a single object, but that is > as far as i get. Can anyone tell me how to access the result from a > call ? - just a single value, a string for instance... > > thanks. I am really looking forward to integrating Zope and Flash > seamlessly :) > > > -- > Geir B=E6kholt > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > // > // xmlrpcflash-development mailing list > // xml...@li... > // = http://lists.sourceforge.net/lists/listinfo/xmlrpcflash-development > > > |