Flash Media Server |
|||
| Server-Side ActionScript Language Reference > Server-Side ActionScript Language Reference > File class > File.type | |||
Flash Media Server 2.
fileObject.type
Property (read-only); a string specifying the type of data or encoding used when a file is opened. The following strings are supported: "text", "utf8", and "binary". The property is undefined for directories and closed files. If the file is opened in "text" mode and UTF-8 BOM (Byte Order Mark) is detected, the type property is set to "utf8".