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

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

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.
Command
GetMaxBatteryLevel
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example sets the the
maxBatt = fscommand2("GetMaxBatteryLevel");

GetMaxSignalLevel fscommand2 Command

GetMaxSignalLevel
Returns the maximum signal strength level as a numeric value.
Command
GetMaxSignalLevel
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example assigns the maximum signal strength to the
sigStrengthMax = fscommand2("GetMaxSignalLevel");
230
ActionScript language elements
Parameters
Value Returned
None
-1: Not supported. Other values: The
maximum battery level.
variable to the maximum battery level:
maxBatt
Parameters
Value Returned
None
-1: Not supported. Other numeric values: The
maximum signal level.
variable:
sigStrengthMax

Advertisement

Table of Contents
loading

Table of Contents