MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Manual de usuario Pagina 64

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 172
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 63
61
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
Returns
A boolean value indicating whether the flush operation was successful (true) or not (false).
File.isDirectory
fileObject.isDirectory
Read-only; a boolean value indicating whether the file is a directory (true) or not (false).
A File object that represents a directory has properties that represent the files contained in the directory. These
properties have the same names as the files in the directory, as shown in the following example:
myDir = new File("/some/directory");
myFileInDir = myDir.fileName;
trace(myDir.isDirectory) // Outputs true.
The following example uses named property lookup to refer to files that do not have valid property names:
mySameFileInDir = myDir["fileName"];
myOtherFile = myDir["some long filename with spaces"];
Availability
Flash Media Server 2
File.isFile
fileObject.isFile
Read-only; a boolean value indicating whether a file is a regular data file (true) or not (false).
Availability
Flash Media Server 2
File.isOpen
fileObject.isOpen
Read-only; a boolean value indicating whether the file has been successfully opened and is still open (true) or not
(
false).
Note: Directories do not need to be opened.
Availability
Flash Media Server 2
File.lastModified
fileObject.lastModified
Read-only; a Date object containing the time the file was last modified.
Availability
Flash Media Server 2
Vista de pagina 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 171 172

Comentarios a estos manuales

Sin comentarios