I have problem reading text file from hard drive in shockwave
movie. I'm using folder which is named to "dswmedia" and I try to
read .txt file from there.
When opening .dcr file in browser it says "This shockwave
movie has errors that have caused playback problems..." and so on.
If I remove file reading option from lingo it works fine. If I keep
file reading and compile it to projector, it works fine.
I still need to use this in browser and still need to read
text file. How can I do it? Are there any tricks using these
FileIO is not Shockwave safe - you cannot use it in a dcr.
You can use
setPref() and getPref(), or you could use PHP to read and
write files from
your server. There is also the xtra Shockfiler:
As Dave said, you can't use FileIO with Shockwave movies.
* setPref() and getPref()
* you can import the text into a movie through
importFileInto. For example:
importFileInto member("importTextHolder"), the
This way won't allow you to edit the text
* You can also read text withe the Buffy Web Xtra using
You'll ave to purchase this Xtra.