File.canWrite

Availability

Flash Media Server 2.

Usage

fileObject.canWrite

Description

Property (read-only); a Boolean value indicating whether you can write to a file (true) or not (false).

NOTE

 

If File.open() was called to open the file, the mode in which the file was opened is respected. For example, if the file was opened in read mode, you can read from the file, but you cannot write to the file.