User Guide

Table Of Contents
156 Flash Lite Specific Language Elements
Example
The following example calls StopVibrate and saves the result (not supported or vibration
stopped) in the
status variable:
status = fscommand2("StopVibrate");
See also
StartVibrate
Unescape
Availability
Flash Lite 1.1.
Description
Decodes an arbitrary string that was encoded to be safe for network transfer into its normal,
unencoded form. All characters that are in hexadecimal format, that is, a percent character
(%) followed by two hexadecimal digits, are converted into their decoded form.
Example
The following example shows the decoding of an encoded string:
encoded_string = "Hello%2C%20how%20are%20you%3F";
status = fscommand2("unescape", encoded_string, "normal_string");
trace (normal_string); // output: Hello, how are you?
See also
Escape
Command Parameters Value returned
"Unescape"
original
String to be decoded from a format
safe for URLs to a normal form.
decoded Resulting decoded string.
(This parameter can be either the name of a
variable or a string value that contains the name
of a variable.)
0: Failure.
1: Success.