Venn diagrammasini yaratish algoritmi:
Sinflar ro`yxati:
import flash.events.MouseEvent;
import flash.ui.MouseCursor;
import fl.events.DataChangeEvent;
import flash.net.FileReference;
import flash.filesystem.*;
import flash.events.FileListEvent;
Fayllarni papkaga nusxalash algoritmi:
function copyDir(str100:String, str200:String)
{
var source:File = File.documentsDirectory.resolvePath(str100);
var target:File = File.documentsDirectory.resolvePath(str200);
source.copyTo(target, true); }
Fayllarni nusxalash algoritmi:
Papka yaratish algoritmi:
function createDir(str100:String, str200:String)
{
var source:File = File.documentsDirectory.resolvePath(str100);
var target:File = File.documentsDirectory.resolvePath(str200);
var targetParent:File = target.parent;
33
targetParent.createDirectory();
source.copyTo(target, true); }
Do'stlaringiz bilan baham: |