difference in reported array length & actual content.

Hello, I have the following:

var wArr = new Array ("cat", "dog", "tiger", "lion", "wolf",  "worm", "zebra");

checking lenght

var nMax:int = wArr.lenght;

reports only 3 elements.

Printing the array shows all the content.

Why?

The problem was that the word length was spelled incorrectly and without a #pragma strict the code was compiling…