Hi,

It looks like you have declared the array, but haven't constructed it;
like so:

var incorrects:Array = new Array();

Some prefer:

var incorrects:Array = new Array;

-TH

Tim Hoff
Cynergy Systems  |  Technical Lead
3603 5th Ave. Suite A, San Diego, CA 92103
http://www.cynergysystems.com <http://www.cynergysystems.com>

--- In [email protected], "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 
wrote:
>
> I thought I knew how to do this but it seems like everything little
> thing I do makes errors.
>
> var incorrects:Array;
> incorrects[2]='asdf';
> TypeError: Error #1009: Cannot access a property or method of a null
> object reference.
>
> What is the matter ?
>


Reply via email to