STF.getComputerName(); DEPRECIATED - Replaced by STF.getComputerName().

Availability

SupportPCMacPackage
ActionScript 3.0

3.9.2

3.9.2

stm.screentime.STF

ActionScript 2.0

3.0

3.0

global

  * Add the Screentime screensaver component to your Flash FLA or Flex project before using Screentime classes.

Usage

STF.getComputerName() : String

Parameters

None.

Returns

A string. This value is returned as a parameter to the registered callback. See the example below or STF.registerCallBack() for more information on callbacks and Screentime asynchronous command model.

Description

Method; Returns the computer name.

ActionScript 3.0 Example:

The following example returns the computer name.

import stm.screentime.STF;

var computerName_str = "----";
function onGetComputerNameReturn(returnValue:Boolean) {
	computerName_str = returnValue;
}
STF.registerCallBack("getComputerName", onGetComputerName, this);
STF.getComputerName();

ActionScript 2.0 Example:

The following example returns the computer name.

var computerName_str = "----";
function onGetComputerNameReturn(returnValue:Boolean) {
	computerName_str = returnValue;
}
STF.registerCallBack("getComputerName", onGetComputerName, this);
STF.getComputerName();

See Also

STF.computerName

Code Examples

Internet and System APIs

 

cialis generika preiswert cheap generic viagra co uk prices kamagra boite levitra buy cigarettes on paypal