How would I iterate through the array if I don't know how many records are in the array?
--- In [email protected], Valy Sivec <[EMAIL PROTECTED]> wrote: > > You can use the new line "\n" to build the Alert message. > > Alert.show( array[0] + "\n" + array[1] ), something like that. > > HTH, > Valy > > > ----- Original Message ---- > From: jmfillman <[EMAIL PROTECTED]> > To: [email protected] > Sent: Tuesday, December 5, 2006 6:57:03 PM > Subject: [flexcoders] Array to Alert > > I have a label field in an ArrayCollection that I need to display on an > alert box. I need each label to be on it's own line in the alert box. > > Say I have 3 records in the Array, with label values > of "*Name", "*Address", and "*Phone". I need to get those labels from > the ArrayCollection and have them show on the alert like this: > > *Name > *Address > *Phone > > > > > > > ______________________________________________________________________ ______________ > Have a burning question? > Go to www.Answers.yahoo.com and get answers from real people who know. >

