| Previous | Next | |
STF.fileExists() : BooleanA boolean.; This value is returned as a parameter to the registered callback. See the example below or STF.registerCallBack() for more information on return variable handling.
Method; Checks for the existance of the specified file.
The following example detemines whether a file named temp.jpg exists in the working directory.
onFileExistsReturn = function(returnValue:Boolean) { // callback function
success = returnValue;
}
STF.registerCallBack("fileExists", onFileExistsReturn, this); // register callback function
STF.fileExists("temp.jpg");| Questions or Feedback? | Previous | Next |