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: flexcoders@yahoogroups.com
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.

Reply via email to