Caseinsensitive (Array.caseinsensitive Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
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 : Number
In the sorting methods, this constant specifies case-insensitive sorting. You can use this
constant for the
options
The value of this constant is 1.
Availability: ActionScript 1.0; Flash Player 7
See also
sort (Array.sort method)
248
ActionScript classes
array are identified, as shown in the following
go_gos_array
,
length (Array.length property)
parameter in the
sort()
,
sortOn (Array.sortOn method)
go_gos_array
array and changes the second
go_gos_array
or
method.
sortOn()
with an initial

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF