GetPowerSource
Availability
Flash Lite 1.1.
Description
Returns a value that indicates whether the power source is currently supplied from a battery or
from an external power source.
Command
"GetPowerSource"
Example
The following example sets the
was unable to do so:
myPower = fscommand2("GetPowerSource");
GetSignalLevel
Availability
Flash Lite 1.1.
Description
Returns the current signal strength as a numeric value.
Command
Parameters
None.
"GetSignalLevel"
Example
The following example assigns the signal level value to the
sigLevel = fscommand2("GetSignalLevel");
146
Flash Lite Specific Language Elements
Parameters
None.
variable to indicate the power source, or to -1 if it
myPower
Value returned
-1: Not supported.
Other numeric values: The current signal level, ranging
from 0 to the maximum value returned by
GetMaxSignalLevel
Value returned
-1: Not supported.
0: Device is operating on battery power.
1: Device is operating on an external
power source.
.
sigLevel
variable:
Need help?
Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?