Try this order and see if it helps: on exitFrame me schedulefile=new(xtra "fileio") openFile(schedulefile, "tempschedule.txt", 0) delete(schedulefile) createFile(schedulefile, "tempschedule.txt") filestatus=status(schedulefile) alert schedulefile.error(filestatus) delete(schedulefile) closeFile(schedulefile) set schedulefile=0 end
If you're trying to create a text file or other file for another program to read, then stick with FileIO. But if you're just trying to save out data that will only be accessed by your program, then I recommend using the PropSave xtra rather than FileIO. It easily saves out Director's native data types and reads them back in (so there's no converting needed). Also, using FileXtra4 for your file open dialogs and such might work better than the MUI xtra. Charlie Fiskeaux II Media Designer The Creative Group www.cre8tivegroup.com 859/858-9054x29 cell: 859/608-9194 [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!]