var directory: File = new File(); directory.url = "file:///D:/MuLu/" var contents: Array = directory.getDirectoryListing(); for (var i: uint = 0; i < contents.length; i++) { //获取 trace(contents[i].name, contents[i].size); } var directory: File = new File(); directory.url = "file:///D:/MuLu/22.jpg" //删除 directory.moveToTrash();