There are two Xtras out there that can do this for you. The FileXtra3 will do this, and it is completely free. The code would be:
on DoesFileExist sFullPathToFile xFileXtra = XTRA("FileXTRA3").new() fExists = xFileXtra.fx_FileExists(sFullPathToFile) xFileXtra = VOID return fExists end The FileXtra3 can be found at: http://www.kblab.net/xtras Or BuddyAPI which is free for the first two function calls. The code would be: on DoesFileExist sFullPathToFile fExists = baFileExists(sFullPathToFile) return fExists end BuddyAPI: is at: http://www.buddyapi.com Irv At 11:02 AM +0200 4/23/02, [EMAIL PROTECTED] wrote: >I\'ve used a function file(\"...\").exists in my movie. >In Director everything works just fine, but when I run the movie from a >projector an error occurs: \"unsupported lingo command... #file\". > >I\'m pretty sure that every Xtra needed is available. >What do I have to do to make it work? > >Thanks for your time, >Adam > >[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!] -- Lingo / Director / Shockwave development for all occasions. (Home-made Lingo cooked up fresh every day just for you.) [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!]