hi, all!

we are in the process of testing XML parsing in shockwave and
publishing some movies on the internet, that all of them use the XML
parser scripts from shocknet ([url]www.shocknet.org.uk[/url])
The problem is that all the movies seem to show problematic behaviour
(explaining below) when trying to play them locally or from the
internet.

When we publish a movie we test it on several pc's to see if it works.
Here is what happens:
Local
=====
PC 1: Movie works fine
PC 2: Movie stops loading and stays on the first frame
PC 3: Movie stops loading and stays on the first frame
PC 4: Works fine

Internet
=====
PC 1: Movie works fine in IE
PC 2: Movie doesn't work in IE, works in Mozilla!
PC 3: Movie doesn't work at all
PC 4: Movie works in IE

we believe the xml file (which is in the dswmedia folder under the
movie) is not parsed right (or even at all??) on some occasions and we
don't know why. Can it be a problem with the paths? We tried to change
slashes to backslashes, or even put the xml file in the same folder
with the movie, but with no results
In the parseDone script, the makeList function produces an empty
property list
Below I include the startmovie script.

------------------
global gParserObject, XMLParsedList, thePhotoName, myCurrentItemList

on startMovie
openXML("@\dswmedia\thefile.xml")
end

on restartMovie ()
set the visible of sprite 130 to true
set the visible of sprite 30 to false
myCurrentItemList = [4,5,6]
SumCubes = XMLParsedList[1][2].count-1
NumLexh = random(SumCubes)+1
thePhotoName = XMLParsedList[1][2][NumLexh][2][2]
theRightAnswer = XMLParsedList[1][2][NumLexh][3][2]
thewrongAnswer1 = XMLParsedList[1][2][NumLexh][4][2]
thewrongAnswer2 = XMLParsedList[1][2][NumLexh][5][2]

theFilename = "@/dswmedia/cubes/" & thePhotoName

member(1, "internal").filename = theFilename
member("r1").text = theRightAnswer
member("r2").text = thewrongAnswer1
member("r3").text = thewrongAnswer2
go to the frame+1
end

on openXML TheFilename
set the visible of sprite 130 to true
gParserObject = ""
gParserObject = new(script"xml.parser") -----!!!!!
errorCode = gParserObject.parseURL(TheFilename, "parseDone")
-- CheckError()
end

on ParseDone
CheckError()
XMLParsedList = gParserObject.makeList()

If XMLParsedList = [:] or VoidP(XMLParsedList) then
alert("XML Not Read")
abort
end if

restartMovie()
end

on CheckError
if (voidP(gParserObject.getError())) then
Alert("Parse error:" & gParserObject.getError())
abort
end if
end

on StopMovie
gParserObject = ""
end
---------------

thanks very much in advance!
Kyriakos Terzopoulos
Conceptum S.A.