to make sure i've created a new movie with just a preparemovie script like
this

global goNetManager
on PrepareMovie me
  goNetManager = new(script"NetManager")
  end

a parent script which is netMgr#6 from irvs' book and a single sprite with
the following code

global goNetManager
on mouseUp me
  thelist = [#gameNo:84, #points:10 , #predID:23322, #twocorrect:1,
#place:1]
  goNetManager.mPostNetText("http://www.mydomain.com/uploadPredData.asp";,
me,thelist)
end

on mNetEvent me, sText, errorCode
  if errorCode <> 0 then
    alert("Error:" && errorCode)
  else
    beep
    -- Do whatever you want to with sText
  end if
end

and i still get error = 1

if i simply change the line
goNetManager.mPostNetText("http://www.mydomain.com/uploadPredData.asp";,
me,thelist)

to

PredID = PostNetText("http://www.mydomain.com/uploadPredData.asp",thelist)

and i then check the database the data has been uploaded but this falls over
obviously withlots of repeated calls as in my application.

Lee Blinco
Multimedia Developer
AVR Productions
+44 (0)1462 819603


[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!]

Reply via email to