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

18 Flash Lite Global Functions
Method 2: Define each parameter within the getURL() function, as in this example:
on (release, keyPress "#"){
getURL("mailto:somebody@anywhere.com?cc=cc@anywhere.com&bcc=bcc@anywhere.
com&subject=I am the email subject&body=I am the email body");
}
Method 1 results in automatic URL encoding, while Method 2 preserves the spaces in the
strings. For example, the strings that result from using Method 1 are as follows:
email+subject
email+body
In contrast, Method 2 results in the following strings:
email subject
email body
The following example uses the tel protocol:
on (release, keyPress "#"){
getURL("tel:117");
}
In the following example, getURL() is used to send an SMS message:
mySMS = "sms:4156095555?body=sample sms message";
on(keyPress "5") {
getURL(mySMS);
}
In the following example, getURL() is used to send an MMS message:
// mms example
myMMS = "mms:4156095555?body=sample mms message";
on(keyPress "6") {
getURL(myMMS);
}
In the following example, getURL() is used to open a text file stored on the local file system:
// file protocol example
filePath = "file://c:/documents/flash/myApp/myvariables.txt";
on(keyPress "7") {
getURL(filePath);
}