Accessibility
 
Home > Products > Flash > Support > ActionScript Dictionary
Flash Icon Macromedia Flash Support Center - ActionScript dictionary
escape

Availability
Flash Player 5.

Usage

 escape(  expression  ) 

Parameters
expression The expression to convert into a string and encode in a URL-encoded format.

Returns
Nothing.

Description
Function; converts the parameter to a string and encodes it in a URL-encoded format, where all non-alphanumeric characters are escaped with % hexadecimal sequences.

Example
Running the following code gives the result, Hello%7B%5BWorld%5D%7D .

escape("Hello{[World]} " );

See also
unescape

To Table of Contents Back to Previous document Forward to next document