| Previous | Next | |
STF.getDesktopFolder() : 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 Desktop folder. This function has been replaced. Use STF.getSpecialFolder() instead.
The following example returns the path to the desktop.
var desktopFolder:String;
//define the callback
function onGetDesktopFolderReturn(returnValue:String) {
desktopFolder = returnValue;
}
//register callback
STF.registerCallBack("getDesktopFolder", onGetDesktopFolderReturn, this);
STF.getDesktopFolder();| Questions or Feedback? | Previous | Next |