String(); Substring() - MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference

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

Advertisement

String()

Availability
Flash Lite 1.0.
Usage
String(expression)
Operands
An expression to convert to a string.
expression
Description
Function; returns a string representation of the specified parameter as described in the
following list:
If
is a number, the return string is a text representation of the number.
expression
If
is a string, the return string is
expression
If
is a Boolean value, the return string is
expression
If
is a movie clip, the return value is the target path of the movie clip in slash
expression
(/) notation.
Example
The following example sets
function, and then compares it to the string "1976" by using the
birthYearNum = 1976;
birthYearStr = String(birthYearNum);
if (birthYearStr eq "1976") {
trace ("birthYears match");
}

substring()

Availability
Flash Lite 1.0.
Usage
substring(string, index, count)
to 1976, converts it to a string using the
birthYearNum
.
expression
or
true
false
operator.
eq
.
String()
substring()
41

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?

Subscribe to Our Youtube Channel

Table of Contents