i'm waiting to hear what kind of errors you're getting too, but first of
all i'd advise you to get rid of those redundant checks for VOID. you
don't need them.
the begin sprite should just be:
> netID = postNetText("http://www.touchwood.net/sharon/courses.asp",[])
it's pointless to set it to void first.
and in the exit frame, don't check for void either, just check for netdone.
but if netdone is false, you'll need to loop in the frame until it
returns true. it looks like you're just checking once, and then bailing
if it's not ready yet.
can't comment on anything else yet though....
--bhakti
Sharon Moeller wrote:
>
> I created a technical quiz that was originally set up to play from a cd or
> the user's hard drive.
> Works great!
>
> I have now been asked to see if it works online.
> I keep getting script errors on the file.
> Forgive my ignorance, but is this lingo not legal in a shockwave .dcr file
> playing online?
>
> property netID
>
> on beginSprite me
> netID = VOID
> if netID = VOID then
> netID = postNetText("http://www.touchwood.net/sharon/courses.asp",[])
> end if
> end
>
> on exitFrame me
> if netID <> VOID then
> if netDone(netID) then
> if netError(netID) = "OK" then
> testme = netTextResult(netID)
> set the text of field "result" = testme
> courseList
> showCourses
> netID = VOID
> else
> member("netError").text = netError(netID)
> go to "notActive"
> netID = VOID
> end if
> end if
> end if
> end
>
> Sharon Moeller
>
> Tracking #: 73821B64D9A48640B4E5D52EB71567B531994DDE
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/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!]
--
R. Bhakti Klein
Multimedia Programmer
http://www.DLWorkshop.net
��
Baritone, Wicki6
http://www.wicki6.com
���
"On Earth, you can only do little things;
but you can do them with a lot of Love."
-- Mother Theresa
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]