var attendeeProfileIdArray:Array = []; for each ( var attendee:ATTENDEE in ATTENDEELIST ) {
attendeeProfileIdArray.push( attendee.ATTENDEEINFO.PROFILEID ); } You might want to consider changing the name of your classes and properties to follow standard naming conventions. Using all capital letters makes them look like Constants. -TH --- In flexcoders@yahoogroups.com, "kpjj31" <joe.g.ja...@...> wrote: > > > The info below is a result from remote object that is put into an > arraycollection. How can I use actionscript to create an array fom all > the PROFILEIDs within the ATTENDEEINFO Object. This array needs to be > passed into another remote object. > > > ATTENDEELIST > 0 - ATTENDEEID > DATE > ENROLLMENTID > ATTENDEEINFO - Object > FNAME > LNAME > PROFILEID - need to creat an array and add this value > > 1 - ATTENDEEID > DATE > ENROLLMENTID > ATTENDEEINFO - Object > FNAME > LNAME > PROFILEID - need to creat an array and add this value >