Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

Error # 3006, Not A File.

$
0
0

Hello All,

 

I'm having trouble writing to the file..

 

Code :

var testFile:File = File.applicationStorageDirectory.resolvePath("testing.doc");
trace(testFile.exists); //traces 'true'


var writer:FileStream = new FileStream();
writer.open(testFile, FileMode.WRITE);  //error here

 

 

 

I get a "Error #3006: Not a file." error..

 

Please help me for the same.

 

Thanks in Advance.


Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>