> I'm creating a quick Shockwave calendar using text boxes etc for a Intranet
> site. It's the 1st time I've done anything using remote storage of data.
> 
> It's not complicated at all - nor does it need to be secure ( yet :) ). I'm
> using a text file at the moment with delimited data written to and read from.
> Of course, Shockwave doesn't allow fileIO tho', so I was wondering what the
> best solution is when exporting it to SW.
> 
> I want to store the file on our intranet so that whoever accesses it via the
> shockwave movie always gets the latest version. Is this going to require me to
> look up CGI or ASP or anything or is there an easier way?

You only need getNetText(). Well, actually, you also need to check the
status of the operation, and check the result. For example, you might have
the following startmovie script:
--------------
global NetID

on startmovie
  NetID = getNetText("http://www.squidfight.com/FBData/card.txt")
end
--------------
You will have to wait while the info downloads. It's common to use an
exitframe approach (first frame script below) so that you can do loading
animations and the like:
--------------
global NetID

on exitFrame me
  if netDone(NetID) <> 1 then
    go the frame
  end if
end
--------------
Finally, you can do something with the result of the operation. For example,
in the next frame:
--------------
global NetID

on exitFrame me
  member(someField).text = netTextResult(NetID)
end
--------------

Hope this helps get you started,
kurt


[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