Flash for loop

I’m currently creating a ticket booking system and have come across a problem with arrays.


	for (item in _root.seat_tickets_reserve)
	{	

			reserve_list = ","+item;
		
	}

The array is…

seat_tickets_reserve[‘A01’] = A01-adult
seat_tickets_reserve[‘A02’] = A02-senior

so when I run the loop, I’m expecting reserve_list to contain…

,A01-Adult,A02-Senior

But its not! its containing…

,A01,A02

Any help would be appreciated so thanks in advance :slight_smile: