----- Original Message ----- 
From: "christophe_jacquelin" <[email protected]>
To: <[email protected]>
Sent: Friday, March 13, 2009 8:46 AM
Subject: [flexcoders] Array of objects


> Hello,
>
> How to declare an array of n Objects of the class myClass ? How did we 
> indicates the type of the object to the array ?

private var myArray:Array = []; // You cannot give the array a dimension, 
nor can you type the obects it holds
private var anArray:Array = new Array(); // alternative. Naturally it 
doesn't have to be private..

Please do some tutorials Christophe.

Paul

>
> Thank you,
> Christophe,
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: 
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
> Links
>
>
>

Reply via email to