Operands
The string from which to extract the new string.
string
The number of the first character to extract.
index
The number of characters to include in the extracted string, not including the
count
index character.
Description
Function; extracts part of a string. This function is one-based, whereas the String class
methods are zero-based.
Example
The following example extracts the first five characters from the string "Hello World":
origString = "Hello World!";
newString = substring(origString, 0, 5);
trace (newString);// Output: Hello
tellTarget()
Availability
Flash Lite 1.0.
Usage
tellTarget(target) {
statement(s);
}
Operands
A string that specifies the target path of the timeline to control.
target
The instructions to execute if the condition evaluates to
statement(s)
Description
Function; applies the instructions specified in the
specified in the
target
controls. Assign
tellTarget()
Stage. You can also make movie clips go to a particular frame in that clip. For example, you
might assign
tellTarget()
movie clips to move to a particular frame.
42
Flash Lite Global Functions
parameter. The
tellTarget()
to buttons that stop or start movie clips elsewhere on the
to buttons that stop or start movie clips on the Stage or prompt
parameter to the timeline
statement(s)
function is useful for navigation
.
true
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?