| Previous | Next | |
STF.getWorkingDirectory() : StringA string.; ; 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; Returns the path to the screen saver's working folder. The working directory contains your main swf and external files.This function has been replaced. Use STF.getSpecialFolder() instead.
The following example returns the working directory of the screen saver.
var workingFolder = "workingFolder";
//define the callback
function onGetWorkingDirectoryReturn(returnValue:String){
workingFolder = returnValue;
}
//register callback
STF.registerCallBack("getWorkingDirectory", onGetWorkingDirectoryReturn, this);
STF.getWorkingDirectory();
| Questions or Feedback? | Previous | Next |