0

I have a college assignment, I had to create a function to download a file, but I put file in a directory on the interactive cd that I created using flash abode. how do I make this work?

Any help is appreciated. Thank you!

yosua
  • 3
  • 3

1 Answers1

0

It's available AIR. you must using a File Class.

refer a following code.

var dir:File = File.userDirectory.resolvePath("MyDirectory"); 
dir.createDirectory();

More Information: File Tutorial

bitmapdata.com
  • 9,572
  • 5
  • 35
  • 43