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