Return to Snippet

Revision: 34845
at October 29, 2010 02:13 by sidneydekoning


Initial Code
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);
      }

    }

Initial URL

                                

Initial Description

                                

Initial Title
Recursive Directory Copy for AIR

Initial Tags
file, copy

Initial Language
ActionScript 3