MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference page 125

Flash lite 1.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Example
Examples are provided with the specific commands that you execute using the
function, which are described in the rest of this section.
See also
fscommand()
Escape
Availability
Flash Lite 1.1.
Description
Encodes an arbitrary string into a format that is safe for network transfer. Replaces each
nonalphanumeric character with a hexadecimal escape sequence (
multibyte characters).
Command
Parameters
"Escape"
original
for URLs.
encoded
These parameters are either names of variables or
constant string values (for example,
"Encoded_String"
Example
The following example shows the conversion of a sample string to its encoded form:
original_string = "Hello, how are you?";
status = fscommand2("escape", original_string, "encoded_string");
trace (encoded_string);
See also
Unescape
String to be encoded into a format safe
Resulting encoded string.
).
// output: Hello%2C%20how%20are%20you%3F
fscommand2()
, or
in the case of
xx
xx
xx
%
%
%
Value returned
0: Failure.
1: Success.
fscommand2()
125

Advertisement

Table of Contents
loading
Need help?

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?

Questions and answers

Table of Contents