User Guide
Table Of Contents
- Contents
- Flash Lite Global Functions
- call()
- chr()
- duplicateMovieClip()
- eval ()
- getProperty()
- getTimer()
- getURL()
- gotoAndPlay()
- gotoAndStop()
- ifFrameLoaded()
- int()
- length()
- loadMovie()
- loadMovieNum()
- loadVariables()
- loadVariablesNum()
- mbchr()
- mblength()
- mbord()
- mbsubstring()
- nextFrame()
- nextScene()
- Number()
- on()
- ord()
- play()
- prevFrame()
- prevScene()
- random()
- removeMovieClip()
- set()
- setProperty()
- stop()
- stopAllSounds()
- String()
- substring()
- tellTarget()
- toggleHighQuality()
- trace()
- unloadMovie()
- unloadMovieNum()
- Flash Lite Properties
- Flash Lite Statements
- Flash Lite Operators
- add (string concatenation)
- += (addition assignment)
- and
- = (assignment)
- /* (block comment)
- , (comma)
- // (comment)
- ?: (conditional)
- -- (decrement)
- / (divide)
- /= (division assignment)
- . (dot)
- ++ (increment)
- && (logical AND)
- ! (logical NOT)
- || (logical OR)
- % (modulo)
- %= (modulo assignment)
- *= (multiplication assignment)
- * (multiply)
- + (numeric add)
- == (numeric equality)
- > (numeric greater than)
- >= (numeric greater than or equal to)
- <> (numeric inequality)
- < (numeric less than)
- <= (numeric less than or equal to)
- () (parentheses)
- " " (string delimiter)
- eq (string equality)
- gt (string greater than)
- ge (string greater than or equal to)
- ne (string inequality)
- lt (string less than)
- le (string less than or equal to)
- - (subtract)
- -= (subtraction assignment)
- Flash Lite Specific Language Elements
- Capabilities
- fscommand()
- fscommand2()
- Escape
- FullScreen
- GetBatteryLevel
- GetDateDay
- GetDateMonth
- GetDateWeekday
- GetDateYear
- GetDevice
- GetDeviceID
- GetFreePlayerMemory
- GetLanguage
- GetLocaleLongDate
- GetLocaleShortDate
- GetLocaleTime
- GetMaxBatteryLevel
- GetMaxSignalLevel
- GetMaxVolumeLevel
- GetNetworkConnectStatus
- GetNetworkName
- GetNetworkRequestStatus
- GetNetworkStatus
- GetPlatform
- GetPowerSource
- GetSignalLevel
- GetTimeHours
- GetTimeMinutes
- GetTimeSeconds
- GetTimeZoneOffset
- GetTotalPlayerMemory
- GetVolumeLevel
- Quit
- ResetSoftKeys
- SetInputTextType
- SetQuality
- SetSoftKeys
- StartVibrate
- StopVibrate
- Unescape

fscommand2() 141
Example
The following example assigns the network connection status to the connectstatus variable,
and then uses a
switch statement to update a text field with the status of the connection:
connectstatus = fscommand2("GetNetworkConnectStatus");
switch (connectstatus) {
case -1 :
/:myText += "connectstatus not supported" add newline;
break;
case 0 :
/:myText += "connectstatus shows active connection" add newline;
break;
case 1 :
/:myText += "connectstatus shows attempting connection" add newline;
break;
case 2 :
/:myText += "connectstatus shows no connection" add newline;
break;
case 3 :
/:myText += "connectstatus shows suspended connection" add newline;
break;
case 4 :
/:myText += "connectstatus shows indeterminable state" add newline;
break;
}
GetNetworkName
Availability
Flash Lite 1.1.
Description
Sets a parameter to the name of the current network.
Command Parameters Value returned
"GetNetworkName"
networkName
String representing the
network name. It can be either the name
of a variable or a string value that
contains the name of a variable.
If the network is registered and its name
can be determined,
networkname is set to
the network name; otherwise, it is set to
the empty string.
-1: Not supported.
0: No network is registered.
1: Network is registered, but
network name is not known.
2: Network is registered, and
network name is known.