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() 155
StartVibrate
Availability
Flash Lite 1.1.
Description
Starts the phone’s vibration feature. If a vibration is already occurring, Flash Lite stops that
vibration before starting the new one. Vibrations also stop when playback of the Flash
application is stopped or paused, and when Flash Lite player quits.
Example
The following example attempts to start a vibration sequence of 2.5 seconds on, 1 second off,
repeated twice. It assigns a value to the
status variable that indicates success or failure.
status = fscommand2("StartVibrate", 2500, 1000, 2);
See also
StopVibrate
StopVibrate
Availability
Flash Lite 1.1.
Description
Stops the current vibration, if any.
Command Parameters Value returned
"StartVibrate"
time_on
Amount of time, in milliseconds (to a
maximum of 5 seconds), that the vibration is on.
time_off Amount of time, in milliseconds (to a
maximum of 5 seconds), that the vibration is off.
repeat Number of times (to a maximum of 3) to
repeat this vibration.
-1: Not supported.
0: Vibration was started.
1: An error occurred and
vibration could not
be started.
Command Parameters Value returned
"StopVibrate"
None. -1: Not supported.
0: The vibration stopped.