|
|||
|
Using AS3:
var file:SWFKit.File = new SWFKit.File("log.txt"); When this file doesn't exist, this will create a folder with the name "log.txt", instead of an empty file with that name. Is this the usual behavior? |
|
|||
|
If you want to create a file to write, please use the following code
Code:
var file = new SWFKit.FileStream("log.txt", "w");
file.write("sample\r\n");
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|