EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - Length(); Loadmovie()

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
22 Flash Lite Global Functions
length()
Availability
Flash Lite 1.0.
Usage
length(expression)
length(variable)
Operands
expression A string.
variable The name of a variable.
Description
String function; returns the number of characters of the specified string or variable name.
Example
The following example returns the length of the string "Hello":
length("Hello");
The result is 5.
The following example validates an e-mail address by checking that it contains at least six
characters:
email = "someone@macromedia.com";
if (length(email) > 6) {
//trace ("email appears to have enough characters to be valid");
}
loadMovie()
Availability
Flash Lite 1.1.
Usage
loadMovie(url, target [, method])

Table of Contents

Related product manuals