Caseinsensitive (Array.caseinsensitive Property); Concat (Array.concat Method) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

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

Advertisement

if (my_array[0] == undefined) { // No quotation marks around undefined.
trace("undefined is a special value, not a string");
} // Traces: undefined is a special value, not a string.
Usage 3: The following example creates the new Array object
length of 5:
var go_gos_array:Array = new Array("Belinda", "Gina", "Kathy", "Charlotte",
"Jane");
trace(go_gos_array.length); // Returns 5.
trace(go_gos_array.join(", ")); // Displays elements.
The initial elements of the
example:
go_gos_array[0] = "Belinda";
go_gos_array[1] = "Gina";
go_gos_array[2] = "Kathy";
go_gos_array[3] = "Charlotte";
go_gos_array[4] = "Jane";
The following code adds a sixth element to the
element:
go_gos_array[5] = "Donna";
go_gos_array[1] = "Nina"
trace(go_gos_array.join(" + "));
// Returns Belinda + Nina + Kathy + Charlotte + Jane + Donna.
See also
[] array access operator
CASEINSENSITIVE (Array.CASEINSENSITIVE
property)
public static CASEINSENSITIVE :
Represents case-insensitive sorting. You can use this constant for the
the
or
sort()
sortOn()
Availability: ActionScript 1.0; Flash Lite 2.0
See also
sort (Array.sort method)

concat (Array.concat method)

public concat([value:Object]) : Array
252
ActionScript classes
array are identified, as shown in the following
go_gos_array
,
length (Array.length property)
Number
method. The value of this constant is 1.
,
sortOn (Array.sortOn method)
go_gos_array
array and changes the second
go_gos_array
with an initial
parameter in
options

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

Table of Contents