/ Published in: ActionScript 3
Expand |
Embed | Plain Text
private function copyInto(directoryToCopy:File, locationCopyingTo:File):void { var directory:Array = directoryToCopy.getDirectoryListing(); for each (var f:File in directory) { if (f.isDirectory) copyInto(f, locationCopyingTo.resolvePath(f.name)); else f.copyTo(locationCopyingTo.resolvePath(f.name), true); } }
You need to login to post a comment.
