'Lo again all. I'm having a problem with the updated netQueue object
which is provided from director online.
I'm using the getNetText to retrieve xml data generated from a called
asp page, then passes that data off to a handler for proper parsing.
My code is as follows (gNetQueue and gParserObject are declared as
netQueue object and gParserObject xtra instance, respectively, at
startmovie):
------------------------------------------------------------------------
---------------------
global gNetQueue
global gParserObject
on getXMLviaURL processor, pdata
repeat with control = 1 to pdata.count
pstring = (pstring & pdata.getPropAt(control) & "=" &
pdata.getAt(control) & "&")
end repeat
gNetQueue.getNetText((serveraddress & processor & pstring),
#createXMLobject)
end getXMLviaURL
on createXMLobject XMLraw
gParserObject.ignorewhitespace(TRUE)
gParserObject.parseString(XMLraw)
if (gParserObject.child[1].name = "LOGIN") then
loginProcess()
else if (gParserObject.child[1].name = "board") then
buildBoard()
end if
end createXMLobject
------------------------------------------------------------------------
------------------------------------
The problem arises once I try to retrieve data for the second time. The
first time, a login request/response, works as needed. However, on the
second attempt, I receive a critical error from Shockwave, and the movie
stops. I've narrowed the failure point to the getNetText call, but
therein I'm stuck. Is there anything I have to do to the object in
between calls to it in order for it to work properly?
~matt desimone
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]