Getpowersource Fscommand2 Command; Getsignallevel Fscommand2 Command - MACROMEDIA FLASHLITE2 ACTIONSCRIPT-LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

GetPowerSource fscommand2 Command

GetPowerSource
Returns a value that indicates whether the power source is currently supplied from a battery or
from an external power source.
Command
GetPowerSource
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example sets the
was unable to do so:
myPower = fscommand2("GetPowerSource");

GetSignalLevel fscommand2 Command

GetSignalLevel
Returns the current signal strength as a numeric value.
Command
GetSignalLevel
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example assigns the signal level value to the
sigLevel = fscommand2("GetSignalLevel");
Parameters
Value Returned
None
-1
battery power.
external power source.
variable to indicate the power source, or to
myPower
Parameters
Value Returned
None
: Not supported. Other numeric values: The
-1
current signal level, ranging from
maximum value returned by
GetMaxSignalLevel
: Not supported.
: Device is operating on
0
: Device is operating on an
1
.
variable:
sigLevel
fscommand2 Commands
if it
-1
to the
0
237

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASHLITE2 ACTIONSCRIPT-LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash lite 2

Table of Contents