| 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.copyFile(sourceFile:String, destinationFile:String) : BooleansourceFile - Name (including the full path) of the file to copy.
destinationFile - Name (including the full path) of the destination file.
A boolean.; ;
Method; Makes a copy of the specified file.
The following example copies a file from the working directory to the desktop.
var success:Boolean;
var workingDirPath:String;
var desktopPath:String;
workingDirPath = mSystem.getSpecialFolder("WORKING") + mSystem.getPathDelimiter();
desktopPath = mSystem.getSpecialFolder("DESKTOP") + mSystem.getPathDelimiter();
success = mFile.copyFile(workingDirPath+"File.txt",desktopPath+"File.txt");Creating an Installer, mProjector Class Basics -- mFile
| Questions or Feedback? | Previous | Next |