>preloadNetThing("http://www.myweb.com/textfile/fileCont.txt")
>
>   if netDone(mynetID) = FALSE then
>     go to the frame
>   else
>     alert "Downloaded"
>   end if
>
>   theText = getPref("fileCont.txt")
>   member("fileContent").text = theText
>end
>
>
>
>when the line theText = getPref.... is run I get an Script Error. Why?
>
>The file is downloaded and it is a frameScript.



I think the bottom two lines are executed before the preloadnething 
is down. Try changing the go the frame part to this:

   go the frame
   exit
else
   alert "Downloaded"
end if


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

Reply via email to