| Previous | Next | |
Windows: Flash 8 or 9 AS2.0 SWF + mProjector
3.0; Windows 98/ME/NT Support: Flash 7 SWF + mProjector
2.0;
Macintosh: Flash 8 or 9 AS2.0 SWF + mProjector
2.0; replacing mProjector
1.0 async
mFile.deleteFile(fileName:String) : BooleanfileName - Name (including the path) of the file to delete. Platform Implementation Differences: On Windows the file name must include a fully qualified path. On the Mac if no path is specified, the working directory is used.
A boolean.; ;
Method; Deletes the specified file.
The following example deletes a file from the working directory.
var success:Boolean;
var workingDirPath:String;
var pathDelimiter:String = mSystem.getPathDelimiter();
workingDirPath = mSystem.getSpecialFolder("WORKING");
var success = mFile.deleteFile(workingDirPath +pathDelimiter + "File.txt");mProjector Class Basics -- mFile
| Questions or Feedback? | Previous | Next |