At 10:15 -0800 03/29/2002, Kerry Thompson wrote:
>>I am having trouble checking to see if a file exists using FileIO.
[...]
>Here's some code I'm using in my current project. Basically, you
>just call status(fileIOInstance)
Why not use the free FileXtra3 that ships with Director?
oFileObj = new ( xtra "FileXtra3" )
bFile = fx_FileExists( someFileOrOther )
if bFile then
-- hooray!
else
-- it's missing
end if
FileIO is an option, to be sure, but FileXtra *is* there, and it *has
been* designed to do this kind of stuff. ;)
--
Warren Ockrassa | http://www.nightwares.com/
Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
http://www.osborne.com/indexes/beginners_guides.shtml
[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!]