03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

*/<br />

unescape function<br />

unescape(x:String) : String<br />

Evaluates the parameter x as a string, decodes the string from URL-encoded format<br />

(converting all hexadecimal sequences to ASCII characters), <strong>and</strong> returns the string.<br />

Parameters<br />

string:String - A string with hexadecimal sequences to escape.<br />

Returns<br />

String - A string decoded from a URL-encoded parameter.<br />

Example<br />

The following example shows the escape-to-unescape conversion process:<br />

var email:String = "user@somedomain.com";<br />

trace(email);<br />

var escapedEmail:String = escape(email);<br />

trace(escapedEmail);<br />

var unescapedEmail:String = unescape(escapedEmail);<br />

trace(unescapedEmail);<br />

The following result is displayed in the Output panel.<br />

user@somedomain.com<br />

user%40somedomain%2Ecom<br />

user@somedomain.com<br />

unloadMovie function<br />

unloadMovie(target:MovieClip) : Void unloadMovie(target:String) : Void<br />

Removes a movie clip that was loaded by means of loadMovie() from Flash Player. To unload<br />

a movie clip that was loaded by means of loadMovieNum(), use unloadMovieNum() instead<br />

of unloadMovie().<br />

Parameters<br />

target - The target path of a movie clip. This parameter can be either a String (e.g.<br />

"my_mc") or a direct reference to the movie clip instance (e.g. my_mc). Parameters that can<br />

accept more than one data type are listed as type Object.<br />

Global Functions 85

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!