| Previous | Next | |
Windows: Flash 8 or 9 AS2.0 swf + mProjector
3.1.0
Macintosh: Flash 8 or 9 AS2.0 SWF + mProjector
3.1.0;
mFile.copyFolder(sourceFolder:String, destinationFolder:String) : BooleansourceFolder - Name (including the full path) of the folder to copy.
destinationFolder - Name (including the full path) of the destination folder.
A boolean.; ;
Method; Makes a copy of the specified folder.
The following example copies a folder named "images" from the application's directory to the desktop.
var success:Boolean;
var workingDirPath:String;
var desktopPath:String;
var pathDelimiter = mSystem.getPathDelimiter();
sourcePath = mSystem.getSpecialFolder("MYAPP") + pathDelimiter + "images";
desktopPath = mSystem.getSpecialFolder("DESKTOP") + pathDelimiter + "images";
success = mFile.copyFolder(workingDirPath, desktopPath);| Questions or Feedback? | Previous | Next |