EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - Getmaxbatterylevel Fscommand2 Command; Getmaxsignallevel Fscommand2 Command

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
230 ActionScript language elements
Example
The following example sets status equal to the amount of free memory:
status = fscommand2("GetFreePlayerMemory");
GetMaxBatteryLevel fscommand2 Command
GetMaxBatteryLevel
Returns the maximum battery level of the device. It is a numeric value greater than 0.
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example sets the the
maxBatt variable to the maximum battery level:
maxBatt = fscommand2("GetMaxBatteryLevel");
GetMaxSignalLevel fscommand2 Command
GetMaxSignalLevel
Returns the maximum signal strength level as a numeric value.
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example assigns the maximum signal strength to the
sigStrengthMax variable:
sigStrengthMax = fscommand2("GetMaxSignalLevel");
Command Parameters Value Returned
GetMaxBatteryLevel None -1: Not supported. Other values: The
maximum battery level.
Command Parameters Value Returned
GetMaxSignalLevel None -1: Not supported. Other numeric values: The
maximum signal level.

Table of Contents

Related product manuals